@ape.swap/bonds-sdk 3.1.0-test.1 → 3.1.2
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.
- package/dist/main.js +3 -3
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -22558,6 +22558,7 @@ const PRICE_GETTER_ADDRESSES = {
|
|
|
22558
22558
|
[types.ChainId.SONIC]: '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4', // Price getter V3
|
|
22559
22559
|
[types.ChainId.MONAD_TESTNET]: '0x0187D959A28B0D3B490c2D898fA1CcD054cCC3cd', // Price getter V3
|
|
22560
22560
|
[types.ChainId.BERACHAIN]: '0x70005Da62E17041977f7F99f91098b125CcDE1a7',
|
|
22561
|
+
[types.ChainId.UNICHAIN]: '0xE2EaDC50c2F3044065E2484B0287F1CA82fD92E1',
|
|
22561
22562
|
};
|
|
22562
22563
|
const MULTICALL_V2 = {
|
|
22563
22564
|
[types.ChainId.BSC]: '0x38ce767d81de3940CFa5020B55af1A400ED4F657',
|
|
@@ -58391,7 +58392,7 @@ const PUBLIC_RPC_URLS = {
|
|
|
58391
58392
|
[types.ChainId.IOTA_TESTNET]: ['https://json-rpc.evm.testnet.iotaledger.net/'],
|
|
58392
58393
|
[types.ChainId.BASE]: ['https://base-rpc.publicnode.com', 'https://mainnet.base.org'],
|
|
58393
58394
|
[types.ChainId.GRAPHLINQ]: ['https://glq-dataseed.graphlinq.io'],
|
|
58394
|
-
[types.ChainId.AVAX]: ['https://
|
|
58395
|
+
[types.ChainId.AVAX]: ['https://avalanche-c-chain-rpc.publicnode.com'],
|
|
58395
58396
|
[types.ChainId.BLAST]: ['https://rpc.blast.io'],
|
|
58396
58397
|
[types.ChainId.CROSSFI]: ['https://rpc.mainnet.ms'],
|
|
58397
58398
|
[types.ChainId.MONAD_TESTNET]: ['https://testnet-rpc2.monad.xyz/52227f026fa8fac9e2014c58fbf5643369b3bfc6'],
|
|
@@ -80615,7 +80616,6 @@ const Bonds = () => {
|
|
|
80615
80616
|
const handleChangeFilterOption = useCallback((newOption) => {
|
|
80616
80617
|
setFilterOption(newOption);
|
|
80617
80618
|
}, []);
|
|
80618
|
-
console.log(billsToRender);
|
|
80619
80619
|
return (jsxs(Flex$1, { className: "bonds-container", children: [jsx$2(CheckUrl, {}), jsx$2(BondsMenu, { searchQuery: searchQuery, setSearchQuery: setSearchQuery, setChainFilterOption: setChainFilterOption, chainFilterOption: chainFilterOption !== null && chainFilterOption !== void 0 ? chainFilterOption : ['All Chains'], filterOptions: filterOptions, filterOption: filterOption, setFilterOption: handleChangeFilterOption, onSort: handleSortOptions }), SDKConfig.useHotBonds && !SDKConfig.bondPartner && jsx$2(BuyAgainRow, {}), (billsToRender === null || billsToRender === void 0 ? void 0 : billsToRender.length) > 0 ? (jsx$2(BondRowsByChain, { bonds: billsToRender, hideTitles: searchQuery !== '' })) : searchQuery ? (jsx$2(PlaceholderMonkey, { text: 'No results' })) : filterOption === 'FAVORITES' ? (jsxs(Flex$1, { sx: {
|
|
80620
80620
|
width: '100%',
|
|
80621
80621
|
height: '300px',
|
|
@@ -80625,7 +80625,7 @@ const Bonds = () => {
|
|
|
80625
80625
|
alignItems: 'center',
|
|
80626
80626
|
flexDirection: 'column',
|
|
80627
80627
|
mt: '10px',
|
|
80628
|
-
}, children: [jsx$2(Svg, { icon: "StarFilled", width: 75, height: 75 }), jsx$2(Flex$1, { sx: { mt: '10px' }, children: `You don't have any Favorite Bonds yet!` }), jsx$2(Flex$1, { sx: { fontSize: '12px', fontWeight: 400, color: 'textDisabledButton', mt: '10px' }, children: `Click on the 'star' or 'fire' icon to add Bonds to the list.` })] })) : (jsx$2(PlaceholderMonkey, { text: 'No available bonds at the moment.', loading: loadingBonds })), SDKConfig.useHotBonds && jsx$2(RecommendationCards$1, {}), jsx$2(Flex$1, { sx: { width: '100%', justifyContent: 'center', my: '15px' }, children: jsx$2("img", { src: "https://res.cloudinary.com/dswmrqgwy/image/upload/v1741643990/poweredbyapebondsdk_cxiouj.png", alt: "powered-by-apebond", style: { width: '200px', height: 'auto' } }) })] }));
|
|
80628
|
+
}, children: [jsx$2(Svg, { icon: "StarFilled", width: 75, height: 75 }), jsx$2(Flex$1, { sx: { mt: '10px' }, children: `You don't have any Favorite Bonds yet!` }), jsx$2(Flex$1, { sx: { fontSize: '12px', fontWeight: 400, color: 'textDisabledButton', mt: '10px' }, children: `Click on the 'star' or 'fire' icon to add Bonds to the list.` })] })) : (jsx$2(PlaceholderMonkey, { text: 'No available bonds at the moment.', loading: loadingBonds })), SDKConfig.useHotBonds && jsx$2(RecommendationCards$1, {}), jsx$2(Flex$1, { sx: { width: '100%', justifyContent: 'center', my: '15px' }, className: "powered-by-apebond-sdk", children: jsx$2("img", { src: "https://res.cloudinary.com/dswmrqgwy/image/upload/v1741643990/poweredbyapebondsdk_cxiouj.png", alt: "powered-by-apebond", style: { width: '200px', height: 'auto' } }) })] }));
|
|
80629
80629
|
};
|
|
80630
80630
|
|
|
80631
80631
|
var BondsViewOptions$1;
|
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.1.
|
|
6
|
+
"version": "3.1.2",
|
|
7
7
|
"module": "dist/main.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"types": "dist/main.d.ts",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@rainbow-me/rainbowkit": "^2.2.8",
|
|
34
34
|
"@tanstack/react-query": "5.x",
|
|
35
35
|
"axios": ">=1.7.2",
|
|
36
|
-
"react": ">=17",
|
|
37
|
-
"react-dom": ">=17",
|
|
36
|
+
"react": ">=17 <19",
|
|
37
|
+
"react-dom": ">=17 <19",
|
|
38
38
|
"wagmi": ">=2.14.16"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|