@1llet.xyz/erc4337-gasless-sdk 0.4.63 → 0.4.64

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/index.js CHANGED
@@ -2858,7 +2858,7 @@ var WETH_ADDRESS = "0x4200000000000000000000000000000000000006";
2858
2858
  var V4_SWAP_COMMAND = "0x10";
2859
2859
  var UNWRAP_WETH_COMMAND = "0x0c";
2860
2860
  var QUOTER_V4_ABI = viem.parseAbi([
2861
- "function quoteExactOutputSingle(tuple(address currency0, address currency1, uint24 fee, int24 tickSpacing, address hooks) key, tuple(bool zeroForOne, int128 amount, uint160 sqrtPriceLimitX96) params, bytes hookData) external returns (uint256 amountIn, uint256 gasEstimate)"
2861
+ "function quoteExactOutputSingle((address currency0, address currency1, uint24 fee, int24 tickSpacing, address hooks) key, (bool zeroForOne, int128 amount, uint160 sqrtPriceLimitX96) params, bytes hookData) external returns (uint256 amountIn, uint256 gasEstimate)"
2862
2862
  ]);
2863
2863
  var UNIVERSAL_ROUTER_ABI = viem.parseAbi([
2864
2864
  "function execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline) external payable"
@@ -2928,7 +2928,7 @@ var UniswapService = class {
2928
2928
  const isUSDC0 = USDC_ADDRESS.toLowerCase() < WETH_ADDRESS.toLowerCase();
2929
2929
  const zeroForOne = isUSDC0;
2930
2930
  const swapInput = viem.encodeAbiParameters(
2931
- viem.parseAbiParameters("tuple(address currency0, address currency1, uint24 fee, int24 tickSpacing, address hooks) key, bool zeroForOne, int128 amountSpecified, uint160 sqrtPriceLimitX96, bytes hookData"),
2931
+ viem.parseAbiParameters("((address currency0, address currency1, uint24 fee, int24 tickSpacing, address hooks) key, bool zeroForOne, int128 amountSpecified, uint160 sqrtPriceLimitX96, bytes hookData)"),
2932
2932
  [
2933
2933
  key,
2934
2934
  zeroForOne,