@inditextech/weave-store-websockets 0.22.1 → 0.23.1

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/client.cjs CHANGED
@@ -93,7 +93,7 @@ var WeaveStoreWebsockets = class extends __inditextech_weave_sdk.WeaveStore {
93
93
  awareness.destroy();
94
94
  awareness.off("update", this.handleAwarenessChange.bind(this));
95
95
  awareness.off("change", this.handleAwarenessChange.bind(this));
96
- this.provider.connect();
96
+ this.provider.disconnect();
97
97
  }
98
98
  handleAwarenessChange(emit = true) {
99
99
  const awareness = this.provider.awareness;
package/dist/client.js CHANGED
@@ -69,7 +69,7 @@ var WeaveStoreWebsockets = class extends WeaveStore {
69
69
  awareness.destroy();
70
70
  awareness.off("update", this.handleAwarenessChange.bind(this));
71
71
  awareness.off("change", this.handleAwarenessChange.bind(this));
72
- this.provider.connect();
72
+ this.provider.disconnect();
73
73
  }
74
74
  handleAwarenessChange(emit = true) {
75
75
  const awareness = this.provider.awareness;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-store-websockets",
3
- "version": "0.22.1",
3
+ "version": "0.23.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -56,7 +56,7 @@
56
56
  "yjs": "13.6.26"
57
57
  },
58
58
  "devDependencies": {
59
- "@inditextech/weave-sdk": "0.22.1",
59
+ "@inditextech/weave-sdk": "0.23.1",
60
60
  "@types/express": "^5.0.1",
61
61
  "@types/lodash.debounce": "^4.0.9",
62
62
  "@types/node": "^22.15.3",