@midnightntwrk/wallet-sdk 1.2.0

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 (64) hide show
  1. package/README.md +169 -0
  2. package/dist/address-format.d.ts +1 -0
  3. package/dist/address-format.js +13 -0
  4. package/dist/capabilities/balancer.d.ts +1 -0
  5. package/dist/capabilities/balancer.js +13 -0
  6. package/dist/capabilities/index.d.ts +1 -0
  7. package/dist/capabilities/index.js +13 -0
  8. package/dist/capabilities/pendingTransactions.d.ts +1 -0
  9. package/dist/capabilities/pendingTransactions.js +13 -0
  10. package/dist/capabilities/proving.d.ts +1 -0
  11. package/dist/capabilities/proving.js +13 -0
  12. package/dist/capabilities/simulation.d.ts +1 -0
  13. package/dist/capabilities/simulation.js +13 -0
  14. package/dist/capabilities/submission.d.ts +1 -0
  15. package/dist/capabilities/submission.js +13 -0
  16. package/dist/dust/index.d.ts +1 -0
  17. package/dist/dust/index.js +13 -0
  18. package/dist/dust/v1.d.ts +1 -0
  19. package/dist/dust/v1.js +13 -0
  20. package/dist/facade.d.ts +1 -0
  21. package/dist/facade.js +13 -0
  22. package/dist/hd.d.ts +1 -0
  23. package/dist/hd.js +13 -0
  24. package/dist/index.d.ts +13 -0
  25. package/dist/index.js +25 -0
  26. package/dist/indexer-client/effect.d.ts +1 -0
  27. package/dist/indexer-client/effect.js +13 -0
  28. package/dist/indexer-client/index.d.ts +1 -0
  29. package/dist/indexer-client/index.js +13 -0
  30. package/dist/node-client/effect.d.ts +1 -0
  31. package/dist/node-client/effect.js +13 -0
  32. package/dist/node-client/index.d.ts +1 -0
  33. package/dist/node-client/index.js +13 -0
  34. package/dist/node-client/testing.d.ts +1 -0
  35. package/dist/node-client/testing.js +13 -0
  36. package/dist/prover-client/effect.d.ts +1 -0
  37. package/dist/prover-client/effect.js +13 -0
  38. package/dist/prover-client/index.d.ts +1 -0
  39. package/dist/prover-client/index.js +13 -0
  40. package/dist/proving.d.ts +1 -0
  41. package/dist/proving.js +13 -0
  42. package/dist/runtime/abstractions.d.ts +1 -0
  43. package/dist/runtime/abstractions.js +13 -0
  44. package/dist/runtime/index.d.ts +1 -0
  45. package/dist/runtime/index.js +13 -0
  46. package/dist/shielded/index.d.ts +1 -0
  47. package/dist/shielded/index.js +13 -0
  48. package/dist/shielded/v1.d.ts +1 -0
  49. package/dist/shielded/v1.js +13 -0
  50. package/dist/testing.d.ts +1 -0
  51. package/dist/testing.js +13 -0
  52. package/dist/unshielded/index.d.ts +1 -0
  53. package/dist/unshielded/index.js +13 -0
  54. package/dist/unshielded/v1.d.ts +1 -0
  55. package/dist/unshielded/v1.js +13 -0
  56. package/dist/utilities/index.d.ts +1 -0
  57. package/dist/utilities/index.js +13 -0
  58. package/dist/utilities/networking.d.ts +1 -0
  59. package/dist/utilities/networking.js +13 -0
  60. package/dist/utilities/testing.d.ts +1 -0
  61. package/dist/utilities/testing.js +13 -0
  62. package/dist/utilities/types.d.ts +1 -0
  63. package/dist/utilities/types.js +13 -0
  64. package/package.json +174 -0
