@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.
Files changed (113) hide show
  1. package/dist/UserClient-BDGP37PK.js +6 -0
  2. package/dist/{UserClient-AIIHB54I.js.map → UserClient-BDGP37PK.js.map} +1 -1
  3. package/dist/UserClient-FOAOBLGK.cjs +15 -0
  4. package/dist/{UserClient-2J6XMTNV.cjs.map → UserClient-FOAOBLGK.cjs.map} +1 -1
  5. package/dist/account.cjs +8 -8
  6. package/dist/account.js +3 -3
  7. package/dist/admin.cjs +4 -4
  8. package/dist/admin.js +3 -3
  9. package/dist/airaccount.cjs +98 -98
  10. package/dist/airaccount.js +3 -3
  11. package/dist/channel.cjs +7 -7
  12. package/dist/channel.js +3 -3
  13. package/dist/{chunk-GRDC6ZRA.cjs → chunk-3HZEIFBW.cjs} +5 -5
  14. package/dist/{chunk-GRDC6ZRA.cjs.map → chunk-3HZEIFBW.cjs.map} +1 -1
  15. package/dist/{chunk-7ARJ3OSU.js → chunk-57XLR2NT.js} +3 -3
  16. package/dist/{chunk-7ARJ3OSU.js.map → chunk-57XLR2NT.js.map} +1 -1
  17. package/dist/{chunk-QLF7N6H7.cjs → chunk-5JFYTJOE.cjs} +4 -4
  18. package/dist/{chunk-QLF7N6H7.cjs.map → chunk-5JFYTJOE.cjs.map} +1 -1
  19. package/dist/{chunk-KDH3UPKD.js → chunk-5NKU5NT5.js} +8 -8
  20. package/dist/{chunk-KDH3UPKD.js.map → chunk-5NKU5NT5.js.map} +1 -1
  21. package/dist/{chunk-WQREDGUF.cjs → chunk-63JM67L7.cjs} +26 -26
  22. package/dist/{chunk-WQREDGUF.cjs.map → chunk-63JM67L7.cjs.map} +1 -1
  23. package/dist/{chunk-IC3G6YM2.js → chunk-6OWZOTE7.js} +113 -9
  24. package/dist/chunk-6OWZOTE7.js.map +1 -0
  25. package/dist/{chunk-FTJD2DWE.cjs → chunk-CIEYY3A6.cjs} +870 -83
  26. package/dist/chunk-CIEYY3A6.cjs.map +1 -0
  27. package/dist/{chunk-GX7NROST.cjs → chunk-DEUBKZH5.cjs} +16 -16
  28. package/dist/{chunk-GX7NROST.cjs.map → chunk-DEUBKZH5.cjs.map} +1 -1
  29. package/dist/{chunk-TENYCMJ3.js → chunk-DF4WVR2H.js} +9 -9
  30. package/dist/{chunk-TENYCMJ3.js.map → chunk-DF4WVR2H.js.map} +1 -1
  31. package/dist/{chunk-BN5WY5GM.js → chunk-DQBKE4ND.js} +4 -4
  32. package/dist/{chunk-BN5WY5GM.js.map → chunk-DQBKE4ND.js.map} +1 -1
  33. package/dist/{chunk-4EZD7LPE.js → chunk-E4CQFW75.js} +3 -3
  34. package/dist/{chunk-4EZD7LPE.js.map → chunk-E4CQFW75.js.map} +1 -1
  35. package/dist/{chunk-LXWIPTPX.js → chunk-ENSMYCU6.js} +3 -3
  36. package/dist/{chunk-LXWIPTPX.js.map → chunk-ENSMYCU6.js.map} +1 -1
  37. package/dist/{chunk-FJ7XECC5.js → chunk-EY2AJTGV.js} +3 -3
  38. package/dist/{chunk-FJ7XECC5.js.map → chunk-EY2AJTGV.js.map} +1 -1
  39. package/dist/{chunk-2RCJBWPO.cjs → chunk-GAMSWXWI.cjs} +11 -11
  40. package/dist/{chunk-2RCJBWPO.cjs.map → chunk-GAMSWXWI.cjs.map} +1 -1
  41. package/dist/{chunk-MRREGCWN.cjs → chunk-IJN776TA.cjs} +32 -32
  42. package/dist/{chunk-MRREGCWN.cjs.map → chunk-IJN776TA.cjs.map} +1 -1
  43. package/dist/{chunk-PKCHRXFR.js → chunk-KZERVPUR.js} +3 -3
  44. package/dist/{chunk-PKCHRXFR.js.map → chunk-KZERVPUR.js.map} +1 -1
  45. package/dist/{chunk-6QYXGMCR.js → chunk-M5WFKETT.js} +833 -47
  46. package/dist/{chunk-FTJD2DWE.cjs.map → chunk-M5WFKETT.js.map} +1 -1
  47. package/dist/{chunk-HSVQIFIK.cjs → chunk-M7HXR7G5.cjs} +5 -5
  48. package/dist/{chunk-HSVQIFIK.cjs.map → chunk-M7HXR7G5.cjs.map} +1 -1
  49. package/dist/{chunk-PAABYXS6.js → chunk-MCALA6WM.js} +6 -6
  50. package/dist/{chunk-PAABYXS6.js.map → chunk-MCALA6WM.js.map} +1 -1
  51. package/dist/{chunk-S5IKOOUR.cjs → chunk-MXJEULSE.cjs} +39 -36
  52. package/dist/chunk-MXJEULSE.cjs.map +1 -0
  53. package/dist/{chunk-TFLZETWB.cjs → chunk-OVNOSAL3.cjs} +113 -9
  54. package/dist/chunk-OVNOSAL3.cjs.map +1 -0
  55. package/dist/{chunk-MVEWJIPY.js → chunk-RXPSL33E.js} +3 -3
  56. package/dist/{chunk-MVEWJIPY.js.map → chunk-RXPSL33E.js.map} +1 -1
  57. package/dist/{chunk-G3UJC4EL.js → chunk-UCLK6LTB.js} +39 -36
  58. package/dist/chunk-UCLK6LTB.js.map +1 -0
  59. package/dist/{chunk-JTWY2XEG.cjs → chunk-WR4OZUXR.cjs} +6 -6
  60. package/dist/{chunk-JTWY2XEG.cjs.map → chunk-WR4OZUXR.cjs.map} +1 -1
  61. package/dist/{chunk-NT26BDGN.cjs → chunk-Y4EJX7UA.cjs} +12 -12
  62. package/dist/{chunk-NT26BDGN.cjs.map → chunk-Y4EJX7UA.cjs.map} +1 -1
  63. package/dist/{chunk-RNHSA3LO.cjs → chunk-Z4GZ6DQA.cjs} +9 -9
  64. package/dist/{chunk-RNHSA3LO.cjs.map → chunk-Z4GZ6DQA.cjs.map} +1 -1
  65. package/dist/{contract-addresses-TANQ5DLX.cjs → contract-addresses-RABD77VP.cjs} +13 -13
  66. package/dist/{contract-addresses-TANQ5DLX.cjs.map → contract-addresses-RABD77VP.cjs.map} +1 -1
  67. package/dist/{contract-addresses-N3TOL2WL.js → contract-addresses-TVXSRQ7I.js} +3 -3
  68. package/dist/{contract-addresses-N3TOL2WL.js.map → contract-addresses-TVXSRQ7I.js.map} +1 -1
  69. package/dist/core.cjs +227 -223
  70. package/dist/core.d.cts +130 -12
  71. package/dist/core.d.ts +130 -12
  72. package/dist/core.js +2 -2
  73. package/dist/dapp.cjs +6 -6
  74. package/dist/dapp.js +3 -3
  75. package/dist/enduser.cjs +7 -7
  76. package/dist/enduser.js +4 -4
  77. package/dist/identity.cjs +6 -6
  78. package/dist/identity.js +3 -3
  79. package/dist/index.cjs +340 -336
  80. package/dist/index.d.cts +1 -1
  81. package/dist/index.d.ts +1 -1
  82. package/dist/index.js +17 -17
  83. package/dist/kms.cjs +98 -98
  84. package/dist/kms.d.cts +62 -12
  85. package/dist/kms.d.ts +62 -12
  86. package/dist/kms.js +3 -3
  87. package/dist/operator.cjs +7 -7
  88. package/dist/operator.js +3 -3
  89. package/dist/paymaster.cjs +16 -16
  90. package/dist/paymaster.js +3 -3
  91. package/dist/{src-TQKEO2I4.cjs → src-CUHI6G6W.cjs} +229 -225
  92. package/dist/src-CUHI6G6W.cjs.map +1 -0
  93. package/dist/{src-ENPA7D2S.cjs → src-KHCWIS4Q.cjs} +18 -18
  94. package/dist/src-KHCWIS4Q.cjs.map +1 -0
  95. package/dist/{src-X5MIV3EB.js → src-RSN4U2T2.js} +5 -5
  96. package/dist/src-RSN4U2T2.js.map +1 -0
  97. package/dist/{src-L5SI5WNB.js → src-XCV6BTSV.js} +4 -4
  98. package/dist/{src-X5MIV3EB.js.map → src-XCV6BTSV.js.map} +1 -1
  99. package/dist/tokens.cjs +4 -4
  100. package/dist/tokens.js +3 -3
  101. package/dist/x402.cjs +26 -26
  102. package/dist/x402.js +3 -3
  103. package/package.json +113 -29
  104. package/dist/UserClient-2J6XMTNV.cjs +0 -15
  105. package/dist/UserClient-AIIHB54I.js +0 -6
  106. package/dist/chunk-6QYXGMCR.js.map +0 -1
  107. package/dist/chunk-G3UJC4EL.js.map +0 -1
  108. package/dist/chunk-IC3G6YM2.js.map +0 -1
  109. package/dist/chunk-S5IKOOUR.cjs.map +0 -1
  110. package/dist/chunk-TFLZETWB.cjs.map +0 -1
  111. package/dist/src-ENPA7D2S.cjs.map +0 -1
  112. package/dist/src-L5SI5WNB.js.map +0 -1
  113. 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: "0x52c5190E7308Ea9B149157FF016cC99B6C6bf984";
