@masterpeach/market-sdk 0.2.0-beta.20261002.1 → 0.2.0-beta.20261002.2

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.cjs CHANGED
@@ -14859,7 +14859,7 @@ function createMarketWriteActions(publicClient, walletClient, chain, preflight =
14859
14859
  "currency",
14860
14860
  "Native currency does not support approval."
14861
14861
  );
14862
- assertMarketUint(params.amount, "amount", 128);
14862
+ assertMarketUint(params.amount, "amount", 256);
14863
14863
  const live = await account();
14864
14864
  return prepare({
14865
14865
  action: "approve",
@@ -15063,7 +15063,7 @@ function createMarketWriteActions(publicClient, walletClient, chain, preflight =
15063
15063
  const config = requireMarketSwap(context);
15064
15064
  if ((0, import_viem19.isAddressEqual)(tokenIn, import_viem19.zeroAddress))
15065
15065
  throw new InvalidMarketConfigError("token", "Native input needs no approval.");
15066
- assertMarketUint(params.amount, "amount", 160);
15066
+ assertMarketUint(params.amount, "amount", 256);
15067
15067
  return prepare({
15068
15068
  action: "swapTokenApproval",
15069
15069
  key,
@@ -15113,7 +15113,7 @@ function createMarketWriteActions(publicClient, walletClient, chain, preflight =
15113
15113
  "currency",
15114
15114
  "Native currency does not support approval."
15115
15115
  );
15116
- assertMarketUint(params.amount, "amount", 128);
15116
+ assertMarketUint(params.amount, "amount", 256);
15117
15117
  const live = await account();
15118
15118
  return prepare({
15119
15119
  action: "zapApproval",