@shapeshiftoss/swapper 17.3.1 → 17.3.2
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.
|
@@ -249,15 +249,15 @@ const buildTradeTx = async ({ osmoAddress, adapter, accountNumber, buyAssetDenom
|
|
|
249
249
|
sender: osmoAddress,
|
|
250
250
|
routes: [
|
|
251
251
|
{
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
pool_id: '1',
|
|
253
|
+
token_out_denom: buyAssetDenom,
|
|
254
254
|
},
|
|
255
255
|
],
|
|
256
|
-
|
|
256
|
+
token_in: {
|
|
257
257
|
denom: sellAssetDenom,
|
|
258
258
|
amount: sellAmount,
|
|
259
259
|
},
|
|
260
|
-
|
|
260
|
+
token_out_min_amount: '1', // slippage tolerance
|
|
261
261
|
},
|
|
262
262
|
},
|
|
263
263
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/swapper",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.2",
|
|
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",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@shapeshiftoss/caip": "^8.0.0",
|
|
36
36
|
"@shapeshiftoss/chain-adapters": "^11.0.0",
|
|
37
37
|
"@shapeshiftoss/errors": "^1.1.2",
|
|
38
|
-
"@shapeshiftoss/hdwallet-core": "^1.
|
|
38
|
+
"@shapeshiftoss/hdwallet-core": "^1.43.0",
|
|
39
39
|
"@shapeshiftoss/types": "^8.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@shapeshiftoss/caip": "^8.0.0",
|
|
44
44
|
"@shapeshiftoss/chain-adapters": "^11.0.0",
|
|
45
45
|
"@shapeshiftoss/errors": "^1.1.2",
|
|
46
|
-
"@shapeshiftoss/hdwallet-core": "^1.
|
|
46
|
+
"@shapeshiftoss/hdwallet-core": "^1.43.0",
|
|
47
47
|
"@shapeshiftoss/types": "^8.1.0",
|
|
48
48
|
"@shapeshiftoss/unchained-client": "^10.0.1",
|
|
49
49
|
"@types/readline-sync": "^1.4.4",
|