@pafi-dev/core 0.5.13 → 0.5.15

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 (30) hide show
  1. package/dist/{chunk-2PY5RNVS.cjs → chunk-DX73FB4P.cjs} +11 -11
  2. package/dist/{chunk-2PY5RNVS.cjs.map → chunk-DX73FB4P.cjs.map} +1 -1
  3. package/dist/{chunk-3KMF6ST3.cjs → chunk-JJ2LGENO.cjs} +4 -4
  4. package/dist/{chunk-3KMF6ST3.cjs.map → chunk-JJ2LGENO.cjs.map} +1 -1
  5. package/dist/{chunk-ARZSGP5Y.cjs → chunk-L5UHQQVC.cjs} +6 -6
  6. package/dist/{chunk-ARZSGP5Y.cjs.map → chunk-L5UHQQVC.cjs.map} +1 -1
  7. package/dist/{chunk-WTWG6QXP.js → chunk-TXA4GK5C.js} +2 -2
  8. package/dist/{chunk-PYIJO5XF.js → chunk-VG23GIWQ.js} +2 -2
  9. package/dist/{chunk-N5M3BLOV.js → chunk-WAFUL62X.js} +2 -2
  10. package/dist/{chunk-52SZJDFT.cjs → chunk-X2JZFK4C.cjs} +4 -2
  11. package/dist/chunk-X2JZFK4C.cjs.map +1 -0
  12. package/dist/{chunk-S5CCEO4O.js → chunk-Y3HMGOYW.js} +3 -1
  13. package/dist/{chunk-S5CCEO4O.js.map → chunk-Y3HMGOYW.js.map} +1 -1
  14. package/dist/eip712/index.cjs +3 -3
  15. package/dist/eip712/index.js +2 -2
  16. package/dist/index.cjs +60 -66
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +27 -9
  19. package/dist/index.d.ts +27 -9
  20. package/dist/index.js +40 -46
  21. package/dist/index.js.map +1 -1
  22. package/dist/quoting/index.cjs +3 -3
  23. package/dist/quoting/index.js +2 -2
  24. package/dist/swap/index.cjs +3 -3
  25. package/dist/swap/index.js +2 -2
  26. package/package.json +1 -1
  27. package/dist/chunk-52SZJDFT.cjs.map +0 -1
  28. /package/dist/{chunk-WTWG6QXP.js.map → chunk-TXA4GK5C.js.map} +0 -0
  29. /package/dist/{chunk-PYIJO5XF.js.map → chunk-VG23GIWQ.js.map} +0 -0
  30. /package/dist/{chunk-N5M3BLOV.js.map → chunk-WAFUL62X.js.map} +0 -0
package/dist/index.cjs CHANGED
@@ -43,7 +43,7 @@ var _chunkLRHY7GORcjs = require('./chunk-LRHY7GOR.cjs');
43
43
 
44
44
 
45
45
 
46
- var _chunk2PY5RNVScjs = require('./chunk-2PY5RNVS.cjs');
46
+ var _chunkDX73FB4Pcjs = require('./chunk-DX73FB4P.cjs');
47
47
 
48
48
 
49
49
 
@@ -51,7 +51,7 @@ var _chunk2PY5RNVScjs = require('./chunk-2PY5RNVS.cjs');
51
51
 
52
52
 
53
53
 
54
- var _chunkARZSGP5Ycjs = require('./chunk-ARZSGP5Y.cjs');
54
+ var _chunkL5UHQQVCcjs = require('./chunk-L5UHQQVC.cjs');
55
55
 
56
56
 
57
57
  var _chunkCL3QSI4Ocjs = require('./chunk-CL3QSI4O.cjs');
@@ -82,7 +82,7 @@ var _chunkCL3QSI4Ocjs = require('./chunk-CL3QSI4O.cjs');
82
82
 
83
83
 
84
84
 
85
- var _chunk3KMF6ST3cjs = require('./chunk-3KMF6ST3.cjs');
85
+ var _chunkJJ2LGENOcjs = require('./chunk-JJ2LGENO.cjs');
86
86
 
87
87
 
88
88
 
@@ -100,7 +100,8 @@ var _chunkIPXARZ6Fcjs = require('./chunk-IPXARZ6F.cjs');
100
100
 
101
101
 
102
102
 
103
- var _chunk52SZJDFTcjs = require('./chunk-52SZJDFT.cjs');
103
+
104
+ var _chunkX2JZFK4Ccjs = require('./chunk-X2JZFK4C.cjs');
104
105
 
105
106
  // src/index.ts
106
107
  var _viem = require('viem');
@@ -224,16 +225,16 @@ function buildPerpDepositWithGasDeduction(params) {
224
225
  args: [params.depositData]
225
226
  });
226
227
  const operations = [
227
- _chunk3KMF6ST3cjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
228
+ _chunkJJ2LGENOcjs.erc20ApproveOp.call(void 0, params.usdcAddress, vault, params.amount),
228
229
  {
229
- ..._chunk3KMF6ST3cjs.rawCallOp.call(void 0, vault, depositCallData),
230
+ ..._chunkJJ2LGENOcjs.rawCallOp.call(void 0, vault, depositCallData),
230
231
  // BatchExecutor passes `value` from the inner call along; this
231
232
  // becomes the LayerZero fee. The aggregated `msg.value` for the
232
233
  // top-level UserOp must equal the sum of inner `value`s.
233
234
  value: params.layerZeroFee
234
235
  }
235
236
  ];
