@proton/wrap-constants 0.2.49 → 0.2.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.
- package/dist/constants.d.ts +1 -0
- package/dist/wrap-constants.cjs.development.js +3 -2
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +3 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +2 -2
- package/src/constants.ts +1 -0
package/dist/constants.d.ts
CHANGED
|
@@ -989,7 +989,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
989
989
|
image: 'https://www.proton.org/images/tokens/xtokensXMATIC.png',
|
|
990
990
|
coingeckoId: 'matic-network'
|
|
991
991
|
}, {
|
|
992
|
-
allowSwap:
|
|
992
|
+
allowSwap: false,
|
|
993
993
|
allowBridge: false,
|
|
994
994
|
allowLend: false,
|
|
995
995
|
allowBorrow: false,
|
|
@@ -1054,7 +1054,7 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
1054
1054
|
return coin.allowLend || coin.allowBorrow;
|
|
1055
1055
|
}),
|
|
1056
1056
|
allEnabledCoins: coins.filter(function (coin) {
|
|
1057
|
-
return coin.allowSwap || coin.allowBridge;
|
|
1057
|
+
return coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === 'XMD';
|
|
1058
1058
|
})
|
|
1059
1059
|
};
|
|
1060
1060
|
};
|
|
@@ -1255,6 +1255,7 @@ var initializeConstants = function initializeConstants(chain) {
|
|
|
1255
1255
|
DEX_PROCESS_SIZE: 30,
|
|
1256
1256
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1257
1257
|
MAX_PRICE: "9223372036854775806",
|
|
1258
|
+
MAX_ITEMS_PER_PAGE_DESKTOP: 25,
|
|
1258
1259
|
MIN_PRICE: 1,
|
|
1259
1260
|
DEFAULT_DEX_SYMBOL: chain === 'proton' ? 'XPR_XMD' : 'XPR_XUSDC',
|
|
1260
1261
|
CHAIN: chain,
|