931
- factoryM7: "0x52c5190E7308Ea9B149157FF016cC99B6C6bf984";
932
- accountImpl: "0x7fe62d512f0b8238DE6Ff17175DcE40eA312bBF2";
933
- validatorRouter: "0xC20A986Bcd5bF5Cc2fE5fFde6b155B8419E0389e";
934
- blsAlgorithm: "0x68c381Ad3A2e3380F22840008027E9Ec2783F43A";
935
- blsAggregator: "0x77f7bf95B8602b7851f392F412257539242947e0";
930
+ factory: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
931
+ factoryM7: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
932
+ accountImpl: "0xd51db7eB20FF99c8588281CBe1785681Bb17D473";
933
+ validatorRouter: "0xfcDfd17a373E037c3F9C8ffE2c781915E7Ae6e11";
934
+ blsAlgorithm: "0xAF525A161CB17e0A1b6254ef0B8d8473bdA05174";
935
+ blsAggregator: "0x35775df9a4f4dB42Ea0C46118a12dDd0cEc70609";
936
936
  superPaymaster: "0x030025f40d509b1a99547bAEb3795bD27F7182b7";
937
- sessionKeyValidator: "0x70de2e36004d6Ddc24DEB80e1Ef76c03EdC0c2AE";
938
- forceExitModule: "0xd882a16Ea37Be463D1885EF4a397Dbbf157dC211";
939
- airAccountDelegate: "0xA8D7f70c9D36bC4a4eb14F0dCEE19053FCB3309f";
940
- airAccountExtension: "0xD61C0F3DE6D98070E9986743d35A56d56855A249";
941
- agentRegistry: "0x3895b3E6fEf4e121E6289dC7881A0eEd5283C652";
942
- calldataParserRegistry: "0xb8Af1C039dF88F6bD9fE36Ca683492a3c09e7D17";
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: "0x52c5190E7308Ea9B149157FF016cC99B6C6bf984";
931
- factoryM7: "0x52c5190E7308Ea9B149157FF016cC99B6C6bf984";
932
- accountImpl: "0x7fe62d512f0b8238DE6Ff17175DcE40eA312bBF2";
933
- validatorRouter: "0xC20A986Bcd5bF5Cc2fE5fFde6b155B8419E0389e";
934
- blsAlgorithm: "0x68c381Ad3A2e3380F22840008027E9Ec2783F43A";
935
- blsAggregator: "0x77f7bf95B8602b7851f392F412257539242947e0";
930
+ factory: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
931
+ factoryM7: "0x99C9300d52EDD9f4B7135DEd1811fBa6FFa1DDC6";
932
+ accountImpl: "0xd51db7eB20FF99c8588281CBe1785681Bb17D473";
933
+ validatorRouter: "0xfcDfd17a373E037c3F9C8ffE2c781915E7Ae6e11";
934
+ blsAlgorithm: "0xAF525A161CB17e0A1b6254ef0B8d8473bdA05174";
935
+ blsAggregator: "0x35775df9a4f4dB42Ea0C46118a12dDd0cEc70609";
936
936
  superPaymaster: "0x030025f40d509b1a99547bAEb3795bD27F7182b7";
