@hocuspocus/provider 1.0.0-alpha.38 → 1.0.0-alpha.39
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.
- package/dist/hocuspocus-provider.cjs +2 -2
- package/dist/hocuspocus-provider.cjs.map +1 -1
- package/dist/hocuspocus-provider.esm.js +2 -2
- package/dist/hocuspocus-provider.esm.js.map +1 -1
- package/dist/packages/extension-redis/src/Redis.d.ts +1 -1
- package/package.json +2 -2
- package/src/HocuspocusProvider.ts +2 -2
|
@@ -1906,8 +1906,8 @@ class HocuspocusProvider extends EventEmitter {
|
|
|
1906
1906
|
ws.onmessage = this.onMessage.bind(this);
|
|
1907
1907
|
ws.onclose = this.onClose.bind(this);
|
|
1908
1908
|
ws.onopen = this.onOpen.bind(this);
|
|
1909
|
-
ws.onerror = () => {
|
|
1910
|
-
reject();
|
|
1909
|
+
ws.onerror = (err) => {
|
|
1910
|
+
reject(err);
|
|
1911
1911
|
};
|
|
1912
1912
|
this.webSocket = ws;
|
|
1913
1913
|
// Reset the status
|