@ape.swap/bonds-sdk 4.4.0-test.9 → 4.4.1-test.1

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 +46 -24
  2. package/package.json +8 -7
package/dist/main.js CHANGED
@@ -20039,6 +20039,7 @@ function requireTypes$1 () {
20039
20039
  ChainId[(ChainId['UNICHAIN'] = 130)] = 'UNICHAIN';
20040
20040
  ChainId[(ChainId['MEGAETH_TESTNET'] = 6342)] = 'MEGAETH_TESTNET';
20041
20041
  ChainId[(ChainId['SEI'] = 1329)] = 'SEI';
20042
+ ChainId[(ChainId['MONAD'] = 143)] = 'MONAD';
20042
20043
  })((ChainId = exports.ChainId || (exports.ChainId = {})));
20043
20044
  var LiquidityDex
20044
20045
  ;(function (LiquidityDex) {
@@ -21880,6 +21881,7 @@ const MULTICALL_V2 = {
21880
21881
  [main.ChainId.BLAST]: '0xcA11bde05977b3631167028862bE2a173976CA11',
21881
21882
  [main.ChainId.CROSSFI]: '0x007bAC6A07894A69fBcA94ED6274005093E1c44E',
21882
21883
  [main.ChainId.MONAD_TESTNET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
21884
+ [main.ChainId.MONAD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
21883
21885
  [main.ChainId.SONIC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
21884
21886
  [main.ChainId.BERACHAIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
21885
21887
  [main.ChainId.KATANA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
@@ -63041,6 +63043,13 @@ const PUBLIC_RPC_URLS = {
63041
63043
  [main.ChainId.BLAST]: ['https://rpc.blast.io'],
63042
63044
  [main.ChainId.CROSSFI]: ['https://rpc.mainnet.ms'],
63043
63045
  [main.ChainId.MONAD_TESTNET]: ['https://testnet-rpc2.monad.xyz/52227f026fa8fac9e2014c58fbf5643369b3bfc6'],
63046
+ [main.ChainId.MONAD]: [
63047
+ 'https://rpc.monad.xyz',
63048
+ 'https://rpc1.monad.xyz',
63049
+ 'https://rpc2.monad.xyz',
63050
+ 'https://rpc3.monad.xyz',
63051
+ 'https://rpc4.monad.xyz',
63052
+ ],
63044
63053
  [main.ChainId.SONIC]: ['https://rpc.soniclabs.com'],
63045
63054
  [main.ChainId.BERACHAIN]: ['https://rpc.berachain.com', 'https://berachain.drpc.org'],
63046
63055
  [main.ChainId.KATANA]: ['https://rpc-katana.t.conduit.xyz/NRcSLqEG4Hw55GzTSu6Sratq94kKtUGfH'],
@@ -63617,16 +63626,13 @@ const getPayoutAmount = (bond, inputValue, userPoints) => {
63617
63626
  return billValue.toNumber();
63618
63627
  };
63619
63628
  const youGetUSD = (bond, inputValue, userPoints) => {
63620
- var _a, _b, _c, _d;
63629
+ var _a, _b;
63621
63630
  if (!bond.trueBondPrices)
63622
63631
  return '0';
63623
63632
  const bigValue = new BigNumber$1(inputValue).times(new BigNumber$1(10).pow(18));
63624
- const trueBondPrice = (_b = (_a = findHighestTrueBondPrice(userPoints, bond === null || bond === void 0 ? void 0 : bond.trueBondPrices)) === null || _a === void 0 ? void 0 : _a.trueBondPrice) !== null && _b !== void 0 ? _b : 0;
63625
- const fee = (_c = bond === null || bond === void 0 ? void 0 : bond.feeInPayout) !== null && _c !== void 0 ? _c : 0;
63626
- const reverseFee = new BigNumber$1(fee / 100 / (1 - fee / 100));
63627
- const trueBondPriceWithFee = new BigNumber$1(trueBondPrice).plus(new BigNumber$1(trueBondPrice).times(reverseFee));
63628
- const billValue = bigValue.div(new BigNumber$1(trueBondPriceWithFee));
63629
- return (billValue.toNumber() * parseFloat((_d = bond === null || bond === void 0 ? void 0 : bond.payoutTokenPrice) !== null && _d !== void 0 ? _d : '0')).toString();
63633
+ const trueBondPrice = findHighestTrueBondPrice(userPoints, bond === null || bond === void 0 ? void 0 : bond.trueBondPrices);
63634
+ const billValue = bigValue.div(new BigNumber$1((_a = trueBondPrice === null || trueBondPrice === void 0 ? void 0 : trueBondPrice.trueBondPrice) !== null && _a !== void 0 ? _a : 0));
63635
+ return (billValue.toNumber() * parseFloat((_b = bond === null || bond === void 0 ? void 0 : bond.payoutTokenPrice) !== null && _b !== void 0 ? _b : '0')).toString();
63630
63636
  };
63631
63637
  const getRawBonus$1 = (bond, inputValue, userPoints) => {
63632
63638
  if (!bond || !inputValue || !userPoints)
@@ -63634,6 +63640,16 @@ const getRawBonus$1 = (bond, inputValue, userPoints) => {
63634
63640
  const premiumUSD = parseFloat(youGetUSD(bond, inputValue, userPoints)) - parseFloat(youSpendUSD(bond, inputValue));
63635
63641
  return premiumUSD.toString();
63636
63642
  };
63643
+ const getFeeAmount = (bond, inputValue, userPoints) => {
63644
+ var _a;
63645
+ const fee = bond === null || bond === void 0 ? void 0 : bond.feeInPayout;
63646
+ if (!bond || !inputValue || !fee || !userPoints)
63647
+ return 0;
63648
+ const billValue = new BigNumber$1(inputValue).times(new BigNumber$1(10).pow(18));
63649
+ const trueBondPrice = findHighestTrueBondPrice(userPoints, bond === null || bond === void 0 ? void 0 : bond.trueBondPrices);
63650
+ const feeAmount = billValue.div(new BigNumber$1((_a = trueBondPrice === null || trueBondPrice === void 0 ? void 0 : trueBondPrice.trueBondPrice) !== null && _a !== void 0 ? _a : 0).div(fee / 100));
63651
+ return feeAmount.toNumber();
63652
+ };
63637
63653
  const getBonusColor = (premiumString) => {
63638
63654
  return parseFloat(premiumString) < 0 ? 'premium-negative' : 'premium-positive';
63639
63655
  };
@@ -65536,14 +65552,14 @@ const MAINNET_CHAINS = [
65536
65552
  main.ChainId.BLAST,
65537
65553
  main.ChainId.CROSSFI,
65538
65554
  main.ChainId.SONIC,
65539
- main.ChainId.MONAD_TESTNET,
65555
+ main.ChainId.MONAD,
65540
65556
  main.ChainId.BERACHAIN,
65541
65557
  main.ChainId.SOL,
65542
65558
  main.ChainId.KATANA,
65543
65559
  main.ChainId.UNICHAIN,
65544
65560
  main.ChainId.MEGAETH_TESTNET,
65545
65561
  ];
65546
- const TESTNET_CHAINS = [main.ChainId.MONAD_TESTNET, main.ChainId.MEGAETH_TESTNET];
65562
+ const TESTNET_CHAINS = [main.ChainId.MEGAETH_TESTNET];
65547
65563
  // Network Icons
65548
65564
  const NETWORK_ICONS = {
65549
65565
  [main.ChainId.BSC]: icons.BNB_TOKEN,
@@ -65562,6 +65578,7 @@ const NETWORK_ICONS = {
65562
65578
  [main.ChainId.BLAST]: icons.BLAST,
65563
65579
  [main.ChainId.CROSSFI]: icons.CROSSFI,
65564
65580
  [main.ChainId.MONAD_TESTNET]: icons.MONAD,
65581
+ [main.ChainId.MONAD]: icons.MONAD,
65565
65582
  [main.ChainId.SONIC]: icons.SONIC,
65566
65583
  [main.ChainId.BERACHAIN]: icons.BERA,
65567
65584
  [main.ChainId.SOL]: icons.SOL,
@@ -65589,6 +65606,7 @@ const NETWORK_LABEL = {
65589
65606
  [main.ChainId.BLAST]: 'Blast',
65590
65607
  [main.ChainId.CROSSFI]: 'Crossfi',
65591
65608
  [main.ChainId.MONAD_TESTNET]: 'Monad Testnet',
65609
+ [main.ChainId.MONAD]: 'Monad',
65592
65610
  [main.ChainId.SONIC]: 'Sonic',
65593
65611
  [main.ChainId.BERACHAIN]: 'Berachain',
65594
65612
  [main.ChainId.SOL]: 'Solana',
@@ -65616,6 +65634,7 @@ const BLOCK_EXPLORER = {
65616
65634
  [main.ChainId.BLAST]: 'https://blastscan.io',
65617
65635
  [main.ChainId.CROSSFI]: 'https://xfiscan.com',
65618
65636
  [main.ChainId.MONAD_TESTNET]: 'https://testnet.monadexplorer.com/',
65637
+ [main.ChainId.MONAD]: 'https://monadvision.com/',
65619
65638
  [main.ChainId.SONIC]: 'https://sonicscan.org',
65620
65639
  [main.ChainId.BERACHAIN]: 'https://berascan.com',
65621
65640
  [main.ChainId.SOL]: 'https://solscan.io',
@@ -67645,6 +67664,7 @@ const NETWORK_COLORS = {
67645
67664
  [main.ChainId.BLAST]: '#fcfc034d',
67646
67665
  [main.ChainId.CROSSFI]: '#7c80844d',
67647
67666
  [main.ChainId.MONAD_TESTNET]: '#836EF94d',
67667
+ [main.ChainId.MONAD]: '#836EF94d',
67648
67668
  [main.ChainId.SOL]: '#836EF94d',
67649
67669
  [main.ChainId.SONIC]: '#fb9a4c4d',
67650
67670
  [main.ChainId.BERACHAIN]: '#783e244d',
@@ -76919,6 +76939,7 @@ function useUserTokensBalance(tokens, chainId) {
76919
76939
  const getTokensBalance = (account, tokens, chainId, apiUrl) => __awaiter$9(void 0, void 0, void 0, function* () {
76920
76940
  try {
76921
76941
  if (chainId !== main.ChainId.SOL) {
76942
+ console.log('chainId', chainId);
76922
76943
  const callsToken = tokens
76923
76944
  .filter((token) => token !== 'NATIVE')
76924
76945
  .map((token) => {
@@ -76964,6 +76985,7 @@ const getTokensBalance = (account, tokens, chainId, apiUrl) => __awaiter$9(void
76964
76985
  return [...balancesToken, ...balancesNative];
76965
76986
  }
76966
76987
  else {
76988
+ console.log('Solana balance fetch');
76967
76989
  return yield Promise.all(tokens.map((token) => __awaiter$9(void 0, void 0, void 0, function* () {
76968
76990
  const balance = yield getTokenBalanceSolana(token, account);
76969
76991
  return {
@@ -78180,7 +78202,7 @@ const useApproval = (amount, currency, spender, account, chainId) => {
78180
78202
  return [approvalState !== null && approvalState !== void 0 ? approvalState : ApprovalState.NOT_APPROVED, handleApprove];
78181
78203
  };
78182
78204
 
78183
- const version$1 = '2.38.3';
78205
+ const version$1 = '2.40.0';
78184
78206
 
78185
78207
  let errorConfig = {
78186
78208
  getDocsUrl: ({ docsBaseUrl, docsPath = '', docsSlug, }) => docsPath
@@ -78961,20 +78983,20 @@ const BondCards = ({ bondData }) => {
78961
78983
  };
78962
78984
 
78963
78985
  const Estimations = ({ depositAmount, bondData, youSpendString, isZap, fetchingZapQuote, zapError, }) => {
78964
- var _a, _b, _c;
78986
+ var _a, _b, _c, _d;
78965
78987
  const { data: userPoints } = useTierPoints();
78966
78988
  const trueBondPrice = findHighestTrueBondPrice(userPoints, bondData === null || bondData === void 0 ? void 0 : bondData.trueBondPrices);
78967
78989
  const SDKConfig = useSDKConfig();
78968
78990
  const userTier = getUserTier(userPoints);
78969
78991
  const tierName = userTier ? TIERS_NAMES[userTier] : '';
78970
78992
  // Estimations
78971
- const bonusString = getRawBonus$1(bondData, depositAmount, '0');
78972
- // const fee = getFeeAmount(bondData, depositAmount, userPoints ?? '0')
78973
- // const feeUSD = fee * parseFloat(bondData?.payoutTokenPrice ?? '0')
78993
+ const bonusString = getRawBonus$1(bondData, depositAmount, userPoints !== null && userPoints !== void 0 ? userPoints : '0');
78994
+ const fee = getFeeAmount(bondData, depositAmount, userPoints !== null && userPoints !== void 0 ? userPoints : '0');
78995
+ const feeUSD = fee * parseFloat((_a = bondData === null || bondData === void 0 ? void 0 : bondData.payoutTokenPrice) !== null && _a !== void 0 ? _a : '0');
78974
78996
  const estimatedOutputAmount = getPayoutAmount(bondData, depositAmount, userPoints !== null && userPoints !== void 0 ? userPoints : '0');
78975
- const estimatedOutputUSD = estimatedOutputAmount * parseFloat((_a = bondData === null || bondData === void 0 ? void 0 : bondData.payoutTokenPrice) !== null && _a !== void 0 ? _a : '0');
78997
+ const estimatedOutputUSD = estimatedOutputAmount * parseFloat((_b = bondData === null || bondData === void 0 ? void 0 : bondData.payoutTokenPrice) !== null && _b !== void 0 ? _b : '0');
78976
78998
  const noTierAmount = getRawBonus$1(bondData, depositAmount, '0');
78977
- const boostAmount = parseFloat(getRawBonus$1(bondData, depositAmount, userPoints !== null && userPoints !== void 0 ? userPoints : '0')) - parseFloat(noTierAmount);
78999
+ const boostAmount = parseFloat(bonusString) - parseFloat(noTierAmount);
78978
79000
  return (jsxs(Flex, { className: "modaltable-container text-container", children: [jsxs(Flex, { className: "text-container row", children: [jsx$2(Flex, { className: "row-container spend", children: "You Spend:" }), jsx$2(Flex, { className: "row-container spend-val", children: youSpendString })] }), jsxs(Flex, { className: "text-container row", children: [jsxs(Flex, { className: "row-container premium", children: ["Bonus:", jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { children: TooltipText.Premium }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, 0%)", children: jsx$2(Flex, { className: "row-container premium-icon", children: jsx$2(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), isZap && fetchingZapQuote ? (jsx$2(Dots, {})) : isZap && zapError ? ('-') : (jsxs(Flex, { className: `row-container premium-val ${getBonusColor(bonusString)}`, children: ["$ ", formatNumberSI(bonusString)] }))] }), (trueBondPrice === null || trueBondPrice === void 0 ? void 0 : trueBondPrice.points) !== '0' && userTier !== undefined && userPoints && SDKConfig.useTiers && (jsxs(Flex, { className: "text-container row", sx: {
78979
79001
  border: '1px solid var(--theme-ui-colors-primaryButton)',
78980
79002
  borderRadius: 'normal',
@@ -78991,7 +79013,7 @@ const Estimations = ({ depositAmount, bondData, youSpendString, isZap, fetchingZ
78991
79013
  background: 'primaryButton',
78992
79014
  opacity: 0.3,
78993
79015
  borderRadius: 'normal',
78994
- } }), jsxs(Flex, { className: "row-container premium", sx: { zIndex: 1 }, children: [jsx$2("img", { src: `https://ape.bond/images/launch/${tierName === null || tierName === void 0 ? void 0 : tierName.toLowerCase()}.png`, alt: "minTier", style: { width: '21px', height: '21px', marginRight: '3px', zIndex: 1 } }), jsx$2(Flex, { sx: { color: 'success', mr: '3px', fontWeight: 700 }, children: `${(_b = trueBondPrice === null || trueBondPrice === void 0 ? void 0 : trueBondPrice.boost) !== null && _b !== void 0 ? _b : 0}%` }), "Boost:", jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { children: TooltipText.Boost }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, 0%)", children: jsx$2(Flex, { className: "row-container premium-icon", children: jsx$2(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), isZap && fetchingZapQuote ? (jsx$2(Dots, {})) : isZap && zapError ? ('-') : (jsxs(Flex, { className: `row-container premium-val premium-positive`, children: ["$ ", formatNumberSI(boostAmount)] }))] })), jsxs(Flex, { className: "text-container row", children: [jsxs(Flex, { className: "row-container get", children: ["You Get (over ", vestingTime((_c = bondData === null || bondData === void 0 ? void 0 : bondData.vestingTerm) !== null && _c !== void 0 ? _c : 0).days, " days):"] }), isZap && fetchingZapQuote ? (jsx$2(Dots, {})) : isZap && zapError ? ('-') : (jsxs(Flex, { className: "row-container get-val", children: [formatNumberSI(estimatedOutputAmount, 4), " ", bondData === null || bondData === void 0 ? void 0 : bondData.showcaseTokenName, " = $", ' ', formatNumberSI(estimatedOutputUSD, 2)] }))] })] }));
79016
+ } }), jsxs(Flex, { className: "row-container premium", sx: { zIndex: 1 }, children: [jsx$2("img", { src: `https://ape.bond/images/launch/${tierName === null || tierName === void 0 ? void 0 : tierName.toLowerCase()}.png`, alt: "minTier", style: { width: '21px', height: '21px', marginRight: '3px', zIndex: 1 } }), jsx$2(Flex, { sx: { color: 'success', mr: '3px', fontWeight: 700 }, children: `${(_c = trueBondPrice === null || trueBondPrice === void 0 ? void 0 : trueBondPrice.boost) !== null && _c !== void 0 ? _c : 0}%` }), "Boost:", jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { children: TooltipText.Boost }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, 0%)", children: jsx$2(Flex, { className: "row-container premium-icon", children: jsx$2(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), isZap && fetchingZapQuote ? (jsx$2(Dots, {})) : isZap && zapError ? ('-') : (jsxs(Flex, { className: `row-container premium-val premium-positive`, children: ["$ ", formatNumberSI(boostAmount)] }))] })), !!bondData.feeInPayout && (jsxs(Flex, { className: "text-container row", children: [jsxs(Flex, { className: "row-container premium", children: ["Fee:", jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsxs(Flex, { children: ["This is the protocol fee (", bondData.feeInPayout, "%)."] }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: jsx$2(Flex, { className: "row-container premium-icon", children: jsx$2(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), isZap && fetchingZapQuote ? (jsx$2(Dots, {})) : isZap && zapError ? ('-') : (jsxs(Flex, { className: `row-container premium-val`, children: ["$ ", formatNumberSI(feeUSD)] }))] })), jsxs(Flex, { className: "text-container row", children: [jsxs(Flex, { className: "row-container get", children: ["You Get (over ", vestingTime((_d = bondData === null || bondData === void 0 ? void 0 : bondData.vestingTerm) !== null && _d !== void 0 ? _d : 0).days, " days):"] }), isZap && fetchingZapQuote ? (jsx$2(Dots, {})) : isZap && zapError ? ('-') : (jsxs(Flex, { className: "row-container get-val", children: [formatNumberSI(estimatedOutputAmount, 4), " ", bondData === null || bondData === void 0 ? void 0 : bondData.showcaseTokenName, " = $", ' ', formatNumberSI(estimatedOutputUSD)] }))] })] }));
78995
79017
  };
78996
79018
 
78997
79019
  const ProjectDescription = ({ description, isProjectView }) => {
@@ -87113,16 +87135,16 @@ const HotBondCards = () => {
87113
87135
  };
87114
87136
 
87115
87137
  const BANNER_INFO = {
87116
- [main.ChainId.MONAD_TESTNET]: {
87117
- title: 'Test and Play on Monad Testnet',
87118
- subtitle: 'Explore Bonds on the Monad Testnet for free.',
87138
+ [main.ChainId.MONAD]: {
87139
+ title: 'Monad Mainnet Bonds',
87140
+ subtitle: 'Launch Coming Soon.',
87119
87141
  buttons: [
87120
87142
  {
87121
87143
  label: 'LEARN MORE',
87122
- href: 'https://apebond.medium.com/apebond-integrates-testnet-bonds-paving-the-way-for-exciting-new-chains-3f62e2204746?source=social.tw',
87144
+ href: 'https://x.com/ApeBond/status/1995538519536578880?s=20',
87123
87145
  variant: variants.SECONDARY,
87124
87146
  },
87125
- { label: 'GET MON TOKENS', href: 'https://testnet.monad.xyz' },
87147
+ { label: 'Launch Yours', href: 'https://forms.clickup.com/3080492/f/2y09c-6585/O175DYTK4PMR6P4CZA' },
87126
87148
  ],
87127
87149
  background: 'https://res.cloudinary.com/dswmrqgwy/image/upload/v1/banner_jpkg38.png',
87128
87150
  backgroundMobile: 'https://res.cloudinary.com/dswmrqgwy/image/upload/v1/banner-mobile_y6xveu.png',
@@ -87177,12 +87199,12 @@ const ActiveBondRows = ({ chain, bonds, hideTitles, showHotBonds }) => {
87177
87199
  const { namingPreference } = useSDKConfig();
87178
87200
  const [isOpen, setIsOpen] = useState(true);
87179
87201
  const key = chain;
87180
- return (jsx$2(Flex$1, { className: "bondrowswithtitle", children: jsxs(AnimatePresence, { initial: false, children: [jsx$2(Flex$1, { onClick: () => setIsOpen(!isOpen), sx: { cursor: 'pointer' }, children: jsx$2(ChainTitle, { chain: chain, pt: '5px', hideTitles: (bonds.length <= 0 && chain !== main.ChainId.SOL) || hideTitles, isOpen: isOpen }) }), isOpen && (bonds.length > 0 || chain === main.ChainId.SOL) && (jsxs(motion.div, { initial: { height: 0, overflow: 'hidden' }, animate: { height: 'fit-content', overflow: 'hidden', transitionEnd: { overflow: 'visible' } }, exit: { height: 0, overflow: 'hidden' }, sx: {
87202
+ return (jsx$2(Flex$1, { className: "bondrowswithtitle", children: jsxs(AnimatePresence, { initial: false, children: [jsx$2(Flex$1, { onClick: () => setIsOpen(!isOpen), sx: { cursor: 'pointer' }, children: jsx$2(ChainTitle, { chain: chain, pt: '5px', hideTitles: (bonds.length <= 0 && chain !== main.ChainId.SOL && chain !== main.ChainId.MONAD) || hideTitles, isOpen: isOpen }) }), isOpen && (bonds.length > 0 || chain === main.ChainId.SOL || chain === main.ChainId.MONAD) && (jsxs(motion.div, { initial: { height: 0, overflow: 'hidden' }, animate: { height: 'fit-content', overflow: 'hidden', transitionEnd: { overflow: 'visible' } }, exit: { height: 0, overflow: 'hidden' }, sx: {
87181
87203
  position: 'relative',
87182
87204
  overflow: 'hidden',
87183
87205
  width: '100%',
87184
87206
  marginTop: '0px',
87185
- }, className: "bonds-card-container", children: [[main.ChainId.SOL, main.ChainId.MONAD_TESTNET].includes(chain) && !hideTitles && jsx$2(ChainBanner, { chainId: chain }), bonds === null || bonds === void 0 ? void 0 : bonds.map((bondFromMap, index) => {
87207
+ }, className: "bonds-card-container", children: [[main.ChainId.SOL, main.ChainId.MONAD].includes(chain) && !hideTitles && jsx$2(ChainBanner, { chainId: chain }), bonds === null || bonds === void 0 ? void 0 : bonds.map((bondFromMap, index) => {
87186
87208
  // PRE TGE ROWS
87187
87209
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
87188
87210
  if (bondFromMap.billType === 'fcfs') {
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.9",
6
+ "version": "4.4.1-test.1",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",
@@ -32,8 +32,8 @@
32
32
  "peerDependencies": {
33
33
  "@rainbow-me/rainbowkit": "^2.1.7",
34
34
  "@tanstack/react-query": "5.x",
35
- "@solana/kit": "2.1.1",
36
- "@solana/spl-token": "^0.4.13",
35
+ "@solana/kit": "2.3.0",
36
+ "@solana/spl-token": "^0.4.14",
37
37
  "@solana/wallet-adapter-react": "^0.15.39",
38
38
  "@solana/wallet-adapter-react-ui": "^0.9.39",
39
39
  "@solana/web3.js": "^1.98.4",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@eslint/js": "^9.28.0",
47
- "@rainbow-me/rainbowkit": "^2.1.6",
47
+ "@rainbow-me/rainbowkit": "^2.2.9",
48
48
  "@rollup/plugin-commonjs": "^25.0.7",
49
49
  "@rollup/plugin-json": "^6.1.0",
50
50
  "@rollup/plugin-node-resolve": "^15.2.3",
@@ -59,7 +59,7 @@
59
59
  "@types/react": "^18.3.3",
60
60
  "@types/react-dom": "^18.3.0",
61
61
  "@vitejs/plugin-react": "^4.2.1",
62
- "axios": "1.8.2",
62
+ "axios": "1.13.2",
63
63
  "eslint": "^9.28.0",
64
64
  "eslint-plugin-react": "^7.37.5",
65
65
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -74,11 +74,12 @@
74
74
  "typescript": "^5.0.0",
75
75
  "typescript-eslint": "^8.34.0",
76
76
  "vite": "7.1.12",
77
- "yalc": "^1.0.0-pre.53"
77
+ "yalc": "^1.0.0-pre.53",
78
+ "wagmi": "2.19.5"
78
79
  },
79
80
  "dependencies": {
80
81
  "@jup-ag/api": "6.0.45",
81
- "@ape.swap/apeswap-lists": "4.4.7",
82
+ "@ape.swap/apeswap-lists": "^4.4.8",
82
83
  "@emotion/react": "11.14.0",
83
84
  "bignumber.js": "^9.1.2",
84
85
  "buffer": "^6.0.3",