@aastar/sdk 0.20.9 → 0.21.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/UserClient-BDGP37PK.js +6 -0
- package/dist/{UserClient-AIIHB54I.js.map → UserClient-BDGP37PK.js.map} +1 -1
- package/dist/UserClient-FOAOBLGK.cjs +15 -0
- package/dist/{UserClient-2J6XMTNV.cjs.map → UserClient-FOAOBLGK.cjs.map} +1 -1
- package/dist/account.cjs +8 -8
- package/dist/account.js +3 -3
- package/dist/admin.cjs +4 -4
- package/dist/admin.js +3 -3
- package/dist/airaccount.cjs +98 -98
- package/dist/airaccount.js +3 -3
- package/dist/channel.cjs +7 -7
- package/dist/channel.js +3 -3
- package/dist/{chunk-GRDC6ZRA.cjs → chunk-3HZEIFBW.cjs} +5 -5
- package/dist/{chunk-GRDC6ZRA.cjs.map → chunk-3HZEIFBW.cjs.map} +1 -1
- package/dist/{chunk-7ARJ3OSU.js → chunk-57XLR2NT.js} +3 -3
- package/dist/{chunk-7ARJ3OSU.js.map → chunk-57XLR2NT.js.map} +1 -1
- package/dist/{chunk-QLF7N6H7.cjs → chunk-5JFYTJOE.cjs} +4 -4
- package/dist/{chunk-QLF7N6H7.cjs.map → chunk-5JFYTJOE.cjs.map} +1 -1
- package/dist/{chunk-KDH3UPKD.js → chunk-5NKU5NT5.js} +8 -8
- package/dist/{chunk-KDH3UPKD.js.map → chunk-5NKU5NT5.js.map} +1 -1
- package/dist/{chunk-WQREDGUF.cjs → chunk-63JM67L7.cjs} +26 -26
- package/dist/{chunk-WQREDGUF.cjs.map → chunk-63JM67L7.cjs.map} +1 -1
- package/dist/{chunk-IC3G6YM2.js → chunk-6OWZOTE7.js} +113 -9
- package/dist/chunk-6OWZOTE7.js.map +1 -0
- package/dist/{chunk-FTJD2DWE.cjs → chunk-CIEYY3A6.cjs} +870 -83
- package/dist/chunk-CIEYY3A6.cjs.map +1 -0
- package/dist/{chunk-GX7NROST.cjs → chunk-DEUBKZH5.cjs} +16 -16
- package/dist/{chunk-GX7NROST.cjs.map → chunk-DEUBKZH5.cjs.map} +1 -1
- package/dist/{chunk-TENYCMJ3.js → chunk-DF4WVR2H.js} +9 -9
- package/dist/{chunk-TENYCMJ3.js.map → chunk-DF4WVR2H.js.map} +1 -1
- package/dist/{chunk-BN5WY5GM.js → chunk-DQBKE4ND.js} +4 -4
- package/dist/{chunk-BN5WY5GM.js.map → chunk-DQBKE4ND.js.map} +1 -1
- package/dist/{chunk-4EZD7LPE.js → chunk-E4CQFW75.js} +3 -3
- package/dist/{chunk-4EZD7LPE.js.map → chunk-E4CQFW75.js.map} +1 -1
- package/dist/{chunk-LXWIPTPX.js → chunk-ENSMYCU6.js} +3 -3
- package/dist/{chunk-LXWIPTPX.js.map → chunk-ENSMYCU6.js.map} +1 -1
- package/dist/{chunk-FJ7XECC5.js → chunk-EY2AJTGV.js} +3 -3
- package/dist/{chunk-FJ7XECC5.js.map → chunk-EY2AJTGV.js.map} +1 -1
- package/dist/{chunk-2RCJBWPO.cjs → chunk-GAMSWXWI.cjs} +11 -11
- package/dist/{chunk-2RCJBWPO.cjs.map → chunk-GAMSWXWI.cjs.map} +1 -1
- package/dist/{chunk-MRREGCWN.cjs → chunk-IJN776TA.cjs} +32 -32
- package/dist/{chunk-MRREGCWN.cjs.map → chunk-IJN776TA.cjs.map} +1 -1
- package/dist/{chunk-PKCHRXFR.js → chunk-KZERVPUR.js} +3 -3
- package/dist/{chunk-PKCHRXFR.js.map → chunk-KZERVPUR.js.map} +1 -1
- package/dist/{chunk-6QYXGMCR.js → chunk-M5WFKETT.js} +833 -47
- package/dist/{chunk-FTJD2DWE.cjs.map → chunk-M5WFKETT.js.map} +1 -1
- package/dist/{chunk-HSVQIFIK.cjs → chunk-M7HXR7G5.cjs} +5 -5
- package/dist/{chunk-HSVQIFIK.cjs.map → chunk-M7HXR7G5.cjs.map} +1 -1
- package/dist/{chunk-PAABYXS6.js → chunk-MCALA6WM.js} +6 -6
- package/dist/{chunk-PAABYXS6.js.map → chunk-MCALA6WM.js.map} +1 -1
- package/dist/{chunk-S5IKOOUR.cjs → chunk-MXJEULSE.cjs} +39 -36
- package/dist/chunk-MXJEULSE.cjs.map +1 -0
- package/dist/{chunk-TFLZETWB.cjs → chunk-OVNOSAL3.cjs} +113 -9
- package/dist/chunk-OVNOSAL3.cjs.map +1 -0
- package/dist/{chunk-MVEWJIPY.js → chunk-RXPSL33E.js} +3 -3
- package/dist/{chunk-MVEWJIPY.js.map → chunk-RXPSL33E.js.map} +1 -1
- package/dist/{chunk-G3UJC4EL.js → chunk-UCLK6LTB.js} +39 -36
- package/dist/chunk-UCLK6LTB.js.map +1 -0
- package/dist/{chunk-JTWY2XEG.cjs → chunk-WR4OZUXR.cjs} +6 -6
- package/dist/{chunk-JTWY2XEG.cjs.map → chunk-WR4OZUXR.cjs.map} +1 -1
- package/dist/{chunk-NT26BDGN.cjs → chunk-Y4EJX7UA.cjs} +12 -12
- package/dist/{chunk-NT26BDGN.cjs.map → chunk-Y4EJX7UA.cjs.map} +1 -1
- package/dist/{chunk-RNHSA3LO.cjs → chunk-Z4GZ6DQA.cjs} +9 -9
- package/dist/{chunk-RNHSA3LO.cjs.map → chunk-Z4GZ6DQA.cjs.map} +1 -1
- package/dist/{contract-addresses-TANQ5DLX.cjs → contract-addresses-RABD77VP.cjs} +13 -13
- package/dist/{contract-addresses-TANQ5DLX.cjs.map → contract-addresses-RABD77VP.cjs.map} +1 -1
- package/dist/{contract-addresses-N3TOL2WL.js → contract-addresses-TVXSRQ7I.js} +3 -3
- package/dist/{contract-addresses-N3TOL2WL.js.map → contract-addresses-TVXSRQ7I.js.map} +1 -1
- package/dist/core.cjs +227 -223
- package/dist/core.d.cts +130 -12
- package/dist/core.d.ts +130 -12
- package/dist/core.js +2 -2
- package/dist/dapp.cjs +6 -6
- package/dist/dapp.js +3 -3
- package/dist/enduser.cjs +7 -7
- package/dist/enduser.js +4 -4
- package/dist/identity.cjs +6 -6
- package/dist/identity.js +3 -3
- package/dist/index.cjs +340 -336
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -17
- package/dist/kms.cjs +98 -98
- package/dist/kms.d.cts +62 -12
- package/dist/kms.d.ts +62 -12
- package/dist/kms.js +3 -3
- package/dist/operator.cjs +7 -7
- package/dist/operator.js +3 -3
- package/dist/paymaster.cjs +16 -16
- package/dist/paymaster.js +3 -3
- package/dist/{src-TQKEO2I4.cjs → src-CUHI6G6W.cjs} +229 -225
- package/dist/src-CUHI6G6W.cjs.map +1 -0
- package/dist/{src-ENPA7D2S.cjs → src-KHCWIS4Q.cjs} +18 -18
- package/dist/src-KHCWIS4Q.cjs.map +1 -0
- package/dist/{src-X5MIV3EB.js → src-RSN4U2T2.js} +5 -5
- package/dist/src-RSN4U2T2.js.map +1 -0
- package/dist/{src-L5SI5WNB.js → src-XCV6BTSV.js} +4 -4
- package/dist/{src-X5MIV3EB.js.map → src-XCV6BTSV.js.map} +1 -1
- package/dist/tokens.cjs +4 -4
- package/dist/tokens.js +3 -3
- package/dist/x402.cjs +26 -26
- package/dist/x402.js +3 -3
- package/package.json +113 -29
- package/dist/UserClient-2J6XMTNV.cjs +0 -15
- package/dist/UserClient-AIIHB54I.js +0 -6
- package/dist/chunk-6QYXGMCR.js.map +0 -1
- package/dist/chunk-G3UJC4EL.js.map +0 -1
- package/dist/chunk-IC3G6YM2.js.map +0 -1
- package/dist/chunk-S5IKOOUR.cjs.map +0 -1
- package/dist/chunk-TFLZETWB.cjs.map +0 -1
- package/dist/src-ENPA7D2S.cjs.map +0 -1
- package/dist/src-L5SI5WNB.js.map +0 -1
- package/dist/src-TQKEO2I4.cjs.map +0 -1
package/dist/kms.d.cts
CHANGED
|
@@ -927,19 +927,19 @@ declare const AIRACCOUNT_ADDRESSES: {
|
|
|
927
927
|
tierGuardHookM7r4: string;
|
|
928
928
|
/** @deprecated */
|
|
929
929
|
agentSessionKeyValidatorM7r4: string;
|
|
930
|
-
factory: "
|
|
931
|
-
factoryM7: "
|
|
932
|
-
accountImpl: "
|
|
933
|
-
validatorRouter: "
|
|
934
|
-
blsAlgorithm: "
|
|
935
|
-
blsAggregator: "
|
|
930
|
+
factory: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
|
|
931
|
+
factoryM7: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
|
|
932
|
+
accountImpl: "0xd51db7eB20FF99c8588281CBe1785681Bb17D473";
|
|
933
|
+
validatorRouter: "0xfcDfd17a373E037c3F9C8ffE2c781915E7Ae6e11";
|
|
934
|
+
blsAlgorithm: "0xAF525A161CB17e0A1b6254ef0B8d8473bdA05174";
|
|
935
|
+
blsAggregator: "0x35775df9a4f4dB42Ea0C46118a12dDd0cEc70609";
|
|
936
936
|
superPaymaster: "0x030025f40d509b1a99547bAEb3795bD27F7182b7";
|
|
937
|
-
sessionKeyValidator: "
|
|
938
|
-
forceExitModule: "
|
|
939
|
-
airAccountDelegate: "
|
|
940
|
-
airAccountExtension: "
|
|
941
|
-
agentRegistry: "
|
|
942
|
-
calldataParserRegistry: "
|
|
937
|
+
sessionKeyValidator: "0x6810CfB7c72D16e044a17694fAa8076e517264D0";
|
|
938
|
+
forceExitModule: "0x3fDe77868b74a7979A40a2293a1CD265fbe66EEc";
|
|
939
|
+
airAccountDelegate: "0xd2735E54C5f5f2BF523b8a9ddd0E183624c3f2c0";
|
|
940
|
+
airAccountExtension: "0x5529f50811814E0a4966cFC21200DCeF9C3FCb5B";
|
|
941
|
+
agentRegistry: "0xbcE1163817EEBA2E07d39424427B10937bF1D121";
|
|
942
|
+
calldataParserRegistry: "0x7dEea4544446826601014bD94d0F6432A67496F5";
|
|
943
943
|
uniswapV3Parser: string;
|
|
944
944
|
};
|
|
945
945
|
};
|
|
@@ -1796,6 +1796,8 @@ interface OapdConfig {
|
|
|
1796
1796
|
*/
|
|
1797
1797
|
initConfig: {
|
|
1798
1798
|
guardians: [string, string, string];
|
|
1799
|
+
guardianP256X: [string, string, string];
|
|
1800
|
+
guardianP256Y: [string, string, string];
|
|
1799
1801
|
dailyLimit: bigint;
|
|
1800
1802
|
approvedAlgIds: number[];
|
|
1801
1803
|
minDailyLimit: bigint;
|
|
@@ -2037,6 +2039,54 @@ declare class RecoveryService {
|
|
|
2037
2039
|
* @param guardianSigs EIP-191 guardian signatures over the removal hash.
|
|
2038
2040
|
*/
|
|
2039
2041
|
encodeRemoveGuardian(index: number, guardianSigs: string[]): string;
|
|
2042
|
+
/**
|
|
2043
|
+
* Build the RAW (un-prefixed) challenge hash that each guardian must sign to
|
|
2044
|
+
* authorize `removeGuardian(index, ...)` / `removeGuardianWithMixedSigs(...)`.
|
|
2045
|
+
*
|
|
2046
|
+
* ## v0.20.0 breaking change (#120 final-review [HIGH], spec §6.4)
|
|
2047
|
+
* The signed `opData` changed from `abi.encode(nonce, guardianToRemove)` to
|
|
2048
|
+
* `abi.encode(nonce, index, guardianToRemove, p256X, p256Y)` — it now binds the
|
|
2049
|
+
* SLOT INDEX and the slot's P-256 key. Because P-256 guardians all share the
|
|
2050
|
+
* sentinel address, the old 2-field payload was identical for every P-256 slot,
|
|
2051
|
+
* so a signature collected to remove slot A could be replayed to remove slot B
|
|
2052
|
+
* (or survive a key rotation). The new 5-field payload affects EVERY removal,
|
|
2053
|
+
* including the plain ECDSA path: for an ECDSA slot `p256X`/`p256Y` are both
|
|
2054
|
+
* `bytes32(0)`, but the payload STRUCTURE (extra `index` + two key words) still
|
|
2055
|
+
* changed, so the ECDSA `removeGuardian` signing payload MUST use this encoding.
|
|
2056
|
+
*
|
|
2057
|
+
* Hash construction (matches `AAStarAirAccountBase._guardianOpHash`):
|
|
2058
|
+
* ```
|
|
2059
|
+
* opData = abi.encode(uint256 nonce, uint8 index, address guardianToRemove,
|
|
2060
|
+
* bytes32 p256X, bytes32 p256Y)
|
|
2061
|
+
* challenge = keccak256(abi.encode(uint8 GUARDIAN_SIG_VERSION, uint256 chainId,
|
|
2062
|
+
* address account, "REMOVE_GUARDIAN", bytes opData))
|
|
2063
|
+
* ```
|
|
2064
|
+
* The contract additionally applies `toEthSignedMessageHash()` before
|
|
2065
|
+
* `ecrecover`, so this returns the RAW inner hash and each guardian signs it via
|
|
2066
|
+
* `personal_sign` / `signMessage({ raw: hash })` (which adds the EIP-191 prefix).
|
|
2067
|
+
* Do NOT pre-apply the prefix here (mirrors `buildGuardianAcceptanceHash`).
|
|
2068
|
+
*
|
|
2069
|
+
* @param account The AirAccount address whose guardian is being removed.
|
|
2070
|
+
* @param chainId EVM chain id (bound into the challenge).
|
|
2071
|
+
* @param removalNonce Current `_guardianRemovalNonce` — there is no on-chain
|
|
2072
|
+
* getter (internal storage slot 15), so the caller tracks
|
|
2073
|
+
* it (starts at 0, increments once per successful removal).
|
|
2074
|
+
* @param index Guardian slot being removed (0-indexed, < guardianCount).
|
|
2075
|
+
* @param guardianToRemove Address stored in that slot (a P-256 slot stores
|
|
2076
|
+
* {@link P256_GUARDIAN_SENTINEL}; an ECDSA slot stores the EOA).
|
|
2077
|
+
* @param p256X Slot's P-256 x coordinate; `bytes32(0)` for an ECDSA slot (default).
|
|
2078
|
+
* @param p256Y Slot's P-256 y coordinate; `bytes32(0)` for an ECDSA slot (default).
|
|
2079
|
+
* @returns raw hex keccak256 challenge — guardians sign it with `personal_sign`.
|
|
2080
|
+
*/
|
|
2081
|
+
buildRemoveGuardianHash(args: {
|
|
2082
|
+
account: string;
|
|
2083
|
+
chainId: number | bigint;
|
|
2084
|
+
removalNonce: bigint;
|
|
2085
|
+
index: number;
|
|
2086
|
+
guardianToRemove: string;
|
|
2087
|
+
p256X?: Hex;
|
|
2088
|
+
p256Y?: Hex;
|
|
2089
|
+
}): Hex;
|
|
2040
2090
|
/**
|
|
2041
2091
|
* Encode `proposeRecovery(newOwner)` calldata. **Any guardian** may call.
|
|
2042
2092
|
* Starts the {@link RECOVERY_TIMELOCK_SECONDS} timelock and records the
|
package/dist/kms.d.ts
CHANGED
|
@@ -927,19 +927,19 @@ declare const AIRACCOUNT_ADDRESSES: {
|
|
|
927
927
|
tierGuardHookM7r4: string;
|
|
928
928
|
/** @deprecated */
|
|
929
929
|
agentSessionKeyValidatorM7r4: string;
|
|
930
|
-
factory: "
|
|
931
|
-
factoryM7: "
|
|
932
|
-
accountImpl: "
|
|
933
|
-
validatorRouter: "
|
|
934
|
-
blsAlgorithm: "
|
|
935
|
-
blsAggregator: "
|
|
930
|
+
factory: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
|
|
931
|
+
factoryM7: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
|
|
932
|
+
accountImpl: "0xd51db7eB20FF99c8588281CBe1785681Bb17D473";
|
|
933
|
+
validatorRouter: "0xfcDfd17a373E037c3F9C8ffE2c781915E7Ae6e11";
|
|
934
|
+
blsAlgorithm: "0xAF525A161CB17e0A1b6254ef0B8d8473bdA05174";
|
|
935
|
+
blsAggregator: "0x35775df9a4f4dB42Ea0C46118a12dDd0cEc70609";
|
|
936
936
|
superPaymaster: "0x030025f40d509b1a99547bAEb3795bD27F7182b7";
|
|
937
|
-
sessionKeyValidator: "
|
|
938
|
-
forceExitModule: "
|
|
939
|
-
airAccountDelegate: "
|
|
940
|
-
airAccountExtension: "
|
|
941
|
-
agentRegistry: "
|
|
942
|
-
calldataParserRegistry: "
|
|
937
|
+
sessionKeyValidator: "0x6810CfB7c72D16e044a17694fAa8076e517264D0";
|
|
938
|
+
forceExitModule: "0x3fDe77868b74a7979A40a2293a1CD265fbe66EEc";
|
|
939
|
+
airAccountDelegate: "0xd2735E54C5f5f2BF523b8a9ddd0E183624c3f2c0";
|
|
940
|
+
airAccountExtension: "0x5529f50811814E0a4966cFC21200DCeF9C3FCb5B";
|
|
941
|
+
agentRegistry: "0xbcE1163817EEBA2E07d39424427B10937bF1D121";
|
|
942
|
+
calldataParserRegistry: "0x7dEea4544446826601014bD94d0F6432A67496F5";
|
|
943
943
|
uniswapV3Parser: string;
|
|
944
944
|
};
|
|
945
945
|
};
|
|
@@ -1796,6 +1796,8 @@ interface OapdConfig {
|
|
|
1796
1796
|
*/
|
|
1797
1797
|
initConfig: {
|
|
1798
1798
|
guardians: [string, string, string];
|
|
1799
|
+
guardianP256X: [string, string, string];
|
|
1800
|
+
guardianP256Y: [string, string, string];
|
|
1799
1801
|
dailyLimit: bigint;
|
|
1800
1802
|
approvedAlgIds: number[];
|
|
1801
1803
|
minDailyLimit: bigint;
|
|
@@ -2037,6 +2039,54 @@ declare class RecoveryService {
|
|
|
2037
2039
|
* @param guardianSigs EIP-191 guardian signatures over the removal hash.
|
|
2038
2040
|
*/
|
|
2039
2041
|
encodeRemoveGuardian(index: number, guardianSigs: string[]): string;
|
|
2042
|
+
/**
|
|
2043
|
+
* Build the RAW (un-prefixed) challenge hash that each guardian must sign to
|
|
2044
|
+
* authorize `removeGuardian(index, ...)` / `removeGuardianWithMixedSigs(...)`.
|
|
2045
|
+
*
|
|
2046
|
+
* ## v0.20.0 breaking change (#120 final-review [HIGH], spec §6.4)
|
|
2047
|
+
* The signed `opData` changed from `abi.encode(nonce, guardianToRemove)` to
|
|
2048
|
+
* `abi.encode(nonce, index, guardianToRemove, p256X, p256Y)` — it now binds the
|
|
2049
|
+
* SLOT INDEX and the slot's P-256 key. Because P-256 guardians all share the
|
|
2050
|
+
* sentinel address, the old 2-field payload was identical for every P-256 slot,
|
|
2051
|
+
* so a signature collected to remove slot A could be replayed to remove slot B
|
|
2052
|
+
* (or survive a key rotation). The new 5-field payload affects EVERY removal,
|
|
2053
|
+
* including the plain ECDSA path: for an ECDSA slot `p256X`/`p256Y` are both
|
|
2054
|
+
* `bytes32(0)`, but the payload STRUCTURE (extra `index` + two key words) still
|
|
2055
|
+
* changed, so the ECDSA `removeGuardian` signing payload MUST use this encoding.
|
|
2056
|
+
*
|
|
2057
|
+
* Hash construction (matches `AAStarAirAccountBase._guardianOpHash`):
|
|
2058
|
+
* ```
|
|
2059
|
+
* opData = abi.encode(uint256 nonce, uint8 index, address guardianToRemove,
|
|
2060
|
+
* bytes32 p256X, bytes32 p256Y)
|
|
2061
|
+
* challenge = keccak256(abi.encode(uint8 GUARDIAN_SIG_VERSION, uint256 chainId,
|
|
2062
|
+
* address account, "REMOVE_GUARDIAN", bytes opData))
|
|
2063
|
+
* ```
|
|
2064
|
+
* The contract additionally applies `toEthSignedMessageHash()` before
|
|
2065
|
+
* `ecrecover`, so this returns the RAW inner hash and each guardian signs it via
|
|
2066
|
+
* `personal_sign` / `signMessage({ raw: hash })` (which adds the EIP-191 prefix).
|
|
2067
|
+
* Do NOT pre-apply the prefix here (mirrors `buildGuardianAcceptanceHash`).
|
|
2068
|
+
*
|
|
2069
|
+
* @param account The AirAccount address whose guardian is being removed.
|
|
2070
|
+
* @param chainId EVM chain id (bound into the challenge).
|
|
2071
|
+
* @param removalNonce Current `_guardianRemovalNonce` — there is no on-chain
|
|
2072
|
+
* getter (internal storage slot 15), so the caller tracks
|
|
2073
|
+
* it (starts at 0, increments once per successful removal).
|
|
2074
|
+
* @param index Guardian slot being removed (0-indexed, < guardianCount).
|
|
2075
|
+
* @param guardianToRemove Address stored in that slot (a P-256 slot stores
|
|
2076
|
+
* {@link P256_GUARDIAN_SENTINEL}; an ECDSA slot stores the EOA).
|
|
2077
|
+
* @param p256X Slot's P-256 x coordinate; `bytes32(0)` for an ECDSA slot (default).
|
|
2078
|
+
* @param p256Y Slot's P-256 y coordinate; `bytes32(0)` for an ECDSA slot (default).
|
|
2079
|
+
* @returns raw hex keccak256 challenge — guardians sign it with `personal_sign`.
|
|
2080
|
+
*/
|
|
2081
|
+
buildRemoveGuardianHash(args: {
|
|
2082
|
+
account: string;
|
|
2083
|
+
chainId: number | bigint;
|
|
2084
|
+
removalNonce: bigint;
|
|
2085
|
+
index: number;
|
|
2086
|
+
guardianToRemove: string;
|
|
2087
|
+
p256X?: Hex;
|
|
2088
|
+
p256Y?: Hex;
|
|
2089
|
+
}): Hex;
|
|
2040
2090
|
/**
|
|
2041
2091
|
* Encode `proposeRecovery(newOwner)` calldata. **Any guardian** may call.
|
|
2042
2092
|
* Starts the {@link RECOVERY_TIMELOCK_SECONDS} timelock and records the
|
package/dist/kms.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ACCOUNT_ABI, AGENT_SESSION_KEY_VALIDATOR_ABI, AIRACCOUNT_ABI, AIRACCOUNT_ADDRESSES, AIRACCOUNT_FACTORY_ABI, AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI, AIR_ACCOUNT_DELEGATE_ABI, AIR_ACCOUNT_DELEGATE_ADDRESS, ALG_ID, AccountManager, AgentRegistryService, AirAccountServerClient, BLSSignatureService, CALLDATA_PARSER_REGISTRY_ABI, ConsoleLogger, DEFAULT_CREDENTIAL_ID, DEFAULT_KMS_ENDPOINT, DEFAULT_ORIGIN, DEFAULT_RP_ID, DvtPendingConfirmationError, EIP7702DelegateService, ENTRYPOINT_ABI_V6, ENTRYPOINT_ABI_V7_V8, ENTRYPOINT_ADDRESSES, ERC20_ABI, ERC8004Service, ERC8004_ADDRESSES, EXECUTE_BATCH_SELECTOR, EXECUTE_SELECTOR, EXECUTE_USER_OP_SELECTOR, EntryPointVersion, EthereumProvider, FACTORY_ABI_V6, FACTORY_ABI_V7_V8, FORCE_EXIT_MODULE_ABI, ForceExitService, GLOBAL_GUARD_ABI, GuardChecker, GuardStateReader, KmsAgentService, KmsHttpClient, KmsManager, KmsMonitorService, KmsPaymentSigner, KmsSessionService, KmsSigner, L2_TYPE, LocalWalletSigner, MAX_GUARDIANS, MODULE_TYPE, MemoryStorage, ModuleManager, P256PasskeySigner, PaymasterManager, PaymasterPriceStalenessError, RECOVERY_THRESHOLD, RECOVERY_TIMELOCK_SECONDS, RecoveryService, SESSION_KEY_VALIDATOR_ABI, SessionKeyService, SilentLogger, TIER_GUARD_HOOK_ABI, TokenService, TransferManager, VALIDATOR_ABI, WEIGHT_CHANGE_EXPIRY_SECONDS, WEIGHT_CHANGE_THRESHOLD, WEIGHT_CHANGE_TIMELOCK_SECONDS, WalletManager, WeightedSignatureService, YAAAServerClient, base64UrlDecode, base64UrlEncode, beginAuthenticationChallenge, beginGrantSessionChallenge, buildAuthenticationCredential, buildAuthenticatorData, buildClientDataJSON, buildInstallModuleHash, buildUninstallModuleHash, computeOapdSalt, erc8004AddressesForChain, getOapdAddress, getOapdAddressWithChainId, isExecuteUserOpWrapped, isOapdDeployed, isPendingConfirmation, packP256SessionSignature, packSecp256k1SessionSignature, runAuthenticationCeremony, runGrantSessionCeremony, runWebAuthnCeremony, sepoliaV07Config, validateConfig, wrapExecuteUserOp } from './chunk-
|
|
1
|
+
export { ACCOUNT_ABI, AGENT_SESSION_KEY_VALIDATOR_ABI, AIRACCOUNT_ABI, AIRACCOUNT_ADDRESSES, AIRACCOUNT_FACTORY_ABI, AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI, AIR_ACCOUNT_DELEGATE_ABI, AIR_ACCOUNT_DELEGATE_ADDRESS, ALG_ID, AccountManager, AgentRegistryService, AirAccountServerClient, BLSSignatureService, CALLDATA_PARSER_REGISTRY_ABI, ConsoleLogger, DEFAULT_CREDENTIAL_ID, DEFAULT_KMS_ENDPOINT, DEFAULT_ORIGIN, DEFAULT_RP_ID, DvtPendingConfirmationError, EIP7702DelegateService, ENTRYPOINT_ABI_V6, ENTRYPOINT_ABI_V7_V8, ENTRYPOINT_ADDRESSES, ERC20_ABI, ERC8004Service, ERC8004_ADDRESSES, EXECUTE_BATCH_SELECTOR, EXECUTE_SELECTOR, EXECUTE_USER_OP_SELECTOR, EntryPointVersion, EthereumProvider, FACTORY_ABI_V6, FACTORY_ABI_V7_V8, FORCE_EXIT_MODULE_ABI, ForceExitService, GLOBAL_GUARD_ABI, GuardChecker, GuardStateReader, KmsAgentService, KmsHttpClient, KmsManager, KmsMonitorService, KmsPaymentSigner, KmsSessionService, KmsSigner, L2_TYPE, LocalWalletSigner, MAX_GUARDIANS, MODULE_TYPE, MemoryStorage, ModuleManager, P256PasskeySigner, PaymasterManager, PaymasterPriceStalenessError, RECOVERY_THRESHOLD, RECOVERY_TIMELOCK_SECONDS, RecoveryService, SESSION_KEY_VALIDATOR_ABI, SessionKeyService, SilentLogger, TIER_GUARD_HOOK_ABI, TokenService, TransferManager, VALIDATOR_ABI, WEIGHT_CHANGE_EXPIRY_SECONDS, WEIGHT_CHANGE_THRESHOLD, WEIGHT_CHANGE_TIMELOCK_SECONDS, WalletManager, WeightedSignatureService, YAAAServerClient, base64UrlDecode, base64UrlEncode, beginAuthenticationChallenge, beginGrantSessionChallenge, buildAuthenticationCredential, buildAuthenticatorData, buildClientDataJSON, buildInstallModuleHash, buildUninstallModuleHash, computeOapdSalt, erc8004AddressesForChain, getOapdAddress, getOapdAddressWithChainId, isExecuteUserOpWrapped, isOapdDeployed, isPendingConfirmation, packP256SessionSignature, packSecp256k1SessionSignature, runAuthenticationCeremony, runGrantSessionCeremony, runWebAuthnCeremony, sepoliaV07Config, validateConfig, wrapExecuteUserOp } from './chunk-6OWZOTE7.js';
|
|
2
2
|
export { ALG_BLS, ALG_CUMULATIVE_T2, ALG_CUMULATIVE_T3, ALG_ECDSA, ALG_P256, AirAccountClient, BLSManager, CryptoUtil, DEFAULT_PASSKEY_ROUTES, ERC4337Utils, PasskeyManager, UserOpBuilder, YAAAClient, algIdForTier, resolveTier } from './chunk-X3AMH53O.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-M5WFKETT.js';
|
|
4
|
+
import './chunk-UCLK6LTB.js';
|
|
5
5
|
import './chunk-PZ5AY32C.js';
|
|
6
6
|
//# sourceMappingURL=kms.js.map
|
|
7
7
|
//# sourceMappingURL=kms.js.map
|
package/dist/operator.cjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkIJN776TA_cjs = require('./chunk-IJN776TA.cjs');
|
|
4
|
+
require('./chunk-CIEYY3A6.cjs');
|
|
5
|
+
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "OperatorLifecycle", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkIJN776TA_cjs.OperatorLifecycle; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "PaymasterOperatorClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkIJN776TA_cjs.PaymasterOperatorClient; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "ProposalState", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkIJN776TA_cjs.ProposalState; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "ProtocolClient", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkIJN776TA_cjs.ProtocolClient; }
|
|
25
25
|
});
|
|
26
26
|
//# sourceMappingURL=operator.cjs.map
|
|
27
27
|
//# sourceMappingURL=operator.cjs.map
|
package/dist/operator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { OperatorLifecycle, PaymasterOperatorClient, ProposalState, ProtocolClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { OperatorLifecycle, PaymasterOperatorClient, ProposalState, ProtocolClient } from './chunk-DQBKE4ND.js';
|
|
2
|
+
import './chunk-M5WFKETT.js';
|
|
3
|
+
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
//# sourceMappingURL=operator.js.map
|
|
6
6
|
//# sourceMappingURL=operator.js.map
|
package/dist/paymaster.cjs
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkGAMSWXWI_cjs = require('./chunk-GAMSWXWI.cjs');
|
|
4
|
+
require('./chunk-CIEYY3A6.cjs');
|
|
5
|
+
require('./chunk-MXJEULSE.cjs');
|
|
6
6
|
require('./chunk-Q7SFCCGT.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "PaymasterClient", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkGAMSWXWI_cjs.PaymasterClient; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "PaymasterManager", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkGAMSWXWI_cjs.PaymasterManager; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "PaymasterOperator", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkGAMSWXWI_cjs.PaymasterOperator; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "SuperPaymasterAdminClient", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkGAMSWXWI_cjs.SuperPaymasterAdminClient; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "SuperPaymasterClient", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkGAMSWXWI_cjs.SuperPaymasterClient; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "buildPaymasterData", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkGAMSWXWI_cjs.buildPaymasterData; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "buildSuperPaymasterData", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkGAMSWXWI_cjs.buildSuperPaymasterData; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "checkEligibility", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkGAMSWXWI_cjs.checkEligibility; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "formatUserOpV07", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkGAMSWXWI_cjs.formatUserOpV07; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "getPaymasterV4Middleware", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkGAMSWXWI_cjs.getPaymasterV4Middleware; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "getSuperPaymasterMiddleware", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkGAMSWXWI_cjs.getSuperPaymasterMiddleware; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "getUserOpHashV07", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkGAMSWXWI_cjs.getUserOpHashV07; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "tuneGasLimit", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkGAMSWXWI_cjs.tuneGasLimit; }
|
|
61
61
|
});
|
|
62
62
|
//# sourceMappingURL=paymaster.cjs.map
|
|
63
63
|
//# sourceMappingURL=paymaster.cjs.map
|
package/dist/paymaster.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PaymasterClient, PaymasterManager, PaymasterOperator, SuperPaymasterAdminClient, SuperPaymasterClient, buildPaymasterData, buildSuperPaymasterData, checkEligibility, formatUserOpV07, getPaymasterV4Middleware, getSuperPaymasterMiddleware, getUserOpHashV07, tuneGasLimit } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { PaymasterClient, PaymasterManager, PaymasterOperator, SuperPaymasterAdminClient, SuperPaymasterClient, buildPaymasterData, buildSuperPaymasterData, checkEligibility, formatUserOpV07, getPaymasterV4Middleware, getSuperPaymasterMiddleware, getUserOpHashV07, tuneGasLimit } from './chunk-RXPSL33E.js';
|
|
2
|
+
import './chunk-M5WFKETT.js';
|
|
3
|
+
import './chunk-UCLK6LTB.js';
|
|
4
4
|
import './chunk-PZ5AY32C.js';
|
|
5
5
|
//# sourceMappingURL=paymaster.js.map
|
|
6
6
|
//# sourceMappingURL=paymaster.js.map
|