@midnight-ntwrk/wallet-sdk 1.0.0 → 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 (54) hide show
  1. package/README.md +40 -12
  2. package/dist/capabilities/balancer.d.ts +1 -0
  3. package/dist/capabilities/balancer.js +13 -0
  4. package/dist/capabilities/pendingTransactions.d.ts +1 -0
  5. package/dist/capabilities/pendingTransactions.js +13 -0
  6. package/dist/capabilities/proving.d.ts +1 -0
  7. package/dist/capabilities/proving.js +13 -0
  8. package/dist/capabilities/simulation.d.ts +1 -0
  9. package/dist/capabilities/simulation.js +13 -0
  10. package/dist/capabilities/submission.d.ts +1 -0
  11. package/dist/capabilities/submission.js +13 -0
  12. package/dist/dust/v1.d.ts +1 -0
  13. package/dist/dust/v1.js +13 -0
  14. package/dist/index.d.ts +6 -0
  15. package/dist/index.js +6 -0
  16. package/dist/indexer-client/effect.d.ts +1 -0
  17. package/dist/indexer-client/effect.js +13 -0
  18. package/dist/indexer-client/index.d.ts +1 -0
  19. package/dist/indexer-client/index.js +13 -0
  20. package/dist/node-client/effect.d.ts +1 -0
  21. package/dist/node-client/effect.js +13 -0
  22. package/dist/node-client/index.d.ts +1 -0
  23. package/dist/node-client/index.js +13 -0
  24. package/dist/node-client/testing.d.ts +1 -0
  25. package/dist/node-client/testing.js +13 -0
  26. package/dist/prover-client/effect.d.ts +1 -0
  27. package/dist/prover-client/effect.js +13 -0
  28. package/dist/prover-client/index.d.ts +1 -0
  29. package/dist/prover-client/index.js +13 -0
  30. package/dist/runtime/abstractions.d.ts +1 -0
  31. package/dist/runtime/abstractions.js +13 -0
  32. package/dist/runtime/index.d.ts +1 -0
  33. package/dist/runtime/index.js +13 -0
  34. package/dist/shielded/v1.d.ts +1 -0
  35. package/dist/shielded/v1.js +13 -0
  36. package/dist/unshielded/v1.d.ts +1 -0
  37. package/dist/unshielded/v1.js +13 -0
  38. package/dist/utilities/index.d.ts +1 -0
  39. package/dist/utilities/index.js +13 -0
  40. package/dist/utilities/networking.d.ts +1 -0
  41. package/dist/utilities/networking.js +13 -0
  42. package/dist/utilities/testing.d.ts +1 -0
  43. package/dist/utilities/testing.js +13 -0
  44. package/dist/utilities/types.d.ts +1 -0
  45. package/dist/utilities/types.js +13 -0
  46. package/package.json +109 -19
  47. /package/dist/{capabilities.d.ts → capabilities/index.d.ts} +0 -0
  48. /package/dist/{capabilities.js → capabilities/index.js} +0 -0
  49. /package/dist/{dust.d.ts → dust/index.d.ts} +0 -0
  50. /package/dist/{dust.js → dust/index.js} +0 -0
  51. /package/dist/{shielded.d.ts → shielded/index.d.ts} +0 -0
  52. /package/dist/{shielded.js → shielded/index.js} +0 -0
  53. /package/dist/{unshielded.d.ts → unshielded/index.d.ts} +0 -0
  54. /package/dist/{unshielded.js → unshielded/index.js} +0 -0
