@inditextech/weave-store-azure-web-pubsub 3.8.3 → 3.8.4

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/dist/server.js +0 -5
  2. package/package.json +3 -3
package/dist/server.js CHANGED
@@ -30972,11 +30972,6 @@ var WeaveAzureWebPubsubSyncHandler = class extends WebPubSubEventHandler {
30972
30972
  const doc = this._rooms.get(roomId);
30973
30973
  if (!doc) return;
30974
30974
  const actualState = yjs_default.encodeStateAsUpdate(doc);
30975
- const update = yjs_default.encodeStateAsUpdate(doc);
30976
- const newDoc = new yjs_default.Doc();
30977
- yjs_default.applyUpdate(newDoc, update);
30978
- this._rooms.set(roomId, newDoc);
30979
- doc.destroy();
30980
30975
  if (!this.isPersistingOnInterval()) {
30981
30976
  const savedRoomData = this.roomsLastState.get(roomId);
30982
30977
  if (savedRoomData) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-store-azure-web-pubsub",
3
- "version": "3.8.3",
3
+ "version": "3.8.4",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -57,8 +57,8 @@
57
57
  "dependencies": {
58
58
  "@azure/identity": "4.10.2",
59
59
  "@azure/web-pubsub": "1.2.0",
60
- "@inditextech/weave-types": "3.8.3",
61
- "@inditextech/weave-sdk": "3.8.3",
60
+ "@inditextech/weave-types": "3.8.4",
61
+ "@inditextech/weave-sdk": "3.8.4",
62
62
  "@syncedstore/core": "0.6.0",
63
63
  "buffer": "6.0.3",
64
64
  "reconnecting-websocket": "4.4.0",