@xchainjs/xchain-mayachain-amm 3.0.18 → 3.0.20
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.d.ts +5 -0
- package/lib/index.esm.js +4 -4
- package/lib/index.js +6 -0
- package/package.json +12 -12
package/lib/index.d.ts
CHANGED
|
@@ -8,3 +8,8 @@ export * from './mayachain-amm';
|
|
|
8
8
|
* This allows users to import members from "types" directly from this module.
|
|
9
9
|
*/
|
|
10
10
|
export * from './types';
|
|
11
|
+
/**
|
|
12
|
+
* Re-exports all members from the "utils" module.
|
|
13
|
+
* This allows users to import members from "utils" directly from this module.
|
|
14
|
+
*/
|
|
15
|
+
export * from './utils';
|
package/lib/index.esm.js
CHANGED
|
@@ -6,11 +6,11 @@ import { AssetETH as AssetETH$1, ETHChain, Client as Client$6, defaultEthParams
|
|
|
6
6
|
import 'crypto';
|
|
7
7
|
import require$$0$4 from 'buffer';
|
|
8
8
|
import { ethers } from 'ethers';
|
|
9
|
-
import { KUJIChain, Client as Client$4, defaultKujiParams
|
|
9
|
+
import { AssetKUJI, KUJIChain, Client as Client$4, defaultKujiParams } from '@xchainjs/xchain-kujira';
|
|
10
10
|
import { MAYAChain, Client as Client$2, AssetCacao, CACAO_DECIMAL } from '@xchainjs/xchain-mayachain';
|
|
11
11
|
import { MayachainQuery } from '@xchainjs/xchain-mayachain-query';
|
|
12
|
-
import { RadixChain, Client as Client$1,
|
|
13
|
-
import { THORChain, Client as Client$3
|
|
12
|
+
import { RadixChain, Client as Client$1, AssetXRD, generateAddressParam, generateBucketParam, generateStringParam } from '@xchainjs/xchain-radix';
|
|
13
|
+
import { AssetRuneNative, THORChain, Client as Client$3 } from '@xchainjs/xchain-thorchain';
|
|
14
14
|
import { Wallet } from '@xchainjs/xchain-wallet';
|
|
15
15
|
|
|
16
16
|
/******************************************************************************
|
|
@@ -85587,4 +85587,4 @@ class MayachainAMM {
|
|
|
85587
85587
|
}
|
|
85588
85588
|
}
|
|
85589
85589
|
|
|
85590
|
-
export { MayachainAMM };
|
|
85590
|
+
export { MayachainAMM, isProtocolBFTChain, isProtocolERC20Asset, isProtocolEVMChain, isRadixChain, isTokenCryptoAmount, validateAddress };
|
package/lib/index.js
CHANGED
|
@@ -85594,3 +85594,9 @@ class MayachainAMM {
|
|
|
85594
85594
|
}
|
|
85595
85595
|
|
|
85596
85596
|
exports.MayachainAMM = MayachainAMM;
|
|
85597
|
+
exports.isProtocolBFTChain = isProtocolBFTChain;
|
|
85598
|
+
exports.isProtocolERC20Asset = isProtocolERC20Asset;
|
|
85599
|
+
exports.isProtocolEVMChain = isProtocolEVMChain;
|
|
85600
|
+
exports.isRadixChain = isRadixChain;
|
|
85601
|
+
exports.isTokenCryptoAmount = isTokenCryptoAmount;
|
|
85602
|
+
exports.validateAddress = validateAddress;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-mayachain-amm",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.20",
|
|
4
4
|
"description": "module that exposes estimating & swapping cryptocurrency assets on mayachain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MAYAChain",
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"url": "https://github.com/xchainjs/xchainjs-lib/issues"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xchainjs/xchain-arbitrum": "1.0.
|
|
40
|
-
"@xchainjs/xchain-bitcoin": "1.2.
|
|
41
|
-
"@xchainjs/xchain-client": "1.0.
|
|
42
|
-
"@xchainjs/xchain-dash": "1.0.
|
|
43
|
-
"@xchainjs/xchain-ethereum": "1.0.
|
|
44
|
-
"@xchainjs/xchain-kujira": "1.0.
|
|
45
|
-
"@xchainjs/xchain-mayachain": "2.0.
|
|
46
|
-
"@xchainjs/xchain-mayachain-query": "1.0.
|
|
47
|
-
"@xchainjs/xchain-radix": "1.1.
|
|
48
|
-
"@xchainjs/xchain-thorchain": "2.0.
|
|
49
|
-
"@xchainjs/xchain-wallet": "1.1.
|
|
39
|
+
"@xchainjs/xchain-arbitrum": "1.0.15",
|
|
40
|
+
"@xchainjs/xchain-bitcoin": "1.2.2",
|
|
41
|
+
"@xchainjs/xchain-client": "1.0.10",
|
|
42
|
+
"@xchainjs/xchain-dash": "1.0.10",
|
|
43
|
+
"@xchainjs/xchain-ethereum": "1.0.14",
|
|
44
|
+
"@xchainjs/xchain-kujira": "1.0.12",
|
|
45
|
+
"@xchainjs/xchain-mayachain": "2.0.12",
|
|
46
|
+
"@xchainjs/xchain-mayachain-query": "1.0.11",
|
|
47
|
+
"@xchainjs/xchain-radix": "1.1.8",
|
|
48
|
+
"@xchainjs/xchain-thorchain": "2.0.14",
|
|
49
|
+
"@xchainjs/xchain-wallet": "1.1.6",
|
|
50
50
|
"ethers": "5.7.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|