package/README.md CHANGED
@@ -1,3 +1,10 @@
1
+ > [!IMPORTANT]
2
+ > **This package has moved.** The `@midnight-ntwrk` scope is published only
3
+ > during the migration window and will stop receiving updates. Please migrate to
4
+ > [`@midnightntwrk/wallet-sdk`](https://www.npmjs.com/package/@midnightntwrk/wallet-sdk).
5
+
6
+ ---
7
+
1
8
  # @midnight-ntwrk/wallet-sdk
2
9
 
3
10
  Barrel package for the Midnight Wallet SDK. Instead of installing and importing from multiple
@@ -15,18 +22,39 @@ npm install @midnight-ntwrk/wallet-sdk
15
22
  This package provides a unified installation and import experience for the Midnight Wallet SDK. The main entry point
16
23
  re-exports the core wallet types, while dedicated sub-path exports give access to each underlying package:
17
24
 
18
- | Entry Point | Re-exports |
19
- | ------------------------------------------- | ---------------------------------------------------------------------------------------- |
20
- | `@midnight-ntwrk/wallet-sdk` | Core: abstractions, address-format, dust-wallet, facade, hd, shielded, unshielded-wallet |
21
- | `@midnight-ntwrk/wallet-sdk/address-format` | `@midnight-ntwrk/wallet-sdk-address-format` |
22
- | `@midnight-ntwrk/wallet-sdk/capabilities` | `@midnight-ntwrk/wallet-sdk-capabilities` |
23
- | `@midnight-ntwrk/wallet-sdk/dust` | `@midnight-ntwrk/wallet-sdk-dust-wallet` |
24
- | `@midnight-ntwrk/wallet-sdk/facade` | `@midnight-ntwrk/wallet-sdk-facade` |
25
- | `@midnight-ntwrk/wallet-sdk/hd` | `@midnight-ntwrk/wallet-sdk-hd` |
26
- | `@midnight-ntwrk/wallet-sdk/proving` | `@midnight-ntwrk/wallet-sdk-capabilities/proving` |
27
- | `@midnight-ntwrk/wallet-sdk/shielded` | `@midnight-ntwrk/wallet-sdk-shielded` |
28
- | `@midnight-ntwrk/wallet-sdk/testing` | `@midnight-ntwrk/wallet-sdk-utilities/testing` |
29
- | `@midnight-ntwrk/wallet-sdk/unshielded` | `@midnight-ntwrk/wallet-sdk-unshielded-wallet` |
25
+ | Entry Point | Re-exports |
26
+ | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | `@midnight-ntwrk/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). |
28
+ | `@midnight-ntwrk/wallet-sdk/address-format` | `@midnight-ntwrk/wallet-sdk-address-format` |
29
+ | `@midnight-ntwrk/wallet-sdk/capabilities` | `@midnight-ntwrk/wallet-sdk-capabilities` |
30
+ | `@midnight-ntwrk/wallet-sdk/capabilities/balancer` | `@midnight-ntwrk/wallet-sdk-capabilities/balancer` |
31
+ | `@midnight-ntwrk/wallet-sdk/capabilities/pendingTransactions` | `@midnight-ntwrk/wallet-sdk-capabilities/pendingTransactions` |
32
+ | `@midnight-ntwrk/wallet-sdk/capabilities/proving` | `@midnight-ntwrk/wallet-sdk-capabilities/proving` |
33
+ | `@midnight-ntwrk/wallet-sdk/capabilities/simulation` | `@midnight-ntwrk/wallet-sdk-capabilities/simulation` |
34
+ | `@midnight-ntwrk/wallet-sdk/capabilities/submission` | `@midnight-ntwrk/wallet-sdk-capabilities/submission` |
35
+ | `@midnight-ntwrk/wallet-sdk/dust` | `@midnight-ntwrk/wallet-sdk-dust-wallet` |
36
+ | `@midnight-ntwrk/wallet-sdk/dust/v1` | `@midnight-ntwrk/wallet-sdk-dust-wallet/v1` |
37
+ | `@midnight-ntwrk/wallet-sdk/facade` | `@midnight-ntwrk/wallet-sdk-facade` |
38
+ | `@midnight-ntwrk/wallet-sdk/hd` | `@midnight-ntwrk/wallet-sdk-hd` |
39
+ | `@midnight-ntwrk/wallet-sdk/indexer-client` | `@midnight-ntwrk/wallet-sdk-indexer-client` |
40
+ | `@midnight-ntwrk/wallet-sdk/indexer-client/effect` | `@midnight-ntwrk/wallet-sdk-indexer-client/effect` |
41
+ | `@midnight-ntwrk/wallet-sdk/node-client` | `@midnight-ntwrk/wallet-sdk-node-client` |
42
+ | `@midnight-ntwrk/wallet-sdk/node-client/effect` | `@midnight-ntwrk/wallet-sdk-node-client/effect` |
43
+ | `@midnight-ntwrk/wallet-sdk/node-client/testing` | `@midnight-ntwrk/wallet-sdk-node-client/testing` |
44
+ | `@midnight-ntwrk/wallet-sdk/prover-client` | `@midnight-ntwrk/wallet-sdk-prover-client` |
45
+ | `@midnight-ntwrk/wallet-sdk/prover-client/effect` | `@midnight-ntwrk/wallet-sdk-prover-client/effect` |
46
+ | `@midnight-ntwrk/wallet-sdk/proving` | Legacy alias for `@midnight-ntwrk/wallet-sdk/capabilities/proving` |
47
+ | `@midnight-ntwrk/wallet-sdk/runtime` | `@midnight-ntwrk/wallet-sdk-runtime` |
48
+ | `@midnight-ntwrk/wallet-sdk/runtime/abstractions` | `@midnight-ntwrk/wallet-sdk-runtime/abstractions` |
49
+ | `@midnight-ntwrk/wallet-sdk/shielded` | `@midnight-ntwrk/wallet-sdk-shielded` |
50
+ | `@midnight-ntwrk/wallet-sdk/shielded/v1` | `@midnight-ntwrk/wallet-sdk-shielded/v1` |
51
+ | `@midnight-ntwrk/wallet-sdk/testing` | Legacy alias for `@midnight-ntwrk/wallet-sdk/utilities/testing` |
52
+ | `@midnight-ntwrk/wallet-sdk/unshielded` | `@midnight-ntwrk/wallet-sdk-unshielded-wallet` |
53
+ | `@midnight-ntwrk/wallet-sdk/unshielded/v1` | `@midnight-ntwrk/wallet-sdk-unshielded-wallet/v1` |
54
+ | `@midnight-ntwrk/wallet-sdk/utilities` | `@midnight-ntwrk/wallet-sdk-utilities` |
55
+ | `@midnight-ntwrk/wallet-sdk/utilities/networking` | `@midnight-ntwrk/wallet-sdk-utilities/networking` |
56
+ | `@midnight-ntwrk/wallet-sdk/utilities/testing` | `@midnight-ntwrk/wallet-sdk-utilities/testing` |
57
+ | `@midnight-ntwrk/wallet-sdk/utilities/types` | `@midnight-ntwrk/wallet-sdk-utilities/types` |
30
58
 
31
59
  The Wallet Facade (`WalletFacade`) provides a high-level unified interface that aggregates the functionality of all
32
60
  wallet types (shielded, unshielded, and dust). It simplifies wallet operations by providing:
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-capabilities/balancer';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-capabilities/pendingTransactions';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-capabilities/proving';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-capabilities/simulation';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-capabilities/submission';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-dust-wallet/v1';
package/dist/index.d.ts CHANGED
@@ -3,5 +3,11 @@ export * from '@midnight-ntwrk/wallet-sdk-address-format';
3
3
  export * from '@midnight-ntwrk/wallet-sdk-dust-wallet';
4
4
  export * from '@midnight-ntwrk/wallet-sdk-facade';
5
5
  export * from '@midnight-ntwrk/wallet-sdk-hd';
6
+ export * from '@midnight-ntwrk/wallet-sdk-prover-client';
6
7
  export * from '@midnight-ntwrk/wallet-sdk-shielded';
7
8
  export * from '@midnight-ntwrk/wallet-sdk-unshielded-wallet';
9
+ export * from '@midnight-ntwrk/wallet-sdk-utilities';
10
+ export * as Capabilities from '@midnight-ntwrk/wallet-sdk-capabilities';
11
+ export * as IndexerClient from '@midnight-ntwrk/wallet-sdk-indexer-client';
12
+ export * as NodeClient from '@midnight-ntwrk/wallet-sdk-node-client';
13
+ export * as Runtime from '@midnight-ntwrk/wallet-sdk-runtime';
package/dist/index.js CHANGED
@@ -15,5 +15,11 @@ export * from '@midnight-ntwrk/wallet-sdk-address-format';
15
15
  export * from '@midnight-ntwrk/wallet-sdk-dust-wallet';
16
16
  export * from '@midnight-ntwrk/wallet-sdk-facade';
17
17
  export * from '@midnight-ntwrk/wallet-sdk-hd';
18
+ export * from '@midnight-ntwrk/wallet-sdk-prover-client';
18
19
  export * from '@midnight-ntwrk/wallet-sdk-shielded';
19
20
  export * from '@midnight-ntwrk/wallet-sdk-unshielded-wallet';
21
+ export * from '@midnight-ntwrk/wallet-sdk-utilities';
22
+ export * as Capabilities from '@midnight-ntwrk/wallet-sdk-capabilities';
23
+ export * as IndexerClient from '@midnight-ntwrk/wallet-sdk-indexer-client';
24
+ export * as NodeClient from '@midnight-ntwrk/wallet-sdk-node-client';
25
+ export * as Runtime from '@midnight-ntwrk/wallet-sdk-runtime';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-indexer-client/effect';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-indexer-client';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-node-client/effect';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-node-client';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-node-client/testing';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-prover-client/effect';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-prover-client';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-runtime/abstractions';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-runtime';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-shielded/v1';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-unshielded-wallet/v1';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-utilities';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-utilities/networking';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-utilities/testing';
@@ -0,0 +1 @@
1
+ export * from '@midnight-ntwrk/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 '@midnight-ntwrk/wallet-sdk-utilities/types';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/wallet-sdk",
3
3
  "description": "Barrel package re-exporting all Midnight Wallet SDK packages",
4
- "version": "1.0.0",
4
+ "version": "1.2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -9,14 +9,16 @@
9
9
  "author": "Midnight Foundation",
10
10
  "license": "Apache-2.0",
11
11
  "publishConfig": {
12
- "registry": "https://npm.pkg.github.com/"
12
+ "registry": "https://registry.npmjs.org/",
13
+ "access": "public"
13
14
  },
14
15
  "files": [
15
16
  "dist/"
16
17
  ],
17
18
  "repository": {
18
19
  "type": "git",
19
- "url": "git+https://github.com/midnight-ntwrk/artifacts.git"
20
+ "url": "git+https://github.com/midnightntwrk/midnight-wallet.git",
21
+ "directory": "packages/wallet-sdk"
20
22
  },
21
23
  "exports": {
22
24
  ".": {
@@ -28,12 +30,36 @@
28
30
  "import": "./dist/address-format.js"
29
31
  },
30
32
  "./capabilities": {
31
- "types": "./dist/capabilities.d.ts",
32
- "import": "./dist/capabilities.js"
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"
33
55
  },
34
56
  "./dust": {
35
- "types": "./dist/dust.d.ts",
36
- "import": "./dist/dust.js"
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"
37
63
  },
38
64
  "./facade": {
39
65
  "types": "./dist/facade.d.ts",
@@ -43,33 +69,97 @@
43
69
  "types": "./dist/hd.d.ts",
44
70
  "import": "./dist/hd.js"
45
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
+ },
46
100
  "./proving": {
47
101
  "types": "./dist/proving.d.ts",
48
102
  "import": "./dist/proving.js"
49
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
+ },
50
112
  "./shielded": {
51
- "types": "./dist/shielded.d.ts",
52
- "import": "./dist/shielded.js"
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"
53
119
  },
54
120
  "./testing": {
55
121
  "types": "./dist/testing.d.ts",
56
122
  "import": "./dist/testing.js"
57
123
  },
58
124
  "./unshielded": {
59
- "types": "./dist/unshielded.d.ts",
60
- "import": "./dist/unshielded.js"
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"
61
147
  }
62
148
  },
63
149
  "dependencies": {
64
150
  "@midnight-ntwrk/wallet-sdk-abstractions": "^2.1.0",
65
- "@midnight-ntwrk/wallet-sdk-address-format": "^3.1.1",
66
- "@midnight-ntwrk/wallet-sdk-capabilities": "^3.3.0",
67
- "@midnight-ntwrk/wallet-sdk-dust-wallet": "^4.0.0",
68
- "@midnight-ntwrk/wallet-sdk-facade": "^4.0.0",
69
- "@midnight-ntwrk/wallet-sdk-hd": "^3.0.2",
70
- "@midnight-ntwrk/wallet-sdk-shielded": "^3.0.0",
71
- "@midnight-ntwrk/wallet-sdk-unshielded-wallet": "^3.0.0",
72
- "@midnight-ntwrk/wallet-sdk-utilities": "^1.1.1"
151
+ "@midnight-ntwrk/wallet-sdk-address-format": "^3.1.2",
152
+ "@midnight-ntwrk/wallet-sdk-capabilities": "^3.3.1",
153
+ "@midnight-ntwrk/wallet-sdk-dust-wallet": "^4.2.0",
154
+ "@midnight-ntwrk/wallet-sdk-facade": "^4.1.0",
155
+ "@midnight-ntwrk/wallet-sdk-hd": "^3.0.3",
156
+ "@midnight-ntwrk/wallet-sdk-indexer-client": "^1.2.3",
157
+ "@midnight-ntwrk/wallet-sdk-node-client": "^1.1.3",
158
+ "@midnight-ntwrk/wallet-sdk-prover-client": "^1.2.3",
159
+ "@midnight-ntwrk/wallet-sdk-runtime": "^1.0.5",
160
+ "@midnight-ntwrk/wallet-sdk-shielded": "^3.0.2",
161
+ "@midnight-ntwrk/wallet-sdk-unshielded-wallet": "^3.1.0",
162
+ "@midnight-ntwrk/wallet-sdk-utilities": "^1.2.0"
73
163
  },
74
164
  "scripts": {
75
165
  "typecheck": "tsc -b ./tsconfig.json --noEmit --force",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes