@inditextech/weave-store-azure-web-pubsub 0.39.2 → 0.40.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.d.cts CHANGED
@@ -17,9 +17,10 @@ type WeaveStoreOptions = {
17
17
  undoManagerOptions?: WeaveUndoManagerOptions;
18
18
  };
19
19
  type WeaveUser = {
20
- [key: string]: any;
20
+ id: string;
21
21
  name: string;
22
22
  email: string;
23
+ [key: string]: any;
23
24
  };
24
25
  type WeaveUndoManagerOptions = {
25
26
  captureTimeout?: number;
@@ -106,7 +107,7 @@ declare class WeaveStoreAzureWebPubsub extends WeaveStore {
106
107
  connect(): Promise<void>;
107
108
  disconnect(): void;
108
109
  handleAwarenessChange(emit?: boolean): void;
109
- setAwarenessInfo(field: string, value: unknown): void;
110
+ setAwarenessInfo<T>(field: string, value: T): void;
110
111
  }
111
112
 
112
113
  //#endregion
package/dist/client.d.ts CHANGED
@@ -17,9 +17,10 @@ type WeaveStoreOptions = {
17
17
  undoManagerOptions?: WeaveUndoManagerOptions;
18
18
  };
19
19
  type WeaveUser = {
20
- [key: string]: any;
20
+ id: string;
21
21
  name: string;
22
22
  email: string;
23
+ [key: string]: any;
23
24
  };
24
25
  type WeaveUndoManagerOptions = {
25
26
  captureTimeout?: number;
@@ -106,7 +107,7 @@ declare class WeaveStoreAzureWebPubsub extends WeaveStore {
106
107
  connect(): Promise<void>;
107
108
  disconnect(): void;
108
109
  handleAwarenessChange(emit?: boolean): void;
109
- setAwarenessInfo(field: string, value: unknown): void;
110
+ setAwarenessInfo<T>(field: string, value: T): void;
110
111
  }
111
112
 
112
113
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-store-azure-web-pubsub",
3
- "version": "0.39.2",
3
+ "version": "0.40.0",
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.39.2",
64
+ "@inditextech/weave-sdk": "0.40.0",
65
65
  "@koa/cors": "^5.0.0",
66
66
  "@types/express": "^5.0.1",
67
67
  "@types/ioredis": "^4.28.10",