@ape.swap/bonds-sdk 1.0.202 → 1.0.203

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.
@@ -192,7 +192,7 @@ var Bonds = function (_a) {
192
192
  }, showTooltip: true, toolTip: "".concat(remainingTokensFormat(bond), " ").concat(bond.payoutTokenName, " (").concat(formatDollar({
193
193
  num: remainingTokensUsd(bond).toNumber(),
194
194
  isPrice: true,
195
- }), ")") }) })), _jsx(Flex, __assign({ className: "column column-hotbond" }, { children: _jsx(Flex, __assign({ className: "column column-icon" }, { children: hotBonds.includes(bond.billAddress.toLowerCase()) && ((_c = bond.discount) !== null && _c !== void 0 ? _c : 0) > 0 && (_jsx(Svg, { icon: "fire", width: "20px" })) })) }))] }), bond.billAddress));
195
+ }), ")") }) })), _jsx(Flex, __assign({ className: "column column-hotbond" }, { children: _jsx(Flex, __assign({ className: "column column-icon" }, { children: hotBonds.includes(bond.billAddress.toLowerCase()) && ((_c = bond.discount) !== null && _c !== void 0 ? _c : 0) > 0 && (_jsx(Svg, { icon: "hot", width: "20px" })) })) }))] }), bond.billAddress));
196
196
  })] }))] })));
197
197
  };
198
198
  export default Bonds;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const Hot: React.FC<SvgProps>;
