@ape.swap/bonds-sdk 2.6.2 → 2.6.3

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.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from './types';
3
+ declare const Timer: React.FC<SvgProps>;
4
+ export default Timer;
@@ -113,3 +113,4 @@ export { default as Star } from './Star';
113
113
  export { default as StarFilled } from './StarFilled';
114
114
  export { default as FirePink } from './FirePink';
115
115
  export { default as Farcaster } from './Farcaster';
116
+ export { default as Timer } from './Timer';
@@ -155,7 +155,8 @@ export declare enum icons {
155
155
  StarFilled = "StarFilled",
156
156
  FirePink = "FirePink",
157
157
  GRAPHLINQ = "GRAPHLINQ",
158
- Farcaster = "Farcaster"
158
+ Farcaster = "Farcaster",
159
+ TIMER = "Timer"
159
160
  }
160
161
  export declare enum directions {
161
162
  LEFT = "left",
package/dist/main.js CHANGED
@@ -4115,6 +4115,7 @@ var icons;
4115
4115
  icons["FirePink"] = "FirePink";
4116
4116
  icons["GRAPHLINQ"] = "GRAPHLINQ";
4117
4117
  icons["Farcaster"] = "Farcaster";
4118
+ icons["TIMER"] = "Timer";
4118
4119
  })(icons || (icons = {}));
4119
4120
  var directions;
