@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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.49",
8
+ "version": "0.2.51",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "78670168493780d5bd8d44b021474aa9a9530aa5"
47
+ "gitHead": "e1f5225af7b3804c25f259dd8df7c6efe23a5dd8"
48
48
  }
package/src/coins.ts CHANGED
@@ -1114,7 +1114,7 @@ export const initializeCoins = (protonChain: string): {
1114
1114
  coingeckoId: 'matic-network'
1115
1115
  },
1116
1116
  {
1117
- allowSwap: true,
1117
+ allowSwap: false,
1118
1118
  allowBridge: false,
1119
1119
  allowLend: false,
1120
1120
  allowBorrow: false,
@@ -1170,6 +1170,6 @@ export const initializeCoins = (protonChain: string): {
1170
1170
  lendCoins: coins.filter(coin => coin.allowLend),
1171
1171
  borrowCoins: coins.filter(coin => coin.allowBorrow),
1172
1172
  loanCoins: coins.filter(coin => coin.allowLend || coin.allowBorrow),
1173
- allEnabledCoins: coins.filter(coin => coin.allowSwap || coin.allowBridge)
1173
+ allEnabledCoins: coins.filter(coin => coin.allowSwap || coin.allowBridge || coin.xtokenSymbol === 'XMD')
1174
1174
  }
1175
1175
  }
package/src/constants.ts CHANGED
@@ -76,6 +76,7 @@ export const initializeConstants = (chain: string) => {
76
76
  DEX_PROCESS_SIZE: 30,
77
77
  DEX_SLTPPROCESS_SIZE: 10,
78
78
  MAX_PRICE: "9223372036854775806",
79
+ MAX_ITEMS_PER_PAGE_DESKTOP: 25,
79
80
  MIN_PRICE: 1,
80
81
  DEFAULT_DEX_SYMBOL: chain === 'proton'
81
82
  ? 'XPR_XMD'