@proton/wrap-constants 0.2.46 → 0.2.48
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/wrap-constants.cjs.development.js +15 -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 +15 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +14 -0
- package/src/constants.ts +2 -2
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.48",
|
|
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": "51bd0b165136835c02cbf1d18b029bd2868b66d6"
|
|
48
48
|
}
|
package/src/coins.ts
CHANGED
|
@@ -1113,6 +1113,20 @@ export const initializeCoins = (protonChain: string): {
|
|
|
1113
1113
|
image: 'https://www.proton.org/images/tokens/xtokensXMATIC.png',
|
|
1114
1114
|
coingeckoId: 'matic-network'
|
|
1115
1115
|
},
|
|
1116
|
+
{
|
|
1117
|
+
allowSwap: true,
|
|
1118
|
+
allowBridge: false,
|
|
1119
|
+
allowLend: false,
|
|
1120
|
+
allowBorrow: false,
|
|
1121
|
+
name: 'Metal Dollar',
|
|
1122
|
+
coin: 'XMD',
|
|
1123
|
+
xtokenSymbol: 'XMD',
|
|
1124
|
+
xtokenPrecision: 6,
|
|
1125
|
+
xtokenContract: 'xmd.token',
|
|
1126
|
+
wallets: [],
|
|
1127
|
+
image: 'https://github.com/eoscafe/eos-airdrops/blob/master/logos/xmd.png?raw=true',
|
|
1128
|
+
coingeckoId: ''
|
|
1129
|
+
},
|
|
1116
1130
|
{
|
|
1117
1131
|
allowSwap: false,
|
|
1118
1132
|
allowBridge: IS_TESTNET,
|
package/src/constants.ts
CHANGED
|
@@ -58,11 +58,11 @@ export const initializeConstants = (chain: string) => {
|
|
|
58
58
|
: 'https://api-dev.protonchain.com',
|
|
59
59
|
|
|
60
60
|
METAL_DEX_HTTP_ENDPOINT: chain === 'proton'
|
|
61
|
-
? 'https://
|
|
61
|
+
? 'https://metal-dexdb.global.binfra.one/dex'
|
|
62
62
|
: 'https://metallicus-dbapi-dev01.binfra.one/dex',
|
|
63
63
|
|
|
64
64
|
METAL_DEX_WS_ENDPOINT: chain === 'proton'
|
|
65
|
-
? 'wss://
|
|
65
|
+
? 'wss://metal-dexdb.global.binfra.one/dexws'
|
|
66
66
|
: 'wss://metallicus-dbapi-dev01.binfra.one/dexws',
|
|
67
67
|
|
|
68
68
|
PROTON_ENDPOINTS: chain === 'proton'
|