@xchainjs/xchain-bitcoin 0.20.2 → 0.20.4
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/lib/index.esm.js +1 -5
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -5
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -64871,7 +64871,6 @@ var Chain;
|
|
|
64871
64871
|
Chain["Cosmos"] = "GAIA";
|
|
64872
64872
|
Chain["BitcoinCash"] = "BCH";
|
|
64873
64873
|
Chain["Litecoin"] = "LTC";
|
|
64874
|
-
Chain["Terra"] = "TERRA";
|
|
64875
64874
|
Chain["Doge"] = "DOGE";
|
|
64876
64875
|
Chain["Avax"] = "AVAX";
|
|
64877
64876
|
})(Chain || (Chain = {}));
|
|
@@ -64883,7 +64882,6 @@ const THORChain = Chain.THORChain;
|
|
|
64883
64882
|
const CosmosChain = Chain.Cosmos;
|
|
64884
64883
|
const BCHChain = Chain.BitcoinCash;
|
|
64885
64884
|
const LTCChain = Chain.Litecoin;
|
|
64886
|
-
const TerraChain = Chain.Terra;
|
|
64887
64885
|
const DOGEChain = Chain.Doge;
|
|
64888
64886
|
const AVAXChain = Chain.Avax;
|
|
64889
64887
|
/**
|
|
@@ -64905,7 +64903,6 @@ const chainToString = Object.assign((chainId) => {
|
|
|
64905
64903
|
[Chain.Ethereum]: 'Ethereum',
|
|
64906
64904
|
[Chain.Binance]: 'Binance Chain',
|
|
64907
64905
|
[Chain.Cosmos]: 'Cosmos',
|
|
64908
|
-
[Chain.Terra]: 'Terra',
|
|
64909
64906
|
[Chain.Doge]: 'Dogecoin',
|
|
64910
64907
|
});
|
|
64911
64908
|
|
|
@@ -65094,7 +65091,6 @@ const AssetRuneERC20Testnet = {
|
|
|
65094
65091
|
synth: false,
|
|
65095
65092
|
};
|
|
65096
65093
|
const AssetAtom = { chain: Chain.Cosmos, symbol: 'ATOM', ticker: 'ATOM', synth: false };
|
|
65097
|
-
const AssetLUNA = { chain: Chain.Terra, symbol: 'LUNA', ticker: 'LUNA', synth: false };
|
|
65098
65094
|
/**
|
|
65099
65095
|
* Currency symbols currently supported
|
|
65100
65096
|
*/
|
|
@@ -85762,7 +85758,7 @@ class Client extends xchainClient.UTXOClient {
|
|
|
85762
85758
|
*
|
|
85763
85759
|
* @param {BitcoinClientParams} params
|
|
85764
85760
|
*/
|
|
85765
|
-
constructor({ network = xchainClient.Network.
|
|
85761
|
+
constructor({ network = xchainClient.Network.Mainnet, feeBounds = {
|
|
85766
85762
|
lower: LOWER_FEE_BOUND,
|
|
85767
85763
|
upper: UPPER_FEE_BOUND,
|
|
85768
85764
|
}, sochainUrl = 'https://sochain.com/api/v2', haskoinUrl = {
|