@ape.swap/bonds-sdk 3.0.20 → 3.0.22

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/main.js CHANGED
@@ -76743,7 +76743,7 @@ const BuyBond = ({ onDismiss, bondAddress, bondChain, handlePurchasedBond, isPro
76743
76743
  const bondData = bonds === null || bonds === void 0 ? void 0 : bonds.find((bond) => { var _a; return ((_a = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === (bondAddress === null || bondAddress === void 0 ? void 0 : bondAddress.toLowerCase()); });
76744
76744
  const { abTestValue } = useABTesting({ key: ABTestKeys.BOND_DESCRIPTION });
76745
76745
  const reason = abTestValue === 'true' ? 'bondDescription' : 'noBondDescription';
76746
- const isGoldRush = 'billArt' in bondData ? bondData.billArt.collection.toLowerCase().includes('apebond') : false;
76746
+ const isGoldRush = 'billArt' in bondData ? bondData.billArt.collection === types.BillArtCollection.GoldenTicket_Collection1 : false;
76747
76747
  // Tier Gating
76748
76748
  const userTier = getUserTier(userPoints !== null && userPoints !== void 0 ? userPoints : '0');
76749
76749
  const minTier = (bondData === null || bondData === void 0 ? void 0 : bondData.minTier) !== undefined ? bondData.minTier : null;
package/dist/styles.css CHANGED
@@ -701,7 +701,7 @@ span.flex-inline {
701
701
 
702
702
  .gold-ribbon {
703
703
  position: absolute;
704
- background-image: url("/images/bills/tag.png");
704
+ background-image: url("https://res.cloudinary.com/dswmrqgwy/image/upload/v1/tag_qew3pm.png");
705
705
  background-repeat: no-repeat;
706
706
  background-position: center;
707
707
  background-size: contain;
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": "3.0.20",
6
+ "version": "3.0.22",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",