@proton/wrap-constants 0.2.155 → 0.2.156
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 +21 -21
- package/dist/index.mjs +21 -21
- package/package.json +2 -2
- package/src/coins.ts +21 -21
package/dist/index.js
CHANGED
|
@@ -910,7 +910,7 @@ var initializeCoins = (protonChain) => {
|
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
allowSwap: false,
|
|
913
|
-
allowBridge:
|
|
913
|
+
allowBridge: false,
|
|
914
914
|
allowLend: false,
|
|
915
915
|
allowBorrow: false,
|
|
916
916
|
name: "Bitcoin Cash",
|
|
@@ -920,28 +920,28 @@ var initializeCoins = (protonChain) => {
|
|
|
920
920
|
xtokenContract: "xtokens",
|
|
921
921
|
wallets: [
|
|
922
922
|
...IS_MAINNET ? [
|
|
923
|
-
{
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
}
|
|
923
|
+
// {
|
|
924
|
+
// wallet: "BCH",
|
|
925
|
+
// symbol: "BCH",
|
|
926
|
+
// chain: Chains.BitcoinCashMainnet,
|
|
927
|
+
// network: Networks.Mainnet,
|
|
928
|
+
// precision: 8,
|
|
929
|
+
// contract: undefined,
|
|
930
|
+
// provider: Providers.FIREBLOCKS,
|
|
931
|
+
// hasWithdrawMemo: false,
|
|
932
|
+
// },
|
|
933
933
|
] : [],
|
|
934
934
|
...IS_TESTNET ? [
|
|
935
|
-
{
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
}
|
|
935
|
+
// {
|
|
936
|
+
// wallet: "BCH",
|
|
937
|
+
// symbol: "BCH",
|
|
938
|
+
// chain: Chains.BitcoinCashTestnet,
|
|
939
|
+
// network: Networks.Testnet,
|
|
940
|
+
// precision: 8,
|
|
941
|
+
// contract: undefined,
|
|
942
|
+
// provider: Providers.FIREBLOCKS,
|
|
943
|
+
// hasWithdrawMemo: false,
|
|
944
|
+
// },
|
|
945
945
|
] : []
|
|
946
946
|
],
|
|
947
947
|
image: "https://www.proton.org/images/tokens/xtokensXBCH.png",
|
package/dist/index.mjs
CHANGED
|
@@ -756,7 +756,7 @@ var initializeCoins = (protonChain) => {
|
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
758
|
allowSwap: false,
|
|
759
|
-
allowBridge:
|
|
759
|
+
allowBridge: false,
|
|
760
760
|
allowLend: false,
|
|
761
761
|
allowBorrow: false,
|
|
762
762
|
name: "Bitcoin Cash",
|
|
@@ -766,28 +766,28 @@ var initializeCoins = (protonChain) => {
|
|
|
766
766
|
xtokenContract: "xtokens",
|
|
767
767
|
wallets: [
|
|
768
768
|
...IS_MAINNET ? [
|
|
769
|
-
{
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
}
|
|
769
|
+
// {
|
|
770
|
+
// wallet: "BCH",
|
|
771
|
+
// symbol: "BCH",
|
|
772
|
+
// chain: Chains.BitcoinCashMainnet,
|
|
773
|
+
// network: Networks.Mainnet,
|
|
774
|
+
// precision: 8,
|
|
775
|
+
// contract: undefined,
|
|
776
|
+
// provider: Providers.FIREBLOCKS,
|
|
777
|
+
// hasWithdrawMemo: false,
|
|
778
|
+
// },
|
|
779
779
|
] : [],
|
|
780
780
|
...IS_TESTNET ? [
|
|
781
|
-
{
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
}
|
|
781
|
+
// {
|
|
782
|
+
// wallet: "BCH",
|
|
783
|
+
// symbol: "BCH",
|
|
784
|
+
// chain: Chains.BitcoinCashTestnet,
|
|
785
|
+
// network: Networks.Testnet,
|
|
786
|
+
// precision: 8,
|
|
787
|
+
// contract: undefined,
|
|
788
|
+
// provider: Providers.FIREBLOCKS,
|
|
789
|
+
// hasWithdrawMemo: false,
|
|
790
|
+
// },
|
|
791
791
|
] : []
|
|
792
792
|
],
|
|
793
793
|
image: "https://www.proton.org/images/tokens/xtokensXBCH.png",
|
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.156",
|
|
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": "1799fd0eb5465bdbb1a6ab1f1e5fb2e65d6488fc"
|
|
44
44
|
}
|
package/src/coins.ts
CHANGED
|
@@ -887,7 +887,7 @@ export const initializeCoins = (
|
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
889
|
allowSwap: false,
|
|
890
|
-
allowBridge:
|
|
890
|
+
allowBridge: false,
|
|
891
891
|
allowLend: false,
|
|
892
892
|
allowBorrow: false,
|
|
893
893
|
name: "Bitcoin Cash",
|
|
@@ -898,30 +898,30 @@ export const initializeCoins = (
|
|
|
898
898
|
wallets: [
|
|
899
899
|
...(IS_MAINNET
|
|
900
900
|
? [
|
|
901
|
-
{
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
},
|
|
901
|
+
// {
|
|
902
|
+
// wallet: "BCH",
|
|
903
|
+
// symbol: "BCH",
|
|
904
|
+
// chain: Chains.BitcoinCashMainnet,
|
|
905
|
+
// network: Networks.Mainnet,
|
|
906
|
+
// precision: 8,
|
|
907
|
+
// contract: undefined,
|
|
908
|
+
// provider: Providers.FIREBLOCKS,
|
|
909
|
+
// hasWithdrawMemo: false,
|
|
910
|
+
// },
|
|
911
911
|
]
|
|
912
912
|
: []),
|
|
913
913
|
...(IS_TESTNET
|
|
914
914
|
? [
|
|
915
|
-
{
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
},
|
|
915
|
+
// {
|
|
916
|
+
// wallet: "BCH",
|
|
917
|
+
// symbol: "BCH",
|
|
918
|
+
// chain: Chains.BitcoinCashTestnet,
|
|
919
|
+
// network: Networks.Testnet,
|
|
920
|
+
// precision: 8,
|
|
921
|
+
// contract: undefined,
|
|
922
|
+
// provider: Providers.FIREBLOCKS,
|
|
923
|
+
// hasWithdrawMemo: false,
|
|
924
|
+
// },
|
|
925
925
|
]
|
|
926
926
|
: []),
|
|
927
927
|
],
|