@xchainjs/xchain-thorchain-query 3.0.3 → 3.0.5

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 CHANGED
@@ -138,15 +138,4 @@ If you plan on using the publicly accessible endpoints listed below, ensure that
138
138
  - https://api.haskoin.com (BTC/BCH/LTC)
139
139
  - https://gateway.liquify.com/chain/thorchain_api
140
140
 
141
- ## Example
142
-
143
- ```typescript
144
- import cosmosclient from '@cosmos-client/core'
145
- import axios from 'axios'
146
- import { register9Rheader } from '@xchainjs/xchain-util'
147
-
148
- register9Rheader(axios)
149
- register9Rheader(cosmosclient.config.globalAxios)
150
- ```
151
-
152
141
  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/index.esm.js CHANGED
@@ -428,7 +428,7 @@ const getLiquidityProtectionData = (depositValue, poolShare, block) => {
428
428
  const defaultThornodeConfig = {
429
429
  mainnet: {
430
430
  apiRetries: 3,
431
- thornodeBaseUrls: [`https://gateway.liquify.com/chain/thorchain_api`],
431
+ thornodeBaseUrls: [`https://thornode.thorchain.network`, `https://gateway.liquify.com/chain/thorchain_api`],
432
432
  },
433
433
  stagenet: {
434
434
  apiRetries: 3,
package/lib/index.js CHANGED
@@ -436,7 +436,7 @@ const getLiquidityProtectionData = (depositValue, poolShare, block) => {
436
436
  const defaultThornodeConfig = {
437
437
  mainnet: {
438
438
  apiRetries: 3,
439
- thornodeBaseUrls: [`https://gateway.liquify.com/chain/thorchain_api`],
439
+ thornodeBaseUrls: [`https://thornode.thorchain.network`, `https://gateway.liquify.com/chain/thorchain_api`],
440
440
  },
441
441
  stagenet: {
442
442
  apiRetries: 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-thorchain-query",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "license": "MIT",
5
5
  "description": "Thorchain query module that is responsible for estimating swap calculations and add/remove liquidity for thorchain ",
6
6
  "keywords": [
@@ -33,11 +33,11 @@
33
33
  "postversion": "git push --follow-tags"
34
34
  },
35
35
  "dependencies": {
36
- "@xchainjs/xchain-client": "2.0.12",
37
- "@xchainjs/xchain-midgard-query": "2.0.15",
38
- "@xchainjs/xchain-thornode": "1.1.1",
36
+ "@xchainjs/xchain-client": "2.0.14",
37
+ "@xchainjs/xchain-midgard-query": "2.0.17",
38
+ "@xchainjs/xchain-thornode": "1.2.1",
39
39
  "@xchainjs/xchain-util": "2.0.7",
40
- "axios": "1.15.0",
40
+ "axios": "1.16.1",
41
41
  "axios-retry": "3.2.5",
42
42
  "bignumber.js": "^11.0.0"
43
43
  },