4120
4121
  (function (directions) {
@@ -7032,6 +7033,20 @@ const Farcaster = ({ width }) => {
7032
7033
  return (jsx$2("svg", { width: width || '33', height: width || '33', viewBox: "0 0 33 32", xmlns: "http://www.w3.org/2000/svg", fill: "none", children: jsxs("g", { children: [jsx$2("title", { children: "Farcaster" }), jsxs("g", { stroke: "null", id: "svg_1", children: [jsx$2("path", { stroke: "null", d: "m5.75146,0.8534l19.14605,0l0,29.2932l-2.81055,0l0,-13.41759l-0.02693,0c-0.15078,-1.81012 -0.92572,-3.49416 -2.17223,-4.72065c-1.24651,-1.22627 -2.8743,-1.90637 -4.56344,-1.90637c-1.68892,0 -3.31672,0.6801 -4.56323,1.90637c-1.24651,1.2265 -2.02145,2.91052 -2.17223,4.72065l-0.02693,0l0,13.41759l-2.81055,0l0,-29.2932l0.00002,0l0.00001,0z", fill: "white", id: "svg_2" }), jsx$2("path", { stroke: "null", d: "m0.65829,5.01111l1.14147,4.15792l0.9661,0l0,16.82072c-0.23254,0 -0.45571,0.09952 -0.62018,0.27635c-0.16448,0.17705 -0.25687,0.41703 -0.25687,0.66726l0,1.13547l-0.17541,0c-0.1154,-0.00044 -0.22973,0.02374 -0.33645,0.07099c-0.10672,0.04726 -0.2037,0.11672 -0.28543,0.20427c-0.08173,0.08776 -0.14656,0.19186 -0.19082,0.30662c-0.04423,0.11455 -0.06703,0.23759 -0.06703,0.36172l0,1.13394l9.83601,0l0,-1.13241c0.0002,-0.12413 -0.02226,-0.24695 -0.06639,-0.36172c-0.04392,-0.11455 -0.10848,-0.21886 -0.19004,-0.30662c-0.08136,-0.08776 -0.1781,-0.15744 -0.28456,-0.20493c-0.10665,-0.04747 -0.2208,-0.07187 -0.33597,-0.07187l-0.17547,0l0,-1.13394c0.0002,-0.12434 -0.02246,-0.24739 -0.06659,-0.36215c-0.04412,-0.11499 -0.10908,-0.2193 -0.19065,-0.30705c-0.08176,-0.08776 -0.17891,-0.15744 -0.28577,-0.2047c-0.10665,-0.04747 -0.2212,-0.07164 -0.33677,-0.07121l-1.05241,0l0,-20.97864l-7.02679,0l-0.00002,-0.00001l0.00003,-0.00001zm21.60416,20.97864c-0.11517,-0.00021 -0.22951,0.02417 -0.33597,0.07143c-0.10665,0.04726 -0.20341,0.11672 -0.28496,0.20449c-0.08156,0.08755 -0.14633,0.19164 -0.19045,0.30641c-0.04432,0.11455 -0.06698,0.23737 -0.06698,0.36128l0,1.13547l-0.17547,0c-0.11517,-0.00021 -0.22931,0.02396 -0.33597,0.07143c-0.10645,0.04726 -0.20341,0.11672 -0.28496,0.20449c-0.08156,0.08755 -0.14633,0.19164 -0.19045,0.30618c-0.04412,0.11455 -0.06698,0.23737 -0.06698,0.3615l0,1.13394l9.83603,0l0,-1.13241c0.0002,-0.12413 -0.02226,-0.24717 -0.06639,-0.36193c-0.04412,-0.11476 -0.10888,-0.21907 -0.19045,-0.30684c-0.08156,-0.08776 -0.17851,-0.15744 -0.28516,-0.20493c-0.10665,-0.04726 -0.2208,-0.07164 -0.33637,-0.07143l-0.17527,0l0,-1.13394c0.0002,-0.12413 -0.02246,-0.24717 -0.06659,-0.36193c-0.04412,-0.11476 -0.10868,-0.21907 -0.19024,-0.30684c-0.08176,-0.08776 -0.17851,-0.15744 -0.28516,-0.2047c-0.10665,-0.04747 -0.221,-0.07187 -0.33637,-0.07164l0,-16.82072l0.966,0l1.14147,-4.15792l-7.02547,0l0,20.97864l-1.05383,0l0,-0.00002z", fill: "white", id: "svg_3" })] })] }) }));
7033
7034
  };
7034
7035
 
7036
+ const Timer = ({ direction = 'right', color = 'text', width, getStyles }) => {
7037
+ const deg = {
7038
+ left: 180,
7039
+ up: 270,
7040
+ right: 0,
7041
+ down: 90,
7042
+ };
7043
+ getStyles({
7044
+ degree: deg[direction],
7045
+ color,
7046
+ });
7047
+ return (jsx$2("svg", { width: width || '28', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", fill: color, children: jsx$2("path", { d: "M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" }) }));
7048
+ };
7049
+
7035
7050
  const BANANA = ({ width }) => {
7036
7051
  return (jsxs("svg", { width: width || '25', viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx$2("path", { d: "M16.5444 34.937L16.5429 34.9368C13.2548 34.654 10.1202 33.4202 7.52143 31.386C4.9227 29.3518 2.97226 26.6053 1.90808 23.4814C0.843902 20.3575 0.712007 16.9915 1.52849 13.7939C2.34497 10.5964 4.07452 7.7056 6.50611 5.47434C8.9377 3.24307 11.9662 1.76779 15.222 1.22852C18.4779 0.689239 21.8203 1.10928 24.8415 2.43739C27.8626 3.7655 30.4319 5.94425 32.2358 8.70778C34.0396 11.4713 35.0001 14.7001 35 18.0003C35 22.5089 33.2089 26.8328 30.0208 30.0209C26.8327 33.209 22.5087 35 18 35C17.5092 35 17.024 34.9789 16.5444 34.937Z", fill: "#FAF4E6", stroke: "white", strokeWidth: "2" }), jsx$2("path", { d: "M17.1717 20.2991C17.1717 20.2991 17.3079 18.3836 14.8592 16.2792C11.3558 13.2704 10.9537 12.6088 13.8571 13.079C16.7606 13.5492 18.8753 15.9825 18.8753 15.9825", fill: "#FFCA28" }), jsx$2("path", { d: "M11.0577 25.5935L10.9691 24.3691L8.5525 24.5464C8.43256 24.5553 8.32107 24.6114 8.24253 24.7025C8.16398 24.7936 8.12483 24.9121 8.13368 25.0321L8.15295 25.3468C8.16183 25.4668 8.21793 25.5785 8.30895 25.6572C8.39998 25.736 8.51851 25.7754 8.63857 25.7669L11.0577 25.5935Z", fill: "#AC752C" }), jsx$2("path", { d: "M11.0577 25.5935L11.0128 24.9819L8.14526 25.1913L8.15297 25.3468C8.16185 25.4668 8.21795 25.5784 8.30898 25.6572C8.40001 25.7359 8.51854 25.7754 8.6386 25.7669L11.0577 25.5935Z", fill: "#7D551F" }), jsx$2("path", { d: "M21.7311 21.4104C21.3081 20.9631 20.8252 20.5765 20.2961 20.2619C19.7822 19.9458 19.2323 19.6953 18.6927 19.4319C18.2161 19.1994 17.7831 18.9347 17.2641 18.8333L17.1934 18.9335C17.169 18.9669 17.1433 18.999 17.1202 19.0324C17.0675 19.1082 17.0097 19.1827 16.9519 19.2585L16.9301 19.2868L16.8569 19.3818C16.8312 19.4152 16.8029 19.4473 16.7759 19.4808C16.7181 19.5553 16.6577 19.6272 16.5961 19.6979C16.4162 19.9124 16.2261 20.1218 16.0282 20.3248C15.9948 20.3599 15.9614 20.3933 15.928 20.425C15.8753 20.4803 15.8214 20.5342 15.7661 20.5856L15.6492 20.6974C15.6094 20.7359 15.5708 20.7719 15.531 20.8079L15.5053 20.8323C15.4462 20.8875 15.3846 20.9428 15.3216 20.9954L15.2792 21.0327C15.2556 21.0559 15.2308 21.0778 15.2047 21.0982L15.1302 21.1612C15.066 21.2138 15.0017 21.2678 14.94 21.3192C14.8514 21.3924 14.7576 21.4656 14.6651 21.5363C14.5726 21.607 14.5161 21.6506 14.439 21.7046L14.3966 21.7342L14.209 21.8626C14.1088 21.9333 14.0048 22.0027 13.8994 22.0695C13.6853 22.2091 13.4643 22.3427 13.2365 22.4703C12.8252 22.703 12.4 22.9102 11.9634 23.0908C11.7771 23.1705 11.5869 23.245 11.3955 23.3144C11.2992 23.3491 11.2015 23.3837 11.1039 23.4159C11.0062 23.448 10.933 23.4737 10.8469 23.5006C10.7287 23.5366 10.6118 23.57 10.4949 23.6034C10.465 23.6158 10.4358 23.6299 10.4076 23.6458C10.3921 23.6548 10.3742 23.6651 10.3549 23.6741L10.3253 23.6921L10.2958 23.7113C10.0256 23.8808 9.81464 24.13 9.69197 24.4244C9.69197 24.4334 9.69196 24.4423 9.68169 24.4526C9.61021 24.6516 9.5826 24.8638 9.60075 25.0744C9.60839 25.1947 9.6282 25.314 9.65985 25.4303C9.68079 25.5144 9.71231 25.5956 9.75363 25.6718C9.90561 25.9343 10.1387 26.1403 10.4178 26.2589C10.9857 26.5262 11.7257 26.5763 12.1715 26.5776C14.0656 26.5467 15.9275 26.0819 17.6139 25.2188C19.3003 24.3558 20.7664 23.1175 21.8994 21.5993C21.8454 21.5376 21.7902 21.4746 21.7311 21.4104Z", fill: "#FFB300" }), jsx$2("path", { d: "M18.6877 19.4371C18.211 19.2045 17.7781 18.9399 17.2591 18.8384L17.1884 18.9386C17.164 18.972 17.1383 19.0041 17.1152 19.0375C17.092 19.0709 17.0651 19.1043 17.0394 19.1364C17.0137 19.1686 16.9777 19.2212 16.9469 19.2649L16.925 19.2932L16.8518 19.3882C16.8261 19.4216 16.7978 19.4538 16.7709 19.4872C16.7439 19.5206 16.7143 19.554 16.6861 19.5887L16.591 19.7043C16.5358 19.7698 16.4779 19.8328 16.4214 19.8983C16.4111 19.9098 16.4009 19.9227 16.3893 19.9342L16.3084 20.0255C16.248 20.0923 16.1876 20.1539 16.1246 20.2233L16.0232 20.3312C15.9897 20.3663 15.9563 20.3997 15.9229 20.4314C15.869 20.4867 15.815 20.5394 15.7611 20.592L15.6442 20.7038C15.6043 20.7423 15.5658 20.7783 15.526 20.8143L15.5003 20.8387C15.4412 20.8939 15.3795 20.9479 15.3166 21.0019L15.2742 21.0391L15.1996 21.1046L15.1251 21.1676C15.0609 21.2203 14.9967 21.2742 14.935 21.3256L14.7616 21.4541L14.6601 21.5363C14.5855 21.5915 14.511 21.6506 14.4339 21.7046L14.3916 21.7341L14.204 21.8626C14.1552 21.8973 14.1051 21.9281 14.0537 21.9615L13.8944 22.0695C13.8173 22.1196 13.7402 22.1658 13.6631 22.2146L13.5346 22.2891C13.4344 22.3508 13.3317 22.4112 13.2302 22.4703L13.022 22.5833L12.7099 22.7452L12.494 22.8493C12.387 22.9007 12.2778 22.9508 12.1664 22.9996L11.957 23.0908C11.8285 23.1422 11.7103 23.1923 11.5857 23.2386L11.4431 23.2925C11.4251 23.3002 11.4046 23.3066 11.3892 23.3143C11.2928 23.349 11.1952 23.3837 11.0975 23.4158L10.8406 23.5006C10.7224 23.5366 10.6055 23.57 10.4886 23.6034C10.4586 23.6158 10.4294 23.6299 10.4012 23.6458C10.3858 23.6548 10.3678 23.6651 10.3485 23.6741L10.319 23.6921L10.2894 23.7113C10.0193 23.8808 9.80829 24.1299 9.68562 24.4244C9.68562 24.4333 9.68562 24.4423 9.67534 24.4526C9.60386 24.6516 9.57626 24.8637 9.5944 25.0744C9.60205 25.1947 9.62185 25.314 9.6535 25.4303H9.67405C10.1331 25.434 10.5921 25.4121 11.0487 25.3648C11.712 25.2965 12.3685 25.1741 13.0118 24.9986C13.1595 24.9601 13.3072 24.9164 13.455 24.8701C16.0181 24.0755 18.2518 22.466 19.8169 20.2863C19.8709 20.2117 19.9223 20.1347 19.9737 20.0589C19.5523 19.8417 19.118 19.64 18.6877 19.4371Z", fill: "#FFD54F" }), jsx$2("path", { d: "M22.2205 21.1471L19.8104 20.2991L16.9301 19.2868L16.9519 19.2585C16.9827 19.2161 17.0148 19.1737 17.0444 19.13C17.0739 19.0864 17.0945 19.0645 17.1202 19.0311C17.1459 18.9977 17.169 18.9656 17.1934 18.9322C17.2568 18.8465 17.3185 18.7609 17.3784 18.6752C17.4182 18.6187 17.4555 18.5596 17.494 18.5031C17.5698 18.3862 17.6444 18.2706 17.7137 18.1524C17.7394 18.1125 17.7638 18.0727 17.7882 18.0329L17.8101 17.9956L17.9386 17.7798C17.9814 17.7027 18.0242 17.6269 18.067 17.5524L18.2032 17.2839C18.2405 17.2094 18.279 17.1336 18.315 17.0578C18.351 16.982 18.3908 16.8959 18.4306 16.815C18.4422 16.788 18.455 16.7623 18.4653 16.7366C18.4897 16.6826 18.5128 16.6287 18.536 16.5734V16.5619C18.5681 16.4822 18.6028 16.4039 18.6349 16.3229C18.6433 16.3054 18.6506 16.2874 18.6567 16.269L18.6747 16.224C18.6965 16.1662 18.7158 16.1109 18.7364 16.0544C18.7569 15.9979 18.7736 15.9632 18.789 15.9182C18.8045 15.8733 18.8237 15.8257 18.8404 15.7795L18.8533 15.7448C18.8623 15.7165 18.8726 15.687 18.8815 15.6574C18.8905 15.6279 18.9008 15.5996 18.9098 15.5675C18.974 15.3705 19.0344 15.1727 19.091 14.974C19.1179 14.8725 19.1449 14.7735 19.1706 14.6721C19.2079 14.5282 19.2413 14.3843 19.2708 14.2365L19.2811 14.1916C19.2811 14.1787 19.2811 14.1672 19.2811 14.1556C19.3158 13.986 19.3453 13.8151 19.3749 13.6417C19.3839 13.5839 19.3929 13.5261 19.3993 13.4683C19.4057 13.4105 19.4147 13.3539 19.4237 13.2948C19.4327 13.2357 19.4404 13.1664 19.4481 13.0906C19.4481 13.0482 19.4571 13.0083 19.461 12.9621C19.4712 12.8889 19.4764 12.8131 19.4828 12.7373C19.4892 12.6615 19.4944 12.6088 19.4995 12.5343C19.5072 12.4161 19.5123 12.2966 19.5188 12.1771C19.5188 12.1167 19.5188 12.0486 19.5188 11.9934C19.5188 11.9703 19.5188 11.9472 19.5188 11.9253C19.5201 11.9022 19.5201 11.879 19.5188 11.8559C19.5188 11.811 19.5188 11.7647 19.5188 11.7198C19.5188 11.6748 19.5188 11.6144 19.5188 11.563C19.5188 11.3883 19.5111 11.2161 19.5021 11.0414C19.5021 11.0324 19.5021 11.0234 19.5021 11.0144C19.4931 10.8564 19.4815 10.6971 19.4661 10.5365C19.4327 9.88004 19.1822 8.3525 19.3016 7.26563C19.3569 6.77101 19.4892 6.36632 19.7564 6.19032C19.7894 6.16692 19.8247 6.14711 19.8618 6.13122C19.9008 6.11808 19.9408 6.10777 19.9813 6.10039H19.9877C20.3545 6.05294 20.7266 6.12936 21.045 6.3175C21.5058 6.58519 21.912 6.93736 22.2424 7.35556C23.6055 9.39993 24.3294 11.8037 24.3221 14.2608C24.3148 16.7179 23.5765 19.1173 22.2013 21.1535L22.2205 21.1471Z", fill: "#FFD770" }), jsx$2("path", { d: "M19.8104 20.2992C21.2266 18.3335 22.0351 15.9957 22.1358 13.5751C22.2365 11.1545 21.625 8.75759 20.377 6.68111C20.3024 6.56035 20.2267 6.4383 20.1496 6.31882C20.1007 6.24302 20.0481 6.16722 19.9993 6.09399C19.9587 6.10138 19.9188 6.11169 19.8798 6.12483C19.8427 6.14072 19.8073 6.16053 19.7744 6.18392C19.5072 6.3625 19.3749 6.76462 19.3196 7.25924C19.2002 8.34097 19.4481 9.87365 19.4841 10.5301C19.4995 10.6907 19.5111 10.85 19.5201 11.0081C19.5201 11.017 19.5201 11.026 19.5201 11.035C19.529 11.2098 19.5355 11.3819 19.5368 11.5566C19.5368 11.5721 19.5368 11.59 19.5368 11.6042V11.7288C19.5368 11.7738 19.5368 11.82 19.5368 11.865C19.5381 11.8881 19.5381 11.9112 19.5368 11.9343C19.5368 11.9562 19.5368 11.9793 19.5368 12.0024C19.5368 12.0641 19.5368 12.1309 19.5368 12.1861C19.5303 12.3056 19.5252 12.4251 19.5175 12.5433C19.5175 12.6114 19.5085 12.6795 19.5008 12.7463C19.4931 12.8131 19.4867 12.8979 19.4789 12.9711C19.4789 13.0135 19.4699 13.0533 19.4661 13.0996C19.4584 13.169 19.4507 13.2371 19.4417 13.3039C19.4327 13.3707 19.425 13.4208 19.4173 13.4773C19.4096 13.5338 19.4019 13.5929 19.3929 13.6507C19.3633 13.8203 19.3338 13.9912 19.2991 14.1646C19.2991 14.1762 19.2991 14.1877 19.2991 14.2006L19.2888 14.2456C19.2593 14.3933 19.2259 14.5372 19.1886 14.6811C19.1629 14.7826 19.1359 14.8815 19.1089 14.983C19.0524 15.1825 18.992 15.3804 18.9278 15.5765C18.9188 15.6086 18.9098 15.6369 18.8995 15.6665C18.8893 15.696 18.8803 15.7256 18.8713 15.7538L18.8584 15.7885C18.8417 15.8348 18.825 15.881 18.807 15.9273C18.789 15.9735 18.7723 16.0185 18.7544 16.0634C18.7364 16.1084 18.7145 16.1752 18.6927 16.233L18.6747 16.278C18.6685 16.2964 18.6612 16.3144 18.6529 16.3319C18.6207 16.4129 18.5861 16.4913 18.5539 16.5709V16.5825C18.5308 16.6377 18.5077 16.6917 18.4833 16.7456C18.473 16.7713 18.4602 16.797 18.4486 16.824C18.4088 16.9049 18.3715 16.9872 18.333 17.0668C18.2944 17.1465 18.2585 17.2184 18.2212 17.2929L18.085 17.5614C18.0422 17.6359 17.9994 17.7117 17.9565 17.7888L17.8281 18.0047L17.7882 18.0239C17.7638 18.0638 17.7394 18.1036 17.7137 18.1434C17.6444 18.2616 17.5698 18.3772 17.494 18.4941C17.4555 18.5507 17.4182 18.6098 17.3784 18.6663C17.3185 18.7519 17.2568 18.8376 17.1934 18.9232C17.169 18.9566 17.1433 18.9888 17.1202 19.0222C17.0971 19.0556 17.0701 19.089 17.0444 19.1211C17.0187 19.1532 16.9827 19.2059 16.9519 19.2495L16.9301 19.2778L19.8104 20.2992Z", fill: "#FFEA8C" }), jsx$2("path", { d: "M16.9301 19.2869C16.9301 19.2869 19.5201 20.2594 20.5504 21.2884C22.1717 22.9098 22.7948 23.4082 21.8518 28.2927C21.8184 28.4713 21.7889 28.6499 21.7683 28.831C21.6771 29.643 21.5872 31.7011 24.7848 26.9374C28.63 21.2075 23.1764 19.5965 23.1764 19.5965C21.1722 19.0171 19.0434 18.9541 16.9301 19.2869Z", fill: "#FFCA28" })] }));
7037
7052
  };
@@ -7520,6 +7535,8 @@ const Svg = (_a) => {
7520
7535
  return jsx$2(FirePink, Object.assign({}, props, { getStyles: getStyles }));
7521
7536
  case icons.GRAPHLINQ:
7522
7537
  return jsx$2(GRAPHLINQ, Object.assign({}, props, { getStyles: getStyles }));
7538
+ case icons.TIMER:
7539
+ return jsx$2(Timer, Object.assign({}, props, { getStyles: getStyles }));
7523
7540
  default:
7524
7541
  return null;
7525
7542
  }
@@ -75166,7 +75183,7 @@ const BondRow = ({ bond }) => {
75166
75183
  const tokens = new BigNumber$1(tokensRemaining);
75167
75184
  return tokens.times(payoutTokenPrice);
75168
75185
  };
75169
- return (jsxs("div", { className: `bond-row ${isXmasStyle ? 'xmas-border' : ''}`, onClick: handleOpenModal, children: [jsxs("div", { className: "token-info-container", children: [isXmasStyle && jsx$2("img", { src: "/images/bills/xmasHat.png", alt: "xmas-hat", className: "xmas-hat" }), jsx$2(TokenInfoAndName, { bill: bond })] }), jsxs("div", { className: "bond-info-columns", children: [jsx$2("div", { className: `discount-column ${getDiscountColor(bonus)}`, children: bonus !== undefined ? (bonus < 0 ? '0%' : `${bonus === null || bonus === void 0 ? void 0 : bonus.toFixed(2)}%`) : '-' }), jsx$2("div", { className: "arr-column", children: bonus !== undefined && bonus < 0 ? '0%' : calculateARR(bond) !== undefined ? calculateARR(bond) : '-' }), jsx$2("div", { className: "terms-column", children: bond.type === 'staking'
75186
+ return (jsxs("div", { className: `bond-row ${isXmasStyle ? 'xmas-border' : ''}`, onClick: handleOpenModal, children: [jsxs("div", { className: "token-info-container", children: [isXmasStyle && jsx$2("img", { src: "/images/bills/xmasHat.png", alt: "xmas-hat", className: "xmas-hat" }), jsx$2(TokenInfoAndName, { bill: bond })] }), jsxs("div", { className: "bond-info-columns", children: [jsx$2("div", { className: `discount-column ${getDiscountColor(bonus)}`, children: bonus !== undefined ? (bonus < 0 ? (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: 'This bond has a negative discount and is a cooldown period.', width: "205px", placement: "bottomLeft", transformTip: "translate(-5%, 0%)", children: jsx$2(Svg, { icon: "Timer", width: "25px", color: "#81CFEA" }) })) : (`${bonus === null || bonus === void 0 ? void 0 : bonus.toFixed(2)}%`)) : ('-') }), jsx$2("div", { className: "arr-column", children: bonus !== undefined && bonus < 0 ? (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: 'This bond has a negative discount and is a cooldown period.', width: "205px", placement: "bottomLeft", transformTip: "translate(-5%, 0%)", children: jsx$2(Svg, { icon: "Timer", width: "25px", color: "#81CFEA" }) })) : calculateARR(bond) !== undefined ? (calculateARR(bond)) : ('-') }), jsx$2("div", { className: "terms-column", children: bond.type === 'staking'
75170
75187
  ? `${daysLeftOnBasepadPool()} D Lock`
75171
75188
  : vestingTime((_a = bond === null || bond === void 0 ? void 0 : bond.vestingTerm) !== null && _a !== void 0 ? _a : 0).days
75172
75189
  ? `${vestingTime((_b = bond === null || bond === void 0 ? void 0 : bond.vestingTerm) !== null && _b !== void 0 ? _b : 0).days} D`
@@ -75501,7 +75518,6 @@ const Bonds = () => {
75501
75518
  if (window.location.pathname.includes('bonds'))
75502
75519
  campaign = 'combined';
75503
75520
  }
75504
- console.log('campaign', campaign);
75505
75521
  const billsToRender = useMemo(() => {
75506
75522
  let billsToReturn = filterOption === 'SOLD OUT' ? (allBonds !== null && allBonds !== void 0 ? allBonds : []) : (sortedBonds !== null && sortedBonds !== void 0 ? sortedBonds : []);
75507
75523
  if (campaign === undefined || campaign === 'noCampaign') {
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": "2.6.2",
6
+ "version": "2.6.3",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",