@xchainjs/xchain-thornode 1.2.0 → 1.2.2
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 +0 -11
- package/lib/config.d.ts +2 -2
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -59,15 +59,4 @@ If you plan on using the publicly accessible endpoints listed below, ensure that
|
|
|
59
59
|
- https://api.haskoin.com (BTC/BCH/LTC)
|
|
60
60
|
- https://gateway.liquify.com/chain/thorchain_api
|
|
61
61
|
|
|
62
|
-
Example
|
|
63
|
-
|
|
64
|
-
```typescript
|
|
65
|
-
import cosmosclient from '@cosmos-client/core'
|
|
66
|
-
import axios from 'axios'
|
|
67
|
-
import { register9Rheader } from '@xchainjs/xchain-util'
|
|
68
|
-
|
|
69
|
-
register9Rheader(axios)
|
|
70
|
-
register9Rheader(cosmosclient.config.globalAxios)
|
|
71
|
-
```
|
|
72
|
-
|
|
73
62
|
For a complete example please see this [test](https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-thorchain-amm/__e2e__/wallet.e2e.ts)
|
package/lib/config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The base URL for the THORNode API endpoint.
|
|
3
3
|
*/
|
|
4
|
-
export declare const THORNODE_API_URL = "https://
|
|
4
|
+
export declare const THORNODE_API_URL = "https://gateway.liquify.com/chain/thorchain_api";
|
|
5
5
|
/** @deprecated Use THORNODE_API_URL instead. Will be removed in next major version. */
|
|
6
|
-
export declare const THORNODE_API_9R_URL = "https://
|
|
6
|
+
export declare const THORNODE_API_9R_URL = "https://gateway.liquify.com/chain/thorchain_api";
|
package/lib/index.esm.js
CHANGED
|
@@ -7046,7 +7046,7 @@ class Configuration {
|
|
|
7046
7046
|
/**
|
|
7047
7047
|
* The base URL for the THORNode API endpoint.
|
|
7048
7048
|
*/
|
|
7049
|
-
const THORNODE_API_URL = 'https://
|
|
7049
|
+
const THORNODE_API_URL = 'https://gateway.liquify.com/chain/thorchain_api';
|
|
7050
7050
|
/** @deprecated Use THORNODE_API_URL instead. Will be removed in next major version. */
|
|
7051
7051
|
const THORNODE_API_9R_URL = THORNODE_API_URL;
|
|
7052
7052
|
|
package/lib/index.js
CHANGED
|
@@ -7052,7 +7052,7 @@ class Configuration {
|
|
|
7052
7052
|
/**
|
|
7053
7053
|
* The base URL for the THORNode API endpoint.
|
|
7054
7054
|
*/
|
|
7055
|
-
const THORNODE_API_URL = 'https://
|
|
7055
|
+
const THORNODE_API_URL = 'https://gateway.liquify.com/chain/thorchain_api';
|
|
7056
7056
|
/** @deprecated Use THORNODE_API_URL instead. Will be removed in next major version. */
|
|
7057
7057
|
const THORNODE_API_9R_URL = THORNODE_API_URL;
|
|
7058
7058
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-thornode",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Thornode module that exposes all thornode functions using openapi-generator-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"clean:types:thornode": "rimraf ./src/generated/thornodeApi"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"axios": "1.
|
|
37
|
+
"axios": "1.16.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@openapitools/openapi-generator-cli": "^2.20.2",
|