@ape.swap/bonds-sdk 4.4.0-test.2 → 4.4.0-test.3

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 (2) hide show
  1. package/dist/main.js +1 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -80627,11 +80627,8 @@ const BuyComponentSolana = ({ onDismiss, bondAddress, bondChain, isProjectView,
80627
80627
  : ((_c = (_b = (_a = item === null || item === void 0 ? void 0 : item.token) === null || _a === void 0 ? void 0 : _a.address) === null || _b === void 0 ? void 0 : _b[bondChain]) === null || _c === void 0 ? void 0 : _c.toLowerCase()) ===
80628
80628
  ((_e = (_d = inputToken === null || inputToken === void 0 ? void 0 : inputToken.address) === null || _d === void 0 ? void 0 : _d[bondChain]) === null || _e === void 0 ? void 0 : _e.toLowerCase());
80629
80629
  });
80630
- const inputCurrencyBalanceFromList = enrichedTokenData === null || enrichedTokenData === void 0 ? void 0 : enrichedTokenData.balance;
80630
+ enrichedTokenData === null || enrichedTokenData === void 0 ? void 0 : enrichedTokenData.balance;
80631
80631
  const inputTokenPriceFromList = enrichedTokenData === null || enrichedTokenData === void 0 ? void 0 : enrichedTokenData.price;
80632
- // Use the sorted list balance/price if available, otherwise fall back to existing
80633
- const finalInputCurrencyBalance = inputCurrencyBalanceFromList !== null && inputCurrencyBalanceFromList !== void 0 ? inputCurrencyBalanceFromList : inputCurrencyBalance;
80634
- console.log(finalInputCurrencyBalance);
80635
80632
  const finalInputTokenPrice = inputTokenPriceFromList !== null && inputTokenPriceFromList !== void 0 ? inputTokenPriceFromList : inputTokenPrice === null || inputTokenPrice === void 0 ? void 0 : inputTokenPrice.price;
80636
80633
  // Estimations - use zapDepositAmount if swapping
80637
80634
  const depositAmount = isZap ? zapDepositAmount : inputValue;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "4.4.0-test.2",
6
+ "version": "4.4.0-test.3",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",