@midnight-ntwrk/wallet-sdk-shielded 1.0.0-beta.10 → 1.0.0-beta.9

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.
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { ProtocolVersion } from '@midnight-ntwrk/wallet-sdk-abstractions';
14
2
  import { V1Builder, V1Tag, CoreWallet } from './v1/index.js';
15
3
  import * as ledger from '@midnight-ntwrk/ledger-v6';
package/dist/index.js CHANGED
@@ -1,13 +1 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  export * from './ShieldedWallet.js';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import * as ledger from '@midnight-ntwrk/ledger-v6';
14
2
  import { ProtocolVersion } from '@midnight-ntwrk/wallet-sdk-abstractions';
15
3
  import { Either, Iterable, pipe, Record, Array as Arr } from 'effect';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { HttpProverClient, ProverClient } from '@midnight-ntwrk/wallet-sdk-prover-client/effect';
14
2
  import * as ledger from '@midnight-ntwrk/ledger-v6';
15
3
  import { Effect, pipe } from 'effect';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { Effect, ParseResult, Either, pipe, Schema } from 'effect';
14
2
  import { WalletError } from './WalletError.js';
15
3
  import * as ledger from '@midnight-ntwrk/ledger-v6';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import * as ledger from '@midnight-ntwrk/ledger-v6';
14
2
  import { Array as Arr, Effect, Encoding, pipe, Stream, SubscriptionRef, Clock } from 'effect';
15
3
  import { ArrayOps, EitherOps } from '@midnight-ntwrk/wallet-sdk-utilities';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { Deferred, Effect, Encoding, Exit, pipe, Scope } from 'effect';
14
2
  import { WalletError } from './WalletError.js';
15
3
  import { NodeClient, PolkadotNodeClient, SubmissionEvent as SubmissionEventImported, } from '@midnight-ntwrk/wallet-sdk-node-client/effect';
package/dist/v1/Sync.js CHANGED
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import * as ledger from '@midnight-ntwrk/ledger-v6';
14
2
  import { Effect, ParseResult, Stream, Schema, pipe, Either } from 'effect';
15
3
  import { CoreWallet } from './CoreWallet.js';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import * as ledger from '@midnight-ntwrk/ledger-v6';
14
2
  import { Array as Arr, Data, Either, Option, pipe, Record } from 'effect';
15
3
  import { ArrayOps, EitherOps } from '@midnight-ntwrk/wallet-sdk-utilities';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { pipe } from 'effect';
14
2
  import { Imbalances } from '@midnight-ntwrk/wallet-sdk-capabilities';
15
3
  export const TransactionTrait = new (class {
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { Imbalances } from '@midnight-ntwrk/wallet-sdk-capabilities';
14
2
  export const ShieldedCostModel = {
15
3
  inputFeeOverhead: 0n,
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import * as ledger from '@midnight-ntwrk/ledger-v6';
14
2
  import { Effect, Scope } from 'effect';
15
3
  import { WalletSeed } from '@midnight-ntwrk/wallet-sdk-abstractions';
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  import { Data } from 'effect';
14
2
  export const WalletError = {
15
3
  proving(err) {
package/dist/v1/index.js CHANGED
@@ -1,15 +1,3 @@
1
- // This file is part of MIDNIGHT-WALLET-SDK.
2
- // Copyright (C) 2025 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
1
  export * from './V1Builder.js';
14
2
  export * as Sync from './Sync.js';
15
3
  export * as SyncProgress from './SyncProgress.js';
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/wallet-sdk-shielded",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
- "author": "Midnight Foundation",
8
+ "author": "IOHK",
9
9
  "license": "Apache-2.0",
10
10
  "publishConfig": {
11
11
  "registry": "https://npm.pkg.github.com/"
@@ -29,13 +29,13 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@midnight-ntwrk/ledger-v6": "6.1.0-alpha.5",
32
- "@midnight-ntwrk/wallet-sdk-abstractions": "1.0.0-beta.9",
33
- "@midnight-ntwrk/wallet-sdk-address-format": "3.0.0-beta.8",
34
- "@midnight-ntwrk/wallet-sdk-capabilities": "3.0.0-beta.8",
35
- "@midnight-ntwrk/wallet-sdk-indexer-client": "1.0.0-beta.12",
32
+ "@midnight-ntwrk/wallet-sdk-abstractions": "1.0.0-beta.8",
33
+ "@midnight-ntwrk/wallet-sdk-address-format": "3.0.0-beta.7",
34
+ "@midnight-ntwrk/wallet-sdk-capabilities": "3.0.0-beta.7",
35
+ "@midnight-ntwrk/wallet-sdk-indexer-client": "1.0.0-beta.11",
36
36
  "@midnight-ntwrk/wallet-sdk-node-client": "1.0.0-beta.9",
37
- "@midnight-ntwrk/wallet-sdk-prover-client": "1.0.0-beta.9",
38
- "@midnight-ntwrk/wallet-sdk-runtime": "1.0.0-beta.8",
37
+ "@midnight-ntwrk/wallet-sdk-prover-client": "1.0.0-beta.8",
38
+ "@midnight-ntwrk/wallet-sdk-runtime": "1.0.0-beta.7",
39
39
  "@midnight-ntwrk/wallet-sdk-utilities": "1.0.0-beta.7",
40
40
  "@scure/base": "^1.1.9",
41
41
  "effect": "^3.17.3",
@@ -50,7 +50,6 @@
50
50
  "test": "vitest run",
51
51
  "lint": "eslint --max-warnings 0",
52
52
  "format": "prettier --write \"**/*.{ts,js,json,yaml,yml}\"",
53
- "format:check": "prettier --check \"**/*.{ts,js,json,yaml,yml}\"",
54
53
  "dist": "tsc -b ./tsconfig.build.json",
55
54
  "dist:publish": "tsc -b ./tsconfig.publish.json",
56
55
  "clean": "rimraf --glob dist 'tsconfig.*.tsbuildinfo' && date +%s > .clean-timestamp",
@@ -69,7 +68,7 @@
69
68
  "fast-check": "^4.2.0",
70
69
  "publint": "~0.3.14",
71
70
  "rimraf": "^6.0.1",
72
- "testcontainers": "^11.8.1",
71
+ "testcontainers": "^11.4.0",
73
72
  "to-words": "^4.5.1",
74
73
  "typescript": "^5.9.3",
75
74
  "vitest": "^3.2.4"