@ape.swap/bonds-sdk 5.0.2 → 5.0.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 +2 -0
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -47132,6 +47132,8 @@ const isBondSoldOut = (bill, showLowValueBonds) => {
47132
47132
  return false;
47133
47133
  const thresholdToHide = new BigNumber$1(100).div(payoutTokenPrice !== null && payoutTokenPrice !== void 0 ? payoutTokenPrice : 0);
47134
47134
  if (((_c = (_b = findHighestTrueBondPrice('0', bill === null || bill === void 0 ? void 0 : bill.trueBondPrices)) === null || _b === void 0 ? void 0 : _b.bonusWithFee) !== null && _c !== void 0 ? _c : 0) > 50) {
47135
+ if (bill.earnToken.symbol === 'sGOO')
47136
+ return false;
47135
47137
  //if bonus is higher than 50% for regular bonds, hide them
47136
47138
  return true;
47137
47139
  }
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": "5.0.2",
6
+ "version": "5.0.3",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",