4
+ export default Hot;
@@ -0,0 +1,17 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "theme-ui/jsx-runtime";
13
+ var Hot = function (_a) {
14
+ var _b = _a.color, color = _b === void 0 ? '#FE815F' : _b, width = _a.width;
15
+ return (_jsx("svg", __assign({ width: width || '10', viewBox: "0 0 11 14", fill: "#FE815F", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z", fill: color }) })));
16
+ };
17
+ export default Hot;
@@ -46,6 +46,7 @@ export { default as Message } from './Message';
46
46
  export { default as Positions } from './Positions';
47
47
  export { default as MenuSettings } from './MenuSettings';
48
48
  export { default as Fav } from './Fav';
49
+ export { default as Hot } from './Hot';
49
50
  export { default as AbondSmallLogo } from './AbondSmallLogo';
50
51
  export { default as ApeswapSmallLogo } from './ApeswapSmallLogo';
51
52
  export { default as AbondFullLogo } from './AbondFullLogo';
@@ -46,6 +46,7 @@ export { default as Message } from './Message';
46
46
  export { default as Positions } from './Positions';
47
47
  export { default as MenuSettings } from './MenuSettings';
48
48
  export { default as Fav } from './Fav';
49
+ export { default as Hot } from './Hot';
49
50
  // LOGOS
50
51
  export { default as AbondSmallLogo } from './AbondSmallLogo';
51
52
  export { default as ApeswapSmallLogo } from './ApeswapSmallLogo';
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import { jsx as _jsx } from "theme-ui/jsx-runtime";
24
24
  import { icons } from './types';
25
25
  import { dynamicStyles } from './styles';
26
- import { Caret, External, Home, Calculator, Farm, Frame, Gnana, Info, More, NFA, Pool, Rocket, Trade, Vault, Ellipse, Twitter, Send, Error, Close, Collapse, TextLogo, ProfileLight, ProfileDark, ProfileIcon, ApeswapSmallLogo, Hamburger, Search, QuestionCircle, Success, Settings, Chart, Discord, Reddit, Medium, Instagram, Website, Arrow, SwapArrows, InfoSolid, SuccessOutline, Trash, Cancelled, ZapArrow, ZapIcon, Migrate, Message, Positions, MenuSettings, Fav, AbondFullLogo, AbondSmallLogo, FullLogo, Telegram, Island, Moon, AccountMonkey, Card, Cog, Bridge, Docs, Quiz, PlaceholderMonkey, SwitchArrows, Copy, HamburgerClosed, BillsM1, BillsM2, BillsM3, URL, Bubble, Audit, GreenShield, Chain, Verified, TickShield, Share, FilledURL, YellowQuestionMark, BananaIcon, ScrollTop, Explorer, LiquidityIcon, PolygonNew, Fire, NavCaret, Logout, Wallet, Receipt, ApebondLogo, Question, Chat, DocsV2, Tag, Play, Watch, XNew, DiscordNew, WebsiteNew, WhitepaperNew, Calendar, QuestionFill, TelegramNew, Warning, Insight, Expand, LineChart, } from './Icons';
26
+ import { Caret, External, Home, Calculator, Farm, Frame, Gnana, Info, More, NFA, Pool, Rocket, Trade, Vault, Ellipse, Twitter, Send, Error, Close, Collapse, TextLogo, ProfileLight, ProfileDark, ProfileIcon, ApeswapSmallLogo, Hamburger, Search, QuestionCircle, Success, Settings, Chart, Discord, Reddit, Medium, Instagram, Website, Arrow, SwapArrows, InfoSolid, SuccessOutline, Trash, Cancelled, ZapArrow, ZapIcon, Migrate, Message, Positions, MenuSettings, Fav, AbondFullLogo, AbondSmallLogo, FullLogo, Telegram, Island, Moon, AccountMonkey, Card, Cog, Bridge, Docs, Quiz, PlaceholderMonkey, SwitchArrows, Copy, HamburgerClosed, BillsM1, BillsM2, BillsM3, URL, Bubble, Audit, GreenShield, Chain, Verified, TickShield, Share, FilledURL, YellowQuestionMark, BananaIcon, ScrollTop, Explorer, LiquidityIcon, PolygonNew, Fire, Hot, NavCaret, Logout, Wallet, Receipt, ApebondLogo, Question, Chat, DocsV2, Tag, Play, Watch, XNew, DiscordNew, WebsiteNew, WhitepaperNew, Calendar, QuestionFill, TelegramNew, Warning, Insight, Expand, LineChart, } from './Icons';
27
27
  import { BSC, BANANA, BNB, ETH, GNANA, POLYGON, TLOS, ARBITRUM, FANTOM, AVAX, OPTIMISM, CELO, CRONOS, POLYGONZK, GNOSIS, OKEX, ABOND, INEVM, LINEA, LIGHTLINK, IOTA, BASE, } from './tokens';
28
28
  import { BinanceChain, Bitkeep, Brave, Coinbase, MadWallet, MathWallet, Metamask, Nabox, OKX, OntoWallet, SafePalWallet, SocialLogin, TokenPocket, TorusWallet, TrustWallet, Unstoppable, WalletConnect, WalletImage, } from './walletIcons';
29
29
  import Language from './Icons/LanguageIcon';
@@ -245,6 +245,8 @@ var Svg = function (_a) {
245
245
  return _jsx(PolygonNew, __assign({}, props, { getStyles: getStyles }));
246
246
  case icons.FIRE:
247
247
  return _jsx(Fire, __assign({}, props, { getStyles: getStyles }));
248
+ case icons.HOT:
249
+ return _jsx(Hot, __assign({}, props, { getStyles: getStyles }));
248
250
  case icons.NAV_CARET:
249
251
  return _jsx(NavCaret, __assign({}, props, { getStyles: getStyles }));
250
252
  case icons.LOGOUT:
@@ -128,6 +128,7 @@ export declare enum icons {
128
128
  LIQUIDITY_ICON = "liquidity",
129
129
  POLYGON_NEW = "polygonNew",
130
130
  FIRE = "fire",
131
+ HOT = "hot",
131
132
  NAV_CARET = "navCaret",
132
133
  LOGOUT = "logout",
133
134
  WALLET = "wallet",
@@ -133,6 +133,7 @@ export var icons;
133
133
  icons["LIQUIDITY_ICON"] = "liquidity";
134
134
  icons["POLYGON_NEW"] = "polygonNew";
135
135
  icons["FIRE"] = "fire";
136
+ icons["HOT"] = "hot";
136
137
  icons["NAV_CARET"] = "navCaret";
137
138
  icons["LOGOUT"] = "logout";
138
139
  icons["WALLET"] = "wallet";
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": "1.0.202",
6
+ "version": "1.0.203",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",