@miden-sdk/miden-sdk 0.13.0-next.1

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.
@@ -0,0 +1,113 @@
1
+ import { WebClient as WasmWebClient } from "./crates/miden_client_web";
2
+
3
+ export {
4
+ Account,
5
+ AccountBuilder,
6
+ AccountComponent,
7
+ AccountDelta,
8
+ AccountFile,
9
+ AccountHeader,
10
+ AccountId,
11
+ AccountInterface,
12
+ AccountStorageDelta,
13
+ AccountStorageMode,
14
+ AccountStorageRequirements,
15
+ AccountType,
16
+ AccountVaultDelta,
17
+ Address,
18
+ AddressInterface,
19
+ AdviceMap,
20
+ Assembler,
21
+ AssemblerUtils,
22
+ AuthSecretKey,
23
+ BasicFungibleFaucetComponent,
24
+ ConsumableNoteRecord,
25
+ Endpoint,
26
+ Felt,
27
+ FeltArray,
28
+ ForeignAccount,
29
+ FungibleAsset,
30
+ FungibleAssetDelta,
31
+ InputNoteRecord,
32
+ InputNoteState,
33
+ Library,
34
+ MidenArrays,
35
+ NetworkId,
36
+ Note,
37
+ NoteAndArgs,
38
+ NoteAndArgsArray,
39
+ NoteAssets,
40
+ NoteConsumability,
41
+ NoteDetails,
42
+ NoteExecutionHint,
43
+ NoteExecutionMode,
44
+ NoteFile,
45
+ NoteFilter,
46
+ NoteFilterTypes,
47
+ NoteId,
48
+ NoteIdAndArgs,
49
+ NoteIdAndArgsArray,
50
+ NoteInputs,
51
+ NoteMetadata,
52
+ NoteRecipient,
53
+ NoteScript,
54
+ NoteTag,
55
+ NoteType,
56
+ OutputNote,
57
+ OutputNotesArray,
58
+ Package,
59
+ PublicKey,
60
+ Rpo256,
61
+ RpcClient,
62
+ SecretKey,
63
+ ProvenTransaction,
64
+ SerializedAccountHeader,
65
+ Signature,
66
+ SigningInputs,
67
+ SigningInputsType,
68
+ SlotAndKeys,
69
+ SlotAndKeysArray,
70
+ StorageMap,
71
+ StorageSlot,
72
+ TestUtils,
73
+ TokenSymbol,
74
+ TransactionFilter,
75
+ TransactionId,
76
+ TransactionKernel,
77
+ TransactionProver,
78
+ TransactionRecord,
79
+ TransactionRequest,
80
+ TransactionResult,
81
+ TransactionStoreUpdate,
82
+ TransactionRequestBuilder,
83
+ TransactionScript,
84
+ TransactionScriptInputPair,
85
+ TransactionScriptInputPairArray,
86
+ TransactionSummary,
87
+ Word,
88
+ } from "./crates/miden_client_web";
89
+
90
+ // Extend WASM WebClient but override methods that use workers
91
+ export declare class WebClient extends WasmWebClient {
92
+ /**
93
+ * Factory method to create and initialize a new wrapped WebClient.
94
+ *
95
+ * @param rpcUrl - The RPC URL (optional).
96
+ * @param noteTransportUrl - The note transport URL (optional).
97
+ * @param seed - The seed for the account (optional).
98
+ * @returns A promise that resolves to a fully initialized WebClient.
99
+ */
100
+ static createClient(
101
+ rpcUrl?: string,
102
+ noteTransportUrl?: string,
103
+ seed?: string
104
+ ): Promise<WebClient & WasmWebClient>;
105
+
106
+ /** Returns the default transaction prover configured on the client. */
107
+ defaultTransactionProver(): TransactionProver;
108
+
109
+ /**
110
+ * Terminates the underlying worker.
111
+ */
112
+ terminate(): void;
113
+ }