@xchainjs/xchain-mayachain-query 2.1.7 → 2.1.9
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 +4 -5
- package/lib/index.esm.js +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -160,13 +160,12 @@ Estimate AddSaver() & WithdrawSaver() & getSaverPosition() https://replit.com/@t
|
|
|
160
160
|
|
|
161
161
|
Check transaction Stage
|
|
162
162
|
|
|
163
|
-
### Setting Headers for
|
|
163
|
+
### Setting Headers for MAYAChain endpoints
|
|
164
164
|
|
|
165
|
-
If you plan on using the
|
|
165
|
+
If you plan on using the publicly accessible endpoints provided by MAYAChain (listed below), ensure that you add a valid 'x-client-id' to all requests
|
|
166
166
|
|
|
167
|
-
- https://midgard.
|
|
168
|
-
- https://
|
|
169
|
-
- https://thornode.ninerealms.com
|
|
167
|
+
- https://midgard.mayachain.info
|
|
168
|
+
- https://mayanode.mayachain.info
|
|
170
169
|
|
|
171
170
|
## Example
|
|
172
171
|
|
package/lib/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { assetFromStringEx,
|
|
1
|
+
import { assetFromStringEx, baseAmount, CryptoAmount, assetToString, CachedValue, AssetCryptoAmount, eqAsset, isSynthAsset, TRADE_ASSET_DELIMITER, SYNTH_ASSET_DELIMITER, TOKEN_ASSET_DELIMITER, TradeCryptoAmount } from '@xchainjs/xchain-util';
|
|
2
2
|
import { MidgardQuery } from '@xchainjs/xchain-mayamidgard-query';
|
|
3
3
|
import BigNumber from 'bignumber.js';
|
|
4
4
|
import { Network } from '@xchainjs/xchain-client';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-mayachain-query",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Mayachain query module that is responsible for estimating swap calculations and add/remove liquidity for thorchain",
|
|
6
6
|
"keywords": [
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"postversion": "git push --follow-tags"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@xchainjs/xchain-client": "2.0.
|
|
37
|
-
"@xchainjs/xchain-mayamidgard": "1.1.
|
|
38
|
-
"@xchainjs/xchain-mayamidgard-query": "1.0.
|
|
39
|
-
"@xchainjs/xchain-mayanode": "1.2.
|
|
40
|
-
"@xchainjs/xchain-util": "2.0.
|
|
41
|
-
"axios": "1.
|
|
36
|
+
"@xchainjs/xchain-client": "2.0.12",
|
|
37
|
+
"@xchainjs/xchain-mayamidgard": "1.1.1",
|
|
38
|
+
"@xchainjs/xchain-mayamidgard-query": "1.0.14",
|
|
39
|
+
"@xchainjs/xchain-mayanode": "1.2.1",
|
|
40
|
+
"@xchainjs/xchain-util": "2.0.7",
|
|
41
|
+
"axios": "1.15.0",
|
|
42
42
|
"axios-retry": "3.2.5",
|
|
43
|
-
"bignumber.js": "^
|
|
43
|
+
"bignumber.js": "^11.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"axios-mock-adapter": "2.1.0"
|