# This is a combination of 2 commits.
# The first commit's message is:

fix(profile-example): only set profile when a doc exists

# This is the 2nd commit message:

refactor(cleanup): replace each with sequential promise chaining
Merge branch 'remove-each' of https://github.com/redgeoff/delta-pouch into remove-each

romise chaining