@miden-sdk/miden-wallet-adapter-base 0.16.0 → 0.16.3

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.
Files changed (116) hide show
  1. package/AGENTS.md +77 -0
  2. package/dist/adapter.js.map +1 -1
  3. package/dist/errors.js.map +1 -1
  4. package/dist/helpers.js.map +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/signer.js.map +1 -1
  7. package/dist/transaction.js.map +1 -1
  8. package/dist/types.js.map +1 -1
  9. package/package.json +9 -3
  10. package/skills/wallet-adapter-integration/SKILL.md +335 -0
  11. package/__tests__/adapter.test.ts +0 -82
  12. package/__tests__/errors.test.ts +0 -100
  13. package/__tests__/helpers.test.ts +0 -39
  14. package/__tests__/signer.test.ts +0 -20
  15. package/__tests__/transaction.test.ts +0 -166
  16. package/adapter.ts +0 -146
  17. package/dist/__tests__/adapter.test.d.ts +0 -1
  18. package/dist/__tests__/adapter.test.js +0 -66
  19. package/dist/__tests__/adapter.test.js.map +0 -1
  20. package/dist/__tests__/errors.test.d.ts +0 -1
  21. package/dist/__tests__/errors.test.js +0 -70
  22. package/dist/__tests__/errors.test.js.map +0 -1
  23. package/dist/__tests__/helpers.test.d.ts +0 -1
  24. package/dist/__tests__/helpers.test.js +0 -35
  25. package/dist/__tests__/helpers.test.js.map +0 -1
  26. package/dist/__tests__/signer.test.d.ts +0 -1
  27. package/dist/__tests__/signer.test.js +0 -18
  28. package/dist/__tests__/signer.test.js.map +0 -1
  29. package/dist/__tests__/transaction.test.d.ts +0 -1
  30. package/dist/__tests__/transaction.test.js +0 -113
  31. package/dist/__tests__/transaction.test.js.map +0 -1
  32. package/dist/vitest.config.d.ts +0 -2
  33. package/dist/vitest.config.js +0 -8
  34. package/dist/vitest.config.js.map +0 -1
  35. package/docs/@miden-sdk/namespaces/EventEmitter/README.md +0 -24
  36. package/docs/@miden-sdk/namespaces/EventEmitter/interfaces/EventEmitterStatic.md +0 -17
  37. package/docs/@miden-sdk/namespaces/EventEmitter/interfaces/ListenerFn.md +0 -25
  38. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/ArgumentMap.md +0 -15
  39. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventArgs.md +0 -19
  40. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventListener.md +0 -19
  41. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventNames.md +0 -15
  42. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/ValidEventTypes.md +0 -17
  43. package/docs/@miden-sdk/namespaces/EventEmitter/variables/EventEmitter.md +0 -9
  44. package/docs/README.md +0 -88
  45. package/docs/classes/BaseMessageSignerWalletAdapter.md +0 -755
  46. package/docs/classes/BaseSignerWalletAdapter.md +0 -579
  47. package/docs/classes/BaseWalletAdapter.md +0 -535
  48. package/docs/classes/ConsumeTransaction.md +0 -93
  49. package/docs/classes/CustomTransaction.md +0 -93
  50. package/docs/classes/EventEmitter.md +0 -305
  51. package/docs/classes/SendTransaction.md +0 -107
  52. package/docs/classes/Transaction.md +0 -151
  53. package/docs/classes/WalletAccountError.md +0 -223
  54. package/docs/classes/WalletAddressError.md +0 -223
  55. package/docs/classes/WalletConfigError.md +0 -223
  56. package/docs/classes/WalletConnectionError.md +0 -223
  57. package/docs/classes/WalletDecryptionError.md +0 -223
  58. package/docs/classes/WalletDecryptionNotAllowedError.md +0 -223
  59. package/docs/classes/WalletDisconnectedError.md +0 -223
  60. package/docs/classes/WalletDisconnectionError.md +0 -223
  61. package/docs/classes/WalletError.md +0 -244
  62. package/docs/classes/WalletKeypairError.md +0 -223
  63. package/docs/classes/WalletLoadError.md +0 -223
  64. package/docs/classes/WalletNotConnectedError.md +0 -223
  65. package/docs/classes/WalletNotReadyError.md +0 -223
  66. package/docs/classes/WalletNotSelectedError.md +0 -223
  67. package/docs/classes/WalletPrivateDataPermissionError.md +0 -223
  68. package/docs/classes/WalletRecordsError.md +0 -223
  69. package/docs/classes/WalletSendTransactionError.md +0 -223
  70. package/docs/classes/WalletSignMessageError.md +0 -223
  71. package/docs/classes/WalletSignTransactionError.md +0 -223
  72. package/docs/classes/WalletTimeoutError.md +0 -223
  73. package/docs/classes/WalletTransactionError.md +0 -223
  74. package/docs/classes/WalletWindowBlockedError.md +0 -223
  75. package/docs/classes/WalletWindowClosedError.md +0 -223
  76. package/docs/enumerations/AllowedPrivateData.md +0 -37
  77. package/docs/enumerations/PrivateDataPermission.md +0 -19
  78. package/docs/enumerations/TransactionType.md +0 -25
  79. package/docs/enumerations/WalletAdapterNetwork.md +0 -19
  80. package/docs/enumerations/WalletReadyState.md +0 -49
  81. package/docs/functions/b64ToU8.md +0 -19
  82. package/docs/functions/scopePollingDetectionStrategy.md +0 -19
  83. package/docs/functions/u8ToB64.md +0 -19
  84. package/docs/interfaces/Asset.md +0 -19
  85. package/docs/interfaces/IFailedTransactionOutput.md +0 -13
  86. package/docs/interfaces/MessageSignerWalletAdapterProps.md +0 -293
  87. package/docs/interfaces/MidenConsumeTransaction.md +0 -37
  88. package/docs/interfaces/MidenCustomTransaction.md +0 -37
  89. package/docs/interfaces/MidenSendTransaction.md +0 -43
  90. package/docs/interfaces/MidenTransaction.md +0 -19
  91. package/docs/interfaces/SignerWalletAdapterProps.md +0 -149
  92. package/docs/interfaces/TransactionOutput.md +0 -19
  93. package/docs/interfaces/WalletAdapterEvents.md +0 -69
  94. package/docs/interfaces/WalletAdapterProps.md +0 -106
  95. package/docs/interfaces/WalletTransactionSuccessOutput.md +0 -19
  96. package/docs/type-aliases/Adapter.md +0 -9
  97. package/docs/type-aliases/FungibleAssetDetails.md +0 -21
  98. package/docs/type-aliases/InputNoteDetails.md +0 -45
  99. package/docs/type-aliases/MessageSignerWalletAdapter.md +0 -15
  100. package/docs/type-aliases/NoteTypeString.md +0 -9
  101. package/docs/type-aliases/SignKind.md +0 -9
  102. package/docs/type-aliases/SignerWalletAdapter.md +0 -15
  103. package/docs/type-aliases/SupportedTransactionVersions.md +0 -9
  104. package/docs/type-aliases/TransactionOrVersionedTransaction.md +0 -15
  105. package/docs/type-aliases/TransactionPayload.md +0 -9
  106. package/docs/type-aliases/WalletAdapter.md +0 -15
  107. package/docs/type-aliases/WalletName.md +0 -21
  108. package/docs/type-aliases/WalletTransactionOutput.md +0 -9
  109. package/errors.ts +0 -97
  110. package/helpers.ts +0 -28
  111. package/index.ts +0 -6
  112. package/signer.ts +0 -84
  113. package/transaction.ts +0 -178
  114. package/tsconfig.json +0 -15
  115. package/types.ts +0 -93
  116. package/vitest.config.ts +0 -8
