@inditextech/weave-store-websockets 0.23.0 → 0.24.0
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 +1 -1
- package/dist/client.js +1 -1
- package/package.json +3 -3
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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dev": "tsdown --watch",
|
|
36
36
|
"dev:server": "tsx --env-file=.env ./dev-server/server.ts",
|
|
37
37
|
"dist:tag": "npm dist-tag add \"$(jq -r .name package.json)@$(jq -r .version package.json)\" \"$PR_TAG\" --registry=\"$NPM_PUBLISHING_REGISTRY\" --verbose",
|
|
38
|
-
"format": "
|
|
38
|
+
"format": "prettier --write ./src",
|
|
39
39
|
"link": "npm link",
|
|
40
40
|
"lint:fix": "npm run lint -- --fix",
|
|
41
41
|
"lint": "eslint ./src",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"yjs": "13.6.26"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@inditextech/weave-sdk": "0.
|
|
59
|
+
"@inditextech/weave-sdk": "0.24.0",
|
|
60
60
|
"@types/express": "^5.0.1",
|
|
61
61
|
"@types/lodash.debounce": "^4.0.9",
|
|
62
62
|
"@types/node": "^22.15.3",
|