@peerbit/pubsub-interface 3.1.1 → 3.1.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.
@@ -13,7 +13,7 @@ export declare class PubSubData extends PubSubMessage {
13
13
  strict?: boolean;
14
14
  });
15
15
  private _serialized;
16
- bytes(): Uint8Array | Uint8ArrayList;
16
+ bytes(): Uint8Array<ArrayBufferLike> | Uint8ArrayList;
17
17
  static from(bytes: Uint8Array | Uint8ArrayList): PubSubData;
18
18
  }
19
19
  export declare class Subscribe extends PubSubMessage {
@@ -24,7 +24,7 @@ export declare class Subscribe extends PubSubMessage {
24
24
  requestSubscribers: boolean;
25
25
  });
26
26
  private _serialized;
27
- bytes(): Uint8Array | Uint8ArrayList;
27
+ bytes(): Uint8Array<ArrayBufferLike> | Uint8ArrayList;
28
28
  static from(bytes: Uint8Array | Uint8ArrayList): Subscribe;
29
29
  }
30
30
  export declare class Unsubscribe extends PubSubMessage {
@@ -33,7 +33,7 @@ export declare class Unsubscribe extends PubSubMessage {
33
33
  topics: string[];
34
34
  });
35
35
  private _serialized;
36
- bytes(): Uint8Array | Uint8ArrayList;
36
+ bytes(): Uint8Array<ArrayBufferLike> | Uint8ArrayList;
37
37
  static from(bytes: Uint8Array | Uint8ArrayList): Unsubscribe;
38
38
  }
39
39
  export declare class GetSubscribers extends PubSubMessage {
@@ -42,7 +42,7 @@ export declare class GetSubscribers extends PubSubMessage {
42
42
  topics: string[];
43
43
  });
44
44
  _serialized: Uint8ArrayList;
45
- bytes(): Uint8Array | Uint8ArrayList;
45
+ bytes(): Uint8Array<ArrayBufferLike> | Uint8ArrayList;
46
46
  static from(bytes: Uint8Array | Uint8ArrayList): GetSubscribers;
47
47
  }
48
48
  //# sourceMappingURL=messages.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/pubsub-interface",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Block store streaming",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",
@@ -75,7 +75,7 @@
75
75
  ],
76
76
  "dependencies": {
77
77
  "@dao-xyz/borsh": "^5.2.3",
78
- "@peerbit/crypto": "2.3.2",
79
- "@peerbit/stream-interface": "^5.1.1"
78
+ "@peerbit/crypto": "2.3.3",
79
+ "@peerbit/stream-interface": "^5.1.2"
80
80
  }
81
81
  }