937
- sessionKeyValidator: "0x70de2e36004d6Ddc24DEB80e1Ef76c03EdC0c2AE";
938
- forceExitModule: "0xd882a16Ea37Be463D1885EF4a397Dbbf157dC211";
939
- airAccountDelegate: "0xA8D7f70c9D36bC4a4eb14F0dCEE19053FCB3309f";
940
- airAccountExtension: "0xD61C0F3DE6D98070E9986743d35A56d56855A249";
941
- agentRegistry: "0x3895b3E6fEf4e121E6289dC7881A0eEd5283C652";
942
- calldataParserRegistry: "0xb8Af1C039dF88F6bD9fE36Ca683492a3c09e7D17";
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-IC3G6YM2.js';
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-6QYXGMCR.js';
4
- import './chunk-G3UJC4EL.js';
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 chunkMRREGCWN_cjs = require('./chunk-MRREGCWN.cjs');
4
- require('./chunk-FTJD2DWE.cjs');
5
- require('./chunk-S5IKOOUR.cjs');
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 chunkMRREGCWN_cjs.OperatorLifecycle; }
12
+ get: function () { return chunkIJN776TA_cjs.OperatorLifecycle; }
13
13
  });
14
14
  Object.defineProperty(exports, "PaymasterOperatorClient", {
15
15
  enumerable: true,
16
- get: function () { return chunkMRREGCWN_cjs.PaymasterOperatorClient; }
16
+ get: function () { return chunkIJN776TA_cjs.PaymasterOperatorClient; }
17
17
  });
