@midnight-ntwrk/wallet-sdk 1.0.0 → 1.1.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 +33 -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 +104 -16
  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
@@ -15,18 +15,39 @@ npm install @midnight-ntwrk/wallet-sdk
15
15
  This package provides a unified installation and import experience for the Midnight Wallet SDK. The main entry point
16
16
  re-exports the core wallet types, while dedicated sub-path exports give access to each underlying package:
17
17
 
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` |
18
+ | Entry Point | Re-exports |
19
+ | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
+ | `@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). |
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/capabilities/balancer` | `@midnight-ntwrk/wallet-sdk-capabilities/balancer` |
24
+ | `@midnight-ntwrk/wallet-sdk/capabilities/pendingTransactions` | `@midnight-ntwrk/wallet-sdk-capabilities/pendingTransactions` |
25
+ | `@midnight-ntwrk/wallet-sdk/capabilities/proving` | `@midnight-ntwrk/wallet-sdk-capabilities/proving` |
26
+ | `@midnight-ntwrk/wallet-sdk/capabilities/simulation` | `@midnight-ntwrk/wallet-sdk-capabilities/simulation` |
27
+ | `@midnight-ntwrk/wallet-sdk/capabilities/submission` | `@midnight-ntwrk/wallet-sdk-capabilities/submission` |
28
+ | `@midnight-ntwrk/wallet-sdk/dust` | `@midnight-ntwrk/wallet-sdk-dust-wallet` |
29
+ | `@midnight-ntwrk/wallet-sdk/dust/v1` | `@midnight-ntwrk/wallet-sdk-dust-wallet/v1` |
30
+ | `@midnight-ntwrk/wallet-sdk/facade` | `@midnight-ntwrk/wallet-sdk-facade` |
31
+ | `@midnight-ntwrk/wallet-sdk/hd` | `@midnight-ntwrk/wallet-sdk-hd` |
32
+ | `@midnight-ntwrk/wallet-sdk/indexer-client` | `@midnight-ntwrk/wallet-sdk-indexer-client` |
33
+ | `@midnight-ntwrk/wallet-sdk/indexer-client/effect` | `@midnight-ntwrk/wallet-sdk-indexer-client/effect` |
34
+ | `@midnight-ntwrk/wallet-sdk/node-client` | `@midnight-ntwrk/wallet-sdk-node-client` |
35
+ | `@midnight-ntwrk/wallet-sdk/node-client/effect` | `@midnight-ntwrk/wallet-sdk-node-client/effect` |
36
+ | `@midnight-ntwrk/wallet-sdk/node-client/testing` | `@midnight-ntwrk/wallet-sdk-node-client/testing` |
37
+ | `@midnight-ntwrk/wallet-sdk/prover-client` | `@midnight-ntwrk/wallet-sdk-prover-client` |
38
+ | `@midnight-ntwrk/wallet-sdk/prover-client/effect` | `@midnight-ntwrk/wallet-sdk-prover-client/effect` |
39
+ | `@midnight-ntwrk/wallet-sdk/proving` | Legacy alias for `@midnight-ntwrk/wallet-sdk/capabilities/proving` |
40
+ | `@midnight-ntwrk/wallet-sdk/runtime` | `@midnight-ntwrk/wallet-sdk-runtime` |
41
+ | `@midnight-ntwrk/wallet-sdk/runtime/abstractions` | `@midnight-ntwrk/wallet-sdk-runtime/abstractions` |
42
+ | `@midnight-ntwrk/wallet-sdk/shielded` | `@midnight-ntwrk/wallet-sdk-shielded` |
43
+ | `@midnight-ntwrk/wallet-sdk/shielded/v1` | `@midnight-ntwrk/wallet-sdk-shielded/v1` |
44
+ | `@midnight-ntwrk/wallet-sdk/testing` | Legacy alias for `@midnight-ntwrk/wallet-sdk/utilities/testing` |
45
+ | `@midnight-ntwrk/wallet-sdk/unshielded` | `@midnight-ntwrk/wallet-sdk-unshielded-wallet` |
46
+ | `@midnight-ntwrk/wallet-sdk/unshielded/v1` | `@midnight-ntwrk/wallet-sdk-unshielded-wallet/v1` |
47
+ | `@midnight-ntwrk/wallet-sdk/utilities` | `@midnight-ntwrk/wallet-sdk-utilities` |
48
+ | `@midnight-ntwrk/wallet-sdk/utilities/networking` | `@midnight-ntwrk/wallet-sdk-utilities/networking` |
49
+ | `@midnight-ntwrk/wallet-sdk/utilities/testing` | `@midnight-ntwrk/wallet-sdk-utilities/testing` |
50
+ | `@midnight-ntwrk/wallet-sdk/utilities/types` | `@midnight-ntwrk/wallet-sdk-utilities/types` |
30
51
 
31
52
  The Wallet Facade (`WalletFacade`) provides a high-level unified interface that aggregates the functionality of all
32
53
  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.1.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -28,12 +28,36 @@
28
28
  "import": "./dist/address-format.js"
29
29
  },
30
30
  "./capabilities": {
31
- "types": "./dist/capabilities.d.ts",
32
- "import": "./dist/capabilities.js"
31
+ "types": "./dist/capabilities/index.d.ts",
32
+ "import": "./dist/capabilities/index.js"
33
+ },
34
+ "./capabilities/balancer": {
35
+ "types": "./dist/capabilities/balancer.d.ts",
36
+ "import": "./dist/capabilities/balancer.js"
37
+ },
38
+ "./capabilities/pendingTransactions": {
39
+ "types": "./dist/capabilities/pendingTransactions.d.ts",
40
+ "import": "./dist/capabilities/pendingTransactions.js"
41
+ },
42
+ "./capabilities/proving": {
43
+ "types": "./dist/capabilities/proving.d.ts",
44
+ "import": "./dist/capabilities/proving.js"
45
+ },
46
+ "./capabilities/simulation": {
47
+ "types": "./dist/capabilities/simulation.d.ts",
48
+ "import": "./dist/capabilities/simulation.js"
49
+ },
50
+ "./capabilities/submission": {
51
+ "types": "./dist/capabilities/submission.d.ts",
52
+ "import": "./dist/capabilities/submission.js"
33
53
  },
34
54
  "./dust": {
35
- "types": "./dist/dust.d.ts",
36
- "import": "./dist/dust.js"
55
+ "types": "./dist/dust/index.d.ts",
56
+ "import": "./dist/dust/index.js"
57
+ },
58
+ "./dust/v1": {
59
+ "types": "./dist/dust/v1.d.ts",
60
+ "import": "./dist/dust/v1.js"
37
61
  },
38
62
  "./facade": {
39
63
  "types": "./dist/facade.d.ts",
@@ -43,33 +67,97 @@
43
67
  "types": "./dist/hd.d.ts",
44
68
  "import": "./dist/hd.js"
45
69
  },
70
+ "./indexer-client": {
71
+ "types": "./dist/indexer-client/index.d.ts",
72
+ "import": "./dist/indexer-client/index.js"
73
+ },
74
+ "./indexer-client/effect": {
75
+ "types": "./dist/indexer-client/effect.d.ts",
76
+ "import": "./dist/indexer-client/effect.js"
77
+ },
78
+ "./node-client": {
79
+ "types": "./dist/node-client/index.d.ts",
80
+ "import": "./dist/node-client/index.js"
81
+ },
82
+ "./node-client/effect": {
83
+ "types": "./dist/node-client/effect.d.ts",
84
+ "import": "./dist/node-client/effect.js"
85
+ },
86
+ "./node-client/testing": {
87
+ "types": "./dist/node-client/testing.d.ts",
88
+ "import": "./dist/node-client/testing.js"
89
+ },
90
+ "./prover-client": {
91
+ "types": "./dist/prover-client/index.d.ts",
92
+ "import": "./dist/prover-client/index.js"
93
+ },
94
+ "./prover-client/effect": {
95
+ "types": "./dist/prover-client/effect.d.ts",
96
+ "import": "./dist/prover-client/effect.js"
97
+ },
46
98
  "./proving": {
47
99
  "types": "./dist/proving.d.ts",
48
100
  "import": "./dist/proving.js"
49
101
  },
102
+ "./runtime": {
103
+ "types": "./dist/runtime/index.d.ts",
104
+ "import": "./dist/runtime/index.js"
105
+ },
106
+ "./runtime/abstractions": {
107
+ "types": "./dist/runtime/abstractions.d.ts",
108
+ "import": "./dist/runtime/abstractions.js"
109
+ },
50
110
  "./shielded": {
51
- "types": "./dist/shielded.d.ts",
52
- "import": "./dist/shielded.js"
111
+ "types": "./dist/shielded/index.d.ts",
112
+ "import": "./dist/shielded/index.js"
113
+ },
114
+ "./shielded/v1": {
115
+ "types": "./dist/shielded/v1.d.ts",
116
+ "import": "./dist/shielded/v1.js"
53
117
  },
54
118
  "./testing": {
55
119
  "types": "./dist/testing.d.ts",
56
120
  "import": "./dist/testing.js"
57
121
  },
58
122
  "./unshielded": {
59
- "types": "./dist/unshielded.d.ts",
60
- "import": "./dist/unshielded.js"
123
+ "types": "./dist/unshielded/index.d.ts",
124
+ "import": "./dist/unshielded/index.js"
125
+ },
126
+ "./unshielded/v1": {
127
+ "types": "./dist/unshielded/v1.d.ts",
128
+ "import": "./dist/unshielded/v1.js"
129
+ },
130
+ "./utilities": {
131
+ "types": "./dist/utilities/index.d.ts",
132
+ "import": "./dist/utilities/index.js"
133
+ },
134
+ "./utilities/networking": {
135
+ "types": "./dist/utilities/networking.d.ts",
136
+ "import": "./dist/utilities/networking.js"
137
+ },
138
+ "./utilities/testing": {
139
+ "types": "./dist/utilities/testing.d.ts",
140
+ "import": "./dist/utilities/testing.js"
141
+ },
142
+ "./utilities/types": {
143
+ "types": "./dist/utilities/types.d.ts",
144
+ "import": "./dist/utilities/types.js"
61
145
  }
62
146
  },
63
147
  "dependencies": {
64
148
  "@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",
149
+ "@midnight-ntwrk/wallet-sdk-address-format": "^3.1.2",
150
+ "@midnight-ntwrk/wallet-sdk-capabilities": "^3.3.1",
151
+ "@midnight-ntwrk/wallet-sdk-dust-wallet": "^4.1.0",
152
+ "@midnight-ntwrk/wallet-sdk-facade": "^4.0.1",
69
153
  "@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"
154
+ "@midnight-ntwrk/wallet-sdk-indexer-client": "^1.2.2",
155
+ "@midnight-ntwrk/wallet-sdk-node-client": "^1.1.2",
156
+ "@midnight-ntwrk/wallet-sdk-prover-client": "^1.2.2",
157
+ "@midnight-ntwrk/wallet-sdk-runtime": "^1.0.4",
158
+ "@midnight-ntwrk/wallet-sdk-shielded": "^3.0.1",
159
+ "@midnight-ntwrk/wallet-sdk-unshielded-wallet": "^3.1.0",
160
+ "@midnight-ntwrk/wallet-sdk-utilities": "^1.2.0"
73
161
  },
74
162
  "scripts": {
75
163
  "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