@1llet.xyz/erc4337-gasless-sdk 0.4.60 → 0.4.62

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.mjs CHANGED
@@ -2865,7 +2865,7 @@ var UniswapService = class {
2865
2865
  args: [params]
2866
2866
  });
2867
2867
  const amountIn = result[0];
2868
- return amountIn * 101n / 100n;
2868
+ return amountIn * 105n / 100n;
2869
2869
  } catch (e) {
2870
2870
  console.error("Quote failed", e);
2871
2871
  throw new Error("Failed to quote USDC for ETH swap");
@@ -2880,8 +2880,8 @@ var UniswapService = class {
2880
2880
  tokenIn: USDC_ADDRESS,
2881
2881
  tokenOut: WETH_ADDRESS,
2882
2882
  fee: 500,
2883
- recipient: "0x0000000000000000000000000000000000000000",
2884
- // Router address constant for internal unwrap? usually encoded as address(0) or router itself
2883
+ recipient: UNISWAP_V3_ROUTER,
2884
+ // Router must hold WETH to unwrap it
2885
2885
  amountOut: amountOutETH,
2886
2886
  amountInMaximum: maxAmountInUSDC,
2887
2887
  sqrtPriceLimitX96: 0n