@ape.swap/bonds-sdk 3.0.43 → 3.0.45

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 +3 -10
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -18020,7 +18020,6 @@ var types = {};
18020
18020
  // ShadowExchangeV3 = 'ShadowExchangeV3',
18021
18021
  LiquidityDex['SwapX'] = 'SwapX';
18022
18022
  LiquidityDex['SwapXAlgebraIntegral'] = 'SwapXAlgebraIntegral';
18023
- LiquidityDex['Equalizer'] = 'Equalizer';
18024
18023
  //BERACHAIN
18025
18024
  LiquidityDex['KodiakV2'] = 'KodiakV2';
18026
18025
  LiquidityDex['KodiakV3'] = 'KodiakV3';
@@ -18381,7 +18380,6 @@ var types = {};
18381
18380
  // },
18382
18381
  (_p[LiquidityDex.SwapX] = {
18383
18382
  factory: '0x05c1be79d3aC21Cc4B727eeD58C9B2fF757F5663',
18384
- router: '0xF5F7231073b3B41c04BA655e1a7438b1a7b29c27',
18385
18383
  protocol: Protocols.Solidly,
18386
18384
  }),
18387
18385
  (_p[LiquidityDex.SwapXAlgebraIntegral] = {
@@ -18392,11 +18390,6 @@ var types = {};
18392
18390
  factory: '0x56CFC796bC88C9c7e1b38C2b0aF9B7120B079aef',
18393
18391
  protocol: Protocols.V3,
18394
18392
  }),
18395
- (_p[LiquidityDex.Equalizer] = {
18396
- factory: '0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC',
18397
- router: '0x7635cD591CFE965bE8beC60Da6eA69b6dcD27e4b',
18398
- protocol: Protocols.Solidly,
18399
- }),
18400
18393
  _p)),
18401
18394
  (_a[ChainId.MONAD_TESTNET] =
18402
18395
  ((_q = {}),
@@ -18708,7 +18701,6 @@ var types = {};
18708
18701
  (_8[LiquidityDex.TrebleAlgebraIntegral] = {}),
18709
18702
  (_8[LiquidityDex.KodiakV2] = {}),
18710
18703
  (_8[LiquidityDex.KodiakV3] = {}),
18711
- (_8[LiquidityDex.Equalizer] = {}),
18712
18704
  _8);
18713
18705
 
18714
18706
  } (types));
@@ -77031,7 +77023,8 @@ const BuyBond = ({ onDismiss, bondAddress, bondChain, handlePurchasedBond, isPro
77031
77023
  justifyContent: 'center',
77032
77024
  mt: '10px',
77033
77025
  borderRadius: 'normal',
77034
- }, children: jsx$2(Text, { sx: { fontSize: '12px', fontWeight: 400, p: '2px 10px' }, children: jsx$2(SafeHTMLComponent, { html: bondData === null || bondData === void 0 ? void 0 : bondData.warningCard }) }) })), jsxs(Flex, { className: "modaltable-container button-container", children: [account && (jsx$2(Flex, { className: "button-container get", children: jsx$2(Button, { className: "action-button", onClick: () => bondData.billVersion === types.BillVersion.V4 && SDKConfig.useTiers
77026
+ p: '2px 10px',
77027
+ }, children: jsxs(Text, { sx: { fontSize: '12px', fontWeight: 400, display: 'flex', alignItems: 'center', gap: '10px' }, children: [jsx$2(SafeHTMLComponent, { html: bondData === null || bondData === void 0 ? void 0 : bondData.warningCard }), (bondData === null || bondData === void 0 ? void 0 : bondData.chainId) === types.ChainId.SONIC && (bondData === null || bondData === void 0 ? void 0 : bondData.earnToken.symbol.toLowerCase()) === 'moon' && (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Text, { sx: { textTransform: 'none' }, children: "Open the 'cog' icon menu in the top right and set the Slippage Tolerance to 5% or more." }), width: '315px', placement: 'topRight', transformTip: 'translate(9%, -10%)', children: jsx$2(Svg, { icon: "questionCircle", width: 14, color: "textDisabledButton" }) }))] }) })), jsxs(Flex, { className: "modaltable-container button-container", children: [account && (jsx$2(Flex, { className: "button-container get", children: jsx$2(Button, { className: "action-button", onClick: () => bondData.billVersion === types.BillVersion.V4 && SDKConfig.useTiers
77035
77028
  ? window.open('http://ape.bond/tier-staking', '_blank')
77036
77029
  : zapEnabled
77037
77030
  ? handleOpenZapModal()
@@ -77431,7 +77424,7 @@ const BondRowsByChain = ({ bonds, hideTitles }) => {
77431
77424
  const SDKConfig = useSDKConfig();
77432
77425
  const validatedChains = (_a = SDKConfig === null || SDKConfig === void 0 ? void 0 : SDKConfig.chains) === null || _a === void 0 ? void 0 : _a.filter((chain) => MAINNET_CHAINS.includes(chain));
77433
77426
  return (jsx$2(Flex$1, { className: "bondrowsbychain", children: validatedChains === null || validatedChains === void 0 ? void 0 : validatedChains.map((chain) => {
77434
- return (jsx$2(BondRowsWithTitle, { chain: chain, bonds: bonds, hideTitles: hideTitles, showHotBonds: hideTitles ? false : SDKConfig.useHotBonds ? chain === types.ChainId.BASE || chain === types.ChainId.MAINNET : false }, chain));
77427
+ return (jsx$2(BondRowsWithTitle, { chain: chain, bonds: bonds, hideTitles: hideTitles, showHotBonds: hideTitles ? false : SDKConfig.useHotBonds ? chain === types.ChainId.BSC || chain === types.ChainId.MAINNET : false }, chain));
77435
77428
  }) }));
77436
77429
  };
77437
77430
 
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.43",
6
+ "version": "3.0.45",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",