@wagmi/core 2.18.1 → 2.19.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.
- package/dist/esm/actions/getCallsStatus.js +3 -1
- package/dist/esm/actions/getCallsStatus.js.map +1 -1
- package/dist/esm/actions/sendCalls.js +3 -1
- package/dist/esm/actions/sendCalls.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/actions/getCallsStatus.d.ts.map +1 -1
- package/dist/types/actions/sendCalls.d.ts.map +1 -1
- package/dist/types/query/getCapabilities.d.ts +1 -25
- package/dist/types/query/getCapabilities.d.ts.map +1 -1
- package/dist/types/query/getTransaction.d.ts +3 -5
- package/dist/types/query/getTransaction.d.ts.map +1 -1
- package/dist/types/query/getTransactionReceipt.d.ts +3 -5
- package/dist/types/query/getTransactionReceipt.d.ts.map +1 -1
- package/dist/types/query/getWalletClient.d.ts +1 -3259
- package/dist/types/query/getWalletClient.d.ts.map +1 -1
- package/dist/types/query/waitForTransactionReceipt.d.ts +3 -5
- package/dist/types/query/waitForTransactionReceipt.d.ts.map +1 -1
- package/dist/types/query/writeContract.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/actions/getCallsStatus.ts +3 -1
- package/src/actions/sendCalls.ts +3 -1
- package/src/version.ts +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { getCallsStatus as viem_getCallsStatus, } from 'viem/actions';
|
|
2
|
+
import { getAction } from '../utils/getAction.js';
|
|
2
3
|
import { getConnectorClient } from './getConnectorClient.js';
|
|
3
4
|
/** https://wagmi.sh/core/api/actions/getCallsStatus */
|
|
4
5
|
export async function getCallsStatus(config, parameters) {
|
|
5
6
|
const { connector, id } = parameters;
|
|
6
7
|
const client = await getConnectorClient(config, { connector });
|
|
7
|
-
|
|
8
|
+
const action = getAction(client, viem_getCallsStatus, 'getCallsStatus');
|
|
9
|
+
return action({ id });
|
|
8
10
|
}
|
|
9
11
|
//# sourceMappingURL=getCallsStatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCallsStatus.js","sourceRoot":"","sources":["../../../src/actions/getCallsStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,IAAI,mBAAmB,GACtC,MAAM,cAAc,CAAA;AAIrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAS5D,uDAAuD;AACvD,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,MAAc,EACd,UAAoC;IAEpC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,UAAU,CAAA;IACpC,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,CAAC,CAAA;IAC9D,
|
|
1
|
+
{"version":3,"file":"getCallsStatus.js","sourceRoot":"","sources":["../../../src/actions/getCallsStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,IAAI,mBAAmB,GACtC,MAAM,cAAc,CAAA;AAIrB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAS5D,uDAAuD;AACvD,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,MAAc,EACd,UAAoC;IAEpC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,UAAU,CAAA;IACpC,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,CAAC,CAAA;IAC9D,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,CAAA;IACvE,OAAO,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;AACvB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { sendCalls as viem_sendCalls, } from 'viem/actions';
|
|
2
|
+
import { getAction } from '../utils/getAction.js';
|
|
2
3
|
import { getConnectorClient, } from './getConnectorClient.js';
|
|
3
4
|
/** https://wagmi.sh/core/api/actions/sendCalls */
|
|
4
5
|
export async function sendCalls(config, parameters) {
|
|
@@ -8,7 +9,8 @@ export async function sendCalls(config, parameters) {
|
|
|
8
9
|
chainId,
|
|
9
10
|
connector,
|
|
10
11
|
});
|
|
11
|
-
|
|
12
|
+
const action = getAction(client, viem_sendCalls, 'sendCalls');
|
|
13
|
+
return action({
|
|
12
14
|
...rest,
|
|
13
15
|
...(typeof account !== 'undefined' ? { account } : {}),
|
|
14
16
|
calls,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendCalls.js","sourceRoot":"","sources":["../../../src/actions/sendCalls.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,IAAI,cAAc,GAC5B,MAAM,cAAc,CAAA;AAUrB,OAAO,EAEL,kBAAkB,GACnB,MAAM,yBAAyB,CAAA;AA+BhC,kDAAkD;AAClD,MAAM,CAAC,KAAK,UAAU,SAAS,CAK7B,MAAc,EACd,UAAuD;IAEvD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,UAAU,CAAA;IAElE,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE;QAC9C,OAAO;QACP,OAAO;QACP,SAAS;KACV,CAAC,CAAA;IAEF,
|
|
1
|
+
{"version":3,"file":"sendCalls.js","sourceRoot":"","sources":["../../../src/actions/sendCalls.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,IAAI,cAAc,GAC5B,MAAM,cAAc,CAAA;AAUrB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAEL,kBAAkB,GACnB,MAAM,yBAAyB,CAAA;AA+BhC,kDAAkD;AAClD,MAAM,CAAC,KAAK,UAAU,SAAS,CAK7B,MAAc,EACd,U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