@openzeppelin/miden-multisig-client 0.17.0 → 0.18.0-rc.2
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 +171 -46
- package/dist/account/builder.d.ts +4 -4
- package/dist/account/builder.d.ts.map +1 -1
- package/dist/account/builder.js +17 -7
- package/dist/account/builder.js.map +1 -1
- package/dist/account/layout.d.ts +5 -5
- package/dist/account/layout.d.ts.map +1 -1
- package/dist/account/layout.js +5 -5
- package/dist/account/layout.js.map +1 -1
- package/dist/client.d.ts +18 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +79 -6
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/multisig/authArgErrors.d.ts +28 -31
- package/dist/multisig/authArgErrors.d.ts.map +1 -1
- package/dist/multisig/authArgErrors.js +42 -46
- package/dist/multisig/authArgErrors.js.map +1 -1
- package/dist/multisig/consumeNotesErrors.d.ts +13 -1
- package/dist/multisig/consumeNotesErrors.d.ts.map +1 -1
- package/dist/multisig/consumeNotesErrors.js +17 -0
- package/dist/multisig/consumeNotesErrors.js.map +1 -1
- package/dist/multisig/signing.d.ts +1 -1
- package/dist/multisig/signing.d.ts.map +1 -1
- package/dist/multisig/signing.js +8 -3
- package/dist/multisig/signing.js.map +1 -1
- package/dist/multisig.d.ts +145 -18
- package/dist/multisig.d.ts.map +1 -1
- package/dist/multisig.js +493 -162
- package/dist/multisig.js.map +1 -1
- package/dist/procedures.d.ts +7 -7
- package/dist/procedures.js +7 -7
- package/dist/proposal/factory.d.ts.map +1 -1
- package/dist/proposal/factory.js +7 -0
- package/dist/proposal/factory.js.map +1 -1
- package/dist/prover/workflow.d.ts +7 -3
- package/dist/prover/workflow.d.ts.map +1 -1
- package/dist/prover/workflow.js +7 -5
- package/dist/prover/workflow.js.map +1 -1
- package/dist/raw-client.d.ts +1 -0
- package/dist/raw-client.d.ts.map +1 -1
- package/dist/raw-client.js +10 -2
- package/dist/raw-client.js.map +1 -1
- package/dist/recovery/publicNoteBackfill.js +1 -1
- package/dist/recovery/publicNoteBackfill.js.map +1 -1
- package/dist/retry/classify.d.ts +3 -0
- package/dist/retry/classify.d.ts.map +1 -1
- package/dist/retry/classify.js +2 -2
- package/dist/retry/classify.js.map +1 -1
- package/dist/signer.d.ts +1 -0
- package/dist/signer.d.ts.map +1 -1
- package/dist/signer.js +1 -0
- package/dist/signer.js.map +1 -1
- package/dist/signers/index.d.ts +1 -0
- package/dist/signers/index.d.ts.map +1 -1
- package/dist/signers/index.js +1 -0
- package/dist/signers/index.js.map +1 -1
- package/dist/signers/ledger.d.ts +25 -0
- package/dist/signers/ledger.d.ts.map +1 -0
- package/dist/signers/ledger.js +96 -0
- package/dist/signers/ledger.js.map +1 -0
- package/dist/state/adopt.d.ts +45 -0
- package/dist/state/adopt.d.ts.map +1 -0
- package/dist/state/adopt.js +101 -0
- package/dist/state/adopt.js.map +1 -0
- package/dist/transaction/authArgs.d.ts +57 -0
- package/dist/transaction/authArgs.d.ts.map +1 -0
- package/dist/transaction/authArgs.js +108 -0
- package/dist/transaction/authArgs.js.map +1 -0
- package/dist/transaction/consumeNotes.d.ts +9 -5
- package/dist/transaction/consumeNotes.d.ts.map +1 -1
- package/dist/transaction/consumeNotes.js +8 -23
- package/dist/transaction/consumeNotes.js.map +1 -1
- package/dist/transaction/noteAuthentication.d.ts +39 -0
- package/dist/transaction/noteAuthentication.d.ts.map +1 -0
- package/dist/transaction/noteAuthentication.js +94 -0
- package/dist/transaction/noteAuthentication.js.map +1 -0
- package/dist/transaction/options.d.ts +25 -0
- package/dist/transaction/options.d.ts.map +1 -1
- package/dist/transaction/p2id.d.ts +3 -2
- package/dist/transaction/p2id.d.ts.map +1 -1
- package/dist/transaction/p2id.js +36 -27
- package/dist/transaction/p2id.js.map +1 -1
- package/dist/transaction/summary.d.ts +126 -22
- package/dist/transaction/summary.d.ts.map +1 -1
- package/dist/transaction/summary.js +164 -22
- package/dist/transaction/summary.js.map +1 -1
- package/dist/transaction/updateGuardian.d.ts +3 -3
- package/dist/transaction/updateGuardian.d.ts.map +1 -1
- package/dist/transaction/updateGuardian.js +5 -16
- package/dist/transaction/updateGuardian.js.map +1 -1
- package/dist/transaction/updateProcedureThreshold.d.ts +3 -3
- package/dist/transaction/updateProcedureThreshold.d.ts.map +1 -1
- package/dist/transaction/updateProcedureThreshold.js +6 -16
- package/dist/transaction/updateProcedureThreshold.js.map +1 -1
- package/dist/transaction/updateSigners.d.ts +3 -3
- package/dist/transaction/updateSigners.d.ts.map +1 -1
- package/dist/transaction/updateSigners.js +9 -16
- package/dist/transaction/updateSigners.js.map +1 -1
- package/dist/transaction.d.ts +3 -2
- package/dist/transaction.d.ts.map +1 -1
- package/dist/transaction.js +3 -2
- package/dist/transaction.js.map +1 -1
- package/dist/types/proposal.d.ts +37 -5
- package/dist/types/proposal.d.ts.map +1 -1
- package/dist/types/proposal.js +8 -0
- package/dist/types/proposal.js.map +1 -1
- package/dist/utils/eip712.d.ts +80 -0
- package/dist/utils/eip712.d.ts.map +1 -0
- package/dist/utils/eip712.js +49 -0
- package/dist/utils/eip712.js.map +1 -0
- package/dist/utils/signature.d.ts +4 -0
- package/dist/utils/signature.d.ts.map +1 -1
- package/dist/utils/signature.js +49 -1
- package/dist/utils/signature.js.map +1 -1
- package/package.json +11 -6
- package/src/account/builder.ts +18 -7
- package/src/account/layout.ts +5 -5
- package/src/client.ts +94 -6
- package/src/index.ts +24 -3
- package/src/multisig/authArgErrors.ts +47 -53
- package/src/multisig/consumeNotesErrors.ts +20 -1
- package/src/multisig/signing.ts +8 -2
- package/src/multisig.ts +614 -205
- package/src/procedures.ts +7 -7
- package/src/proposal/factory.ts +7 -0
- package/src/prover/workflow.ts +7 -10
- package/src/raw-client.ts +11 -7
- package/src/recovery/publicNoteBackfill.ts +1 -1
- package/src/retry/classify.ts +3 -3
- package/src/signer.ts +1 -0
- package/src/signers/index.ts +1 -0
- package/src/signers/ledger.ts +122 -0
- package/src/state/adopt.ts +132 -0
- package/src/transaction/authArgs.ts +142 -0
- package/src/transaction/consumeNotes.ts +23 -30
- package/src/transaction/noteAuthentication.ts +136 -0
- package/src/transaction/options.ts +27 -0
- package/src/transaction/p2id.ts +45 -34
- package/src/transaction/summary.ts +239 -30
- package/src/transaction/updateGuardian.ts +8 -22
- package/src/transaction/updateProcedureThreshold.ts +8 -20
- package/src/transaction/updateSigners.ts +11 -22
- package/src/transaction.ts +18 -1
- package/src/types/proposal.ts +36 -5
- package/src/utils/eip712.ts +57 -0
- package/src/utils/signature.ts +57 -0
- package/src/prover/test-node.d.ts +0 -6
package/dist/multisig.d.ts
CHANGED
|
@@ -39,6 +39,13 @@ export interface AccountStateVerificationResult {
|
|
|
39
39
|
export interface CreateProposalOptions {
|
|
40
40
|
/** Proposal nonce; defaults to `Date.now()`. */
|
|
41
41
|
nonce?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Blocks after the block the proposal binds by which the transaction must be
|
|
44
|
+
* included; past that the approvers' signatures no longer authorize it. The
|
|
45
|
+
* summary binds it, so the executing party can neither shorten nor extend it.
|
|
46
|
+
* Omitted, the approval never expires (the upstream default).
|
|
47
|
+
*/
|
|
48
|
+
approvalExpirationDelta?: number;
|
|
42
49
|
}
|
|
43
50
|
export interface CreateSignerProposalOptions extends CreateProposalOptions {
|
|
44
51
|
/**
|
|
@@ -67,6 +74,24 @@ export declare class Multisig {
|
|
|
67
74
|
private readonly _accountId;
|
|
68
75
|
private readonly midenRpcEndpoint;
|
|
69
76
|
private proposals;
|
|
77
|
+
/** Ids GUARDIAN returned on the most recent sync; these prune immediately when dropped. */
|
|
78
|
+
private lastReportedProposalIds;
|
|
79
|
+
/**
|
|
80
|
+
* Ids GUARDIAN is known to hold: acknowledged `createProposal` pushes,
|
|
81
|
+
* acknowledged `signProposal` signatures, plus every listed id. Only these
|
|
82
|
+
* are subject to miss-based pruning; offline creations and imports GUARDIAN
|
|
83
|
+
* never received are exempt.
|
|
84
|
+
*/
|
|
85
|
+
private guardianKnownProposalIds;
|
|
86
|
+
/**
|
|
87
|
+
* Consecutive successful listings that omitted a guardian-known proposal
|
|
88
|
+
* not yet listed; at {@link UNREPORTED_LISTING_MISS_LIMIT} it is pruned.
|
|
89
|
+
*/
|
|
90
|
+
private unreportedMissCounts;
|
|
91
|
+
/** Bumped by {@link setGuardianClient}; a sync spanning a bump aborts unapplied. */
|
|
92
|
+
private syncGeneration;
|
|
93
|
+
/** Pending sync shared by overlapping {@link syncProposals} callers. */
|
|
94
|
+
private syncProposalsInFlight?;
|
|
70
95
|
constructor(account: Account, config: MultisigConfig, guardian: GuardianHttpClient, signer: Signer, midenClient: MidenClient, accountId: string | undefined, midenRpcEndpoint: string, proverConfig?: ResolvedProverConfig, rpcConfig?: ResolvedRpcConfig);
|
|
71
96
|
private getMidenRpcEndpoint;
|
|
72
97
|
private getRawClient;
|
|
@@ -133,6 +158,11 @@ export declare class Multisig {
|
|
|
133
158
|
procedure: ProcedureName;
|
|
134
159
|
threshold: number;
|
|
135
160
|
}>;
|
|
161
|
+
/**
|
|
162
|
+
* The request options every `create*Proposal` hands its builder: the account,
|
|
163
|
+
* the caller's approval expiration, and the signer's scheme.
|
|
164
|
+
*/
|
|
165
|
+
private proposalRequestOptions;
|
|
136
166
|
private warnOnOverrideDilution;
|
|
137
167
|
/**
|
|
138
168
|
* Update the GUARDIAN client used by this Multisig instance.
|
|
@@ -142,6 +172,14 @@ export declare class Multisig {
|
|
|
142
172
|
* survive a switch, and the notes embedded in them can only be imported
|
|
143
173
|
* while the old GUARDIAN is still the current client.
|
|
144
174
|
*
|
|
175
|
+
* Repointing abandons a {@link syncProposals} still in flight: it rejects
|
|
176
|
+
* without applying its listing, though its request to the old GUARDIAN is
|
|
177
|
+
* not cancelled, so callers already awaiting it see the rejection only
|
|
178
|
+
* once that response settles. The reported-id and miss-count bookkeeping
|
|
179
|
+
* is reset; the set of ids GUARDIAN is known to hold is kept on purpose,
|
|
180
|
+
* so proposals orphaned by the repoint expire through the two-miss rule
|
|
181
|
+
* instead of lingering.
|
|
182
|
+
*
|
|
145
183
|
* @param guardianClient - The new GUARDIAN HTTP client
|
|
146
184
|
*/
|
|
147
185
|
setGuardianClient(guardianClient: GuardianHttpClient): void;
|
|
@@ -205,9 +243,50 @@ export declare class Multisig {
|
|
|
205
243
|
*/
|
|
206
244
|
registerOnGuardian(initialStateBase64?: string): Promise<void>;
|
|
207
245
|
/**
|
|
208
|
-
* Sync proposals from the GUARDIAN server
|
|
246
|
+
* Sync proposals from the GUARDIAN server, reconciling the local cache to
|
|
247
|
+
* the response. GUARDIAN reports only pending proposals, so a proposal it
|
|
248
|
+
* reported on an earlier sync and now omits is pruned immediately. A
|
|
249
|
+
* proposal GUARDIAN holds but has not listed yet (a fresh `createProposal`
|
|
250
|
+
* its read-your-writes has not caught up with, or a proposal orphaned by a
|
|
251
|
+
* {@link setGuardianClient} repoint) is pruned only after
|
|
252
|
+
* {@link UNREPORTED_LISTING_MISS_LIMIT} consecutive listings omit it.
|
|
253
|
+
* Proposals GUARDIAN never received (an `importProposal`, or a
|
|
254
|
+
* `createSwitchGuardianProposalOffline`) are not pruned by listings; an
|
|
255
|
+
* import graduates to the pruned classes once GUARDIAN acknowledges it
|
|
256
|
+
* (listed, or a successful online `signProposal`).
|
|
257
|
+
* Proposals cached or replaced after the sync started are not evaluated
|
|
258
|
+
* by it.
|
|
259
|
+
*
|
|
260
|
+
* Every synced proposal's metadata is checked against its signed summary
|
|
261
|
+
* and the outcome is recorded in {@link Proposal.verification}. One that
|
|
262
|
+
* fails is still cached and returned, so a single stale or corrupt
|
|
263
|
+
* proposal cannot hide the others (issue #462). Verification re-executes
|
|
264
|
+
* each proposal at the chain tip, so the Miden client is synced once first.
|
|
265
|
+
* `failed` with `retryable: true` means a transient node error or chain
|
|
266
|
+
* state this client had not caught up with, worth syncing again;
|
|
267
|
+
* `retryable: false` means the proposal cannot be reproduced and must be
|
|
268
|
+
* re-proposed. `signProposal` and `executeProposal` re-verify and
|
|
269
|
+
* refuse a failed proposal. A failed proposal still counts as reported, so
|
|
270
|
+
* it is pruned like any other once GUARDIAN stops listing it.
|
|
271
|
+
*
|
|
272
|
+
* The response is parsed in full before the cache or the pruning state
|
|
273
|
+
* changes; a payload that does not parse at all rejects and leaves both
|
|
274
|
+
* untouched, so malformed GUARDIAN data is never silently dropped.
|
|
275
|
+
* Signatures added to a cached proposal while the sync was verifying are
|
|
276
|
+
* preserved by its apply, and a proposal executed locally in that window
|
|
277
|
+
* stays `finalized` rather than reverting to the listed pending state.
|
|
278
|
+
* Overlapping callers share the same in-flight promise. A sync that spans a {@link setGuardianClient} repoint rejects
|
|
279
|
+
* without applying its listing.
|
|
280
|
+
*
|
|
281
|
+
* Nonce-based staleness hiding is the caller's job (see the examples'
|
|
282
|
+
* `filterVisibleProposals`): callers of this shared client disagree on
|
|
283
|
+
* whether a proposal's `nonce` is the pre-execution or the next account
|
|
284
|
+
* nonce, so the Rust client's `proposal.nonce <= account.nonce()` filter
|
|
285
|
+
* cannot be applied here. This is an intentional TS/Rust surface
|
|
286
|
+
* difference.
|
|
209
287
|
*/
|
|
210
288
|
syncProposals(): Promise<Proposal[]>;
|
|
289
|
+
private reconcileProposals;
|
|
211
290
|
/**
|
|
212
291
|
* {@link syncProposals} variant for the recovery flow: per-proposal
|
|
213
292
|
* failures (a payload that does not parse, a metadata binding that does
|
|
@@ -222,7 +301,10 @@ export declare class Multisig {
|
|
|
222
301
|
*/
|
|
223
302
|
private syncProposalsIsolatingFailures;
|
|
224
303
|
/**
|
|
225
|
-
*
|
|
304
|
+
* Returns the proposals cached by the most recent {@link syncProposals}
|
|
305
|
+
* call, plus any locally created or imported proposals GUARDIAN has not
|
|
306
|
+
* reported yet (see {@link syncProposals} for their retention). Not a
|
|
307
|
+
* durable history: proposals GUARDIAN no longer reports were pruned.
|
|
226
308
|
*/
|
|
227
309
|
listProposals(): Proposal[];
|
|
228
310
|
/**
|
|
@@ -377,6 +459,12 @@ export declare class Multisig {
|
|
|
377
459
|
* store, reusing this client's Miden RPC endpoint and retry
|
|
378
460
|
* configuration.
|
|
379
461
|
*/
|
|
462
|
+
/**
|
|
463
|
+
* Puts the local store in the canonical (authenticated) consumption mode
|
|
464
|
+
* for `notes`, fetching missing inclusion proofs from this client's Miden
|
|
465
|
+
* node; see {@link ensureNotesAuthenticated}.
|
|
466
|
+
*/
|
|
467
|
+
private ensureNotesAuthenticated;
|
|
380
468
|
private importNotesFromProposals;
|
|
381
469
|
/**
|
|
382
470
|
* Public-backfill strategy of {@link recoverNotes}: scan a historical
|
|
@@ -490,6 +578,12 @@ export declare class Multisig {
|
|
|
490
578
|
deltaHistory(options?: HistoryOptions): Promise<HistoryPage>;
|
|
491
579
|
signProposal(proposalId: string): Promise<Proposal>;
|
|
492
580
|
private getProposalForSigning;
|
|
581
|
+
/**
|
|
582
|
+
* Builds the final, fully signed request for a ready proposal, for a caller
|
|
583
|
+
* that proves and submits it with its own pipeline. The request declares the
|
|
584
|
+
* block its summary binds, so execute it at the chain tip, without an
|
|
585
|
+
* anchor, on a client synced to at least that block.
|
|
586
|
+
*/
|
|
493
587
|
createTransactionProposalRequest(proposalId: string): Promise<TransactionRequest>;
|
|
494
588
|
/**
|
|
495
589
|
* Execute a proposal that has enough signatures.
|
|
@@ -501,10 +595,23 @@ export declare class Multisig {
|
|
|
501
595
|
* Submit an integration-built transaction (advice already injected). Mirrors
|
|
502
596
|
* the Rust `submit_transaction`; used by the custom proposal producer flow
|
|
503
597
|
* after `prepareCustomExecution` rebuilds its request with the returned advice.
|
|
504
|
-
* The transaction is executed at the
|
|
505
|
-
*
|
|
598
|
+
* The transaction is executed at the chain tip, so the request has to declare
|
|
599
|
+
* the block its auth args bind (`feeAwareTransactionRequestBuilder` does).
|
|
506
600
|
*/
|
|
507
601
|
submitTransaction(proposalId: string, request: TransactionRequest): Promise<void>;
|
|
602
|
+
/**
|
|
603
|
+
* Executes `request` at the chain tip, then proves, submits and applies it,
|
|
604
|
+
* syncing first when this client is still below the block the request binds.
|
|
605
|
+
*/
|
|
606
|
+
private submitAtTip;
|
|
607
|
+
/**
|
|
608
|
+
* Brings the Miden client to the chain tip before a proposal is re-executed:
|
|
609
|
+
* an execution loads foreign accounts, the fee faucet among them, at the
|
|
610
|
+
* store's sync height, which a node prunes about 50 blocks later.
|
|
611
|
+
*/
|
|
612
|
+
private syncChain;
|
|
613
|
+
/** {@link syncToBoundBlock} with this client's RPC retry policy. */
|
|
614
|
+
private syncToBoundBlock;
|
|
508
615
|
/**
|
|
509
616
|
* Create a proposal from a producer-built transaction the SDK does not model.
|
|
510
617
|
* `transactionRequestBytes` is a serialized TransactionRequest;
|
|
@@ -524,8 +631,13 @@ export declare class Multisig {
|
|
|
524
631
|
* its rebuilt transaction (`builder.extendAdviceMap(advice)`).
|
|
525
632
|
*/
|
|
526
633
|
prepareCustomExecution(proposalId: string, transactionRequestBytes: Uint8Array): Promise<AdviceMap>;
|
|
634
|
+
private buildCosignerAdviceEntry;
|
|
527
635
|
private assembleCustomAdvice;
|
|
528
636
|
private getLocalProposal;
|
|
637
|
+
/**
|
|
638
|
+
* The returned request declares the block the signed summary binds, and
|
|
639
|
+
* executes at the chain tip.
|
|
640
|
+
*/
|
|
529
641
|
private prepareProposalExecution;
|
|
530
642
|
/**
|
|
531
643
|
* Export a proposal for offline signing
|
|
@@ -553,29 +665,44 @@ export declare class Multisig {
|
|
|
553
665
|
*/
|
|
554
666
|
signProposalOffline(proposalId: string): Promise<string>;
|
|
555
667
|
private ensureProposalCommitmentMatchesSummary;
|
|
556
|
-
private verifyProposalMetadataBinding;
|
|
557
668
|
/**
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
669
|
+
* Verifies that a proposal's metadata reconstructs its signed summary
|
|
670
|
+
* commitment and records the outcome in {@link Proposal.verification}:
|
|
671
|
+
* `verified`, or `failed` with the message and whether the failure looked
|
|
672
|
+
* transient. Rethrows the failure so strict callers keep failing closed
|
|
673
|
+
* while `syncProposals` keeps going with the outcome recorded.
|
|
562
674
|
*/
|
|
675
|
+
private verifyProposalMetadataBinding;
|
|
676
|
+
private checkProposalMetadataBinding;
|
|
563
677
|
/**
|
|
564
678
|
* Reads a proposal's salt. Throws when absent, because there is nothing to fall
|
|
565
679
|
* back to.
|
|
566
680
|
*
|
|
567
|
-
* The
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
* why the fallback this replaces was correct when it was written.
|
|
573
|
-
*
|
|
574
|
-
* A declared salt also bypasses miden-client's zero-fee early return, so this holds
|
|
575
|
-
* on a chain that charges nothing exactly as on one that charges.
|
|
681
|
+
* The salt goes into the request's multisig auth args and the summary binds it in
|
|
682
|
+
* its user params, so `summarySalt(summary)` reads the value the cosigners signed
|
|
683
|
+
* over. It is not a substitute for this field: a request has to be rebuilt before
|
|
684
|
+
* any summary exists, and a proposal GUARDIAN serves may pair a summary with
|
|
685
|
+
* metadata that names another salt, which the binding check reports by name.
|
|
576
686
|
*/
|
|
577
687
|
private requireProposalSaltHex;
|
|
688
|
+
/**
|
|
689
|
+
* Decodes a proposal's chain anchor, which names the block its signed summary
|
|
690
|
+
* binds. Throws when absent: every proposal carries one, so a proposal
|
|
691
|
+
* without it is malformed and is neither verified nor executed. The caller
|
|
692
|
+
* owns the returned anchor and must `free()` it once done.
|
|
693
|
+
*/
|
|
578
694
|
private requireProposalAnchor;
|
|
695
|
+
/**
|
|
696
|
+
* An expired approval aborts in the auth procedure only at execution.
|
|
697
|
+
* The summary carries the deadline, so callers check it against the sync
|
|
698
|
+
* height before assembling advice or requesting the GUARDIAN ack.
|
|
699
|
+
*/
|
|
700
|
+
private assertApprovalNotExpired;
|
|
701
|
+
/**
|
|
702
|
+
* Rebuilds a proposal's request from its metadata under `binding`, so the
|
|
703
|
+
* summary it produces is the one the cosigners signed.
|
|
704
|
+
*/
|
|
579
705
|
private buildTransactionRequestFromMetadata;
|
|
706
|
+
private buildTransactionRequestWithOptions;
|
|
580
707
|
}
|
|
581
708
|
//# sourceMappingURL=multisig.d.ts.map
|
package/dist/multisig.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multisig.d.ts","sourceRoot":"","sources":["../src/multisig.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,KAAK,aAAa,EAAoB,KAAK,cAAc,EAAE,KAAK,WAAW,EAA0B,KAAK,MAAM,EAAqC,MAAM,+BAA+B,CAAC;AACvP,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EAEd,QAAQ,EACR,gBAAgB,EAEhB,YAAY,EACb,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,OAAO,EAEP,SAAS,
|
|
1
|
+
{"version":3,"file":"multisig.d.ts","sourceRoot":"","sources":["../src/multisig.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,KAAK,aAAa,EAAoB,KAAK,cAAc,EAAE,KAAK,WAAW,EAA0B,KAAK,MAAM,EAAqC,MAAM,+BAA+B,CAAC;AACvP,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EAEd,QAAQ,EACR,gBAAgB,EAEhB,YAAY,EACb,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,OAAO,EAEP,SAAS,EAOT,QAAQ,EAGR,kBAAkB,EAInB,MAAM,sBAAsB,CA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