@wagmi/core 2.16.7 → 2.17.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.
- package/dist/esm/{experimental/actions → actions}/getCallsStatus.js +2 -2
- package/dist/esm/actions/getCallsStatus.js.map +1 -0
- package/dist/esm/actions/getCapabilities.js +12 -0
- package/dist/esm/actions/getCapabilities.js.map +1 -0
- package/dist/esm/{experimental/actions → actions}/sendCalls.js +2 -2
- package/dist/esm/actions/sendCalls.js.map +1 -0
- package/dist/esm/{experimental/actions → actions}/showCallsStatus.js +2 -2
- package/dist/esm/actions/showCallsStatus.js.map +1 -0
- package/dist/esm/{experimental/actions → actions}/waitForCallsStatus.js +2 -2
- package/dist/esm/actions/waitForCallsStatus.js.map +1 -0
- package/dist/esm/connectors/mock.js +27 -5
- package/dist/esm/connectors/mock.js.map +1 -1
- package/dist/esm/exports/actions.js +5 -0
- package/dist/esm/exports/actions.js.map +1 -1
- package/dist/esm/exports/experimental.js +42 -12
- package/dist/esm/exports/experimental.js.map +1 -1
- package/dist/esm/exports/index.js +5 -0
- package/dist/esm/exports/index.js.map +1 -1
- package/dist/esm/exports/query.js +5 -0
- package/dist/esm/exports/query.js.map +1 -1
- package/dist/esm/{experimental/query → query}/getCallsStatus.js +2 -2
- package/dist/esm/query/getCallsStatus.js.map +1 -0
- package/dist/esm/{experimental/query → query}/getCapabilities.js +2 -2
- package/dist/esm/query/getCapabilities.js.map +1 -0
- package/dist/esm/query/sendCalls.js.map +1 -0
- package/dist/esm/query/showCallsStatus.js.map +1 -0
- package/dist/esm/{experimental/query → query}/waitForCallsStatus.js +2 -2
- package/dist/esm/query/waitForCallsStatus.js.map +1 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/{experimental/actions → actions}/getCallsStatus.d.ts +3 -3
- package/dist/types/actions/getCallsStatus.d.ts.map +1 -0
- package/dist/types/actions/getCapabilities.d.ts +9 -0
- package/dist/types/actions/getCapabilities.d.ts.map +1 -0
- package/dist/types/{experimental/actions → actions}/sendCalls.d.ts +7 -7
- package/dist/types/actions/sendCalls.d.ts.map +1 -0
- package/dist/types/{experimental/actions → actions}/showCallsStatus.d.ts +3 -3
- package/dist/types/actions/showCallsStatus.d.ts.map +1 -0
- package/dist/types/{experimental/actions → actions}/waitForCallsStatus.d.ts +3 -3
- package/dist/types/actions/waitForCallsStatus.d.ts.map +1 -0
- package/dist/types/connectors/mock.d.ts.map +1 -1
- package/dist/types/exports/actions.d.ts +5 -0
- package/dist/types/exports/actions.d.ts.map +1 -1
- package/dist/types/exports/experimental.d.ts +126 -12
- package/dist/types/exports/experimental.d.ts.map +1 -1
- package/dist/types/exports/index.d.ts +5 -0
- package/dist/types/exports/index.d.ts.map +1 -1
- package/dist/types/exports/query.d.ts +5 -0
- package/dist/types/exports/query.d.ts.map +1 -1
- package/dist/types/{experimental/query → query}/getCallsStatus.d.ts +14 -8
- package/dist/types/query/getCallsStatus.d.ts.map +1 -0
- package/dist/types/query/getCapabilities.d.ts +36 -0
- package/dist/types/query/getCapabilities.d.ts.map +1 -0
- package/dist/types/query/getConnectorClient.d.ts +2 -2
- package/dist/types/query/getConnectorClient.d.ts.map +1 -1
- package/dist/types/query/getWalletClient.d.ts +207 -198
- package/dist/types/query/getWalletClient.d.ts.map +1 -1
- package/dist/types/{experimental/query → query}/sendCalls.d.ts +3 -3
- package/dist/types/query/sendCalls.d.ts.map +1 -0
- package/dist/types/{experimental/query → query}/showCallsStatus.d.ts +2 -2
- package/dist/types/query/showCallsStatus.d.ts.map +1 -0
- package/dist/types/query/signTypedData.d.ts +16 -16
- package/dist/types/{experimental/query → query}/waitForCallsStatus.d.ts +17 -11
- package/dist/types/query/waitForCallsStatus.d.ts.map +1 -0
- package/dist/types/query/watchAsset.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/{experimental/actions → actions}/getCallsStatus.ts +4 -4
- package/src/actions/getCapabilities.ts +39 -0
- package/src/{experimental/actions → actions}/sendCalls.ts +10 -10
- package/src/{experimental/actions → actions}/showCallsStatus.ts +4 -4
- package/src/{experimental/actions → actions}/waitForCallsStatus.ts +4 -4
- package/src/connectors/mock.ts +30 -5
- package/src/exports/actions.ts +35 -0
- package/src/exports/experimental.ts +67 -10
- package/src/exports/index.ts +35 -0
- package/src/exports/query.ts +43 -0
- package/src/{experimental/query → query}/getCallsStatus.ts +5 -5
- package/src/query/getCapabilities.ts +65 -0
- package/src/{experimental/query → query}/sendCalls.ts +2 -2
- package/src/{experimental/query → query}/showCallsStatus.ts +2 -2
- package/src/{experimental/query → query}/waitForCallsStatus.ts +5 -5
- package/src/version.ts +1 -1
- package/dist/esm/experimental/actions/getCallsStatus.js.map +0 -1
- package/dist/esm/experimental/actions/getCapabilities.js +0 -9
- package/dist/esm/experimental/actions/getCapabilities.js.map +0 -1
- package/dist/esm/experimental/actions/sendCalls.js.map +0 -1
- package/dist/esm/experimental/actions/showCallsStatus.js.map +0 -1
- package/dist/esm/experimental/actions/waitForCallsStatus.js.map +0 -1
- package/dist/esm/experimental/query/getCallsStatus.js.map +0 -1
- package/dist/esm/experimental/query/getCapabilities.js.map +0 -1
- package/dist/esm/experimental/query/sendCalls.js.map +0 -1
- package/dist/esm/experimental/query/showCallsStatus.js.map +0 -1
- package/dist/esm/experimental/query/waitForCallsStatus.js.map +0 -1
- package/dist/types/experimental/actions/getCallsStatus.d.ts.map +0 -1
- package/dist/types/experimental/actions/getCapabilities.d.ts +0 -9
- package/dist/types/experimental/actions/getCapabilities.d.ts.map +0 -1
- package/dist/types/experimental/actions/sendCalls.d.ts.map +0 -1
- package/dist/types/experimental/actions/showCallsStatus.d.ts.map +0 -1
- package/dist/types/experimental/actions/waitForCallsStatus.d.ts.map +0 -1
- package/dist/types/experimental/query/getCallsStatus.d.ts.map +0 -1
- package/dist/types/experimental/query/getCapabilities.d.ts +0 -35
- package/dist/types/experimental/query/getCapabilities.d.ts.map +0 -1
- package/dist/types/experimental/query/sendCalls.d.ts.map +0 -1
- package/dist/types/experimental/query/showCallsStatus.d.ts.map +0 -1
- package/dist/types/experimental/query/waitForCallsStatus.d.ts.map +0 -1
- package/src/experimental/actions/getCapabilities.ts +0 -28
- package/src/experimental/query/getCapabilities.ts +0 -50
- /package/dist/esm/{experimental/query → query}/sendCalls.js +0 -0
- /package/dist/esm/{experimental/query → query}/showCallsStatus.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWalletClient.d.ts","sourceRoot":"","sources":["../../../src/query/getWalletClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAE/B,MAAM,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAG9D,MAAM,MAAM,sBAAsB,CAChC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,OAAO,CACT,YAAY,CAAC,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,iBAAiB,CAC7E,CAAA;AAED,wBAAgB,2BAA2B,CACzC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAM
|
|
1
|
+
{"version":3,"file":"getWalletClient.d.ts","sourceRoot":"","sources":["../../../src/query/getWalletClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3B3lK;AAED,MAAM,MAAM,0BAA0B,CACpC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE9C,MAAM,MAAM,mBAAmB,CAC7B,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE/C,wBAAgB,uBAAuB,CACrC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,OAAO,GAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAM;;;;;GAMtD;AAED,MAAM,MAAM,uBAAuB,CACjC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,UAAU,CAAC,OAAO,uBAAuB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { MutateOptions } from '@tanstack/query-core';
|
|
2
|
-
import type { Config } from '../../createConfig.js';
|
|
3
|
-
import type { Compute } from '../../types/utils.js';
|
|
4
2
|
import { type SendCallsErrorType, type SendCallsParameters, type SendCallsReturnType } from '../actions/sendCalls.js';
|
|
3
|
+
import type { Config } from '../createConfig.js';
|
|
4
|
+
import type { Compute } from '../types/utils.js';
|
|
5
5
|
export declare function sendCallsMutationOptions<config extends Config>(config: config): {
|
|
6
|
-
readonly mutationFn: (variables: SendCallsVariables<config, config["chains"][number]["id"]>) => Promise<
|
|
6
|
+
readonly mutationFn: (variables: SendCallsVariables<config, config["chains"][number]["id"]>) => Promise<import("viem").SendCallsReturnType>;
|
|
7
7
|
readonly mutationKey: readonly ["sendCalls"];
|
|
8
8
|
};
|
|
9
9
|
export type SendCallsData = Compute<SendCallsReturnType>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendCalls.d.ts","sourceRoot":"","sources":["../../../src/query/sendCalls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,sBAAsB,CAAA;AAE1E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAEzB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEhD,wBAAgB,wBAAwB,CAAC,MAAM,SAAS,MAAM,EAC5D,MAAM,EAAE,MAAM;;;EAYf;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA;AAExD,MAAM,MAAM,kBAAkB,CAC5B,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAExC,MAAM,MAAM,eAAe,CAAC,MAAM,SAAS,MAAM,EAAE,OAAO,GAAG,OAAO,IAAI,CACtE,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAE9C,SAAS,EAAE,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9C,OAAO,CAAC,EACJ,OAAO,CACL,aAAa,CACX,aAAa,EACb,kBAAkB,EAClB,OAAO,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC5C,OAAO,CACR,CACF,GACD,SAAS,KACV,IAAI,CAAA;AAET,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,EAAE,OAAO,GAAG,OAAO,IAAI,CAC3E,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAE9C,SAAS,EAAE,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9C,OAAO,CAAC,EACJ,OAAO,CACL,aAAa,CACX,aAAa,EACb,kBAAkB,EAClB,OAAO,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC5C,OAAO,CACR,CACF,GACD,SAAS,KACV,OAAO,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MutateOptions } from '@tanstack/query-core';
|
|
2
|
-
import type { Config } from '../../createConfig.js';
|
|
3
|
-
import type { Compute } from '../../types/utils.js';
|
|
4
2
|
import { type ShowCallsStatusErrorType, type ShowCallsStatusParameters, type ShowCallsStatusReturnType } from '../actions/showCallsStatus.js';
|
|
3
|
+
import type { Config } from '../createConfig.js';
|
|
4
|
+
import type { Compute } from '../types/utils.js';
|
|
5
5
|
export declare function showCallsStatusMutationOptions<config extends Config>(config: config): {
|
|
6
6
|
readonly mutationFn: (variables: ShowCallsStatusParameters) => Promise<void>;
|
|
7
7
|
readonly mutationKey: readonly ["showCallsStatus"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showCallsStatus.d.ts","sourceRoot":"","sources":["../../../src/query/showCallsStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,sBAAsB,CAAA;AAE1E,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAE/B,MAAM,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEhD,wBAAgB,8BAA8B,CAAC,MAAM,SAAS,MAAM,EAClE,MAAM,EAAE,MAAM;;;EAYf;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAA;AAEpE,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,CAAA;AAEhE,MAAM,MAAM,qBAAqB,CAAC,OAAO,GAAG,OAAO,IAAI,CACrD,SAAS,EAAE,wBAAwB,EACnC,OAAO,CAAC,EACJ,OAAO,CACL,aAAa,CACX,mBAAmB,EACnB,wBAAwB,EACxB,OAAO,CAAC,wBAAwB,CAAC,EACjC,OAAO,CACR,CACF,GACD,SAAS,KACV,IAAI,CAAA;AAET,MAAM,MAAM,0BAA0B,CAAC,OAAO,GAAG,OAAO,IAAI,CAC1D,SAAS,EAAE,wBAAwB,EACnC,OAAO,CAAC,EACJ,OAAO,CACL,aAAa,CACX,mBAAmB,EACnB,wBAAwB,EACxB,OAAO,CAAC,wBAAwB,CAAC,EACjC,OAAO,CACR,CACF,GACD,SAAS,KACV,OAAO,CAAC,mBAAmB,CAAC,CAAA"}
|
|
@@ -15,26 +15,26 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
15
15
|
[x: `bytes1[${string}]`]: undefined;
|
|
16
16
|
[x: `bytes2[${string}]`]: undefined;
|
|
17
17
|
[x: `bytes3[${string}]`]: undefined;
|
|
18
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
19
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
20
18
|
[x: `bytes4[${string}]`]: undefined;
|
|
21
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
22
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
23
19
|
[x: `bytes5[${string}]`]: undefined;
|
|
20
|
+
[x: `bytes6[${string}]`]: undefined;
|
|
24
21
|
[x: `bytes7[${string}]`]: undefined;
|
|
25
22
|
[x: `bytes8[${string}]`]: undefined;
|
|
26
23
|
[x: `bytes9[${string}]`]: undefined;
|
|
27
24
|
[x: `bytes10[${string}]`]: undefined;
|
|
25
|
+
[x: `bytes11[${string}]`]: undefined;
|
|
28
26
|
[x: `bytes12[${string}]`]: undefined;
|
|
29
27
|
[x: `bytes13[${string}]`]: undefined;
|
|
30
28
|
[x: `bytes14[${string}]`]: undefined;
|
|
31
29
|
[x: `bytes15[${string}]`]: undefined;
|
|
30
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
32
31
|
[x: `bytes17[${string}]`]: undefined;
|
|
33
32
|
[x: `bytes18[${string}]`]: undefined;
|
|
34
33
|
[x: `bytes19[${string}]`]: undefined;
|
|
35
34
|
[x: `bytes20[${string}]`]: undefined;
|
|
36
35
|
[x: `bytes21[${string}]`]: undefined;
|
|
37
36
|
[x: `bytes22[${string}]`]: undefined;
|
|
37
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
38
38
|
[x: `bytes24[${string}]`]: undefined;
|
|
39
39
|
[x: `bytes25[${string}]`]: undefined;
|
|
40
40
|
[x: `bytes26[${string}]`]: undefined;
|
|
@@ -45,9 +45,8 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
45
45
|
[x: `bytes31[${string}]`]: undefined;
|
|
46
46
|
[x: `bytes32[${string}]`]: undefined;
|
|
47
47
|
[x: `int[${string}]`]: undefined;
|
|
48
|
-
[x: `int256[${string}]`]: undefined;
|
|
49
|
-
[x: `int16[${string}]`]: undefined;
|
|
50
48
|
[x: `int8[${string}]`]: undefined;
|
|
49
|
+
[x: `int16[${string}]`]: undefined;
|
|
51
50
|
[x: `int24[${string}]`]: undefined;
|
|
52
51
|
[x: `int32[${string}]`]: undefined;
|
|
53
52
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -77,10 +76,10 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
77
76
|
[x: `int232[${string}]`]: undefined;
|
|
78
77
|
[x: `int240[${string}]`]: undefined;
|
|
79
78
|
[x: `int248[${string}]`]: undefined;
|
|
79
|
+
[x: `int256[${string}]`]: undefined;
|
|
80
80
|
[x: `uint[${string}]`]: undefined;
|
|
81
|
-
[x: `uint256[${string}]`]: undefined;
|
|
82
|
-
[x: `uint16[${string}]`]: undefined;
|
|
83
81
|
[x: `uint8[${string}]`]: undefined;
|
|
82
|
+
[x: `uint16[${string}]`]: undefined;
|
|
84
83
|
[x: `uint24[${string}]`]: undefined;
|
|
85
84
|
[x: `uint32[${string}]`]: undefined;
|
|
86
85
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -110,6 +109,7 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
110
109
|
[x: `uint232[${string}]`]: undefined;
|
|
111
110
|
[x: `uint240[${string}]`]: undefined;
|
|
112
111
|
[x: `uint248[${string}]`]: undefined;
|
|
112
|
+
[x: `uint256[${string}]`]: undefined;
|
|
113
113
|
string?: undefined;
|
|
114
114
|
address?: undefined;
|
|
115
115
|
bool?: undefined;
|
|
@@ -117,26 +117,26 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
117
117
|
bytes1?: undefined;
|
|
118
118
|
bytes2?: undefined;
|
|
119
119
|
bytes3?: undefined;
|
|
120
|
-
bytes23?: undefined;
|
|
121
|
-
bytes6?: undefined;
|
|
122
120
|
bytes4?: undefined;
|
|
123
|
-
bytes11?: undefined;
|
|
124
|
-
bytes16?: undefined;
|
|
125
121
|
bytes5?: undefined;
|
|
122
|
+
bytes6?: undefined;
|
|
126
123
|
bytes7?: undefined;
|
|
127
124
|
bytes8?: undefined;
|
|
128
125
|
bytes9?: undefined;
|
|
129
126
|
bytes10?: undefined;
|
|
127
|
+
bytes11?: undefined;
|
|
130
128
|
bytes12?: undefined;
|
|
131
129
|
bytes13?: undefined;
|
|
132
130
|
bytes14?: undefined;
|
|
133
131
|
bytes15?: undefined;
|
|
132
|
+
bytes16?: undefined;
|
|
134
133
|
bytes17?: undefined;
|
|
135
134
|
bytes18?: undefined;
|
|
136
135
|
bytes19?: undefined;
|
|
137
136
|
bytes20?: undefined;
|
|
138
137
|
bytes21?: undefined;
|
|
139
138
|
bytes22?: undefined;
|
|
139
|
+
bytes23?: undefined;
|
|
140
140
|
bytes24?: undefined;
|
|
141
141
|
bytes25?: undefined;
|
|
142
142
|
bytes26?: undefined;
|
|
@@ -146,9 +146,8 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
146
146
|
bytes30?: undefined;
|
|
147
147
|
bytes31?: undefined;
|
|
148
148
|
bytes32?: undefined;
|
|
149
|
-
int256?: undefined;
|
|
150
|
-
int16?: undefined;
|
|
151
149
|
int8?: undefined;
|
|
150
|
+
int16?: undefined;
|
|
152
151
|
int24?: undefined;
|
|
153
152
|
int32?: undefined;
|
|
154
153
|
int40?: undefined;
|
|
@@ -178,9 +177,9 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
178
177
|
int232?: undefined;
|
|
179
178
|
int240?: undefined;
|
|
180
179
|
int248?: undefined;
|
|
181
|
-
|
|
182
|
-
uint16?: undefined;
|
|
180
|
+
int256?: undefined;
|
|
183
181
|
uint8?: undefined;
|
|
182
|
+
uint16?: undefined;
|
|
184
183
|
uint24?: undefined;
|
|
185
184
|
uint32?: undefined;
|
|
186
185
|
uint40?: undefined;
|
|
@@ -210,6 +209,7 @@ export declare function signTypedDataMutationOptions<config extends Config>(conf
|
|
|
210
209
|
uint232?: undefined;
|
|
211
210
|
uint240?: undefined;
|
|
212
211
|
uint248?: undefined;
|
|
212
|
+
uint256?: undefined;
|
|
213
213
|
};
|
|
214
214
|
primaryType: string;
|
|
215
215
|
domain?: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { Config } from '../../createConfig.js';
|
|
2
|
-
import type { ScopeKeyParameter } from '../../types/properties.js';
|
|
3
|
-
import type { Compute, PartialBy } from '../../types/utils.js';
|
|
4
1
|
import { type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType } from '../actions/waitForCallsStatus.js';
|
|
2
|
+
import type { Config } from '../createConfig.js';
|
|
3
|
+
import type { ScopeKeyParameter } from '../types/properties.js';
|
|
4
|
+
import type { Compute, PartialBy } from '../types/utils.js';
|
|
5
5
|
export type WaitForCallsStatusOptions = Compute<PartialBy<WaitForCallsStatusParameters, 'id'> & ScopeKeyParameter>;
|
|
6
6
|
export declare function waitForCallsStatusQueryOptions<config extends Config>(config: config, options: WaitForCallsStatusOptions): {
|
|
7
7
|
readonly queryFn: ({ queryKey }: {
|
|
8
8
|
queryKey: readonly ["callsStatus", {
|
|
9
9
|
id?: string | undefined;
|
|
10
|
-
status?: "
|
|
10
|
+
status?: ((parameters: import("viem").GetCallsStatusReturnType) => boolean) | undefined;
|
|
11
11
|
pollingInterval?: number | undefined;
|
|
12
|
-
connector?: import("
|
|
12
|
+
connector?: import("../createConfig.js").Connector | undefined;
|
|
13
13
|
timeout?: number | undefined;
|
|
14
14
|
scopeKey?: string | undefined;
|
|
15
15
|
}];
|
|
@@ -18,26 +18,32 @@ export declare function waitForCallsStatusQueryOptions<config extends Config>(co
|
|
|
18
18
|
pageParam?: unknown;
|
|
19
19
|
direction?: unknown;
|
|
20
20
|
}) => Promise<{
|
|
21
|
-
|
|
21
|
+
chainId: number;
|
|
22
|
+
id: string;
|
|
23
|
+
version: string;
|
|
24
|
+
atomic: boolean;
|
|
25
|
+
capabilities?: import("viem").WalletCapabilities | undefined;
|
|
22
26
|
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
27
|
+
statusCode: number;
|
|
28
|
+
status: "pending" | "success" | "failure" | undefined;
|
|
23
29
|
}>;
|
|
24
30
|
readonly queryKey: readonly ["callsStatus", {
|
|
25
31
|
id?: string | undefined;
|
|
26
|
-
status?: "
|
|
32
|
+
status?: ((parameters: import("viem").GetCallsStatusReturnType) => boolean) | undefined;
|
|
27
33
|
pollingInterval?: number | undefined;
|
|
28
|
-
connector?: import("
|
|
34
|
+
connector?: import("../createConfig.js").Connector | undefined;
|
|
29
35
|
timeout?: number | undefined;
|
|
30
36
|
scopeKey?: string | undefined;
|
|
31
37
|
}];
|
|
32
|
-
readonly retry: (failureCount: number, error: import("viem
|
|
38
|
+
readonly retry: (failureCount: number, error: import("viem").WaitForCallsStatusErrorType) => boolean;
|
|
33
39
|
};
|
|
34
40
|
export type WaitForCallsStatusQueryFnData = WaitForCallsStatusReturnType;
|
|
35
41
|
export type WaitForCallsStatusData = WaitForCallsStatusQueryFnData;
|
|
36
42
|
export declare function waitForCallsStatusQueryKey(options: WaitForCallsStatusOptions): readonly ["callsStatus", {
|
|
37
43
|
id?: string | undefined;
|
|
38
|
-
status?: "
|
|
44
|
+
status?: ((parameters: import("viem").GetCallsStatusReturnType) => boolean) | undefined;
|
|
39
45
|
pollingInterval?: number | undefined;
|
|
40
|
-
connector?: import("
|
|
46
|
+
connector?: import("../createConfig.js").Connector | undefined;
|
|
41
47
|
timeout?: number | undefined;
|
|
42
48
|
scopeKey?: string | undefined;
|
|
43
49
|
}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitForCallsStatus.d.ts","sourceRoot":"","sources":["../../../src/query/waitForCallsStatus.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAElC,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAGhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE3D,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,SAAS,CAAC,4BAA4B,EAAE,IAAI,CAAC,GAAG,iBAAiB,CAClE,CAAA;AAED,wBAAgB,8BAA8B,CAAC,MAAM,SAAS,MAAM,EAClE,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBnC;AAED,MAAM,MAAM,6BAA6B,GAAG,4BAA4B,CAAA;AAExE,MAAM,MAAM,sBAAsB,GAAG,6BAA6B,CAAA;AAElE,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,yBAAyB;;;;;;;GAE5E;AAED,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchAsset.d.ts","sourceRoot":"","sources":["../../../src/query/watchAsset.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAErD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM;;;;;;;
|
|
1
|
+
{"version":3,"file":"watchAsset.d.ts","sourceRoot":"","sources":["../../../src/query/watchAsset.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAErD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM;;;;;;;iBA8Bq3J,CAAC;;;;;EAnB76J;AAED,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAA;AAEjD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAA;AAE/D,MAAM,MAAM,gBAAgB,CAAC,OAAO,GAAG,OAAO,IAAI,MAAM,CACtD,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,CACR,CAAA;AAED,MAAM,MAAM,qBAAqB,CAAC,OAAO,GAAG,OAAO,IAAI,WAAW,CAChE,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,CACR,CAAA"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.
|
|
1
|
+
export declare const version = "2.17.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
type GetCallsStatusParameters as viem_GetCallsStatusParameters,
|
|
4
4
|
type GetCallsStatusReturnType as viem_GetCallsStatusReturnType,
|
|
5
5
|
getCallsStatus as viem_getCallsStatus,
|
|
6
|
-
} from 'viem/
|
|
6
|
+
} from 'viem/actions'
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import type {
|
|
10
|
-
import
|
|
8
|
+
import type { Config } from '../createConfig.js'
|
|
9
|
+
import type { ConnectorParameter } from '../types/properties.js'
|
|
10
|
+
import { getConnectorClient } from './getConnectorClient.js'
|
|
11
11
|
|
|
12
12
|
export type GetCallsStatusParameters = viem_GetCallsStatusParameters &
|
|
13
13
|
ConnectorParameter
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Account } from 'viem'
|
|
2
|
+
import {
|
|
3
|
+
type GetCapabilitiesErrorType as viem_GetCapabilitiesErrorType,
|
|
4
|
+
type GetCapabilitiesParameters as viem_GetCapabilitiesParameters,
|
|
5
|
+
type GetCapabilitiesReturnType as viem_GetCapabilitiesReturnType,
|
|
6
|
+
getCapabilities as viem_getCapabilities,
|
|
7
|
+
} from 'viem/actions'
|
|
8
|
+
|
|
9
|
+
import type { Config } from '../createConfig.js'
|
|
10
|
+
import type { ConnectorParameter } from '../types/properties.js'
|
|
11
|
+
import { getConnectorClient } from './getConnectorClient.js'
|
|
12
|
+
|
|
13
|
+
export type GetCapabilitiesParameters<
|
|
14
|
+
config extends Config = Config,
|
|
15
|
+
chainId extends config['chains'][number]['id'] | undefined = undefined,
|
|
16
|
+
> = viem_GetCapabilitiesParameters<chainId> & ConnectorParameter
|
|
17
|
+
|
|
18
|
+
export type GetCapabilitiesReturnType<
|
|
19
|
+
config extends Config = Config,
|
|
20
|
+
chainId extends config['chains'][number]['id'] | undefined = undefined,
|
|
21
|
+
> = viem_GetCapabilitiesReturnType<chainId>
|
|
22
|
+
|
|
23
|
+
export type GetCapabilitiesErrorType = viem_GetCapabilitiesErrorType
|
|
24
|
+
|
|
25
|
+
/** https://wagmi.sh/core/api/actions/getCapabilities */
|
|
26
|
+
export async function getCapabilities<
|
|
27
|
+
config extends Config,
|
|
28
|
+
chainId extends config['chains'][number]['id'] | undefined = undefined,
|
|
29
|
+
>(
|
|
30
|
+
config: config,
|
|
31
|
+
parameters: GetCapabilitiesParameters<config, chainId> = {},
|
|
32
|
+
): Promise<GetCapabilitiesReturnType<config, chainId>> {
|
|
33
|
+
const { account, chainId, connector } = parameters
|
|
34
|
+
const client = await getConnectorClient(config, { account, connector })
|
|
35
|
+
return viem_getCapabilities(client as any, {
|
|
36
|
+
account: account as Account,
|
|
37
|
+
chainId,
|
|
38
|
+
})
|
|
39
|
+
}
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
type SendCallsParameters as viem_SendCallsParameters,
|
|
5
5
|
type SendCallsReturnType as viem_SendCallsReturnType,
|
|
6
6
|
sendCalls as viem_sendCalls,
|
|
7
|
-
} from 'viem/
|
|
7
|
+
} from 'viem/actions'
|
|
8
8
|
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from '../../actions/getConnectorClient.js'
|
|
13
|
-
import type { Config } from '../../createConfig.js'
|
|
14
|
-
import type { BaseErrorType, ErrorType } from '../../errors/base.js'
|
|
15
|
-
import type { SelectChains } from '../../types/chain.js'
|
|
9
|
+
import type { Config } from '../createConfig.js'
|
|
10
|
+
import type { BaseErrorType, ErrorType } from '../errors/base.js'
|
|
11
|
+
import type { SelectChains } from '../types/chain.js'
|
|
16
12
|
import type {
|
|
17
13
|
ChainIdParameter,
|
|
18
14
|
ConnectorParameter,
|
|
19
|
-
} from '
|
|
20
|
-
import type { Compute } from '
|
|
15
|
+
} from '../types/properties.js'
|
|
16
|
+
import type { Compute } from '../types/utils.js'
|
|
17
|
+
import {
|
|
18
|
+
type GetConnectorClientErrorType,
|
|
19
|
+
getConnectorClient,
|
|
20
|
+
} from './getConnectorClient.js'
|
|
21
21
|
|
|
22
22
|
export type SendCallsParameters<
|
|
23
23
|
config extends Config = Config,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
type ShowCallsStatusParameters as viem_ShowCallsStatusParameters,
|
|
4
4
|
type ShowCallsStatusReturnType as viem_ShowCallsStatusReturnType,
|
|
5
5
|
showCallsStatus as viem_showCallsStatus,
|
|
6
|
-
} from 'viem/
|
|
6
|
+
} from 'viem/actions'
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import type {
|
|
10
|
-
import
|
|
8
|
+
import type { Config } from '../createConfig.js'
|
|
9
|
+
import type { ConnectorParameter } from '../types/properties.js'
|
|
10
|
+
import { getConnectorClient } from './getConnectorClient.js'
|
|
11
11
|
|
|
12
12
|
export type ShowCallsStatusParameters = viem_ShowCallsStatusParameters &
|
|
13
13
|
ConnectorParameter
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
type WaitForCallsStatusParameters as viem_WaitForCallsStatusParameters,
|
|
4
4
|
type WaitForCallsStatusReturnType as viem_WaitForCallsStatusReturnType,
|
|
5
5
|
waitForCallsStatus as viem_waitForCallsStatus,
|
|
6
|
-
} from 'viem/
|
|
6
|
+
} from 'viem/actions'
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import type {
|
|
10
|
-
import
|
|
8
|
+
import type { Config } from '../createConfig.js'
|
|
9
|
+
import type { ConnectorParameter } from '../types/properties.js'
|
|
10
|
+
import { getConnectorClient } from './getConnectorClient.js'
|
|
11
11
|
|
|
12
12
|
export type WaitForCallsStatusParameters = viem_WaitForCallsStatusParameters &
|
|
13
13
|
ConnectorParameter
|
package/src/connectors/mock.ts
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
type Transport,
|
|
8
8
|
UserRejectedRequestError,
|
|
9
9
|
type WalletCallReceipt,
|
|
10
|
+
type WalletGetCallsStatusReturnType,
|
|
10
11
|
type WalletRpcSchema,
|
|
11
12
|
custom,
|
|
12
13
|
fromHex,
|
|
@@ -224,12 +225,21 @@ export function mock(parameters: MockParameters) {
|
|
|
224
225
|
}
|
|
225
226
|
const id = keccak256(stringToHex(JSON.stringify(calls)))
|
|
226
227
|
transactionCache.set(id, hashes)
|
|
227
|
-
return id
|
|
228
|
+
return { id }
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
if (method === 'wallet_getCallsStatus') {
|
|
231
232
|
const hashes = transactionCache.get((params as any)[0])
|
|
232
|
-
if (!hashes)
|
|
233
|
+
if (!hashes)
|
|
234
|
+
return {
|
|
235
|
+
atomic: false,
|
|
236
|
+
chainId: '0x1',
|
|
237
|
+
id: (params as any)[0],
|
|
238
|
+
status: 100,
|
|
239
|
+
receipts: [],
|
|
240
|
+
version: '2.0.0',
|
|
241
|
+
} satisfies WalletGetCallsStatusReturnType
|
|
242
|
+
|
|
233
243
|
const receipts = await Promise.all(
|
|
234
244
|
hashes.map(async (hash) => {
|
|
235
245
|
const { result, error } = await rpc.http(url, {
|
|
@@ -256,9 +266,24 @@ export function mock(parameters: MockParameters) {
|
|
|
256
266
|
} satisfies WalletCallReceipt
|
|
257
267
|
}),
|
|
258
268
|
)
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
269
|
+
const receipts_ = receipts.filter((x) => x !== null)
|
|
270
|
+
if (receipts_.length === 0)
|
|
271
|
+
return {
|
|
272
|
+
atomic: false,
|
|
273
|
+
chainId: '0x1',
|
|
274
|
+
id: (params as any)[0],
|
|
275
|
+
status: 100,
|
|
276
|
+
receipts: [],
|
|
277
|
+
version: '2.0.0',
|
|
278
|
+
} satisfies WalletGetCallsStatusReturnType
|
|
279
|
+
return {
|
|
280
|
+
atomic: false,
|
|
281
|
+
chainId: '0x1',
|
|
282
|
+
id: (params as any)[0],
|
|
283
|
+
status: 200,
|
|
284
|
+
receipts: receipts_,
|
|
285
|
+
version: '2.0.0',
|
|
286
|
+
} satisfies WalletGetCallsStatusReturnType
|
|
262
287
|
}
|
|
263
288
|
|
|
264
289
|
if (method === 'wallet_showCallsStatus') return
|
package/src/exports/actions.ts
CHANGED
|
@@ -96,6 +96,20 @@ export {
|
|
|
96
96
|
getBytecode,
|
|
97
97
|
} from '../actions/getBytecode.js'
|
|
98
98
|
|
|
99
|
+
export {
|
|
100
|
+
type GetCallsStatusErrorType,
|
|
101
|
+
type GetCallsStatusParameters,
|
|
102
|
+
type GetCallsStatusReturnType,
|
|
103
|
+
getCallsStatus,
|
|
104
|
+
} from '../actions/getCallsStatus.js'
|
|
105
|
+
|
|
106
|
+
export {
|
|
107
|
+
type GetCapabilitiesErrorType,
|
|
108
|
+
type GetCapabilitiesParameters,
|
|
109
|
+
type GetCapabilitiesReturnType,
|
|
110
|
+
getCapabilities,
|
|
111
|
+
} from '../actions/getCapabilities.js'
|
|
112
|
+
|
|
99
113
|
export {
|
|
100
114
|
type GetChainIdReturnType,
|
|
101
115
|
getChainId,
|
|
@@ -286,6 +300,13 @@ export {
|
|
|
286
300
|
reconnect,
|
|
287
301
|
} from '../actions/reconnect.js'
|
|
288
302
|
|
|
303
|
+
export {
|
|
304
|
+
type SendCallsErrorType,
|
|
305
|
+
type SendCallsParameters,
|
|
306
|
+
type SendCallsReturnType,
|
|
307
|
+
sendCalls,
|
|
308
|
+
} from '../actions/sendCalls.js'
|
|
309
|
+
|
|
289
310
|
export {
|
|
290
311
|
type SendTransactionErrorType,
|
|
291
312
|
type SendTransactionParameters,
|
|
@@ -293,6 +314,13 @@ export {
|
|
|
293
314
|
sendTransaction,
|
|
294
315
|
} from '../actions/sendTransaction.js'
|
|
295
316
|
|
|
317
|
+
export {
|
|
318
|
+
type ShowCallsStatusErrorType,
|
|
319
|
+
type ShowCallsStatusParameters,
|
|
320
|
+
type ShowCallsStatusReturnType,
|
|
321
|
+
showCallsStatus,
|
|
322
|
+
} from '../actions/showCallsStatus.js'
|
|
323
|
+
|
|
296
324
|
export {
|
|
297
325
|
type SignMessageErrorType,
|
|
298
326
|
type SignMessageParameters,
|
|
@@ -342,6 +370,13 @@ export {
|
|
|
342
370
|
verifyTypedData,
|
|
343
371
|
} from '../actions/verifyTypedData.js'
|
|
344
372
|
|
|
373
|
+
export {
|
|
374
|
+
type WaitForCallsStatusErrorType,
|
|
375
|
+
type WaitForCallsStatusParameters,
|
|
376
|
+
type WaitForCallsStatusReturnType,
|
|
377
|
+
waitForCallsStatus,
|
|
378
|
+
} from '../actions/waitForCallsStatus.js'
|
|
379
|
+
|
|
345
380
|
export {
|
|
346
381
|
type WatchAccountParameters,
|
|
347
382
|
type WatchAccountReturnType,
|