@inditextech/weave-store-azure-web-pubsub 0.42.0 → 0.42.2

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
@@ -1481,10 +1481,6 @@ var WeaveStoreAzureWebPubSubSyncClient = class extends Emittery {
1481
1481
  const encoder = createEncoder();
1482
1482
  writeVarUint(encoder, messageSyncStep1);
1483
1483
  writeUpdate(encoder, update);
1484
- if (origin) {
1485
- const actualStateJSON = this.doc.getMap("weave").toJSON();
1486
- console.log(`State update from: ${origin}`, { actualStateJSON });
1487
- }
1488
1484
  sendToControlGroup(this, topic, MessageDataType.Sync, toUint8Array(encoder));
1489
1485
  }
1490
1486
  };
package/dist/client.js CHANGED
@@ -1458,10 +1458,6 @@ var WeaveStoreAzureWebPubSubSyncClient = class extends Emittery {
1458
1458
  const encoder = createEncoder();
1459
1459
  writeVarUint(encoder, messageSyncStep1);
1460
1460
  writeUpdate(encoder, update);
1461
- if (origin) {
1462
- const actualStateJSON = this.doc.getMap("weave").toJSON();
1463
- console.log(`State update from: ${origin}`, { actualStateJSON });
1464
- }
1465
1461
  sendToControlGroup(this, topic, MessageDataType.Sync, toUint8Array(encoder));
1466
1462
  }
1467
1463
  };
package/dist/server.cjs CHANGED
@@ -30691,14 +30691,6 @@ var WeaveStoreAzureWebPubSubSyncHost = class extends Emittery {
30691
30691
  writeVarUint(encoder, messageSync);
30692
30692
  writeUpdate(encoder, update);
30693
30693
  const u8 = toUint8Array(encoder);
30694
- if (origin) {
30695
- const actualStateJSONString = JSON.stringify(doc.getMap("weave").toJSON(), null, 2);
30696
- console.log(`=======================================`);
30697
- console.log(`State update from ${origin}`);
30698
- console.log(`=======================================`);
30699
- console.log(actualStateJSONString);
30700
- console.log(`=======================================`);
30701
- }
30702
30694
  this.broadcast(this.topic, origin, u8);
30703
30695
  };
30704
30696
  this.doc.on("update", updateHandler);
package/dist/server.js CHANGED
@@ -30695,14 +30695,6 @@ var WeaveStoreAzureWebPubSubSyncHost = class extends Emittery {
30695
30695
  writeVarUint(encoder, messageSync);
30696
30696
  writeUpdate(encoder, update);
30697
30697
  const u8 = toUint8Array(encoder);
30698
- if (origin) {
30699
- const actualStateJSONString = JSON.stringify(doc.getMap("weave").toJSON(), null, 2);
30700
- console.log(`=======================================`);
30701
- console.log(`State update from ${origin}`);
30702
- console.log(`=======================================`);
30703
- console.log(actualStateJSONString);
30704
- console.log(`=======================================`);
30705
- }
30706
30698
  this.broadcast(this.topic, origin, u8);
30707
30699
  };
30708
30700
  this.doc.on("update", updateHandler);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-store-azure-web-pubsub",
3
- "version": "0.42.0",
3
+ "version": "0.42.2",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -61,7 +61,7 @@
61
61
  "yjs": "13.6.27"
62
62
  },
63
63
  "devDependencies": {
64
- "@inditextech/weave-sdk": "0.42.0",
64
+ "@inditextech/weave-sdk": "0.42.2",
65
65
  "@koa/cors": "^5.0.0",
66
66
  "@types/express": "^5.0.1",
67
67
  "@types/ioredis": "^4.28.10",