@midnight-ntwrk/wallet-sdk-node-client 1.1.0 → 1.1.1

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,6 +1,6 @@
1
1
  import { type SubmissionEvent } from './SubmissionEvent.js';
2
2
  import { type SerializedTransaction } from '@midnight-ntwrk/wallet-sdk-abstractions';
3
- declare const SubmissionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
3
+ declare const SubmissionError_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 & {
4
4
  readonly _tag: "SubmissionError";
5
5
  } & Readonly<A>;
6
6
  export declare class SubmissionError extends SubmissionError_base<{
@@ -9,7 +9,7 @@ export declare class SubmissionError extends SubmissionError_base<{
9
9
  cause?: unknown;
10
10
  }> {
11
11
  }
12
- declare const ConnectionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
12
+ declare const ConnectionError_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 & {
13
13
  readonly _tag: "ConnectionError";
14
14
  } & Readonly<A>;
15
15
  export declare class ConnectionError extends ConnectionError_base<{
@@ -17,7 +17,7 @@ export declare class ConnectionError extends ConnectionError_base<{
17
17
  cause?: unknown;
18
18
  }> {
19
19
  }
20
- declare const TransactionProgressError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
20
+ declare const TransactionProgressError_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 & {
21
21
  readonly _tag: "TransactionProgressError";
22
22
  } & Readonly<A>;
23
23
  export declare class TransactionProgressError extends TransactionProgressError_base<{
@@ -26,7 +26,7 @@ export declare class TransactionProgressError extends TransactionProgressError_b
26
26
  desiredStage: SubmissionEvent['_tag'];
27
27
  }> {
28
28
  }
29
- declare const ParseError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
29
+ declare const ParseError_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 & {
30
30
  readonly _tag: "ParseError";
31
31
  } & Readonly<A>;
32
32
  export declare class ParseError extends ParseError_base<{
@@ -34,7 +34,7 @@ export declare class ParseError extends ParseError_base<{
34
34
  cause?: unknown;
35
35
  }> {
36
36
  }
37
- declare const TransactionUsurpedError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
37
+ declare const TransactionUsurpedError_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 & {
38
38
  readonly _tag: "TransactionUsurpedError";
39
39
  } & Readonly<A>;
40
40
  export declare class TransactionUsurpedError extends TransactionUsurpedError_base<{
@@ -42,7 +42,7 @@ export declare class TransactionUsurpedError extends TransactionUsurpedError_bas
42
42
  txData: Uint8Array;
43
43
  }> {
44
44
  }
45
- declare const TransactionDroppedError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
45
+ declare const TransactionDroppedError_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 & {
46
46
  readonly _tag: "TransactionDroppedError";
47
47
  } & Readonly<A>;
48
48
  export declare class TransactionDroppedError extends TransactionDroppedError_base<{
@@ -50,7 +50,7 @@ export declare class TransactionDroppedError extends TransactionDroppedError_bas
50
50
  txData: Uint8Array;
51
51
  }> {
52
52
  }
53
- declare const TransactionInvalidError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
53
+ declare const TransactionInvalidError_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 & {
54
54
  readonly _tag: "TransactionInvalidError";
55
55
  } & Readonly<A>;
56
56
  export declare class TransactionInvalidError extends TransactionInvalidError_base<{
@@ -1,7 +1,4 @@
1
- /**
2
- * Auto-generated with scripts/generate-types.ts
3
- * Then manually modified to only expose types and endpoints of interest
4
- */
1
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
5
2
  import '@polkadot/api-base/types/errors';
6
3
  import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
7
4
  export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
@@ -11,10 +11,7 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
  /* eslint-disable */
14
- /**
15
- * Auto-generated with scripts/generate-types.ts
16
- * Then manually modified to only expose types and endpoints of interest
17
- */
14
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
18
15
  // import type lookup before we augment - in some environments
19
16
  // this is required to allow for ambient/previous definitions
20
17
  import '@polkadot/api-base/types/errors';
@@ -1,7 +1,4 @@
1
- /**
2
- * Auto-generated with scripts/generate-types.ts
3
- * Then manually modified to only expose types and endpoints of interest
4
- */
1
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
5
2
  import '@polkadot/api-base/types/storage';
6
3
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
7
4
  import type { Bytes, Option } from '@polkadot/types-codec';
@@ -11,10 +11,7 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
  /* eslint-disable */
14
- /**
15
- * Auto-generated with scripts/generate-types.ts
16
- * Then manually modified to only expose types and endpoints of interest
17
- */
14
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
18
15
  // import type lookup before we augment - in some environments
19
16
  // this is required to allow for ambient/previous definitions
20
17
  import '@polkadot/api-base/types/storage';
@@ -1,7 +1,4 @@
1
- /**
2
- * Auto-generated with scripts/generate-types.ts
3
- * Then manually modified to only expose types and endpoints of interest
4
- */
1
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
5
2
  import '@polkadot/api-base/types/submittable';
6
3
  import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
7
4
  import type { Bytes } from '@polkadot/types-codec';
@@ -11,10 +11,7 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
  /* eslint-disable */
14
- /**
15
- * Auto-generated with scripts/generate-types.ts
16
- * Then manually modified to only expose types and endpoints of interest
17
- */
14
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
18
15
  // import type lookup before we augment - in some environments
19
16
  // this is required to allow for ambient/previous definitions
20
17
  import '@polkadot/api-base/types/submittable';
@@ -1,7 +1,4 @@
1
- /**
2
- * Auto-generated with scripts/generate-types.ts
3
- * Then manually modified to only expose types and endpoints of interest
4
- */
1
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
5
2
  import './augment-api-errors.js';
6
3
  import './augment-api-query.js';
7
4
  import './augment-api-tx.js';
@@ -11,10 +11,7 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
  /* eslint-disable */
14
- /**
15
- * Auto-generated with scripts/generate-types.ts
16
- * Then manually modified to only expose types and endpoints of interest
17
- */
14
+ /** Auto-generated with scripts/generate-types.ts Then manually modified to only expose types and endpoints of interest */
18
15
  import './augment-api-errors.js';
19
16
  import './augment-api-query.js';
20
17
  import './augment-api-tx.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/wallet-sdk-node-client",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,8 +31,8 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@midnight-ntwrk/wallet-sdk-abstractions": "2.0.0",
35
- "@midnight-ntwrk/wallet-sdk-utilities": "1.1.0",
34
+ "@midnight-ntwrk/wallet-sdk-abstractions": "2.1.0",
35
+ "@midnight-ntwrk/wallet-sdk-utilities": "1.1.1",
36
36
  "@polkadot/api": "^16.5.4",
37
37
  "@polkadot/types": "^16.5.4",
38
38
  "@polkadot/util": "^14.0.1",
@@ -41,15 +41,15 @@
41
41
  "effect": "^3.19.19"
42
42
  },
43
43
  "devDependencies": {
44
- "@effect/cluster": "^0.56.4",
45
- "@effect/experimental": "^0.58.0",
46
- "@effect/platform": "^0.94.5",
47
- "@effect/platform-node": "^0.104.1",
48
- "@effect/rpc": "^0.73.2",
49
- "@effect/sql": "^0.49.0",
50
- "@effect/workflow": "^0.16.0",
51
- "@midnight-ntwrk/ledger-v8": "^8.0.2",
52
- "@midnight-ntwrk/wallet-sdk-prover-client": "1.2.0",
44
+ "@effect/cluster": "^0.58.0",
45
+ "@effect/experimental": "^0.60.0",
46
+ "@effect/platform": "^0.96.0",
47
+ "@effect/platform-node": "^0.106.0",
48
+ "@effect/rpc": "^0.75.0",
49
+ "@effect/sql": "^0.51.0",
50
+ "@effect/workflow": "^0.18.0",
51
+ "@midnight-ntwrk/ledger-v8": "^8.0.3",
52
+ "@midnight-ntwrk/wallet-sdk-prover-client": "1.2.1",
53
53
  "@types/tar-stream": "^3.1.4",
54
54
  "tar-stream": "^3.1.7",
55
55
  "tsx": "^4.21.0"