@shapeshiftoss/swapper 11.0.3 → 11.1.1
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.
|
@@ -50,7 +50,7 @@ async function cowExecuteTrade({ apiUrl, adapter }, { trade, wallet }) {
|
|
|
50
50
|
const bip44Params = chain_adapters_1.ethereum.ChainAdapter.defaultBIP44Params;
|
|
51
51
|
const message = {
|
|
52
52
|
messageToSign: {
|
|
53
|
-
addressNList: (0, hdwallet_core_1.bip32ToAddressNList)((0, chain_adapters_1.
|
|
53
|
+
addressNList: (0, hdwallet_core_1.bip32ToAddressNList)((0, chain_adapters_1.toPath)(bip44Params)),
|
|
54
54
|
message: ethers_1.ethers.utils.arrayify(orderDigest),
|
|
55
55
|
},
|
|
56
56
|
wallet,
|
|
@@ -189,7 +189,7 @@ const performIbcTransfer = async (input, adapter, wallet, blockBaseUrl, denom, s
|
|
|
189
189
|
],
|
|
190
190
|
gas,
|
|
191
191
|
},
|
|
192
|
-
signatures:
|
|
192
|
+
signatures: [],
|
|
193
193
|
msg: [
|
|
194
194
|
{
|
|
195
195
|
type: 'cosmos-sdk/MsgTransfer',
|
|
@@ -247,7 +247,7 @@ const buildTradeTx = async ({ osmoAddress, adapter, buyAssetDenom, sellAssetDeno
|
|
|
247
247
|
],
|
|
248
248
|
gas,
|
|
249
249
|
},
|
|
250
|
-
signatures:
|
|
250
|
+
signatures: [],
|
|
251
251
|
msg: [
|
|
252
252
|
{
|
|
253
253
|
type: 'osmosis/gamm/swap-exact-amount-in',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/swapper",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.1",
|
|
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",
|
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
"web3": "1.7.4"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@shapeshiftoss/asset-service": "^
|
|
33
|
+
"@shapeshiftoss/asset-service": "^8.0.1",
|
|
34
34
|
"@shapeshiftoss/caip": "^8.0.0",
|
|
35
|
-
"@shapeshiftoss/chain-adapters": "^
|
|
35
|
+
"@shapeshiftoss/chain-adapters": "^9.0.1",
|
|
36
36
|
"@shapeshiftoss/errors": "^1.1.2",
|
|
37
|
-
"@shapeshiftoss/hdwallet-core": "^1.
|
|
37
|
+
"@shapeshiftoss/hdwallet-core": "^1.31.0",
|
|
38
38
|
"@shapeshiftoss/types": "^8.1.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@shapeshiftoss/asset-service": "^
|
|
41
|
+
"@shapeshiftoss/asset-service": "^8.0.1",
|
|
42
42
|
"@shapeshiftoss/caip": "^8.0.0",
|
|
43
|
-
"@shapeshiftoss/chain-adapters": "^
|
|
43
|
+
"@shapeshiftoss/chain-adapters": "^9.0.1",
|
|
44
44
|
"@shapeshiftoss/errors": "^1.1.2",
|
|
45
|
-
"@shapeshiftoss/hdwallet-core": "^1.
|
|
45
|
+
"@shapeshiftoss/hdwallet-core": "^1.31.0",
|
|
46
46
|
"@shapeshiftoss/types": "^8.1.0",
|
|
47
47
|
"@types/readline-sync": "^1.4.4",
|
|
48
48
|
"readline-sync": "^1.4.10",
|
|
49
49
|
"web3-utils": "1.7.4",
|
|
50
|
-
"@shapeshiftoss/unchained-client": "^
|
|
50
|
+
"@shapeshiftoss/unchained-client": "^10.0.1"
|
|
51
51
|
}
|
|
52
52
|
}
|