braid-text 0.2.92 → 0.2.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -204,7 +204,7 @@ function create_braid_text() {
204
204
  local_first_put()
205
205
  extend_fork_point(update)
206
206
  } else if (x.status === 401 || x.status === 403) {
207
- options.on_unauthorized?.()
207
+ await options.on_unauthorized?.()
208
208
  } else throw new Error('failed to PUT: ' + x.status)
209
209
  }
210
210
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-text",
3
- "version": "0.2.92",
3
+ "version": "0.2.93",
4
4
  "description": "Library for collaborative text over http using braid.",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braid-text",