@toon-protocol/client 4.1.1 → 4.1.2
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/{chunk-SS3GGBUE.js → chunk-2FCRHYFJ.js} +20 -3
- package/dist/{chunk-SS3GGBUE.js.map → chunk-2FCRHYFJ.js.map} +1 -1
- package/dist/cli/main.js +1 -1
- package/dist/{client-CTOUNPZD.js → client-66Z6WVBV.js} +2 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{client-CTOUNPZD.js.map → client-66Z6WVBV.js.map} +0 -0
package/dist/cli/main.js
CHANGED
|
@@ -588,7 +588,7 @@ function buildClientConfig(settings, keys) {
|
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
async function defaultCreateClient(config) {
|
|
591
|
-
const module = await import("../client-
|
|
591
|
+
const module = await import("../client-66Z6WVBV.js");
|
|
592
592
|
const factory = module.ToonClient;
|
|
593
593
|
if (factory === void 0) {
|
|
594
594
|
throw new Error(
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveConfig,
|
|
33
33
|
send,
|
|
34
34
|
toEnvelopeRequest
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2FCRHYFJ.js";
|
|
36
36
|
import "./chunk-WJKJ6Y4N.js";
|
|
37
37
|
import "./chunk-32MD3CXE.js";
|
|
38
38
|
export {
|
|
@@ -70,4 +70,4 @@ export {
|
|
|
70
70
|
send,
|
|
71
71
|
toEnvelopeRequest
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=client-
|
|
73
|
+
//# sourceMappingURL=client-66Z6WVBV.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1767,8 +1767,19 @@ declare function signErc20ApprovalGasSponsoring(params: {
|
|
|
1767
1767
|
token: string;
|
|
1768
1768
|
chainId: number;
|
|
1769
1769
|
}): Promise<DepositExtensions>;
|
|
1770
|
-
/**
|
|
1771
|
-
|
|
1770
|
+
/**
|
|
1771
|
+
* Approve Permit2 for `token`, for the maximum, from the payer's own ETH.
|
|
1772
|
+
*
|
|
1773
|
+
* With `seen`, it also waits until the RPC shows the allowance: a public RPC is
|
|
1774
|
+
* load-balanced, and a receipt from one backend says nothing about the next.
|
|
1775
|
+
* On Base Sepolia, a deposit estimated straight after the receipt reverted
|
|
1776
|
+
* `TRANSFER_FROM_FAILED` (#695).
|
|
1777
|
+
*/
|
|
1778
|
+
declare function approvePermit2(wallet: EvmWalletAccess, token: string, seen?: {
|
|
1779
|
+
reader: ContractReader;
|
|
1780
|
+
owner: string;
|
|
1781
|
+
atLeast: bigint;
|
|
1782
|
+
}): Promise<Hex>;
|
|
1772
1783
|
/** `collectorData` for the ERC-3009 deposit collector. */
|
|
1773
1784
|
declare function erc3009CollectorData(payload: Eip3009DepositPayload): Hex;
|
|
1774
1785
|
/**
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
File without changes
|