18
18
  Object.defineProperty(exports, "ProposalState", {
19
19
  enumerable: true,
20
- get: function () { return chunkMRREGCWN_cjs.ProposalState; }
20
+ get: function () { return chunkIJN776TA_cjs.ProposalState; }
21
21
  });
22
22
  Object.defineProperty(exports, "ProtocolClient", {
23
23
  enumerable: true,
24
- get: function () { return chunkMRREGCWN_cjs.ProtocolClient; }
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-BN5WY5GM.js';
2
- import './chunk-6QYXGMCR.js';
3
- import './chunk-G3UJC4EL.js';
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
@@ -1,63 +1,63 @@
1
1
  'use strict';
2
2
 
3
- var chunk2RCJBWPO_cjs = require('./chunk-2RCJBWPO.cjs');
4
- require('./chunk-FTJD2DWE.cjs');
5
- require('./chunk-S5IKOOUR.cjs');
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 chunk2RCJBWPO_cjs.PaymasterClient; }
12
+ get: function () { return chunkGAMSWXWI_cjs.PaymasterClient; }
13
13
  });
14
14
  Object.defineProperty(exports, "PaymasterManager", {
15
15
  enumerable: true,
16
- get: function () { return chunk2RCJBWPO_cjs.PaymasterManager; }
16
+ get: function () { return chunkGAMSWXWI_cjs.PaymasterManager; }
17
17
  });
