@gethashd/bytecave-browser 1.0.33 → 1.0.34

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.
@@ -6539,7 +6539,9 @@ Nonce: ${nonce}`;
6539
6539
  signature: authorization.signature,
6540
6540
  address: authorization.sender,
6541
6541
  timestamp: authorization.timestamp,
6542
- nonce: authorization.nonce
6542
+ nonce: authorization.nonce,
6543
+ appId: authorization.appId,
6544
+ contentHash: authorization.contentHash
6543
6545
  } : void 0;
6544
6546
  const result = await this.storageWsClient.store({
6545
6547
  data: dataArray,
package/dist/index.cjs CHANGED
@@ -6592,7 +6592,9 @@ Nonce: ${nonce}`;
6592
6592
  signature: authorization.signature,
6593
6593
  address: authorization.sender,
6594
6594
  timestamp: authorization.timestamp,
6595
- nonce: authorization.nonce
6595
+ nonce: authorization.nonce,
6596
+ appId: authorization.appId,
6597
+ contentHash: authorization.contentHash
6596
6598
  } : void 0;
6597
6599
  const result = await this.storageWsClient.store({
6598
6600
  data: dataArray,
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  useHashdImage,
14
14
  useHashdMedia,
15
15
  useHashdUrl
16
- } from "./chunk-BLV4I3O6.js";
16
+ } from "./chunk-EDVNOZ7Q.js";
17
17
  import {
18
18
  clearHashdCache,
19
19
  createHashdUrl,
@@ -8,7 +8,7 @@ import {
8
8
  useHashdImage,
9
9
  useHashdMedia,
10
10
  useHashdUrl
11
- } from "../chunk-BLV4I3O6.js";
11
+ } from "../chunk-EDVNOZ7Q.js";
12
12
  import "../chunk-EEZWRIUI.js";
13
13
  export {
14
14
  HashdAudio,
@@ -10,6 +10,8 @@ export interface StoreViaWebSocketOptions {
10
10
  address: string;
11
11
  timestamp: number;
12
12
  nonce: string;
13
+ appId: string;
14
+ contentHash: string;
13
15
  };
14
16
  timeout?: number;
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethashd/bytecave-browser",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "ByteCave browser client for WebRTC P2P connections to storage nodes",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
package/src/client.ts CHANGED
@@ -485,7 +485,9 @@ Nonce: ${nonce}`;
485
485
  signature: authorization.signature,
486
486
  address: authorization.sender,
487
487
  timestamp: authorization.timestamp,
488
- nonce: authorization.nonce
488
+ nonce: authorization.nonce,
489
+ appId: authorization.appId,
490
+ contentHash: authorization.contentHash
489
491
  } : undefined;
490
492
 
491
493
  const result = await this.storageWsClient.store({
@@ -13,6 +13,8 @@ interface StorageRequestMessage {
13
13
  address: string;
14
14
  timestamp: number;
15
15
  nonce: string;
16
+ appId: string;
17
+ contentHash: string;
16
18
  };
17
19
  }
18
20
 
@@ -34,6 +36,8 @@ export interface StoreViaWebSocketOptions {
34
36
  address: string;
35
37
  timestamp: number;
36
38
  nonce: string;
39
+ appId: string;
40
+ contentHash: string;
37
41
  };
38
42
  timeout?: number;
39
43
  }