@sodax/dapp-kit 1.5.1-beta → 1.5.3-beta

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
@@ -2266,7 +2266,8 @@ function createDepositParamsProps({
2266
2266
  const originalAsset = tokenIndex === 0 ? poolSpokeAssets.token0 : poolSpokeAssets.token1;
2267
2267
  return {
2268
2268
  asset: originalAsset.address,
2269
- amount: viem.parseUnits(String(amount), token.decimals),
2269
+ // Use deposit token decimals (original asset) for correct unit parsing
2270
+ amount: viem.parseUnits(String(amount), originalAsset.decimals),
2270
2271
  poolToken: token.address
2271
2272
  };
2272
2273
  }