@xchainjs/xchain-thorchain 3.0.15 → 3.0.16
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/README.md +5 -5
- package/lib/index.esm.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -63,13 +63,13 @@ In order for this library to de/serialize proto3 structures, you can use the fol
|
|
|
63
63
|
|
|
64
64
|
Alternatively, you can run the convenience script: `genMsgs.sh`, which will overwrite the proto/js files in types/proto. This should only be done and checked in if changes were made to the upstream Msg in the THORNode repo.
|
|
65
65
|
|
|
66
|
-
### Setting Headers for
|
|
66
|
+
### Setting Headers for public endpoints
|
|
67
67
|
|
|
68
|
-
If you plan on using the
|
|
68
|
+
If you plan on using the publicly accessible endpoints listed below, ensure that you add a valid 'x-client-id' to all requests
|
|
69
69
|
|
|
70
|
-
- https://
|
|
71
|
-
- https://haskoin.
|
|
72
|
-
- https://
|
|
70
|
+
- https://gateway.liquify.com/chain/thorchain_midgard
|
|
71
|
+
- https://api.haskoin.com (BTC/BCH/LTC)
|
|
72
|
+
- https://gateway.liquify.com/chain/thorchain_api
|
|
73
73
|
|
|
74
74
|
Example
|
|
75
75
|
|
package/lib/index.esm.js
CHANGED
|
@@ -3041,8 +3041,8 @@ var types = /*@__PURE__*/getDefaultExportFromCjs(MsgCompiledExports);
|
|
|
3041
3041
|
const getDefaultClientUrls = () => {
|
|
3042
3042
|
return {
|
|
3043
3043
|
[Network.Testnet]: ['deprecated'],
|
|
3044
|
-
[Network.Stagenet]: [
|
|
3045
|
-
[Network.Mainnet]: ['https://
|
|
3044
|
+
[Network.Stagenet]: [],
|
|
3045
|
+
[Network.Mainnet]: ['https://gateway.liquify.com/chain/thorchain_rpc'],
|
|
3046
3046
|
};
|
|
3047
3047
|
};
|
|
3048
3048
|
/**
|
package/lib/index.js
CHANGED
|
@@ -3069,8 +3069,8 @@ var types = /*@__PURE__*/getDefaultExportFromCjs(MsgCompiledExports);
|
|
|
3069
3069
|
const getDefaultClientUrls = () => {
|
|
3070
3070
|
return {
|
|
3071
3071
|
[xchainClient.Network.Testnet]: ['deprecated'],
|
|
3072
|
-
[xchainClient.Network.Stagenet]: [
|
|
3073
|
-
[xchainClient.Network.Mainnet]: ['https://
|
|
3072
|
+
[xchainClient.Network.Stagenet]: [],
|
|
3073
|
+
[xchainClient.Network.Mainnet]: ['https://gateway.liquify.com/chain/thorchain_rpc'],
|
|
3074
3074
|
};
|
|
3075
3075
|
};
|
|
3076
3076
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-thorchain",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.16",
|
|
4
4
|
"description": "Custom Thorchain client and utilities used by XChainJS clients",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"THORChain",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@scure/base": "^1.2.6",
|
|
46
46
|
"@scure/bip32": "^1.7.0",
|
|
47
47
|
"@xchainjs/ledger-thorchain": "^0.3.1",
|
|
48
|
-
"@xchainjs/xchain-client": "2.0.
|
|
49
|
-
"@xchainjs/xchain-cosmos-sdk": "2.0.
|
|
48
|
+
"@xchainjs/xchain-client": "2.0.12",
|
|
49
|
+
"@xchainjs/xchain-cosmos-sdk": "2.0.12",
|
|
50
50
|
"@xchainjs/xchain-crypto": "1.0.6",
|
|
51
|
-
"@xchainjs/xchain-util": "2.0.
|
|
52
|
-
"axios": "1.
|
|
53
|
-
"bignumber.js": "^
|
|
51
|
+
"@xchainjs/xchain-util": "2.0.7",
|
|
52
|
+
"axios": "1.15.0",
|
|
53
|
+
"bignumber.js": "^11.0.0",
|
|
54
54
|
"cosmjs-types": "0.9.0",
|
|
55
55
|
"protobufjs": "6.11.4"
|
|
56
56
|
},
|