@proton/wrap-constants 0.2.48 → 0.2.50
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 +4 -3
- 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 +4 -3
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +3 -3
- package/src/constants.ts +3 -0
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.50",
|
|
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": "
|
|
47
|
+
"gitHead": "98cb12e5b38d5db1de4fc6e26cffb81dc1765022"
|
|
48
48
|
}
|
package/src/coins.ts
CHANGED
|
@@ -986,7 +986,7 @@ export const initializeCoins = (protonChain: string): {
|
|
|
986
986
|
},
|
|
987
987
|
{
|
|
988
988
|
allowSwap: false,
|
|
989
|
-
allowBridge:
|
|
989
|
+
allowBridge: false,
|
|
990
990
|
allowLend: false,
|
|
991
991
|
allowBorrow: false,
|
|
992
992
|
name: 'TerraUSD',
|
|
@@ -1114,7 +1114,7 @@ export const initializeCoins = (protonChain: string): {
|
|
|
1114
1114
|
coingeckoId: 'matic-network'
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
|
-
allowSwap:
|
|
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