236
- return _chunk3KMF6ST3cjs.buildPartialUserOperation.call(void 0, {
237
+ return _chunkJJ2LGENOcjs.buildPartialUserOperation.call(void 0, {
237
238
  sender: params.userAddress,
238
239
  nonce: params.aaNonce,
239
240
  operations,
@@ -320,7 +321,7 @@ function buildPerpDepositViaRelay(params) {
320
321
  });
321
322
  }
322
323
  operations.push(
323
- _chunk3KMF6ST3cjs.erc20ApproveOp.call(void 0,
324
+ _chunkJJ2LGENOcjs.erc20ApproveOp.call(void 0,
324
325
  params.request.token,
325
326
  params.relayAddress,
326
327
  params.request.totalAmount
@@ -339,8 +340,8 @@ function buildPerpDepositViaRelay(params) {
339
340
  }
340
341
  ]
341
342
  });
342
- operations.push(_chunk3KMF6ST3cjs.rawCallOp.call(void 0, params.relayAddress, depositCallData));
343
- return _chunk3KMF6ST3cjs.buildPartialUserOperation.call(void 0, {
343
+ operations.push(_chunkJJ2LGENOcjs.rawCallOp.call(void 0, params.relayAddress, depositCallData));
344
+ return _chunkJJ2LGENOcjs.buildPartialUserOperation.call(void 0, {
344
345
  sender: params.userAddress,
345
346
  nonce: params.aaNonce,
346
347
  operations,
@@ -384,7 +385,6 @@ function serializeUserOpToJsonRpc(userOp, signature) {
384
385
 
385
386
 
386
387
 
387
-
388
388
  function computeUserOpHash(userOp, chainId) {
389
389
  const accountGasLimits = pack128(
390
390
  userOp.verificationGasLimit,
@@ -397,44 +397,37 @@ function computeUserOpHash(userOp, chainId) {
397
397
  _viem.pad.call(void 0, _viem.toHex.call(void 0, _nullishCoalesce(userOp.paymasterPostOpGasLimit, () => ( 0n))), { size: 16 }),
398
398
  _nullishCoalesce(userOp.paymasterData, () => ( "0x"))
399
399
  ]) : "0x";
400
- const packed = _viem.keccak256.call(void 0,
401
- _viem.encodeAbiParameters.call(void 0,
402
- [
403
- { type: "address" },
404
- // sender
405
- { type: "uint256" },
406
- // nonce
407
- { type: "bytes32" },
408
- // keccak(initCode) — no factory so keccak(0x)
409
- { type: "bytes32" },
410
- // keccak(callData)
411
- { type: "bytes32" },
412
- // accountGasLimits
413
- { type: "uint256" },
414
- // preVerificationGas
415
- { type: "bytes32" },
416
- // gasFees
417
- { type: "bytes32" }
418
- // keccak(paymasterAndData)
419
- ],
420
- [
421
- userOp.sender,
422
- userOp.nonce,
423
- _viem.keccak256.call(void 0, "0x"),
424
- _viem.keccak256.call(void 0, userOp.callData),
425
- accountGasLimits,
426
- userOp.preVerificationGas,
427
- gasFees,
428
- _viem.keccak256.call(void 0, paymasterAndData)
400
+ return _viem.hashTypedData.call(void 0, {
401
+ domain: {
402
+ name: "ERC4337",
403
+ version: "1",
404
+ chainId,
405
+ verifyingContract: _chunkX2JZFK4Ccjs.ENTRY_POINT_V08
406
+ },
407
+ types: {
408
+ PackedUserOperation: [
409
+ { name: "sender", type: "address" },
410
+ { name: "nonce", type: "uint256" },
411
+ { name: "initCode", type: "bytes" },
412
+ { name: "callData", type: "bytes" },
413
+ { name: "accountGasLimits", type: "bytes32" },
414
+ { name: "preVerificationGas", type: "uint256" },
415
+ { name: "gasFees", type: "bytes32" },
416
+ { name: "paymasterAndData", type: "bytes" }
429
417
  ]
430
- )
431
- );
432
- return _viem.keccak256.call(void 0,
433
- _viem.encodeAbiParameters.call(void 0,
434
- [{ type: "bytes32" }, { type: "address" }, { type: "uint256" }],
435
- [packed, _chunk52SZJDFTcjs.ENTRY_POINT_V07, BigInt(chainId)]
436
- )
437
- );
418
+ },
419
+ primaryType: "PackedUserOperation",
420
+ message: {
421
+ sender: userOp.sender,
422
+ nonce: userOp.nonce,
423
+ initCode: "0x",
424
+ callData: userOp.callData,
425
+ accountGasLimits,
426
+ preVerificationGas: userOp.preVerificationGas,
427
+ gasFees,
428
+ paymasterAndData
429
+ }
430
+ });
438
431
  }
439
432
  function pack128(hi, lo) {
440
433
  return `0x${(hi << 128n | lo).toString(16).padStart(64, "0")}`;
@@ -524,7 +517,7 @@ async function isDelegatedTo(client, address, target) {
524
517
 
525
518
  // src/delegation/buildDelegationUserOp.ts
526
519
  function buildDelegationUserOp(params) {
527
- return _chunk3KMF6ST3cjs.buildPartialUserOperation.call(void 0, {
520
+ return _chunkJJ2LGENOcjs.buildPartialUserOperation.call(void 0, {
528
521
  sender: params.userAddress,
529
522
  nonce: params.aaNonce,
530
523
  operations: [
@@ -559,7 +552,7 @@ async function getAaNonce(client, userAddress) {
559
552
  }
560
553
  ];
561
554
  return client.readContract({
562
- address: _chunk52SZJDFTcjs.ENTRY_POINT_V07,
555
+ address: _chunkX2JZFK4Ccjs.ENTRY_POINT_V08,
563
556
  abi: NONCE_ABI,
564
557
  functionName: "getNonce",
565
558
  args: [userAddress, 0n]
@@ -941,25 +934,25 @@ var PafiSDK = class {
941
934
  // -------------------------------------------------------------------------
942
935
  requirePointToken() {
943
936
  if (!this._pointTokenAddress) {
944
- throw new (0, _chunk3KMF6ST3cjs.ConfigurationError)("pointTokenAddress not set");
937
+ throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("pointTokenAddress not set");
945
938
  }
946
939
  return this._pointTokenAddress;
947
940
  }
948
941
  requireProvider() {
949
942
  if (!this._provider) {
950
- throw new (0, _chunk3KMF6ST3cjs.ConfigurationError)("provider not set");
943
+ throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("provider not set");
951
944
  }
952
945
  return this._provider;
953
946
  }
954
947
  requireSigner() {
955
948
  if (!this._signer) {
956
- throw new (0, _chunk3KMF6ST3cjs.ConfigurationError)("signer not set");
949
+ throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("signer not set");
957
950
  }
958
951
  return this._signer;
959
952
  }
960
953
  requireChainId() {
961
954
  if (this._chainId === void 0) {
962
- throw new (0, _chunk3KMF6ST3cjs.ConfigurationError)("chainId not set");
955
+ throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("chainId not set");
963
956
  }
964
957
  return this._chainId;
965
958
  }
@@ -978,27 +971,27 @@ var PafiSDK = class {
978
971
  // -------------------------------------------------------------------------
979
972
  async buildMintRequestTypedData(message) {
980
973
  const domain = await this.getDomain();
981
- return _chunk2PY5RNVScjs.buildMintRequestTypedData.call(void 0, domain, message);
974
+ return _chunkDX73FB4Pcjs.buildMintRequestTypedData.call(void 0, domain, message);
982
975
  }
983
976
  async buildReceiverConsentTypedData(message) {
984
977
  const domain = await this.getDomain();
985
- return _chunk2PY5RNVScjs.buildReceiverConsentTypedData.call(void 0, domain, message);
978
+ return _chunkDX73FB4Pcjs.buildReceiverConsentTypedData.call(void 0, domain, message);
986
979
  }
987
980
  async signMintRequest(message) {
988
981
  const domain = await this.getDomain();
989
- return _chunk2PY5RNVScjs.signMintRequest.call(void 0, this.requireSigner(), domain, message);
982
+ return _chunkDX73FB4Pcjs.signMintRequest.call(void 0, this.requireSigner(), domain, message);
990
983
  }
991
984
  async verifyMintRequest(message, signature, expectedMinter) {
992
985
  const domain = await this.getDomain();
993
- return _chunk2PY5RNVScjs.verifyMintRequest.call(void 0, domain, message, signature, expectedMinter);
986
+ return _chunkDX73FB4Pcjs.verifyMintRequest.call(void 0, domain, message, signature, expectedMinter);
994
987
  }
995
988
  async signReceiverConsent(message) {
996
989
  const domain = await this.getDomain();
997
- return _chunk2PY5RNVScjs.signReceiverConsent.call(void 0, this.requireSigner(), domain, message);
990
+ return _chunkDX73FB4Pcjs.signReceiverConsent.call(void 0, this.requireSigner(), domain, message);
998
991
  }
999
992
  async verifyReceiverConsent(message, signature, expectedReceiver) {
1000
993
  const domain = await this.getDomain();
1001
- return _chunk2PY5RNVScjs.verifyReceiverConsent.call(void 0, domain, message, signature, expectedReceiver);
994
+ return _chunkDX73FB4Pcjs.verifyReceiverConsent.call(void 0, domain, message, signature, expectedReceiver);
1002
995
  }
1003
996
  // -------------------------------------------------------------------------
1004
997
  // Contract reads
@@ -1026,7 +1019,7 @@ var PafiSDK = class {
1026
1019
  * paths, and quotes via a single multicall RPC call.
1027
1020
  */
1028
1021
  async findBestQuote(tokenIn, tokenOut, exactAmount, pools = [], quoterAddress, maxHops) {
1029
- return _chunkARZSGP5Ycjs.findBestQuote.call(void 0,
1022
+ return _chunkL5UHQQVCcjs.findBestQuote.call(void 0,
1030
1023
  this.requireProvider(),
1031
1024
  this.requireChainId(),
1032
1025
  tokenIn,
@@ -1045,7 +1038,7 @@ var PafiSDK = class {
1045
1038
  * The caller provides `minAmountOut` after applying their own slippage.
1046
1039
  */
1047
1040
  buildSwapFromQuote(params) {
1048
- return _chunk3KMF6ST3cjs.buildSwapFromQuote.call(void 0, params);
1041
+ return _chunkJJ2LGENOcjs.buildSwapFromQuote.call(void 0, params);
1049
1042
  }
1050
1043
  // -------------------------------------------------------------------------
1051
1044
  // Simulation — dry-run via eth_call (no gas spent)
@@ -1061,7 +1054,7 @@ var PafiSDK = class {
1061
1054
  * @param from - Address that will execute the swap
1062
1055
  */
1063
1056
  async simulateSwap(routerAddress, commands, inputs, deadline, from) {
1064
- return _chunk3KMF6ST3cjs.simulateSwap.call(void 0,
1057
+ return _chunkJJ2LGENOcjs.simulateSwap.call(void 0,
1065
1058
  this.requireProvider(),
1066
1059
  routerAddress,
1067
1060
  commands,
@@ -1078,7 +1071,7 @@ var PafiSDK = class {
1078
1071
  const chainId = this.requireChainId();
1079
1072
  const account = signer.account;
1080
1073
  if (!account) {
1081
- throw new (0, _chunk3KMF6ST3cjs.ConfigurationError)("signer has no account attached");
1074
+ throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("signer has no account attached");
1082
1075
  }
1083
1076
  return _chunkFNJZUNK3cjs.createLoginMessage.call(void 0, { ...params, address: account.address, chainId });
1084
1077
  }
@@ -1087,7 +1080,7 @@ var PafiSDK = class {
1087
1080
  const signer = this.requireSigner();
1088
1081
  const account = signer.account;
1089
1082
  if (!account) {
1090
- throw new (0, _chunk3KMF6ST3cjs.ConfigurationError)("signer has no account attached");
1083
+ throw new (0, _chunkJJ2LGENOcjs.ConfigurationError)("signer has no account attached");
1091
1084
  }
1092
1085
  return signer.signMessage({ account, message });
1093
1086
  }
@@ -1223,5 +1216,6 @@ var PafiSDK = class {
1223
1216
 
1224
1217
 
1225
1218
 
1226
- exports.ApiError = _chunk3KMF6ST3cjs.ApiError; exports.BATCH_EXECUTOR_7702_IMPL = BATCH_EXECUTOR_7702_IMPL; exports.BATCH_EXECUTOR_ABI = _chunk3KMF6ST3cjs.BATCH_EXECUTOR_ABI; exports.BATCH_EXECUTOR_ADDRESS_BASE_MAINNET = BATCH_EXECUTOR_ADDRESS_BASE_MAINNET; exports.BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA = BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA; exports.BROKER_HASHES = BROKER_HASHES; exports.COMMON_POOLS = _chunk52SZJDFTcjs.COMMON_POOLS; exports.COMMON_TOKENS = _chunk52SZJDFTcjs.COMMON_TOKENS; exports.CONTRACT_ADDRESSES = CONTRACT_ADDRESSES; exports.ConfigurationError = _chunk3KMF6ST3cjs.ConfigurationError; exports.DUMMY_SIGNATURE_V07 = DUMMY_SIGNATURE_V07; exports.ENTRY_POINT_V07 = _chunk52SZJDFTcjs.ENTRY_POINT_V07; exports.ORDERLY_RELAY_ABI = ORDERLY_RELAY_ABI; exports.ORDERLY_VAULT_ABI = ORDERLY_VAULT_ABI; exports.ORDERLY_VAULT_ADDRESSES = ORDERLY_VAULT_ADDRESSES; exports.ORDERLY_VAULT_BASE_MAINNET = ORDERLY_VAULT_BASE_MAINNET; exports.PAFI_SUBGRAPH_URL = PAFI_SUBGRAPH_URL; exports.PERMIT2_ADDRESS = _chunk52SZJDFTcjs.PERMIT2_ADDRESS; exports.POINT_TOKEN_FACTORY_ADDRESSES = POINT_TOKEN_FACTORY_ADDRESSES; exports.POINT_TOKEN_IMPL_ADDRESSES = POINT_TOKEN_IMPL_ADDRESSES; exports.POINT_TOKEN_POOLS = _chunk52SZJDFTcjs.POINT_TOKEN_POOLS; exports.POINT_TOKEN_V2_ABI = _chunkLRHY7GORcjs.pointTokenAbi; exports.PafiSDK = PafiSDK; exports.PafiSDKError = _chunk3KMF6ST3cjs.PafiSDKError; exports.SETTLE_ALL = _chunk3KMF6ST3cjs.SETTLE_ALL; exports.SIMPLE_7702_IMPL_BASE_MAINNET = SIMPLE_7702_IMPL_BASE_MAINNET; exports.SPONSOR_AUTH_DOMAIN_NAME = _chunkFNJZUNK3cjs.SPONSOR_AUTH_DOMAIN_NAME; exports.SPONSOR_AUTH_TYPES = _chunkFNJZUNK3cjs.SPONSOR_AUTH_TYPES; exports.SUPPORTED_CHAINS = _chunk52SZJDFTcjs.SUPPORTED_CHAINS; exports.SWAP_EXACT_IN = _chunk3KMF6ST3cjs.SWAP_EXACT_IN; exports.SigningError = _chunk3KMF6ST3cjs.SigningError; exports.SimulationError = _chunk3KMF6ST3cjs.SimulationError; exports.TAKE_ALL = _chunk3KMF6ST3cjs.TAKE_ALL; exports.TOKEN_HASHES = TOKEN_HASHES; exports.UNIVERSAL_ROUTER_ADDRESSES = _chunk52SZJDFTcjs.UNIVERSAL_ROUTER_ADDRESSES; exports.V4_QUOTER_ADDRESSES = _chunk52SZJDFTcjs.V4_QUOTER_ADDRESSES; exports.V4_SWAP = _chunk3KMF6ST3cjs.V4_SWAP; exports.ZERO_VALUE = ZERO_VALUE; exports._resetPaymasterConfigForTests = _resetPaymasterConfigForTests; exports.assembleUserOperation = _chunk3KMF6ST3cjs.assembleUserOperation; exports.buildAllPaths = _chunkARZSGP5Ycjs.buildAllPaths; exports.buildBurnRequestTypedData = _chunk2PY5RNVScjs.buildBurnRequestTypedData; exports.buildDelegationUserOp = buildDelegationUserOp; exports.buildDomain = _chunk2PY5RNVScjs.buildDomain; exports.buildErc20ApprovalCalldata = _chunk3KMF6ST3cjs.buildErc20ApprovalCalldata; exports.buildMintRequestTypedData = _chunk2PY5RNVScjs.buildMintRequestTypedData; exports.buildPartialUserOperation = _chunk3KMF6ST3cjs.buildPartialUserOperation; exports.buildPermit2ApprovalCalldata = _chunk3KMF6ST3cjs.buildPermit2ApprovalCalldata; exports.buildPerpDepositViaRelay = buildPerpDepositViaRelay; exports.buildPerpDepositWithGasDeduction = buildPerpDepositWithGasDeduction; exports.buildReceiverConsentTypedData = _chunk2PY5RNVScjs.buildReceiverConsentTypedData; exports.buildSponsorAuthDomain = _chunkFNJZUNK3cjs.buildSponsorAuthDomain; exports.buildSponsorAuthTypedData = _chunkFNJZUNK3cjs.buildSponsorAuthTypedData; exports.buildSwapFromQuote = _chunk3KMF6ST3cjs.buildSwapFromQuote; exports.buildSwapWithGasDeduction = _chunk3KMF6ST3cjs.buildSwapWithGasDeduction; exports.buildUniversalRouterExecuteArgs = _chunk3KMF6ST3cjs.buildUniversalRouterExecuteArgs; exports.buildV4SwapInput = _chunk3KMF6ST3cjs.buildV4SwapInput; exports.burnRequestTypes = _chunk52SZJDFTcjs.burnRequestTypes; exports.checkAllowance = _chunk3KMF6ST3cjs.checkAllowance; exports.checkDelegation = checkDelegation; exports.checkEthAndBranch = checkEthAndBranch; exports.combineRoutes = _chunkARZSGP5Ycjs.combineRoutes; exports.computeAccountId = computeAccountId; exports.computeAuthorizationHash = computeAuthorizationHash; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.computeUserOpHash = computeUserOpHash; exports.createLoginMessage = _chunkFNJZUNK3cjs.createLoginMessage; exports.createPafiProxyTransport = createPafiProxyTransport; exports.decodeBatchExecuteCalls = _chunk3KMF6ST3cjs.decodeBatchExecuteCalls; exports.detectDelegateImpl = detectDelegateImpl; exports.encodeBatchExecute = _chunk3KMF6ST3cjs.encodeBatchExecute; exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.erc20ApproveOp = _chunk3KMF6ST3cjs.erc20ApproveOp; exports.erc20BurnOp = _chunk3KMF6ST3cjs.erc20BurnOp; exports.erc20TransferOp = _chunk3KMF6ST3cjs.erc20TransferOp; exports.fetchPafiPools = fetchPafiPools; exports.findBestQuote = _chunkARZSGP5Ycjs.findBestQuote; exports.getAaNonce = getAaNonce; exports.getBurnRequestNonce = _chunkCLPRSQT2cjs.getBurnRequestNonce; exports.getContractAddresses = getContractAddresses; exports.getDummySignatureFor7702 = getDummySignatureFor7702; exports.getIssuer = _chunkCLPRSQT2cjs.getIssuer2; exports.getMintRequestNonce = _chunkCLPRSQT2cjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkCLPRSQT2cjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkCLPRSQT2cjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkCLPRSQT2cjs.getIssuer; exports.getReceiverConsentNonce = _chunkCLPRSQT2cjs.getReceiverConsentNonce; exports.getTokenName = _chunkCLPRSQT2cjs.getTokenName; exports.isActiveIssuer = _chunkCLPRSQT2cjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isDelegatedToTarget = isDelegatedToTarget; exports.isMinter = _chunkCLPRSQT2cjs.isMinter; exports.isPaymasterConfigured = isPaymasterConfigured; exports.isPaymasterError = isPaymasterError; exports.issuerRegistryAbi = _chunkLRHY7GORcjs.issuerRegistryAbi; exports.issuerRegistryGetIssuerFlatAbi = _chunkCLPRSQT2cjs.issuerRegistryGetIssuerFlatAbi; exports.mintRequestTypes = _chunk52SZJDFTcjs.mintRequestTypes; exports.mintingOracleAbi = _chunkLRHY7GORcjs.mintingOracleAbi; exports.openPafiWebModal = openPafiWebModal; exports.openWebPopup = openWebPopup; exports.parseEip7702DelegatedAddress = parseEip7702DelegatedAddress; exports.parseLoginMessage = _chunkFNJZUNK3cjs.parseLoginMessage; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkLRHY7GORcjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkR6OFGVMPcjs.pointTokenFactoryAbi; exports.quoteBestRoute = _chunkARZSGP5Ycjs.quoteBestRoute; exports.quoteExactInput = _chunkARZSGP5Ycjs.quoteExactInput; exports.quoteExactInputSingle = _chunkARZSGP5Ycjs.quoteExactInputSingle; exports.rawCallOp = _chunk3KMF6ST3cjs.rawCallOp; exports.receiverConsentTypes = _chunk52SZJDFTcjs.receiverConsentTypes; exports.sendWithPaymasterFallback = sendWithPaymasterFallback; exports.serializeUserOpToJsonRpc = serializeUserOpToJsonRpc; exports.setPafiWebModalAdapter = setPafiWebModalAdapter; exports.setPaymasterConfig = setPaymasterConfig; exports.signBurnRequest = _chunk2PY5RNVScjs.signBurnRequest; exports.signMintRequest = _chunk2PY5RNVScjs.signMintRequest; exports.signReceiverConsent = _chunk2PY5RNVScjs.signReceiverConsent; exports.signSponsorAuth = _chunkFNJZUNK3cjs.signSponsorAuth; exports.simulateSwap = _chunk3KMF6ST3cjs.simulateSwap; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi; exports.verifyBurnRequest = _chunk2PY5RNVScjs.verifyBurnRequest; exports.verifyLoginMessage = _chunkFNJZUNK3cjs.verifyLoginMessage; exports.verifyMintCap = _chunkCLPRSQT2cjs.verifyMintCap; exports.verifyMintRequest = _chunk2PY5RNVScjs.verifyMintRequest; exports.verifyReceiverConsent = _chunk2PY5RNVScjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
1219
+
1220
+ exports.ApiError = _chunkJJ2LGENOcjs.ApiError; exports.BATCH_EXECUTOR_7702_IMPL = BATCH_EXECUTOR_7702_IMPL; exports.BATCH_EXECUTOR_ABI = _chunkJJ2LGENOcjs.BATCH_EXECUTOR_ABI; exports.BATCH_EXECUTOR_ADDRESS_BASE_MAINNET = BATCH_EXECUTOR_ADDRESS_BASE_MAINNET; exports.BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA = BATCH_EXECUTOR_ADDRESS_BASE_SEPOLIA; exports.BROKER_HASHES = BROKER_HASHES; exports.COMMON_POOLS = _chunkX2JZFK4Ccjs.COMMON_POOLS; exports.COMMON_TOKENS = _chunkX2JZFK4Ccjs.COMMON_TOKENS; exports.CONTRACT_ADDRESSES = CONTRACT_ADDRESSES; exports.ConfigurationError = _chunkJJ2LGENOcjs.ConfigurationError; exports.DUMMY_SIGNATURE_V07 = DUMMY_SIGNATURE_V07; exports.ENTRY_POINT_V07 = _chunkX2JZFK4Ccjs.ENTRY_POINT_V07; exports.ENTRY_POINT_V08 = _chunkX2JZFK4Ccjs.ENTRY_POINT_V08; exports.ORDERLY_RELAY_ABI = ORDERLY_RELAY_ABI; exports.ORDERLY_VAULT_ABI = ORDERLY_VAULT_ABI; exports.ORDERLY_VAULT_ADDRESSES = ORDERLY_VAULT_ADDRESSES; exports.ORDERLY_VAULT_BASE_MAINNET = ORDERLY_VAULT_BASE_MAINNET; exports.PAFI_SUBGRAPH_URL = PAFI_SUBGRAPH_URL; exports.PERMIT2_ADDRESS = _chunkX2JZFK4Ccjs.PERMIT2_ADDRESS; exports.POINT_TOKEN_FACTORY_ADDRESSES = POINT_TOKEN_FACTORY_ADDRESSES; exports.POINT_TOKEN_IMPL_ADDRESSES = POINT_TOKEN_IMPL_ADDRESSES; exports.POINT_TOKEN_POOLS = _chunkX2JZFK4Ccjs.POINT_TOKEN_POOLS; exports.POINT_TOKEN_V2_ABI = _chunkLRHY7GORcjs.pointTokenAbi; exports.PafiSDK = PafiSDK; exports.PafiSDKError = _chunkJJ2LGENOcjs.PafiSDKError; exports.SETTLE_ALL = _chunkJJ2LGENOcjs.SETTLE_ALL; exports.SIMPLE_7702_IMPL_BASE_MAINNET = SIMPLE_7702_IMPL_BASE_MAINNET; exports.SPONSOR_AUTH_DOMAIN_NAME = _chunkFNJZUNK3cjs.SPONSOR_AUTH_DOMAIN_NAME; exports.SPONSOR_AUTH_TYPES = _chunkFNJZUNK3cjs.SPONSOR_AUTH_TYPES; exports.SUPPORTED_CHAINS = _chunkX2JZFK4Ccjs.SUPPORTED_CHAINS; exports.SWAP_EXACT_IN = _chunkJJ2LGENOcjs.SWAP_EXACT_IN; exports.SigningError = _chunkJJ2LGENOcjs.SigningError; exports.SimulationError = _chunkJJ2LGENOcjs.SimulationError; exports.TAKE_ALL = _chunkJJ2LGENOcjs.TAKE_ALL; exports.TOKEN_HASHES = TOKEN_HASHES; exports.UNIVERSAL_ROUTER_ADDRESSES = _chunkX2JZFK4Ccjs.UNIVERSAL_ROUTER_ADDRESSES; exports.V4_QUOTER_ADDRESSES = _chunkX2JZFK4Ccjs.V4_QUOTER_ADDRESSES; exports.V4_SWAP = _chunkJJ2LGENOcjs.V4_SWAP; exports.ZERO_VALUE = ZERO_VALUE; exports._resetPaymasterConfigForTests = _resetPaymasterConfigForTests; exports.assembleUserOperation = _chunkJJ2LGENOcjs.assembleUserOperation; exports.buildAllPaths = _chunkL5UHQQVCcjs.buildAllPaths; exports.buildBurnRequestTypedData = _chunkDX73FB4Pcjs.buildBurnRequestTypedData; exports.buildDelegationUserOp = buildDelegationUserOp; exports.buildDomain = _chunkDX73FB4Pcjs.buildDomain; exports.buildErc20ApprovalCalldata = _chunkJJ2LGENOcjs.buildErc20ApprovalCalldata; exports.buildMintRequestTypedData = _chunkDX73FB4Pcjs.buildMintRequestTypedData; exports.buildPartialUserOperation = _chunkJJ2LGENOcjs.buildPartialUserOperation; exports.buildPermit2ApprovalCalldata = _chunkJJ2LGENOcjs.buildPermit2ApprovalCalldata; exports.buildPerpDepositViaRelay = buildPerpDepositViaRelay; exports.buildPerpDepositWithGasDeduction = buildPerpDepositWithGasDeduction; exports.buildReceiverConsentTypedData = _chunkDX73FB4Pcjs.buildReceiverConsentTypedData; exports.buildSponsorAuthDomain = _chunkFNJZUNK3cjs.buildSponsorAuthDomain; exports.buildSponsorAuthTypedData = _chunkFNJZUNK3cjs.buildSponsorAuthTypedData; exports.buildSwapFromQuote = _chunkJJ2LGENOcjs.buildSwapFromQuote; exports.buildSwapWithGasDeduction = _chunkJJ2LGENOcjs.buildSwapWithGasDeduction; exports.buildUniversalRouterExecuteArgs = _chunkJJ2LGENOcjs.buildUniversalRouterExecuteArgs; exports.buildV4SwapInput = _chunkJJ2LGENOcjs.buildV4SwapInput; exports.burnRequestTypes = _chunkX2JZFK4Ccjs.burnRequestTypes; exports.checkAllowance = _chunkJJ2LGENOcjs.checkAllowance; exports.checkDelegation = checkDelegation; exports.checkEthAndBranch = checkEthAndBranch; exports.combineRoutes = _chunkL5UHQQVCcjs.combineRoutes; exports.computeAccountId = computeAccountId; exports.computeAuthorizationHash = computeAuthorizationHash; exports.computeCallDataHash = _chunkFNJZUNK3cjs.computeCallDataHash; exports.computeUserOpHash = computeUserOpHash; exports.createLoginMessage = _chunkFNJZUNK3cjs.createLoginMessage; exports.createPafiProxyTransport = createPafiProxyTransport; exports.decodeBatchExecuteCalls = _chunkJJ2LGENOcjs.decodeBatchExecuteCalls; exports.detectDelegateImpl = detectDelegateImpl; exports.encodeBatchExecute = _chunkJJ2LGENOcjs.encodeBatchExecute; exports.erc20Abi = _chunkIPXARZ6Fcjs.erc20Abi; exports.erc20ApproveOp = _chunkJJ2LGENOcjs.erc20ApproveOp; exports.erc20BurnOp = _chunkJJ2LGENOcjs.erc20BurnOp; exports.erc20TransferOp = _chunkJJ2LGENOcjs.erc20TransferOp; exports.fetchPafiPools = fetchPafiPools; exports.findBestQuote = _chunkL5UHQQVCcjs.findBestQuote; exports.getAaNonce = getAaNonce; exports.getBurnRequestNonce = _chunkCLPRSQT2cjs.getBurnRequestNonce; exports.getContractAddresses = getContractAddresses; exports.getDummySignatureFor7702 = getDummySignatureFor7702; exports.getIssuer = _chunkCLPRSQT2cjs.getIssuer2; exports.getMintRequestNonce = _chunkCLPRSQT2cjs.getMintRequestNonce; exports.getPafiWebModalAdapter = getPafiWebModalAdapter; exports.getPaymasterConfig = getPaymasterConfig; exports.getPointTokenBalance = _chunkCLPRSQT2cjs.getPointTokenBalance; exports.getPointTokenIssuer = _chunkCLPRSQT2cjs.getPointTokenIssuer; exports.getPointTokenIssuerAddress = _chunkCLPRSQT2cjs.getIssuer; exports.getReceiverConsentNonce = _chunkCLPRSQT2cjs.getReceiverConsentNonce; exports.getTokenName = _chunkCLPRSQT2cjs.getTokenName; exports.isActiveIssuer = _chunkCLPRSQT2cjs.isActiveIssuer; exports.isDelegatedTo = isDelegatedTo; exports.isDelegatedToTarget = isDelegatedToTarget; exports.isMinter = _chunkCLPRSQT2cjs.isMinter; exports.isPaymasterConfigured = isPaymasterConfigured; exports.isPaymasterError = isPaymasterError; exports.issuerRegistryAbi = _chunkLRHY7GORcjs.issuerRegistryAbi; exports.issuerRegistryGetIssuerFlatAbi = _chunkCLPRSQT2cjs.issuerRegistryGetIssuerFlatAbi; exports.mintRequestTypes = _chunkX2JZFK4Ccjs.mintRequestTypes; exports.mintingOracleAbi = _chunkLRHY7GORcjs.mintingOracleAbi; exports.openPafiWebModal = openPafiWebModal; exports.openWebPopup = openWebPopup; exports.parseEip7702DelegatedAddress = parseEip7702DelegatedAddress; exports.parseLoginMessage = _chunkFNJZUNK3cjs.parseLoginMessage; exports.permit2Abi = _chunkIPXARZ6Fcjs.permit2Abi; exports.pointTokenAbi = _chunkLRHY7GORcjs.pointTokenAbi; exports.pointTokenFactoryAbi = _chunkR6OFGVMPcjs.pointTokenFactoryAbi; exports.quoteBestRoute = _chunkL5UHQQVCcjs.quoteBestRoute; exports.quoteExactInput = _chunkL5UHQQVCcjs.quoteExactInput; exports.quoteExactInputSingle = _chunkL5UHQQVCcjs.quoteExactInputSingle; exports.rawCallOp = _chunkJJ2LGENOcjs.rawCallOp; exports.receiverConsentTypes = _chunkX2JZFK4Ccjs.receiverConsentTypes; exports.sendWithPaymasterFallback = sendWithPaymasterFallback; exports.serializeUserOpToJsonRpc = serializeUserOpToJsonRpc; exports.setPafiWebModalAdapter = setPafiWebModalAdapter; exports.setPaymasterConfig = setPaymasterConfig; exports.signBurnRequest = _chunkDX73FB4Pcjs.signBurnRequest; exports.signMintRequest = _chunkDX73FB4Pcjs.signMintRequest; exports.signReceiverConsent = _chunkDX73FB4Pcjs.signReceiverConsent; exports.signSponsorAuth = _chunkFNJZUNK3cjs.signSponsorAuth; exports.simulateSwap = _chunkJJ2LGENOcjs.simulateSwap; exports.universalRouterAbi = _chunkIPXARZ6Fcjs.universalRouterAbi; exports.v4QuoterAbi = _chunkCL3QSI4Ocjs.v4QuoterAbi; exports.verifyBurnRequest = _chunkDX73FB4Pcjs.verifyBurnRequest; exports.verifyLoginMessage = _chunkFNJZUNK3cjs.verifyLoginMessage; exports.verifyMintCap = _chunkCLPRSQT2cjs.verifyMintCap; exports.verifyMintRequest = _chunkDX73FB4Pcjs.verifyMintRequest; exports.verifyReceiverConsent = _chunkDX73FB4Pcjs.verifyReceiverConsent; exports.verifySponsorAuth = _chunkFNJZUNK3cjs.verifySponsorAuth; exports.webPopupAdapter = webPopupAdapter;
1227
1221
  //# sourceMappingURL=index.cjs.map