@midnightntwrk/wallet-sdk-capabilities 4.0.0-rc.2 → 4.0.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.
@@ -1,4 +1,4 @@
1
- import type { KeyMaterialProvider } from '@midnight-ntwrk/zkir-v2';
1
+ import type { KeyMaterialProvider } from '@midnightntwrk/zkir-v2';
2
2
  import { ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
3
3
  import { Effect, Either } from 'effect';
4
4
  declare const ProvingError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
@@ -8,7 +8,7 @@
8
8
  * handed ledger-v9's cost model fails at the wasm-bindgen boundary, and a proof-server request framed by ledger-v9 is
9
9
  * not the request ledger-v8 would have sent.
10
10
  */
11
- import * as ledger from '@midnight-ntwrk/ledger-v8';
11
+ import * as ledger from '@midnightntwrk/ledger-v8';
12
12
  import { type InvalidProtocolSchemeError } from '@midnightntwrk/wallet-sdk-utilities/networking';
13
13
  import { Effect } from 'effect';
14
14
  import { type ProvingService, type ProvingServiceEffect, type ServerProvingConfiguration, type WasmProvingConfiguration } from './provingService.js';
@@ -20,7 +20,7 @@
20
20
  * handed ledger-v9's cost model fails at the wasm-bindgen boundary, and a proof-server request framed by ledger-v9 is
21
21
  * not the request ledger-v8 would have sent.
22
22
  */
23
- import * as ledger from '@midnight-ntwrk/ledger-v8';
23
+ import * as ledger from '@midnightntwrk/ledger-v8';
24
24
  import { HttpProverClient, WasmProver } from '@midnightntwrk/wallet-sdk-prover-client/effect';
25
25
  import { ClientError, ServerError, } from '@midnightntwrk/wallet-sdk-utilities/networking';
26
26
  import { Effect, pipe } from 'effect';
@@ -20,7 +20,7 @@
20
20
  * fork schedule the wallets are built with. Written the same way validation's `versionedValidation.ts` is, because it
21
21
  * is the same problem.
22
22
  */
23
- import * as ledgerV8 from '@midnight-ntwrk/ledger-v8';
23
+ import * as ledgerV8 from '@midnightntwrk/ledger-v8';
24
24
  import * as ledgerV9 from '@midnightntwrk/ledger-v9';
25
25
  import { ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
26
26
  import { Effect, Either, Option } from 'effect';
@@ -8,7 +8,7 @@
8
8
  * and a partial one in the other: a signature of a scheme ledger-v8 has never heard of cannot be lowered at all, and
9
9
  * says so rather than being handed over as bytes it would misread.
10
10
  */
11
- import type * as ledgerV8 from '@midnight-ntwrk/ledger-v8';
11
+ import type * as ledgerV8 from '@midnightntwrk/ledger-v8';
12
12
  import { Either } from 'effect';
13
13
  import type * as Signing from './signing.js';
14
14
  declare const UnsupportedSignatureKindError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
@@ -10,7 +10,7 @@
10
10
  * - Time advancement for TTL and time-sensitive tests
11
11
  */
12
12
  import { type Array as Arr, Effect, type Scope, Stream, SubscriptionRef } from 'effect';
13
- import { type ProofErasedTransaction, type SignatureVerifyingKey } from '@midnight-ntwrk/ledger-v8';
13
+ import { type ProofErasedTransaction, type SignatureVerifyingKey } from '@midnightntwrk/ledger-v8';
14
14
  import { LedgerOps } from '@midnightntwrk/wallet-sdk-utilities';
15
15
  import { NetworkId, ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
16
16
  import { type Block, type BlockProducer, type FullnessSpec, type GenesisMint, type SimulatorState, type StrictnessConfig } from './SimulatorState.js';
@@ -22,7 +22,7 @@
22
22
  * - Time advancement for TTL and time-sensitive tests
23
23
  */
24
24
  import { Effect, Either, pipe, Stream, SubscriptionRef } from 'effect';
25
- import { addressFromKey, ClaimRewardsTransaction, createShieldedCoinInfo, Intent, LedgerState, SignatureErased, Transaction, TransactionContext, UnshieldedOffer, ZswapOffer, ZswapOutput, } from '@midnight-ntwrk/ledger-v8';
25
+ import { addressFromKey, ClaimRewardsTransaction, createShieldedCoinInfo, Intent, LedgerState, SignatureErased, Transaction, TransactionContext, UnshieldedOffer, ZswapOffer, ZswapOutput, } from '@midnightntwrk/ledger-v8';
26
26
  import { DateOps, LedgerOps } from '@midnightntwrk/wallet-sdk-utilities';
27
27
  import { NetworkId, ProtocolVersion, Token } from '@midnightntwrk/wallet-sdk-abstractions';
28
28
  import { addToMempool, allMempoolTransactions, blankState, blockHash, createBlock, createEmptyBlock, createStrictness, defaultStrictness, genesisStrictness, getLastBlock, hasPendingTransactions, nextBlockContextFromBlock, processTransactions, removeFromMempool, resolveFullness, scheduleFork, setProtocolVersion, } from './SimulatorState.js';
@@ -5,7 +5,7 @@
5
5
  * synchronous and side-effect free.
6
6
  */
7
7
  import { Either, type Stream, Array as EArray } from 'effect';
8
- import { LedgerState, WellFormedStrictness, type TransactionResult, type ProofErasedTransaction, type SyntheticCost, type RawTokenType, type ZswapSecretKeys, type UserAddress, type SignatureVerifyingKey } from '@midnight-ntwrk/ledger-v8';
8
+ import { LedgerState, WellFormedStrictness, type TransactionResult, type ProofErasedTransaction, type SyntheticCost, type RawTokenType, type ZswapSecretKeys, type UserAddress, type SignatureVerifyingKey } from '@midnightntwrk/ledger-v8';
9
9
  import { LedgerOps } from '@midnightntwrk/wallet-sdk-utilities';
10
10
  import { type NetworkId, ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
11
11
  import { type BlockContext, type ScheduledFork, type StrictnessConfig } from '../core/index.js';
@@ -17,7 +17,7 @@
17
17
  * synchronous and side-effect free.
18
18
  */
19
19
  import { Either, Function as EFunction, Array as EArray } from 'effect';
20
- import { LedgerState, WellFormedStrictness, TransactionContext, } from '@midnight-ntwrk/ledger-v8';
20
+ import { LedgerState, WellFormedStrictness, TransactionContext, } from '@midnightntwrk/ledger-v8';
21
21
  import { DateOps, LedgerOps } from '@midnightntwrk/wallet-sdk-utilities';
22
22
  import { ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
23
23
  import { blockHash, protocolVersionAt, } from '../core/index.js';
@@ -1,6 +1,6 @@
1
1
  import { Cause, Effect } from 'effect';
2
2
  import { SubmissionEvent as SubmissionEventImported } from '@midnightntwrk/wallet-sdk-node-client/effect';
3
- import type * as ledgerV8 from '@midnight-ntwrk/ledger-v8';
3
+ import type * as ledgerV8 from '@midnightntwrk/ledger-v8';
4
4
  import type * as ledgerV9 from '@midnightntwrk/ledger-v9';
5
5
  import { type SimulatorState } from '../simulation/v9/SimulatorState.js';
6
6
  export declare const SubmissionEvent: typeof SubmissionEventImported;
@@ -10,7 +10,7 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import * as ledgerV8 from '@midnight-ntwrk/ledger-v8';
13
+ import * as ledgerV8 from '@midnightntwrk/ledger-v8';
14
14
  import * as ledgerV9 from '@midnightntwrk/ledger-v9';
15
15
  import { ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
16
16
  import { BlockHash } from '@midnightntwrk/wallet-sdk-indexer-client';
@@ -1,4 +1,4 @@
1
- import * as ledger from '@midnight-ntwrk/ledger-v8';
1
+ import * as ledger from '@midnightntwrk/ledger-v8';
2
2
  import type { V8UnboundTransaction, V8UnprovenTransaction } from '../proving/v8ProvingService.js';
3
3
  import { type AnyLedgerParameters, type ValidationServiceDependencies, type ValidationServiceEffect, type WellFormedCheck } from './validationService.js';
4
4
  /**
@@ -10,7 +10,7 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import * as ledger from '@midnight-ntwrk/ledger-v8';
13
+ import * as ledger from '@midnightntwrk/ledger-v8';
14
14
  import { Either } from 'effect';
15
15
  import { LedgerParametersMismatchError, makeValidationServiceEffect, } from './validationService.js';
16
16
  const buildStrictness = (flags) => {
@@ -1,4 +1,4 @@
1
- import type * as ledgerV8 from '@midnight-ntwrk/ledger-v8';
1
+ import type * as ledgerV8 from '@midnightntwrk/ledger-v8';
2
2
  import type * as ledgerV9 from '@midnightntwrk/ledger-v9';
3
3
  import { ProtocolVersion } from '@midnightntwrk/wallet-sdk-abstractions';
4
4
  import { type Clock } from '@midnightntwrk/wallet-sdk-utilities';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midnightntwrk/wallet-sdk-capabilities",
3
- "version": "4.0.0-rc.2",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -62,14 +62,14 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@midnight-ntwrk/ledger-v8": "^8.1.0",
66
- "@midnight-ntwrk/zkir-v2": "2.2.0-rc.6",
67
- "@midnightntwrk/ledger-v9": "1.0.0-rc.7",
68
- "@midnightntwrk/wallet-sdk-abstractions": "3.0.0-rc.2",
69
- "@midnightntwrk/wallet-sdk-indexer-client": "2.0.0-rc.2",
70
- "@midnightntwrk/wallet-sdk-node-client": "2.0.0-rc.2",
71
- "@midnightntwrk/wallet-sdk-prover-client": "2.0.0-rc.1",
72
- "@midnightntwrk/wallet-sdk-utilities": "1.3.0-rc.1",
65
+ "@midnightntwrk/ledger-v8": "^8.1.3",
66
+ "@midnightntwrk/ledger-v9": "^1.0.0",
67
+ "@midnightntwrk/wallet-sdk-abstractions": "3.0.0",
68
+ "@midnightntwrk/wallet-sdk-indexer-client": "2.0.0",
69
+ "@midnightntwrk/wallet-sdk-node-client": "2.0.0",
70
+ "@midnightntwrk/wallet-sdk-prover-client": "2.0.0",
71
+ "@midnightntwrk/wallet-sdk-utilities": "1.3.0",
72
+ "@midnightntwrk/zkir-v2": "^2.2.0",
73
73
  "effect": "^3.19.19",
74
74
  "rxjs": "^7.8.2"
75
75
  },