@@ -1,293 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / MessageSignerWalletAdapterProps
6
-
7
- # Interface: MessageSignerWalletAdapterProps\<Name\>
8
-
9
- ## Extends
10
-
11
- - [`WalletAdapterProps`](WalletAdapterProps.md)\<`Name`\>
12
-
13
- ## Type Parameters
14
-
15
- ### Name
16
-
17
- `Name` *extends* `string` = `string`
18
-
19
- ## Properties
20
-
21
- ### address
22
-
23
- > **address**: `string`
24
-
25
- #### Inherited from
26
-
27
- [`WalletAdapterProps`](WalletAdapterProps.md).[`address`](WalletAdapterProps.md#address)
28
-
29
- ***
30
-
31
- ### connected
32
-
33
- > **connected**: `boolean`
34
-
35
- #### Inherited from
36
-
37
- [`WalletAdapterProps`](WalletAdapterProps.md).[`connected`](WalletAdapterProps.md#connected)
38
-
39
- ***
40
-
41
- ### connecting
42
-
43
- > **connecting**: `boolean`
44
-
45
- #### Inherited from
46
-
47
- [`WalletAdapterProps`](WalletAdapterProps.md).[`connecting`](WalletAdapterProps.md#connecting)
48
-
49
- ***
50
-
51
- ### icon
52
-
53
- > **icon**: `string`
54
-
55
- #### Inherited from
56
-
57
- [`WalletAdapterProps`](WalletAdapterProps.md).[`icon`](WalletAdapterProps.md#icon)
58
-
59
- ***
60
-
61
- ### name
62
-
63
- > **name**: [`WalletName`](../type-aliases/WalletName.md)\<`Name`\>
64
-
65
- #### Inherited from
66
-
67
- [`WalletAdapterProps`](WalletAdapterProps.md).[`name`](WalletAdapterProps.md#name-1)
68
-
69
- ***
70
-
71
- ### publicKey
72
-
73
- > **publicKey**: `Uint8Array`\<`ArrayBufferLike`\>
74
-
75
- #### Inherited from
76
-
77
- [`WalletAdapterProps`](WalletAdapterProps.md).[`publicKey`](WalletAdapterProps.md#publickey)
78
-
79
- ***
80
-
81
- ### readyState
82
-
83
- > **readyState**: [`WalletReadyState`](../enumerations/WalletReadyState.md)
84
-
85
- #### Inherited from
86
-
87
- [`WalletAdapterProps`](WalletAdapterProps.md).[`readyState`](WalletAdapterProps.md#readystate)
88
-
89
- ***
90
-
91
- ### supportedTransactionVersions
92
-
93
- > **supportedTransactionVersions**: `ReadonlySet`
94
-
95
- #### Inherited from
96
-
97
- [`WalletAdapterProps`](WalletAdapterProps.md).[`supportedTransactionVersions`](WalletAdapterProps.md#supportedtransactionversions)
98
-
99
- ***
100
-
101
- ### url
102
-
103
- > **url**: `string`
104
-
105
- #### Inherited from
106
-
107
- [`WalletAdapterProps`](WalletAdapterProps.md).[`url`](WalletAdapterProps.md#url)
108
-
109
- ## Methods
110
-
111
- ### connect()
112
-
113
- > **connect**(`privateDataPermission`, `network`, `allowedPrivateData?`): `Promise`\<`void`\>
114
-
115
- #### Parameters
116
-
117
- ##### privateDataPermission
118
-
119
- [`PrivateDataPermission`](../enumerations/PrivateDataPermission.md)
120
-
121
- ##### network
122
-
123
- [`WalletAdapterNetwork`](../enumerations/WalletAdapterNetwork.md)
124
-
125
- ##### allowedPrivateData?
126
-
127
- [`AllowedPrivateData`](../enumerations/AllowedPrivateData.md)
128
-
129
- #### Returns
130
-
131
- `Promise`\<`void`\>
132
-
133
- #### Inherited from
134
-
135
- [`WalletAdapterProps`](WalletAdapterProps.md).[`connect`](WalletAdapterProps.md#connect)
136
-
137
- ***
138
-
139
- ### disconnect()
140
-
141
- > **disconnect**(): `Promise`\<`void`\>
142
-
143
- #### Returns
144
-
145
- `Promise`\<`void`\>
146
-
147
- #### Inherited from
148
-
149
- [`WalletAdapterProps`](WalletAdapterProps.md).[`disconnect`](WalletAdapterProps.md#disconnect)
150
-
151
- ***
152
-
153
- ### importPrivateNote()
154
-
155
- > **importPrivateNote**(`note`): `Promise`\<`string`\>
156
-
157
- #### Parameters
158
-
159
- ##### note
160
-
161
- `Uint8Array`
162
-
163
- #### Returns
164
-
165
- `Promise`\<`string`\>
166
-
167
- ***
168
-
169
- ### requestAssets()
170
-
171
- > **requestAssets**(): `Promise`\<[`Asset`](Asset.md)[]\>
172
-
173
- #### Returns
174
-
175
- `Promise`\<[`Asset`](Asset.md)[]\>
176
-
177
- ***
178
-
179
- ### requestConsumableNotes()
180
-
181
- > **requestConsumableNotes**(): `Promise`\<[`InputNoteDetails`](../type-aliases/InputNoteDetails.md)[]\>
182
-
183
- #### Returns
184
-
185
- `Promise`\<[`InputNoteDetails`](../type-aliases/InputNoteDetails.md)[]\>
186
-
187
- ***
188
-
189
- ### requestConsume()
190
-
191
- > **requestConsume**(`transaction`): `Promise`\<`string`\>
192
-
193
- #### Parameters
194
-
195
- ##### transaction
196
-
197
- [`MidenConsumeTransaction`](MidenConsumeTransaction.md)
198
-
199
- #### Returns
200
-
201
- `Promise`\<`string`\>
202
-
203
- ***
204
-
205
- ### requestPrivateNotes()
206
-
207
- > **requestPrivateNotes**(`noteFilterType`, `noteIds?`): `Promise`\<[`InputNoteDetails`](../type-aliases/InputNoteDetails.md)[]\>
208
-
209
- #### Parameters
210
-
211
- ##### noteFilterType
212
-
213
- `NoteFilterTypes`
214
-
215
- ##### noteIds?
216
-
217
- `string`[]
218
-
219
- #### Returns
220
-
221
- `Promise`\<[`InputNoteDetails`](../type-aliases/InputNoteDetails.md)[]\>
222
-
223
- ***
224
-
225
- ### requestSend()
226
-
227
- > **requestSend**(`transaction`): `Promise`\<`string`\>
228
-
229
- #### Parameters
230
-
231
- ##### transaction
232
-
233
- [`MidenSendTransaction`](MidenSendTransaction.md)
234
-
235
- #### Returns
236
-
237
- `Promise`\<`string`\>
238
-
239
- ***
240
-
241
- ### requestTransaction()
242
-
243
- > **requestTransaction**(`transaction`): `Promise`\<`string`\>
244
-
245
- #### Parameters
246
-
247
- ##### transaction
248
-
249
- [`MidenTransaction`](MidenTransaction.md)
250
-
251
- #### Returns
252
-
253
- `Promise`\<`string`\>
254
-
255
- ***
256
-
257
- ### signBytes()
258
-
259
- > **signBytes**(`data`, `kind`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
260
-
261
- #### Parameters
262
-
263
- ##### data
264
-
265
- `Uint8Array`
266
-
267
- ##### kind
268
-
269
- [`SignKind`](../type-aliases/SignKind.md)
270
-
271
- #### Returns
272
-
273
- `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
274
-
275
- ***
276
-
277
- ### waitForTransaction()
278
-
279
- > **waitForTransaction**(`txId`, `timeout?`): `Promise`\<[`TransactionOutput`](TransactionOutput.md)\>
280
-
281
- #### Parameters
282
-
283
- ##### txId
284
-
285
- `string`
286
-
287
- ##### timeout?
288
-
289
- `number`
290
-
291
- #### Returns
292
-
293
- `Promise`\<[`TransactionOutput`](TransactionOutput.md)\>
@@ -1,37 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / MidenConsumeTransaction
6
-
7
- # Interface: MidenConsumeTransaction
8
-
9
- ## Properties
10
-
11
- ### amount
12
-
13
- > **amount**: `number`
14
-
15
- ***
16
-
17
- ### faucetId
18
-
19
- > **faucetId**: `string`
20
-
21
- ***
22
-
23
- ### noteBytes?
24
-
25
- > `optional` **noteBytes**: `string`
26
-
27
- ***
28
-
29
- ### noteId
30
-
31
- > **noteId**: `string`
32
-
33
- ***
34
-
35
- ### noteType
36
-
37
- > **noteType**: [`NoteTypeString`](../type-aliases/NoteTypeString.md)
@@ -1,37 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / MidenCustomTransaction
6
-
7
- # Interface: MidenCustomTransaction
8
-
9
- ## Properties
10
-
11
- ### address
12
-
13
- > **address**: `string`
14
-
15
- ***
16
-
17
- ### importNotes?
18
-
19
- > `optional` **importNotes**: `string`[]
20
-
21
- ***
22
-
23
- ### inputNoteIds?
24
-
25
- > `optional` **inputNoteIds**: `string`[]
26
-
27
- ***
28
-
29
- ### recipientAddress
30
-
31
- > **recipientAddress**: `string`
32
-
33
- ***
34
-
35
- ### transactionRequest
36
-
37
- > **transactionRequest**: `string`
@@ -1,43 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / MidenSendTransaction
6
-
7
- # Interface: MidenSendTransaction
8
-
9
- ## Properties
10
-
11
- ### amount
12
-
13
- > **amount**: `number`
14
-
15
- ***
16
-
17
- ### faucetId
18
-
19
- > **faucetId**: `string`
20
-
21
- ***
22
-
23
- ### noteType
24
-
25
- > **noteType**: [`NoteTypeString`](../type-aliases/NoteTypeString.md)
26
-
27
- ***
28
-
29
- ### recallBlocks?
30
-
31
- > `optional` **recallBlocks**: `number`
32
-
33
- ***
34
-
35
- ### recipientAddress
36
-
37
- > **recipientAddress**: `string`
38
-
39
- ***
40
-
41
- ### senderAddress
42
-
43
- > **senderAddress**: `string`
@@ -1,19 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / MidenTransaction
6
-
7
- # Interface: MidenTransaction
8
-
9
- ## Properties
10
-
11
- ### payload
12
-
13
- > **payload**: [`TransactionPayload`](../type-aliases/TransactionPayload.md)
14
-
15
- ***
16
-
17
- ### type
18
-
19
- > **type**: [`TransactionType`](../enumerations/TransactionType.md)
@@ -1,149 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / SignerWalletAdapterProps
6
-
7
- # Interface: SignerWalletAdapterProps\<Name\>
8
-
9
- ## Extends
10
-
11
- - [`WalletAdapterProps`](WalletAdapterProps.md)\<`Name`\>
12
-
13
- ## Type Parameters
14
-
15
- ### Name
16
-
17
- `Name` *extends* `string` = `string`
18
-
19
- ## Properties
20
-
21
- ### address
22
-
23
- > **address**: `string`
24
-
25
- #### Inherited from
26
-
27
- [`WalletAdapterProps`](WalletAdapterProps.md).[`address`](WalletAdapterProps.md#address)
28
-
29
- ***
30
-
31
- ### connected
32
-
33
- > **connected**: `boolean`
34
-
35
- #### Inherited from
36
-
37
- [`WalletAdapterProps`](WalletAdapterProps.md).[`connected`](WalletAdapterProps.md#connected)
38
-
39
- ***
40
-
41
- ### connecting
42
-
43
- > **connecting**: `boolean`
44
-
45
- #### Inherited from
46
-
47
- [`WalletAdapterProps`](WalletAdapterProps.md).[`connecting`](WalletAdapterProps.md#connecting)
48
-
49
- ***
50
-
51
- ### icon
52
-
53
- > **icon**: `string`
54
-
55
- #### Inherited from
56
-
57
- [`WalletAdapterProps`](WalletAdapterProps.md).[`icon`](WalletAdapterProps.md#icon)
58
-
59
- ***
60
-
61
- ### name
62
-
63
- > **name**: [`WalletName`](../type-aliases/WalletName.md)\<`Name`\>
64
-
65
- #### Inherited from
66
-
67
- [`WalletAdapterProps`](WalletAdapterProps.md).[`name`](WalletAdapterProps.md#name-1)
68
-
69
- ***
70
-
71
- ### publicKey
72
-
73
- > **publicKey**: `Uint8Array`\<`ArrayBufferLike`\>
74
-
75
- #### Inherited from
76
-
77
- [`WalletAdapterProps`](WalletAdapterProps.md).[`publicKey`](WalletAdapterProps.md#publickey)
78
-
79
- ***
80
-
81
- ### readyState
82
-
83
- > **readyState**: [`WalletReadyState`](../enumerations/WalletReadyState.md)
84
-
85
- #### Inherited from
86
-
87
- [`WalletAdapterProps`](WalletAdapterProps.md).[`readyState`](WalletAdapterProps.md#readystate)
88
-
89
- ***
90
-
91
- ### supportedTransactionVersions
92
-
93
- > **supportedTransactionVersions**: `ReadonlySet`
94
-
95
- #### Inherited from
96
-
97
- [`WalletAdapterProps`](WalletAdapterProps.md).[`supportedTransactionVersions`](WalletAdapterProps.md#supportedtransactionversions)
98
-
99
- ***
100
-
101
- ### url
102
-
103
- > **url**: `string`
104
-
105
- #### Inherited from
106
-
107
- [`WalletAdapterProps`](WalletAdapterProps.md).[`url`](WalletAdapterProps.md#url)
108
-
109
- ## Methods
110
-
111
- ### connect()
112
-
113
- > **connect**(`privateDataPermission`, `network`, `allowedPrivateData?`): `Promise`\<`void`\>
114
-
115
- #### Parameters
116
-
117
- ##### privateDataPermission
118
-
119
- [`PrivateDataPermission`](../enumerations/PrivateDataPermission.md)
120
-
121
- ##### network
122
-
123
- [`WalletAdapterNetwork`](../enumerations/WalletAdapterNetwork.md)
124
-
125
- ##### allowedPrivateData?
126
-
127
- [`AllowedPrivateData`](../enumerations/AllowedPrivateData.md)
128
-
129
- #### Returns
130
-
131
- `Promise`\<`void`\>
132
-
133
- #### Inherited from
134
-
135
- [`WalletAdapterProps`](WalletAdapterProps.md).[`connect`](WalletAdapterProps.md#connect)
136
-
137
- ***
138
-
139
- ### disconnect()
140
-
141
- > **disconnect**(): `Promise`\<`void`\>
142
-
143
- #### Returns
144
-
145
- `Promise`\<`void`\>
146
-
147
- #### Inherited from
148
-
149
- [`WalletAdapterProps`](WalletAdapterProps.md).[`disconnect`](WalletAdapterProps.md#disconnect)
@@ -1,19 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / TransactionOutput
6
-
7
- # Interface: TransactionOutput
8
-
9
- ## Properties
10
-
11
- ### outputNotes
12
-
13
- > **outputNotes**: `Note`[]
14
-
15
- ***
16
-
17
- ### txHash
18
-
19
- > **txHash**: `string`
@@ -1,69 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-base**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-base](../README.md) / WalletAdapterEvents
6
-
7
- # Interface: WalletAdapterEvents
8
-
9
- ## Methods
10
-
11
- ### connect()
12
-
13
- > **connect**(`address`, `allowedPrivateData?`): `void`
14
-
15
- #### Parameters
16
-
17
- ##### address
18
-
19
- `string`
20
-
21
- ##### allowedPrivateData?
22
-
23
- [`AllowedPrivateData`](../enumerations/AllowedPrivateData.md)
24
-
25
- #### Returns
26
-
27
- `void`
28
-
29
- ***
30
-
31
- ### disconnect()
32
-
33
- > **disconnect**(): `void`
34
-
35
- #### Returns
36
-
37
- `void`
38
-
39
- ***
40
-
41
- ### error()
42
-
43
- > **error**(`error`): `void`
44
-
45
- #### Parameters
46
-
47
- ##### error
48
-
49
- [`WalletError`](../classes/WalletError.md)
50
-
51
- #### Returns
52
-
53
- `void`
54
-
55
- ***
56
-
57
- ### readyStateChange()
58
-
59
- > **readyStateChange**(`readyState`): `void`
60
-
61
- #### Parameters
62
-
63
- ##### readyState
64
-
65
- [`WalletReadyState`](../enumerations/WalletReadyState.md)
66
-
67
- #### Returns
68
-
69
- `void`