18
18
  Object.defineProperty(exports, "PaymasterOperator", {
19
19
  enumerable: true,
20
- get: function () { return chunk2RCJBWPO_cjs.PaymasterOperator; }
20
+ get: function () { return chunkGAMSWXWI_cjs.PaymasterOperator; }
21
21
  });
22
22
  Object.defineProperty(exports, "SuperPaymasterAdminClient", {
23
23
  enumerable: true,
24
- get: function () { return chunk2RCJBWPO_cjs.SuperPaymasterAdminClient; }
24
+ get: function () { return chunkGAMSWXWI_cjs.SuperPaymasterAdminClient; }
25
25
  });
26
26
  Object.defineProperty(exports, "SuperPaymasterClient", {
27
27
  enumerable: true,
28
- get: function () { return chunk2RCJBWPO_cjs.SuperPaymasterClient; }
28
+ get: function () { return chunkGAMSWXWI_cjs.SuperPaymasterClient; }
29
29
  });
30
30
  Object.defineProperty(exports, "buildPaymasterData", {
31
31
  enumerable: true,
32
- get: function () { return chunk2RCJBWPO_cjs.buildPaymasterData; }
32
+ get: function () { return chunkGAMSWXWI_cjs.buildPaymasterData; }
33
33
  });
34
34
  Object.defineProperty(exports, "buildSuperPaymasterData", {
35
35
  enumerable: true,
36
- get: function () { return chunk2RCJBWPO_cjs.buildSuperPaymasterData; }
36
+ get: function () { return chunkGAMSWXWI_cjs.buildSuperPaymasterData; }
37
37
  });
38
38
  Object.defineProperty(exports, "checkEligibility", {
39
39
  enumerable: true,
40
- get: function () { return chunk2RCJBWPO_cjs.checkEligibility; }
40
+ get: function () { return chunkGAMSWXWI_cjs.checkEligibility; }
41
41
  });
42
42
  Object.defineProperty(exports, "formatUserOpV07", {
43
43
  enumerable: true,
44
- get: function () { return chunk2RCJBWPO_cjs.formatUserOpV07; }
44
+ get: function () { return chunkGAMSWXWI_cjs.formatUserOpV07; }
45
45
  });
46
46
  Object.defineProperty(exports, "getPaymasterV4Middleware", {
47
47
  enumerable: true,
48
- get: function () { return chunk2RCJBWPO_cjs.getPaymasterV4Middleware; }
48
+ get: function () { return chunkGAMSWXWI_cjs.getPaymasterV4Middleware; }
49
49
  });
50
50
  Object.defineProperty(exports, "getSuperPaymasterMiddleware", {
51
51
  enumerable: true,
52
- get: function () { return chunk2RCJBWPO_cjs.getSuperPaymasterMiddleware; }
52
+ get: function () { return chunkGAMSWXWI_cjs.getSuperPaymasterMiddleware; }
53
53
  });
54
54
  Object.defineProperty(exports, "getUserOpHashV07", {
55
55
  enumerable: true,
56
- get: function () { return chunk2RCJBWPO_cjs.getUserOpHashV07; }
56
+ get: function () { return chunkGAMSWXWI_cjs.getUserOpHashV07; }
57
57
  });
58
58
  Object.defineProperty(exports, "tuneGasLimit", {
59
59
  enumerable: true,
60
- get: function () { return chunk2RCJBWPO_cjs.tuneGasLimit; }
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-MVEWJIPY.js';
2
- import './chunk-6QYXGMCR.js';
3
- import './chunk-G3UJC4EL.js';
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