@fileverse-dev/dsheet 4.1.18 → 4.1.20
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/editor/types/smart-contract.d.ts +3 -2
- package/dist/editor/utils/smart-contract/reading-utils.test.d.ts +1 -0
- package/dist/{index-D1F86l4X.js → index-DJeCEiQ_.js} +856 -823
- package/dist/index.es.js +1 -1
- package/dist/sync-local/server-clock.d.ts +26 -0
- package/dist/sync-local/server-clock.test.d.ts +1 -0
- package/dist/sync-local/socketClient.d.ts +1 -1
- package/dist/sync-local/socketClient.server-time.test.d.ts +1 -0
- package/dist/{use-xlsx-import-impl-CVvAMSHb.js → use-xlsx-import-impl-DC99oGXo.js} +3 -3
- package/dist/{xlsx-defined-names-CjllTwj9.js → xlsx-defined-names-CcFT4HV-.js} +1 -1
- package/dist/{xlsx-export-impl-DPiVn_D4.js → xlsx-export-impl-jZSQ6Wv0.js} +3 -3
- package/dist/{xlsx-hyperlink-inline-BwKPvD2f.js → xlsx-hyperlink-inline-CpiKJ54P.js} +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ export interface SmartContractConfig {
|
|
|
33
33
|
contracts?: ContractConfig[];
|
|
34
34
|
/** RPC URL per chain. Falls back to bundled defaults when omitted. */
|
|
35
35
|
rpcConfig?: Partial<Record<SupportedChain, string>>;
|
|
36
|
-
/** Resolve ABI from stored reference (e.g. IPFS
|
|
36
|
+
/** Resolve ABI from stored reference (e.g. an IPFS CID or a Swarm reference — opaque to the package). Required for user-saved contracts with abiHash. */
|
|
37
37
|
resolveAbi?: (abiHash: string) => Promise<Abi>;
|
|
38
38
|
/** Persist a new contract. When omitted, package keeps it in session memory only. */
|
|
39
39
|
onAddContract?: (input: NewContractInput) => Promise<void>;
|
|
@@ -52,7 +52,8 @@ export interface CallerParams {
|
|
|
52
52
|
export interface FetchAbiParams {
|
|
53
53
|
contractAddress: Hex;
|
|
54
54
|
chain: import('viem').Chain;
|
|
55
|
-
|
|
55
|
+
/** Stored ABI reference (`ContractConfig.abiHash`), resolved via `resolveAbi`. */
|
|
56
|
+
abiRef?: string;
|
|
56
57
|
}
|
|
57
58
|
export type ParsedFunction = {
|
|
58
59
|
functionName: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|