@ape.swap/bonds-sdk 3.0.59 → 3.0.60

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 +4 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -18980,6 +18980,7 @@ const AddFavToken = ({ tokenSymbol, hotBond }) => {
18980
18980
  }, [favTokens, tokenSymbol]);
18981
18981
  return (jsx$2(Flex, { sx: { justifyContent: 'center', alignItems: 'center', width: '100%', p: '0 5px' }, onClick: (event) => {
18982
18982
  event.stopPropagation();
18983
+ console.log('clicked');
18983
18984
  setIsFavToken(true);
18984
18985
  addFavToken(tokenSymbol);
18985
18986
  }, children: jsx$2(AnimatePresence, { mode: "wait", children: jsx$2(motion.div, { initial: false, animate: { opacity: 1, scale: 1.0 }, exit: { opacity: 0, scale: 0.8 }, transition: { duration: 0.2 }, style: { display: 'flex' }, children: isFavToken ? (jsx$2(Svg, { icon: "StarFilled", width: 22, height: 22, color: '#DE62F3' })) : (jsx$2(Svg, { icon: hotBond ? 'FirePink' : 'Star', width: hotBond ? 25 : 20, height: hotBond ? 25 : 20, color: '#73728E' })) }, isFavToken ? 'StarFilled' : 'Star') }) }));
@@ -19005,7 +19006,7 @@ const NETWORK_COLORS = {
19005
19006
  const TokenInfoAndName = ({ tokenSymbol, chain, tag, vestEnds, isHotBond, }) => {
19006
19007
  var _a, _b;
19007
19008
  return (jsxs(Flex, { className: "tokeninfoname container", children: [jsx$2(Flex, { sx: {
19008
- width: '100%',
19009
+ width: '125px',
19009
19010
  height: '100%',
19010
19011
  position: 'absolute',
19011
19012
  left: 0,
@@ -19013,14 +19014,14 @@ const TokenInfoAndName = ({ tokenSymbol, chain, tag, vestEnds, isHotBond, }) =>
19013
19014
  borderRadius: 'normal',
19014
19015
  background: isHotBond
19015
19016
  ? 'transparent'
19016
- : `linear-gradient(90deg, ${(_a = NETWORK_COLORS[chain]) !== null && _a !== void 0 ? _a : '#FFFFFF33'} 0%, rgba(0,0,0,0) 20%)`,
19017
+ : `linear-gradient(90deg, ${(_a = NETWORK_COLORS[chain]) !== null && _a !== void 0 ? _a : '#FFFFFF33'} 0%, rgba(0,0,0,0) 75%)`,
19017
19018
  } }), jsx$2(Flex, { className: "tokeninfoname chain", children: jsx$2(Svg, { width: 20, height: 20, icon: (_b = NETWORK_ICONS[chain]) !== null && _b !== void 0 ? _b : 'question' }) }), jsxs(Flex, { className: "tokeninfoname tokencontainer", sx: {
19018
19019
  marginTop: vestEnds ? ['10px', '10px', '10px', '0px'] : 0,
19019
19020
  maxWidth: ['175px', '175px', '140px', '190px', '190px'],
19020
19021
  }, children: [jsx$2(TokenImage, { symbol: tokenSymbol, size: 33 }), jsxs(Flex, { className: "tokeninfoname tokentext", children: [jsx$2(Flex, { sx: { justifyContent: 'space-between', width: '100%', alignItems: 'center' }, children: jsx$2(Text, { sx: { fontSize: ['12px', '12px', '14px', '16px'] }, children: tokenSymbol }) }), vestEnds && (jsx$2(Flex, { sx: { fontSize: '12px', fontWeight: 400, opacity: 0.6, lineHeight: '14px' }, children: vestEnds }))] }), jsx$2(Flex, { className: "tokeninfofav", sx: {
19021
19022
  minWidth: '25px',
19022
19023
  p: '5px',
19023
- }, children: jsx$2(AddFavToken, { tokenSymbol: tokenSymbol, hotBond: isHotBond }) })] }), jsx$2(Flex, { sx: {
19024
+ }, children: jsx$2(AddFavToken, { tokenSymbol: tokenSymbol, hotBond: !vestEnds && isHotBond }) })] }), jsx$2(Flex, { sx: {
19024
19025
  justifyContent: isHotBond ? 'center' : 'flex-start',
19025
19026
  alignItems: 'center',
19026
19027
  }, children: jsx$2(Flex, { sx: { display: isHotBond ? 'flex' : ['none', 'none', 'none', 'none', 'flex'] }, children: tag && jsx$2(ListTag, { text: tag === null || tag === void 0 ? void 0 : tag.toUpperCase() }) }) })] }));
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.59",
6
+ "version": "3.0.60",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",