@fangorn-network/sdk 2026.11.3-dev → 2026.11.4-dev
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/README.md +9 -3
- package/lib/cli/cli.js +18 -3
- package/lib/cli/sell.d.ts +28 -0
- package/lib/cli/sell.js +95 -0
- package/lib/config.js +2 -2
- package/lib/contracts/data-registry/abi.js +341 -341
- package/lib/contracts/index.d.ts +1 -1
- package/lib/contracts/settlement-registry/abi.d.ts +14 -0
- package/lib/contracts/settlement-registry/abi.js +627 -612
- package/lib/contracts/settlement-registry/index.d.ts +2 -0
- package/lib/contracts/settlement-registry/index.js +4 -0
- package/lib/crypto/paid.d.ts +1 -1
- package/lib/erc8004.js +6 -6
- package/lib/fangorn.d.ts +2 -2
- package/lib/fangorn.js +4 -4
- package/lib/index.d.ts +6 -5
- package/lib/index.js +2 -1
- package/lib/providers/storage/signed-url.js +1 -1
- package/lib/test/testbed.d.ts +93 -93
- package/lib/types/index.d.ts +1 -1
- package/package.json +2 -2
package/lib/contracts/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DATA_REGISTRY_ABI } from "./data-registry/abi.js";
|
|
2
1
|
import { PreparedTx } from "./write.js";
|
|
3
2
|
import { ChainRegistry, ChainRegistryConfig, CommitUpdate, EPOCH_SECONDS, LogFilter, Registry, RepoRef, UPDATE_TYPES, UpdateEntry, WINDOW, ZERO_HEAD, dataDomain, epochOf, repoId, updateMessage } from "./data-registry/index.js";
|
|
3
|
+
import { DATA_REGISTRY_ABI } from "./data-registry/abi.js";
|
|
4
4
|
import { RegisterArgs, SettleArgs, SettlementPayment, SettlementRegistryClient, TERMS_TYPES, Terms, TermsJson, WHOLE_REPO, recordKey, registerNonce, settlementDomain, subjectOf, termsFromJson, termsToJson } from "./settlement-registry/index.js";
|
|
5
5
|
import { SETTLEMENT_REGISTRY_ABI } from "./settlement-registry/abi.js";
|
|
6
6
|
export { ChainRegistry, ChainRegistryConfig, CommitUpdate, DATA_REGISTRY_ABI, EPOCH_SECONDS, LogFilter, type PreparedTx, RegisterArgs, Registry, RepoRef, SETTLEMENT_REGISTRY_ABI, SettleArgs, SettlementPayment, SettlementRegistryClient, TERMS_TYPES, Terms, TermsJson, UPDATE_TYPES, UpdateEntry, WHOLE_REPO, WINDOW, ZERO_HEAD, dataDomain, epochOf, recordKey, registerNonce, repoId, settlementDomain, subjectOf, termsFromJson, termsToJson, updateMessage };
|
|
@@ -258,6 +258,20 @@ declare const SETTLEMENT_REGISTRY_ABI: readonly [{
|
|
|
258
258
|
readonly internalType: "bool";
|
|
259
259
|
}];
|
|
260
260
|
readonly stateMutability: "view";
|
|
261
|
+
}, {
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
readonly name: "membersOf";
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly name: "subject";
|
|
266
|
+
readonly type: "bytes32";
|
|
267
|
+
readonly internalType: "bytes32";
|
|
268
|
+
}];
|
|
269
|
+
readonly outputs: readonly [{
|
|
270
|
+
readonly name: "";
|
|
271
|
+
readonly type: "uint256[]";
|
|
272
|
+
readonly internalType: "uint256[]";
|
|
273
|
+
}];
|
|
274
|
+
readonly stateMutability: "view";
|
|
261
275
|
}, {
|
|
262
276
|
readonly type: "function";
|
|
263
277
|
readonly name: "proxiableUUID";
|