package/README.md ADDED
@@ -0,0 +1,169 @@
1
+ # @midnightntwrk/wallet-sdk
2
+
3
+ Barrel package for the Midnight Wallet SDK. Instead of installing and importing from multiple
4
+ `@midnightntwrk/wallet-sdk-*` packages individually, this package re-exports them all through a single dependency with
5
+ multiple entry points.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @midnightntwrk/wallet-sdk
11
+ ```
12
+
13
+ ## Overview
14
+
15
+ This package provides a unified installation and import experience for the Midnight Wallet SDK. The main entry point
16
+ re-exports the core wallet types, while dedicated sub-path exports give access to each underlying package:
17
+
18
+ | Entry Point | Re-exports |
19
+ | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
+ | `@midnightntwrk/wallet-sdk` | Flat: abstractions, address-format, dust-wallet, facade, hd, prover-client, shielded, unshielded-wallet, utilities. Namespaced: `Capabilities` (capabilities), `IndexerClient` (indexer-client), `NodeClient` (node-client), `Runtime` (runtime). |
21
+ | `@midnightntwrk/wallet-sdk/address-format` | `@midnightntwrk/wallet-sdk-address-format` |
22
+ | `@midnightntwrk/wallet-sdk/capabilities` | `@midnightntwrk/wallet-sdk-capabilities` |
23
+ | `@midnightntwrk/wallet-sdk/capabilities/balancer` | `@midnightntwrk/wallet-sdk-capabilities/balancer` |
24
+ | `@midnightntwrk/wallet-sdk/capabilities/pendingTransactions` | `@midnightntwrk/wallet-sdk-capabilities/pendingTransactions` |
25
+ | `@midnightntwrk/wallet-sdk/capabilities/proving` | `@midnightntwrk/wallet-sdk-capabilities/proving` |
26
+ | `@midnightntwrk/wallet-sdk/capabilities/simulation` | `@midnightntwrk/wallet-sdk-capabilities/simulation` |
27
+ | `@midnightntwrk/wallet-sdk/capabilities/submission` | `@midnightntwrk/wallet-sdk-capabilities/submission` |
28
+ | `@midnightntwrk/wallet-sdk/dust` | `@midnightntwrk/wallet-sdk-dust-wallet` |
29
+ | `@midnightntwrk/wallet-sdk/dust/v1` | `@midnightntwrk/wallet-sdk-dust-wallet/v1` |
30
+ | `@midnightntwrk/wallet-sdk/facade` | `@midnightntwrk/wallet-sdk-facade` |
31
+ | `@midnightntwrk/wallet-sdk/hd` | `@midnightntwrk/wallet-sdk-hd` |
32
+ | `@midnightntwrk/wallet-sdk/indexer-client` | `@midnightntwrk/wallet-sdk-indexer-client` |
33
+ | `@midnightntwrk/wallet-sdk/indexer-client/effect` | `@midnightntwrk/wallet-sdk-indexer-client/effect` |
34
+ | `@midnightntwrk/wallet-sdk/node-client` | `@midnightntwrk/wallet-sdk-node-client` |
35
+ | `@midnightntwrk/wallet-sdk/node-client/effect` | `@midnightntwrk/wallet-sdk-node-client/effect` |
36
+ | `@midnightntwrk/wallet-sdk/node-client/testing` | `@midnightntwrk/wallet-sdk-node-client/testing` |
37
+ | `@midnightntwrk/wallet-sdk/prover-client` | `@midnightntwrk/wallet-sdk-prover-client` |
38
+ | `@midnightntwrk/wallet-sdk/prover-client/effect` | `@midnightntwrk/wallet-sdk-prover-client/effect` |
39
+ | `@midnightntwrk/wallet-sdk/proving` | Legacy alias for `@midnightntwrk/wallet-sdk/capabilities/proving` |
40
+ | `@midnightntwrk/wallet-sdk/runtime` | `@midnightntwrk/wallet-sdk-runtime` |
41
+ | `@midnightntwrk/wallet-sdk/runtime/abstractions` | `@midnightntwrk/wallet-sdk-runtime/abstractions` |
42
+ | `@midnightntwrk/wallet-sdk/shielded` | `@midnightntwrk/wallet-sdk-shielded` |
43
+ | `@midnightntwrk/wallet-sdk/shielded/v1` | `@midnightntwrk/wallet-sdk-shielded/v1` |
44
+ | `@midnightntwrk/wallet-sdk/testing` | Legacy alias for `@midnightntwrk/wallet-sdk/utilities/testing` |
45
+ | `@midnightntwrk/wallet-sdk/unshielded` | `@midnightntwrk/wallet-sdk-unshielded-wallet` |
46
+ | `@midnightntwrk/wallet-sdk/unshielded/v1` | `@midnightntwrk/wallet-sdk-unshielded-wallet/v1` |
47
+ | `@midnightntwrk/wallet-sdk/utilities` | `@midnightntwrk/wallet-sdk-utilities` |
48
+ | `@midnightntwrk/wallet-sdk/utilities/networking` | `@midnightntwrk/wallet-sdk-utilities/networking` |
49
+ | `@midnightntwrk/wallet-sdk/utilities/testing` | `@midnightntwrk/wallet-sdk-utilities/testing` |
50
+ | `@midnightntwrk/wallet-sdk/utilities/types` | `@midnightntwrk/wallet-sdk-utilities/types` |
51
+
52
+ The Wallet Facade (`WalletFacade`) provides a high-level unified interface that aggregates the functionality of all
53
+ wallet types (shielded, unshielded, and dust). It simplifies wallet operations by providing:
54
+
55
+ - Combined state management across all wallet types
56
+ - Unified transaction balancing for shielded, unshielded, and dust
57
+ - Coordinated transfer and swap operations
58
+ - Simplified transaction finalization flow
59
+ - Dust registration management
60
+
61
+ ## Usage
62
+
63
+ ### Initializing the Facade
64
+
65
+ ```typescript
66
+ import { WalletFacade } from '@midnightntwrk/wallet-sdk';
67
+
68
+ const facade = new WalletFacade(shieldedWallet, unshieldedWallet, dustWallet);
69
+
70
+ // Start all wallets
71
+ await facade.start(shieldedSecretKeys, dustSecretKey);
72
+ ```
73
+
74
+ ### Observing Combined State
75
+
76
+ ```typescript
77
+ facade.state().subscribe((state) => {
78
+ console.log('Shielded:', state.shielded);
79
+ console.log('Unshielded:', state.unshielded);
80
+ console.log('Dust:', state.dust);
81
+ console.log('All synced:', state.isSynced);
82
+ });
83
+
84
+ // Or wait for full sync
85
+ const syncedState = await facade.waitForSyncedState();
86
+ ```
87
+
88
+ ### Creating Transfer Transactions
89
+
90
+ ```typescript
91
+ const recipe = await facade.transferTransaction(
92
+ [
93
+ {
94
+ type: 'shielded',
95
+ outputs: [{ type: 'TOKEN_B', receiverAddress: shieldedAddr, amount: 1000n }],
96
+ },
97
+ {
98
+ type: 'unshielded',
99
+ outputs: [{ type: 'TOKEN_A', receiverAddress: unshieldedAddr, amount: 500n }],
100
+ },
101
+ ],
102
+ { shieldedSecretKeys, dustSecretKey },
103
+ { ttl: new Date(Date.now() + 3600000) },
104
+ );
105
+ ```
106
+
107
+ ### Balancing Transactions
108
+
109
+ ```typescript
110
+ // Balance a finalized transaction
111
+ const recipe = await facade.balanceFinalizedTransaction(
112
+ finalizedTx,
113
+ { shieldedSecretKeys, dustSecretKey },
114
+ { ttl, tokenKindsToBalance: 'all' }, // or ['shielded', 'dust']
115
+ );
116
+
117
+ // Finalize the balanced recipe
118
+ const finalTx = await facade.finalizeRecipe(recipe);
119
+
120
+ // Submit to the network
121
+ const txId = await facade.submitTransaction(finalTx);
122
+ ```
123
+
124
+ ### Creating Swap Offers
125
+
126
+ ```typescript
127
+ const swapRecipe = await facade.initSwap(
128
+ { shielded: { NIGHT: 1000n } }, // inputs
129
+ [{ type: 'shielded', outputs: [{ type: 'TOKEN_A', receiverAddress, amount: 100n }] }], // outputs
130
+ { shieldedSecretKeys, dustSecretKey },
131
+ { ttl, payFees: false },
132
+ );
133
+ ```
134
+
135
+ ### Dust Registration
136
+
137
+ ```typescript
138
+ // Register Night UTXOs for dust generation
139
+ const registrationRecipe = await facade.registerNightUtxosForDustGeneration(
140
+ nightUtxos,
141
+ nightVerifyingKey,
142
+ signDustRegistration,
143
+ );
144
+
145
+ // Estimate registration costs
146
+ const { fee, dustGenerationEstimations } = await facade.estimateRegistration(nightUtxos);
147
+ ```
148
+
149
+ ## Types
150
+
151
+ ### BalancingRecipe
152
+
153
+ The facade returns different recipe types depending on the input transaction:
154
+
155
+ - `FinalizedTransactionRecipe` - For finalized transactions
156
+ - `UnboundTransactionRecipe` - For unbound transactions
157
+ - `UnprovenTransactionRecipe` - For unproven transactions
158
+
159
+ ### TokenKindsToBalance
160
+
161
+ Control which token types to balance:
162
+
163
+ ```typescript
164
+ type TokenKindsToBalance = 'all' | ('dust' | 'shielded' | 'unshielded')[];
165
+ ```
166
+
167
+ ## License
168
+
169
+ Apache-2.0
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-address-format';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-address-format';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities/balancer';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities/balancer';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities/pendingTransactions';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities/pendingTransactions';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities/proving';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities/proving';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities/simulation';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities/simulation';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities/submission';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities/submission';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-dust-wallet';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-dust-wallet';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-dust-wallet/v1';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-dust-wallet/v1';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-facade';
package/dist/facade.js ADDED
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-facade';
package/dist/hd.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-hd';
package/dist/hd.js ADDED
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-hd';
@@ -0,0 +1,13 @@
1
+ export * from '@midnightntwrk/wallet-sdk-abstractions';
2
+ export * from '@midnightntwrk/wallet-sdk-address-format';
3
+ export * from '@midnightntwrk/wallet-sdk-dust-wallet';
4
+ export * from '@midnightntwrk/wallet-sdk-facade';
5
+ export * from '@midnightntwrk/wallet-sdk-hd';
6
+ export * from '@midnightntwrk/wallet-sdk-prover-client';
7
+ export * from '@midnightntwrk/wallet-sdk-shielded';
8
+ export * from '@midnightntwrk/wallet-sdk-unshielded-wallet';
9
+ export * from '@midnightntwrk/wallet-sdk-utilities';
10
+ export * as Capabilities from '@midnightntwrk/wallet-sdk-capabilities';
11
+ export * as IndexerClient from '@midnightntwrk/wallet-sdk-indexer-client';
12
+ export * as NodeClient from '@midnightntwrk/wallet-sdk-node-client';
13
+ export * as Runtime from '@midnightntwrk/wallet-sdk-runtime';
package/dist/index.js ADDED
@@ -0,0 +1,25 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-abstractions';
14
+ export * from '@midnightntwrk/wallet-sdk-address-format';
15
+ export * from '@midnightntwrk/wallet-sdk-dust-wallet';
16
+ export * from '@midnightntwrk/wallet-sdk-facade';
17
+ export * from '@midnightntwrk/wallet-sdk-hd';
18
+ export * from '@midnightntwrk/wallet-sdk-prover-client';
19
+ export * from '@midnightntwrk/wallet-sdk-shielded';
20
+ export * from '@midnightntwrk/wallet-sdk-unshielded-wallet';
21
+ export * from '@midnightntwrk/wallet-sdk-utilities';
22
+ export * as Capabilities from '@midnightntwrk/wallet-sdk-capabilities';
23
+ export * as IndexerClient from '@midnightntwrk/wallet-sdk-indexer-client';
24
+ export * as NodeClient from '@midnightntwrk/wallet-sdk-node-client';
25
+ export * as Runtime from '@midnightntwrk/wallet-sdk-runtime';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-indexer-client/effect';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-indexer-client/effect';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-indexer-client';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-indexer-client';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-node-client/effect';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-node-client/effect';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-node-client';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-node-client';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-node-client/testing';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-node-client/testing';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-prover-client/effect';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-prover-client/effect';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-prover-client';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-prover-client';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-capabilities/proving';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-capabilities/proving';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-runtime/abstractions';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-runtime/abstractions';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-runtime';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-runtime';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-shielded';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-shielded';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-shielded/v1';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-shielded/v1';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-utilities/testing';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-utilities/testing';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-unshielded-wallet';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-unshielded-wallet';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-unshielded-wallet/v1';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-unshielded-wallet/v1';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-utilities';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-utilities';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-utilities/networking';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-utilities/networking';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-utilities/testing';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-utilities/testing';
@@ -0,0 +1 @@
1
+ export * from '@midnightntwrk/wallet-sdk-utilities/types';
@@ -0,0 +1,13 @@
1
+ // This file is part of MIDNIGHT-WALLET-SDK.
2
+ // Copyright (C) Midnight Foundation
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // You may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ export * from '@midnightntwrk/wallet-sdk-utilities/types';
package/package.json ADDED
@@ -0,0 +1,174 @@
1
+ {
2
+ "name": "@midnightntwrk/wallet-sdk",
3
+ "description": "Barrel package re-exporting all Midnight Wallet SDK packages",
4
+ "version": "1.2.0",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "author": "Midnight Foundation",
10
+ "license": "Apache-2.0",
11
+ "publishConfig": {
12
+ "registry": "https://registry.npmjs.org/",
13
+ "access": "public"
14
+ },
15
+ "files": [
16
+ "dist/"
17
+ ],
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/midnightntwrk/midnight-wallet.git",
21
+ "directory": "packages/wallet-sdk"
22
+ },
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "import": "./dist/index.js"
27
+ },
28
+ "./address-format": {
29
+ "types": "./dist/address-format.d.ts",
30
+ "import": "./dist/address-format.js"
31
+ },
32
+ "./capabilities": {
33
+ "types": "./dist/capabilities/index.d.ts",
34
+ "import": "./dist/capabilities/index.js"
35
+ },
36
+ "./capabilities/balancer": {
37
+ "types": "./dist/capabilities/balancer.d.ts",
38
+ "import": "./dist/capabilities/balancer.js"
39
+ },
40
+ "./capabilities/pendingTransactions": {
41
+ "types": "./dist/capabilities/pendingTransactions.d.ts",
42
+ "import": "./dist/capabilities/pendingTransactions.js"
43
+ },
44
+ "./capabilities/proving": {
45
+ "types": "./dist/capabilities/proving.d.ts",
46
+ "import": "./dist/capabilities/proving.js"
47
+ },
48
+ "./capabilities/simulation": {
49
+ "types": "./dist/capabilities/simulation.d.ts",
50
+ "import": "./dist/capabilities/simulation.js"
51
+ },
52
+ "./capabilities/submission": {
53
+ "types": "./dist/capabilities/submission.d.ts",
54
+ "import": "./dist/capabilities/submission.js"
55
+ },
56
+ "./dust": {
57
+ "types": "./dist/dust/index.d.ts",
58
+ "import": "./dist/dust/index.js"
59
+ },
60
+ "./dust/v1": {
61
+ "types": "./dist/dust/v1.d.ts",
62
+ "import": "./dist/dust/v1.js"
63
+ },
64
+ "./facade": {
65
+ "types": "./dist/facade.d.ts",
66
+ "import": "./dist/facade.js"
67
+ },
68
+ "./hd": {
69
+ "types": "./dist/hd.d.ts",
70
+ "import": "./dist/hd.js"
71
+ },
72
+ "./indexer-client": {
73
+ "types": "./dist/indexer-client/index.d.ts",
74
+ "import": "./dist/indexer-client/index.js"
75
+ },
76
+ "./indexer-client/effect": {
77
+ "types": "./dist/indexer-client/effect.d.ts",
78
+ "import": "./dist/indexer-client/effect.js"
79
+ },
80
+ "./node-client": {
81
+ "types": "./dist/node-client/index.d.ts",
82
+ "import": "./dist/node-client/index.js"
83
+ },
84
+ "./node-client/effect": {
85
+ "types": "./dist/node-client/effect.d.ts",
86
+ "import": "./dist/node-client/effect.js"
87
+ },
88
+ "./node-client/testing": {
89
+ "types": "./dist/node-client/testing.d.ts",
90
+ "import": "./dist/node-client/testing.js"
91
+ },
92
+ "./prover-client": {
93
+ "types": "./dist/prover-client/index.d.ts",
94
+ "import": "./dist/prover-client/index.js"
95
+ },
96
+ "./prover-client/effect": {
97
+ "types": "./dist/prover-client/effect.d.ts",
98
+ "import": "./dist/prover-client/effect.js"
99
+ },
100
+ "./proving": {
101
+ "types": "./dist/proving.d.ts",
102
+ "import": "./dist/proving.js"
103
+ },
104
+ "./runtime": {
105
+ "types": "./dist/runtime/index.d.ts",
106
+ "import": "./dist/runtime/index.js"
107
+ },
108
+ "./runtime/abstractions": {
109
+ "types": "./dist/runtime/abstractions.d.ts",
110
+ "import": "./dist/runtime/abstractions.js"
111
+ },
112
+ "./shielded": {
113
+ "types": "./dist/shielded/index.d.ts",
114
+ "import": "./dist/shielded/index.js"
115
+ },
116
+ "./shielded/v1": {
117
+ "types": "./dist/shielded/v1.d.ts",
118
+ "import": "./dist/shielded/v1.js"
119
+ },
120
+ "./testing": {
121
+ "types": "./dist/testing.d.ts",
122
+ "import": "./dist/testing.js"
123
+ },
124
+ "./unshielded": {
125
+ "types": "./dist/unshielded/index.d.ts",
126
+ "import": "./dist/unshielded/index.js"
127
+ },
128
+ "./unshielded/v1": {
129
+ "types": "./dist/unshielded/v1.d.ts",
130
+ "import": "./dist/unshielded/v1.js"
131
+ },
132
+ "./utilities": {
133
+ "types": "./dist/utilities/index.d.ts",
134
+ "import": "./dist/utilities/index.js"
135
+ },
136
+ "./utilities/networking": {
137
+ "types": "./dist/utilities/networking.d.ts",
138
+ "import": "./dist/utilities/networking.js"
139
+ },
140
+ "./utilities/testing": {
141
+ "types": "./dist/utilities/testing.d.ts",
142
+ "import": "./dist/utilities/testing.js"
143
+ },
144
+ "./utilities/types": {
145
+ "types": "./dist/utilities/types.d.ts",
146
+ "import": "./dist/utilities/types.js"
147
+ }
148
+ },
149
+ "dependencies": {
150
+ "@midnightntwrk/wallet-sdk-abstractions": "^2.1.0",
151
+ "@midnightntwrk/wallet-sdk-address-format": "^3.1.2",
152
+ "@midnightntwrk/wallet-sdk-capabilities": "^3.3.1",
153
+ "@midnightntwrk/wallet-sdk-dust-wallet": "^4.2.0",
154
+ "@midnightntwrk/wallet-sdk-facade": "^4.1.0",
155
+ "@midnightntwrk/wallet-sdk-hd": "^3.0.3",
156
+ "@midnightntwrk/wallet-sdk-indexer-client": "^1.2.3",
157
+ "@midnightntwrk/wallet-sdk-node-client": "^1.1.3",
158
+ "@midnightntwrk/wallet-sdk-prover-client": "^1.2.3",
159
+ "@midnightntwrk/wallet-sdk-runtime": "^1.0.5",
160
+ "@midnightntwrk/wallet-sdk-shielded": "^3.0.2",
161
+ "@midnightntwrk/wallet-sdk-unshielded-wallet": "^3.1.0",
162
+ "@midnightntwrk/wallet-sdk-utilities": "^1.2.0"
163
+ },
164
+ "scripts": {
165
+ "typecheck": "tsc -b ./tsconfig.json --noEmit --force",
166
+ "lint": "eslint --max-warnings 0",
167
+ "format": "prettier --write \"**/*.{ts,js,json,yaml,yml,md}\"",
168
+ "format:check": "prettier --check \"**/*.{ts,js,json,yaml,yml,md}\"",
169
+ "dist": "tsc -b ./tsconfig.build.json",
170
+ "dist:publish": "tsc -b ./tsconfig.publish.json",
171
+ "clean": "rimraf --glob dist 'tsconfig.*.tsbuildinfo' && date +%s > .clean-timestamp",
172
+ "publint": "publint --strict"
173
+ }
174
+ }