@miden-sdk/miden-wallet-adapter-base 0.16.2 → 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.
- package/dist/adapter.js.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/signer.js.map +1 -1
- package/dist/transaction.js.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +9 -3
- package/__tests__/adapter.test.ts +0 -82
- package/__tests__/errors.test.ts +0 -100
- package/__tests__/helpers.test.ts +0 -39
- package/__tests__/signer.test.ts +0 -20
- package/__tests__/transaction.test.ts +0 -166
- package/adapter.ts +0 -146
- package/dist/__tests__/adapter.test.d.ts +0 -1
- package/dist/__tests__/adapter.test.js +0 -66
- package/dist/__tests__/adapter.test.js.map +0 -1
- package/dist/__tests__/errors.test.d.ts +0 -1
- package/dist/__tests__/errors.test.js +0 -70
- package/dist/__tests__/errors.test.js.map +0 -1
- package/dist/__tests__/helpers.test.d.ts +0 -1
- package/dist/__tests__/helpers.test.js +0 -35
- package/dist/__tests__/helpers.test.js.map +0 -1
- package/dist/__tests__/signer.test.d.ts +0 -1
- package/dist/__tests__/signer.test.js +0 -18
- package/dist/__tests__/signer.test.js.map +0 -1
- package/dist/__tests__/transaction.test.d.ts +0 -1
- package/dist/__tests__/transaction.test.js +0 -113
- package/dist/__tests__/transaction.test.js.map +0 -1
- package/dist/vitest.config.d.ts +0 -2
- package/dist/vitest.config.js +0 -8
- package/dist/vitest.config.js.map +0 -1
- package/docs/@miden-sdk/namespaces/EventEmitter/README.md +0 -24
- package/docs/@miden-sdk/namespaces/EventEmitter/interfaces/EventEmitterStatic.md +0 -17
- package/docs/@miden-sdk/namespaces/EventEmitter/interfaces/ListenerFn.md +0 -25
- package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/ArgumentMap.md +0 -15
- package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventArgs.md +0 -19
- package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventListener.md +0 -19
- package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventNames.md +0 -15
- package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/ValidEventTypes.md +0 -17
- package/docs/@miden-sdk/namespaces/EventEmitter/variables/EventEmitter.md +0 -9
- package/docs/README.md +0 -88
- package/docs/classes/BaseMessageSignerWalletAdapter.md +0 -755
- package/docs/classes/BaseSignerWalletAdapter.md +0 -579
- package/docs/classes/BaseWalletAdapter.md +0 -535
- package/docs/classes/ConsumeTransaction.md +0 -93
- package/docs/classes/CustomTransaction.md +0 -93
- package/docs/classes/EventEmitter.md +0 -305
- package/docs/classes/SendTransaction.md +0 -107
- package/docs/classes/Transaction.md +0 -151
- package/docs/classes/WalletAccountError.md +0 -223
- package/docs/classes/WalletAddressError.md +0 -223
- package/docs/classes/WalletConfigError.md +0 -223
- package/docs/classes/WalletConnectionError.md +0 -223
- package/docs/classes/WalletDecryptionError.md +0 -223
- package/docs/classes/WalletDecryptionNotAllowedError.md +0 -223
- package/docs/classes/WalletDisconnectedError.md +0 -223
- package/docs/classes/WalletDisconnectionError.md +0 -223
- package/docs/classes/WalletError.md +0 -244
- package/docs/classes/WalletKeypairError.md +0 -223
- package/docs/classes/WalletLoadError.md +0 -223
- package/docs/classes/WalletNotConnectedError.md +0 -223
- package/docs/classes/WalletNotReadyError.md +0 -223
- package/docs/classes/WalletNotSelectedError.md +0 -223
- package/docs/classes/WalletPrivateDataPermissionError.md +0 -223
- package/docs/classes/WalletRecordsError.md +0 -223
- package/docs/classes/WalletSendTransactionError.md +0 -223
- package/docs/classes/WalletSignMessageError.md +0 -223
- package/docs/classes/WalletSignTransactionError.md +0 -223
- package/docs/classes/WalletTimeoutError.md +0 -223
- package/docs/classes/WalletTransactionError.md +0 -223
- package/docs/classes/WalletWindowBlockedError.md +0 -223
- package/docs/classes/WalletWindowClosedError.md +0 -223
- package/docs/enumerations/AllowedPrivateData.md +0 -37
- package/docs/enumerations/PrivateDataPermission.md +0 -19
- package/docs/enumerations/TransactionType.md +0 -25
- package/docs/enumerations/WalletAdapterNetwork.md +0 -19
- package/docs/enumerations/WalletReadyState.md +0 -49
- package/docs/functions/b64ToU8.md +0 -19
- package/docs/functions/scopePollingDetectionStrategy.md +0 -19
- package/docs/functions/u8ToB64.md +0 -19
- package/docs/interfaces/Asset.md +0 -19
- package/docs/interfaces/IFailedTransactionOutput.md +0 -13
- package/docs/interfaces/MessageSignerWalletAdapterProps.md +0 -293
- package/docs/interfaces/MidenConsumeTransaction.md +0 -37
- package/docs/interfaces/MidenCustomTransaction.md +0 -37
- package/docs/interfaces/MidenSendTransaction.md +0 -43
- package/docs/interfaces/MidenTransaction.md +0 -19
- package/docs/interfaces/SignerWalletAdapterProps.md +0 -149
- package/docs/interfaces/TransactionOutput.md +0 -19
- package/docs/interfaces/WalletAdapterEvents.md +0 -69
- package/docs/interfaces/WalletAdapterProps.md +0 -106
- package/docs/interfaces/WalletTransactionSuccessOutput.md +0 -19
- package/docs/type-aliases/Adapter.md +0 -9
- package/docs/type-aliases/FungibleAssetDetails.md +0 -21
- package/docs/type-aliases/InputNoteDetails.md +0 -45
- package/docs/type-aliases/MessageSignerWalletAdapter.md +0 -15
- package/docs/type-aliases/NoteTypeString.md +0 -9
- package/docs/type-aliases/SignKind.md +0 -9
- package/docs/type-aliases/SignerWalletAdapter.md +0 -15
- package/docs/type-aliases/SupportedTransactionVersions.md +0 -9
- package/docs/type-aliases/TransactionOrVersionedTransaction.md +0 -15
- package/docs/type-aliases/TransactionPayload.md +0 -9
- package/docs/type-aliases/WalletAdapter.md +0 -15
- package/docs/type-aliases/WalletName.md +0 -21
- package/docs/type-aliases/WalletTransactionOutput.md +0 -9
- package/errors.ts +0 -97
- package/helpers.ts +0 -28
- package/index.ts +0 -6
- package/signer.ts +0 -84
- package/transaction.ts +0 -178
- package/tsconfig.json +0 -15
- package/types.ts +0 -93
- package/vitest.config.ts +0 -8
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
[**@miden-sdk/miden-wallet-adapter-base**](../../../../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@miden-sdk/miden-wallet-adapter-base](../../../../README.md) / [EventEmitter](../README.md) / EventNames
|
|
6
|
-
|
|
7
|
-
# Type Alias: EventNames\<T\>
|
|
8
|
-
|
|
9
|
-
> **EventNames**\<`T`\> = `T` *extends* `string` \| `symbol` ? `T` : keyof `T`
|
|
10
|
-
|
|
11
|
-
## Type Parameters
|
|
12
|
-
|
|
13
|
-
### T
|
|
14
|
-
|
|
15
|
-
`T` *extends* [`ValidEventTypes`](ValidEventTypes.md)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[**@miden-sdk/miden-wallet-adapter-base**](../../../../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@miden-sdk/miden-wallet-adapter-base](../../../../README.md) / [EventEmitter](../README.md) / ValidEventTypes
|
|
6
|
-
|
|
7
|
-
# Type Alias: ValidEventTypes
|
|
8
|
-
|
|
9
|
-
> **ValidEventTypes** = `string` \| `symbol` \| `object`
|
|
10
|
-
|
|
11
|
-
`object` should be in either of the following forms:
|
|
12
|
-
```
|
|
13
|
-
interface EventTypes {
|
|
14
|
-
'event-with-parameters': any[]
|
|
15
|
-
'event-with-example-handler': (...args: any[]) => void
|
|
16
|
-
}
|
|
17
|
-
```
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
[**@miden-sdk/miden-wallet-adapter-base**](../../../../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@miden-sdk/miden-wallet-adapter-base](../../../../README.md) / [EventEmitter](../README.md) / EventEmitter
|
|
6
|
-
|
|
7
|
-
# Variable: EventEmitter
|
|
8
|
-
|
|
9
|
-
> `const` **EventEmitter**: [`EventEmitterStatic`](../interfaces/EventEmitterStatic.md)
|
package/docs/README.md
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
**@miden-sdk/miden-wallet-adapter-base**
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# @miden-sdk/miden-wallet-adapter-base
|
|
6
|
-
|
|
7
|
-
## Namespaces
|
|
8
|
-
|
|
9
|
-
- [EventEmitter](@miden-sdk/namespaces/EventEmitter/README.md)
|
|
10
|
-
|
|
11
|
-
## Enumerations
|
|
12
|
-
|
|
13
|
-
- [AllowedPrivateData](enumerations/AllowedPrivateData.md)
|
|
14
|
-
- [PrivateDataPermission](enumerations/PrivateDataPermission.md)
|
|
15
|
-
- [TransactionType](enumerations/TransactionType.md)
|
|
16
|
-
- [WalletAdapterNetwork](enumerations/WalletAdapterNetwork.md)
|
|
17
|
-
- [WalletReadyState](enumerations/WalletReadyState.md)
|
|
18
|
-
|
|
19
|
-
## Classes
|
|
20
|
-
|
|
21
|
-
- [BaseMessageSignerWalletAdapter](classes/BaseMessageSignerWalletAdapter.md)
|
|
22
|
-
- [BaseSignerWalletAdapter](classes/BaseSignerWalletAdapter.md)
|
|
23
|
-
- [BaseWalletAdapter](classes/BaseWalletAdapter.md)
|
|
24
|
-
- [ConsumeTransaction](classes/ConsumeTransaction.md)
|
|
25
|
-
- [CustomTransaction](classes/CustomTransaction.md)
|
|
26
|
-
- [EventEmitter](classes/EventEmitter.md)
|
|
27
|
-
- [SendTransaction](classes/SendTransaction.md)
|
|
28
|
-
- [Transaction](classes/Transaction.md)
|
|
29
|
-
- [WalletAccountError](classes/WalletAccountError.md)
|
|
30
|
-
- [WalletAddressError](classes/WalletAddressError.md)
|
|
31
|
-
- [WalletConfigError](classes/WalletConfigError.md)
|
|
32
|
-
- [WalletConnectionError](classes/WalletConnectionError.md)
|
|
33
|
-
- [WalletDecryptionError](classes/WalletDecryptionError.md)
|
|
34
|
-
- [WalletDecryptionNotAllowedError](classes/WalletDecryptionNotAllowedError.md)
|
|
35
|
-
- [WalletDisconnectedError](classes/WalletDisconnectedError.md)
|
|
36
|
-
- [WalletDisconnectionError](classes/WalletDisconnectionError.md)
|
|
37
|
-
- [WalletError](classes/WalletError.md)
|
|
38
|
-
- [WalletKeypairError](classes/WalletKeypairError.md)
|
|
39
|
-
- [WalletLoadError](classes/WalletLoadError.md)
|
|
40
|
-
- [WalletNotConnectedError](classes/WalletNotConnectedError.md)
|
|
41
|
-
- [WalletNotReadyError](classes/WalletNotReadyError.md)
|
|
42
|
-
- [WalletNotSelectedError](classes/WalletNotSelectedError.md)
|
|
43
|
-
- [WalletPrivateDataPermissionError](classes/WalletPrivateDataPermissionError.md)
|
|
44
|
-
- [WalletRecordsError](classes/WalletRecordsError.md)
|
|
45
|
-
- [WalletSendTransactionError](classes/WalletSendTransactionError.md)
|
|
46
|
-
- [WalletSignMessageError](classes/WalletSignMessageError.md)
|
|
47
|
-
- [WalletSignTransactionError](classes/WalletSignTransactionError.md)
|
|
48
|
-
- [WalletTimeoutError](classes/WalletTimeoutError.md)
|
|
49
|
-
- [WalletTransactionError](classes/WalletTransactionError.md)
|
|
50
|
-
- [WalletWindowBlockedError](classes/WalletWindowBlockedError.md)
|
|
51
|
-
- [WalletWindowClosedError](classes/WalletWindowClosedError.md)
|
|
52
|
-
|
|
53
|
-
## Interfaces
|
|
54
|
-
|
|
55
|
-
- [Asset](interfaces/Asset.md)
|
|
56
|
-
- [IFailedTransactionOutput](interfaces/IFailedTransactionOutput.md)
|
|
57
|
-
- [MessageSignerWalletAdapterProps](interfaces/MessageSignerWalletAdapterProps.md)
|
|
58
|
-
- [MidenConsumeTransaction](interfaces/MidenConsumeTransaction.md)
|
|
59
|
-
- [MidenCustomTransaction](interfaces/MidenCustomTransaction.md)
|
|
60
|
-
- [MidenSendTransaction](interfaces/MidenSendTransaction.md)
|
|
61
|
-
- [MidenTransaction](interfaces/MidenTransaction.md)
|
|
62
|
-
- [SignerWalletAdapterProps](interfaces/SignerWalletAdapterProps.md)
|
|
63
|
-
- [TransactionOutput](interfaces/TransactionOutput.md)
|
|
64
|
-
- [WalletAdapterEvents](interfaces/WalletAdapterEvents.md)
|
|
65
|
-
- [WalletAdapterProps](interfaces/WalletAdapterProps.md)
|
|
66
|
-
- [WalletTransactionSuccessOutput](interfaces/WalletTransactionSuccessOutput.md)
|
|
67
|
-
|
|
68
|
-
## Type Aliases
|
|
69
|
-
|
|
70
|
-
- [Adapter](type-aliases/Adapter.md)
|
|
71
|
-
- [FungibleAssetDetails](type-aliases/FungibleAssetDetails.md)
|
|
72
|
-
- [InputNoteDetails](type-aliases/InputNoteDetails.md)
|
|
73
|
-
- [MessageSignerWalletAdapter](type-aliases/MessageSignerWalletAdapter.md)
|
|
74
|
-
- [NoteTypeString](type-aliases/NoteTypeString.md)
|
|
75
|
-
- [SignerWalletAdapter](type-aliases/SignerWalletAdapter.md)
|
|
76
|
-
- [SignKind](type-aliases/SignKind.md)
|
|
77
|
-
- [SupportedTransactionVersions](type-aliases/SupportedTransactionVersions.md)
|
|
78
|
-
- [TransactionOrVersionedTransaction](type-aliases/TransactionOrVersionedTransaction.md)
|
|
79
|
-
- [TransactionPayload](type-aliases/TransactionPayload.md)
|
|
80
|
-
- [WalletAdapter](type-aliases/WalletAdapter.md)
|
|
81
|
-
- [WalletName](type-aliases/WalletName.md)
|
|
82
|
-
- [WalletTransactionOutput](type-aliases/WalletTransactionOutput.md)
|
|
83
|
-
|
|
84
|
-
## Functions
|
|
85
|
-
|
|
86
|
-
- [b64ToU8](functions/b64ToU8.md)
|
|
87
|
-
- [scopePollingDetectionStrategy](functions/scopePollingDetectionStrategy.md)
|
|
88
|
-
- [u8ToB64](functions/u8ToB64.md)
|