@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.
Files changed (114) hide show
  1. package/dist/adapter.js.map +1 -1
  2. package/dist/errors.js.map +1 -1
  3. package/dist/helpers.js.map +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/signer.js.map +1 -1
  6. package/dist/transaction.js.map +1 -1
  7. package/dist/types.js.map +1 -1
  8. package/package.json +9 -3
  9. package/__tests__/adapter.test.ts +0 -82
  10. package/__tests__/errors.test.ts +0 -100
  11. package/__tests__/helpers.test.ts +0 -39
  12. package/__tests__/signer.test.ts +0 -20
  13. package/__tests__/transaction.test.ts +0 -166
  14. package/adapter.ts +0 -146
  15. package/dist/__tests__/adapter.test.d.ts +0 -1
  16. package/dist/__tests__/adapter.test.js +0 -66
  17. package/dist/__tests__/adapter.test.js.map +0 -1
  18. package/dist/__tests__/errors.test.d.ts +0 -1
  19. package/dist/__tests__/errors.test.js +0 -70
  20. package/dist/__tests__/errors.test.js.map +0 -1
  21. package/dist/__tests__/helpers.test.d.ts +0 -1
  22. package/dist/__tests__/helpers.test.js +0 -35
  23. package/dist/__tests__/helpers.test.js.map +0 -1
  24. package/dist/__tests__/signer.test.d.ts +0 -1
  25. package/dist/__tests__/signer.test.js +0 -18
  26. package/dist/__tests__/signer.test.js.map +0 -1
  27. package/dist/__tests__/transaction.test.d.ts +0 -1
  28. package/dist/__tests__/transaction.test.js +0 -113
  29. package/dist/__tests__/transaction.test.js.map +0 -1
  30. package/dist/vitest.config.d.ts +0 -2
  31. package/dist/vitest.config.js +0 -8
  32. package/dist/vitest.config.js.map +0 -1
  33. package/docs/@miden-sdk/namespaces/EventEmitter/README.md +0 -24
  34. package/docs/@miden-sdk/namespaces/EventEmitter/interfaces/EventEmitterStatic.md +0 -17
  35. package/docs/@miden-sdk/namespaces/EventEmitter/interfaces/ListenerFn.md +0 -25
  36. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/ArgumentMap.md +0 -15
  37. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventArgs.md +0 -19
  38. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventListener.md +0 -19
  39. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/EventNames.md +0 -15
  40. package/docs/@miden-sdk/namespaces/EventEmitter/type-aliases/ValidEventTypes.md +0 -17
  41. package/docs/@miden-sdk/namespaces/EventEmitter/variables/EventEmitter.md +0 -9
  42. package/docs/README.md +0 -88
  43. package/docs/classes/BaseMessageSignerWalletAdapter.md +0 -755
  44. package/docs/classes/BaseSignerWalletAdapter.md +0 -579
  45. package/docs/classes/BaseWalletAdapter.md +0 -535
  46. package/docs/classes/ConsumeTransaction.md +0 -93
  47. package/docs/classes/CustomTransaction.md +0 -93
  48. package/docs/classes/EventEmitter.md +0 -305
  49. package/docs/classes/SendTransaction.md +0 -107
  50. package/docs/classes/Transaction.md +0 -151
  51. package/docs/classes/WalletAccountError.md +0 -223
  52. package/docs/classes/WalletAddressError.md +0 -223
  53. package/docs/classes/WalletConfigError.md +0 -223
  54. package/docs/classes/WalletConnectionError.md +0 -223
  55. package/docs/classes/WalletDecryptionError.md +0 -223
  56. package/docs/classes/WalletDecryptionNotAllowedError.md +0 -223
  57. package/docs/classes/WalletDisconnectedError.md +0 -223
  58. package/docs/classes/WalletDisconnectionError.md +0 -223
  59. package/docs/classes/WalletError.md +0 -244
  60. package/docs/classes/WalletKeypairError.md +0 -223
  61. package/docs/classes/WalletLoadError.md +0 -223
  62. package/docs/classes/WalletNotConnectedError.md +0 -223
  63. package/docs/classes/WalletNotReadyError.md +0 -223
  64. package/docs/classes/WalletNotSelectedError.md +0 -223
  65. package/docs/classes/WalletPrivateDataPermissionError.md +0 -223
  66. package/docs/classes/WalletRecordsError.md +0 -223
  67. package/docs/classes/WalletSendTransactionError.md +0 -223
  68. package/docs/classes/WalletSignMessageError.md +0 -223
  69. package/docs/classes/WalletSignTransactionError.md +0 -223
  70. package/docs/classes/WalletTimeoutError.md +0 -223
  71. package/docs/classes/WalletTransactionError.md +0 -223
  72. package/docs/classes/WalletWindowBlockedError.md +0 -223
  73. package/docs/classes/WalletWindowClosedError.md +0 -223
  74. package/docs/enumerations/AllowedPrivateData.md +0 -37
  75. package/docs/enumerations/PrivateDataPermission.md +0 -19
  76. package/docs/enumerations/TransactionType.md +0 -25
  77. package/docs/enumerations/WalletAdapterNetwork.md +0 -19
  78. package/docs/enumerations/WalletReadyState.md +0 -49
  79. package/docs/functions/b64ToU8.md +0 -19
  80. package/docs/functions/scopePollingDetectionStrategy.md +0 -19
  81. package/docs/functions/u8ToB64.md +0 -19
  82. package/docs/interfaces/Asset.md +0 -19
  83. package/docs/interfaces/IFailedTransactionOutput.md +0 -13
  84. package/docs/interfaces/MessageSignerWalletAdapterProps.md +0 -293
  85. package/docs/interfaces/MidenConsumeTransaction.md +0 -37
  86. package/docs/interfaces/MidenCustomTransaction.md +0 -37
  87. package/docs/interfaces/MidenSendTransaction.md +0 -43
  88. package/docs/interfaces/MidenTransaction.md +0 -19
  89. package/docs/interfaces/SignerWalletAdapterProps.md +0 -149
  90. package/docs/interfaces/TransactionOutput.md +0 -19
  91. package/docs/interfaces/WalletAdapterEvents.md +0 -69
  92. package/docs/interfaces/WalletAdapterProps.md +0 -106
  93. package/docs/interfaces/WalletTransactionSuccessOutput.md +0 -19
  94. package/docs/type-aliases/Adapter.md +0 -9
  95. package/docs/type-aliases/FungibleAssetDetails.md +0 -21
  96. package/docs/type-aliases/InputNoteDetails.md +0 -45
  97. package/docs/type-aliases/MessageSignerWalletAdapter.md +0 -15
  98. package/docs/type-aliases/NoteTypeString.md +0 -9
  99. package/docs/type-aliases/SignKind.md +0 -9
  100. package/docs/type-aliases/SignerWalletAdapter.md +0 -15
  101. package/docs/type-aliases/SupportedTransactionVersions.md +0 -9
  102. package/docs/type-aliases/TransactionOrVersionedTransaction.md +0 -15
  103. package/docs/type-aliases/TransactionPayload.md +0 -9
  104. package/docs/type-aliases/WalletAdapter.md +0 -15
  105. package/docs/type-aliases/WalletName.md +0 -21
  106. package/docs/type-aliases/WalletTransactionOutput.md +0 -9
  107. package/errors.ts +0 -97
  108. package/helpers.ts +0 -28
  109. package/index.ts +0 -6
  110. package/signer.ts +0 -84
  111. package/transaction.ts +0 -178
  112. package/tsconfig.json +0 -15
  113. package/types.ts +0 -93
  114. 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)