@ape.swap/bonds-sdk 3.0.50 → 3.0.51
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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
2
2
|
export declare const supportedByLIFI: ChainId[];
|
|
3
|
-
export declare const APESWAP_LIST_REPO = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging";
|
|
4
3
|
export declare const STRAPI_URL = "https://strapi-api.ape.bond";
|
|
5
4
|
export declare const SOUL_ZAP_API = "https://zap-api.ape.bond/zap?batch=1";
|
|
6
5
|
export declare const APEBOND = "https://ape.bond";
|
package/dist/main.js
CHANGED
|
@@ -18820,8 +18820,6 @@ const supportedByLIFI = [
|
|
|
18820
18820
|
types.ChainId.SONIC,
|
|
18821
18821
|
types.ChainId.BERACHAIN,
|
|
18822
18822
|
];
|
|
18823
|
-
// we should be good just by using staging on this, as it is only used for token images
|
|
18824
|
-
const APESWAP_LIST_REPO = `https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging`;
|
|
18825
18823
|
const STRAPI_URL = `https://strapi-api.ape.bond`;
|
|
18826
18824
|
const SOUL_ZAP_API = `https://zap-api.ape.bond/zap?batch=1`;
|
|
18827
18825
|
const APEBOND = `https://ape.bond`;
|
|
@@ -18988,7 +18986,7 @@ const AddFavToken = ({ tokenSymbol, hotBond, isGoldBond, }) => {
|
|
|
18988
18986
|
const defaultUrls = {
|
|
18989
18987
|
apiV2: 'https://api.ape.bond',
|
|
18990
18988
|
realTimeApi: 'https://realtime-api.ape.bond/bonds',
|
|
18991
|
-
apeswapLists: 'https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/main',
|
|
18989
|
+
apeswapLists: 'https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/refs/heads/main',
|
|
18992
18990
|
mainUrl: 'https://ape.bond',
|
|
18993
18991
|
};
|
|
18994
18992
|
const useSDKConfig = (config) => {
|
|
@@ -70871,7 +70869,7 @@ function getTemplateHTML(data) {
|
|
|
70871
70869
|
var _a, _b, _c;
|
|
70872
70870
|
const isProfit = data.data.payout * +data.data.payoutTokenPrice - data.data.dollarValue > 0;
|
|
70873
70871
|
const getTokenImage = (symbol) => {
|
|
70874
|
-
return `${
|
|
70872
|
+
return `${APEBOND}/assets/${symbol.toUpperCase()}.png`;
|
|
70875
70873
|
};
|
|
70876
70874
|
const getPrincipalToken = () => {
|
|
70877
70875
|
var _a, _b, _c, _d;
|