@shapeshiftoss/swapper 17.3.4 → 17.4.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RUNE_OUTBOUND_TRANSACTION_FEE_CRYPTO_HUMAN: import("bignumber.js").
|
|
1
|
+
export declare const RUNE_OUTBOUND_TRANSACTION_FEE_CRYPTO_HUMAN: import("bignumber.js").BigNumber;
|
|
@@ -33,7 +33,10 @@ const isValidMemoAddress = (chainId, thorId, address) => {
|
|
|
33
33
|
}
|
|
34
34
|
case thorId.startsWith('GAIA.'):
|
|
35
35
|
return address.startsWith('cosmos');
|
|
36
|
-
case
|
|
36
|
+
// Note that this case doesn't contain a dot
|
|
37
|
+
// See https://github.com/shapeshift/lib/blob/6b5c9c8e855ffb68d865cfae8f545e7a819a9667/packages/swapper/src/swappers/thorchain/utils/makeSwapMemo/makeSwapMemo.ts#L10
|
|
38
|
+
// RUNE isn't a pool, it is the native asset of the THORChain network
|
|
39
|
+
case thorId.startsWith('RUNE'):
|
|
37
40
|
return address.startsWith('thor');
|
|
38
41
|
default:
|
|
39
42
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/swapper",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.4.0",
|
|
4
4
|
"description": "An interface and implementations to trade coins via various protocols",
|
|
5
5
|
"repository": "https://github.com/shapeshift/lib",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"axios": "^0.26.1",
|
|
27
27
|
"axios-cache-adapter": "^2.7.3",
|
|
28
|
-
"bignumber.js": "^9.
|
|
28
|
+
"bignumber.js": "^9.1.1",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
30
|
"retry-axios": "^2.6.0",
|
|
31
31
|
"web3": "1.7.4"
|