@gethashd/bytecave-browser 1.0.45 → 1.0.47
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/{chunk-LTSO3FCE.js → chunk-FOQ3CE3H.js} +0 -1
- package/dist/contracts/ContentRegistry.d.ts +1 -1
- package/dist/index.cjs +0 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/contracts/ContentRegistry.ts +0 -1
- package/src/types.ts +1 -0
|
@@ -6229,7 +6229,6 @@ var StorageWebSocketClient = class {
|
|
|
6229
6229
|
// src/contracts/ContentRegistry.ts
|
|
6230
6230
|
var CONTENT_REGISTRY_ABI = [
|
|
6231
6231
|
"function registerContent(bytes32 cid, address owner, bytes32 appId, uint256 hashIdToken) external",
|
|
6232
|
-
"function registerContent(string cid, string appId, uint256 hashIdToken) external",
|
|
6233
6232
|
"function isContentRegistered(bytes32 cid) external view returns (bool)",
|
|
6234
6233
|
"function getContentRecord(bytes32 cid) external view returns (tuple(address owner, bytes32 appId, uint256 timestamp))"
|
|
6235
6234
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CONTENT_REGISTRY_ABI: readonly ["function registerContent(bytes32 cid, address owner, bytes32 appId, uint256 hashIdToken) external", "function
|
|
1
|
+
export declare const CONTENT_REGISTRY_ABI: readonly ["function registerContent(bytes32 cid, address owner, bytes32 appId, uint256 hashIdToken) external", "function isContentRegistered(bytes32 cid) external view returns (bool)", "function getContentRecord(bytes32 cid) external view returns (tuple(address owner, bytes32 appId, uint256 timestamp))"];
|
package/dist/index.cjs
CHANGED
|
@@ -6282,7 +6282,6 @@ var StorageWebSocketClient = class {
|
|
|
6282
6282
|
// src/contracts/ContentRegistry.ts
|
|
6283
6283
|
var CONTENT_REGISTRY_ABI = [
|
|
6284
6284
|
"function registerContent(bytes32 cid, address owner, bytes32 appId, uint256 hashIdToken) external",
|
|
6285
|
-
"function registerContent(string cid, string appId, uint256 hashIdToken) external",
|
|
6286
6285
|
"function isContentRegistered(bytes32 cid) external view returns (bool)",
|
|
6287
6286
|
"function getContentRecord(bytes32 cid) external view returns (tuple(address owner, bytes32 appId, uint256 timestamp))"
|
|
6288
6287
|
];
|
package/dist/index.js
CHANGED
package/dist/react/index.js
CHANGED
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -476,7 +476,7 @@ Nonce: ${nonce}`;
|
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
// Use WebSocket relay for storage (
|
|
479
|
+
// Use WebSocket relay for storage (simpler connection management than direct P2P)
|
|
480
480
|
if (!this.config.relayWsUrl) {
|
|
481
481
|
return { success: false, error: 'WebSocket relay URL not configured' };
|
|
482
482
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export const CONTENT_REGISTRY_ABI = [
|
|
2
2
|
"function registerContent(bytes32 cid, address owner, bytes32 appId, uint256 hashIdToken) external",
|
|
3
|
-
"function registerContent(string cid, string appId, uint256 hashIdToken) external",
|
|
4
3
|
"function isContentRegistered(bytes32 cid) external view returns (bool)",
|
|
5
4
|
"function getContentRecord(bytes32 cid) external view returns (tuple(address owner, bytes32 appId, uint256 timestamp))"
|
|
6
5
|
] as const;
|