@fileverse-dev/dsheet 4.1.17 → 4.1.19
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/hooks/collaboration-lifecycle.d.ts +2 -2
- 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-Drs_G4Rz.js → index-CmlGPhgN.js} +3230 -3201
- package/dist/index.es.js +1 -1
- package/dist/persistence-compaction.d.ts +24 -0
- package/dist/persistence-compaction.test.d.ts +1 -0
- package/dist/{use-xlsx-import-impl-ChzTGGWg.js → use-xlsx-import-impl-DQ07A9l0.js} +3 -3
- package/dist/{xlsx-defined-names-BJLbeLic.js → xlsx-defined-names-Bzo6AUas.js} +1 -1
- package/dist/{xlsx-export-impl-DUHPrL5m.js → xlsx-export-impl-b03liE8V.js} +3 -3
- package/dist/{xlsx-hyperlink-inline-DaVe46Ny.js → xlsx-hyperlink-inline-FqEk4F3I.js} +1 -1
- package/package.json +2 -1
|
@@ -27,8 +27,8 @@ export declare const createCollaborationConnectionController: (args: {
|
|
|
27
27
|
disconnect: () => void;
|
|
28
28
|
}) => CollaborationConnectionController;
|
|
29
29
|
/**
|
|
30
|
-
* Merge the published artifact into the editor's one durable Y.Doc
|
|
31
|
-
* IndexedDB replay and collaboration hydration. The `self` origin prevents a
|
|
30
|
+
* Merge the published artifact into the editor's one durable Y.Doc after
|
|
31
|
+
* IndexedDB replay and before collaboration hydration. The `self` origin prevents a
|
|
32
32
|
* late package listener from treating the host seed as a live user edit;
|
|
33
33
|
* SyncManager's state-vector diff still sees it when the room is hydrated.
|
|
34
34
|
*/
|
|
@@ -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 {};
|