braid-text 0.5.16 → 0.5.18

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/package.json +2 -2
  2. package/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-text",
3
- "version": "0.5.16",
3
+ "version": "0.5.18",
4
4
  "description": "Library for collaborative text over http using braid.",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braid-text",
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@braid.org/diamond-types-node": "^2.0.1",
30
- "braid-http": "~1.3.125"
30
+ "braid-http": "~1.3.131"
31
31
  },
32
32
  "devDependencies": {
33
33
  "yjs": "^13.6.0"
package/server.js CHANGED
@@ -311,7 +311,7 @@ function create_braid_text() {
311
311
  }
312
312
  },
313
313
  on_error: e => {
314
- options.on_disconnect?.()
314
+ options.on_disconnect?.(e)
315
315
  handle_error(e)
316
316
  }
317
317
  })