@ape.swap/bonds-sdk 4.5.0-test.6 → 4.5.0-test.7

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 +6 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -78714,8 +78714,12 @@ const BondModalMinTierHeader = ({ minTier }) => {
78714
78714
  alignItems: 'center',
78715
78715
  flexDirection: 'row-reverse',
78716
78716
  width: ['100%', '100%', '100%', 'auto', 'auto'],
78717
- }, children: Object.values(TIERS_NAMES).map((tier, index) => {
78718
- if (index >= minTier) {
78717
+ }, children: Object.values(TIERS_NAMES)
78718
+ .filter((tier) => tier !== 'No Tier')
78719
+ .map((tier, index) => {
78720
+ if (index + 1 >= minTier) {
78721
+ console.log(index);
78722
+ console.log(tier);
78719
78723
  return (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { sx: { justifyContent: 'center' }, children: tier }), width: "100px", placement: "bottomLeft", transformTip: "translate(1%, -5%)", children: jsx$2("img", { src: `https://ape.bond/images/launch/${tier.toLowerCase()}.png`, alt: "minTier", style: { width: '25px', height: '25px', marginLeft: '3px', zIndex: 1 } }, `tier-logo-${index}`) }, tier));
78720
78724
  }
78721
78725
  }) })) }));
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.5.0-test.6",
6
+ "version": "4.5.0-test.7",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",