@proton/wrap-constants 0.2.173 → 0.2.176
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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/src/coins.ts +4 -3
- package/src/constants.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -729,7 +729,7 @@ var initializeCoins = (protonChain) => {
|
|
|
729
729
|
unifiedCryptoassetId: "4705"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
-
allowSwap:
|
|
732
|
+
allowSwap: false,
|
|
733
733
|
allowBridge: false,
|
|
734
734
|
allowLend: false,
|
|
735
735
|
allowBorrow: false,
|
|
@@ -1652,7 +1652,7 @@ var initializeConstants = (chain) => {
|
|
|
1652
1652
|
DEX_PROCESS_SIZE: 30,
|
|
1653
1653
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1654
1654
|
MAX_PRICE: "9223372036854775806",
|
|
1655
|
-
MAX_ITEMS_PER_PAGE_DESKTOP:
|
|
1655
|
+
MAX_ITEMS_PER_PAGE_DESKTOP: 100,
|
|
1656
1656
|
MIN_PRICE: 1,
|
|
1657
1657
|
DEFAULT_DEX_SYMBOL: "XPR_XMD",
|
|
1658
1658
|
CHAIN: chain,
|
package/dist/index.mjs
CHANGED
|
@@ -574,7 +574,7 @@ var initializeCoins = (protonChain) => {
|
|
|
574
574
|
unifiedCryptoassetId: "4705"
|
|
575
575
|
},
|
|
576
576
|
{
|
|
577
|
-
allowSwap:
|
|
577
|
+
allowSwap: false,
|
|
578
578
|
allowBridge: false,
|
|
579
579
|
allowLend: false,
|
|
580
580
|
allowBorrow: false,
|
|
@@ -1497,7 +1497,7 @@ var initializeConstants = (chain) => {
|
|
|
1497
1497
|
DEX_PROCESS_SIZE: 30,
|
|
1498
1498
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1499
1499
|
MAX_PRICE: "9223372036854775806",
|
|
1500
|
-
MAX_ITEMS_PER_PAGE_DESKTOP:
|
|
1500
|
+
MAX_ITEMS_PER_PAGE_DESKTOP: 100,
|
|
1501
1501
|
MIN_PRICE: 1,
|
|
1502
1502
|
DEFAULT_DEX_SYMBOL: "XPR_XMD",
|
|
1503
1503
|
CHAIN: chain,
|
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.176",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"typescript": "4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "88555c5fb8a463f5e0d8af0e6976025739398ba3"
|
|
44
44
|
}
|
package/src/coins.ts
CHANGED
|
@@ -85,7 +85,7 @@ export enum Providers {
|
|
|
85
85
|
|
|
86
86
|
export type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
|
|
87
87
|
|
|
88
|
-
//
|
|
88
|
+
//
|
|
89
89
|
export const explorerLinkByChain = {
|
|
90
90
|
[Chains.BitcoinMainnet]: (txid: string) =>
|
|
91
91
|
`https://blockchain.com/btc/tx/${txid}`,
|
|
@@ -107,7 +107,8 @@ export const explorerLinkByChain = {
|
|
|
107
107
|
[Chains.StellarTestnet]: (txid: string) =>
|
|
108
108
|
`https://testnet.steexp.com/tx/${txid}`,
|
|
109
109
|
[Chains.ProtonMainnet]: (txid: string, traces?: boolean) =>
|
|
110
|
-
`https://explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""
|
|
110
|
+
`https://explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""
|
|
111
|
+
}`,
|
|
111
112
|
[Chains.ProtonTestnet]: (txid: string, traces?: boolean) =>
|
|
112
113
|
`https://testnet.explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""
|
|
113
114
|
}`,
|
|
@@ -688,7 +689,7 @@ export const initializeCoins = (
|
|
|
688
689
|
unifiedCryptoassetId: "4705",
|
|
689
690
|
},
|
|
690
691
|
{
|
|
691
|
-
allowSwap:
|
|
692
|
+
allowSwap: false,
|
|
692
693
|
allowBridge: false,
|
|
693
694
|
allowLend: false,
|
|
694
695
|
allowBorrow: false,
|
package/src/constants.ts
CHANGED
|
@@ -107,7 +107,7 @@ export const initializeConstants = (chain: string) => {
|
|
|
107
107
|
DEX_PROCESS_SIZE: 30,
|
|
108
108
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
109
109
|
MAX_PRICE: "9223372036854775806",
|
|
110
|
-
MAX_ITEMS_PER_PAGE_DESKTOP:
|
|
110
|
+
MAX_ITEMS_PER_PAGE_DESKTOP: 100,
|
|
111
111
|
MIN_PRICE: 1,
|
|
112
112
|
DEFAULT_DEX_SYMBOL: "XPR_XMD",
|
|
113
113
|
|