@xchainjs/xchain-thorchain-amm 3.0.30 → 3.0.31
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.esm.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -2991,7 +2991,7 @@ const isTokenCryptoAmount = (amount) => {
|
|
|
2991
2991
|
* @returns true if chain is EVM, otherwise, false
|
|
2992
2992
|
*/
|
|
2993
2993
|
const isProtocolBFTChain = (chain) => {
|
|
2994
|
-
return [AssetATOM.chain].includes(chain);
|
|
2994
|
+
return [AssetATOM.chain, SOLChain].includes(chain);
|
|
2995
2995
|
};
|
|
2996
2996
|
const validateAddress = (network, chain, address) => {
|
|
2997
2997
|
switch (chain) {
|
package/lib/index.js
CHANGED
|
@@ -2993,7 +2993,7 @@ const isTokenCryptoAmount = (amount) => {
|
|
|
2993
2993
|
* @returns true if chain is EVM, otherwise, false
|
|
2994
2994
|
*/
|
|
2995
2995
|
const isProtocolBFTChain = (chain) => {
|
|
2996
|
-
return [xchainCosmos.AssetATOM.chain].includes(chain);
|
|
2996
|
+
return [xchainCosmos.AssetATOM.chain, xchainSolana.SOLChain].includes(chain);
|
|
2997
2997
|
};
|
|
2998
2998
|
const validateAddress = (network, chain, address) => {
|
|
2999
2999
|
switch (chain) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-thorchain-amm",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.31",
|
|
4
4
|
"description": "module that exposes estimating & swappping cryptocurrency assets on thorchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"THORChain",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@xchainjs/xchain-ripple": "1.0.12",
|
|
51
51
|
"@xchainjs/xchain-solana": "1.1.1",
|
|
52
52
|
"@xchainjs/xchain-thorchain": "3.0.14",
|
|
53
|
-
"@xchainjs/xchain-thorchain-query": "3.0.
|
|
53
|
+
"@xchainjs/xchain-thorchain-query": "3.0.1",
|
|
54
54
|
"@xchainjs/xchain-tron": "3.0.3",
|
|
55
55
|
"@xchainjs/xchain-util": "2.0.5",
|
|
56
56
|
"@xchainjs/xchain-wallet": "2.0.23",
|