@cowprotocol/sdk-trading 2.1.0 → 2.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.
- package/dist/index.js +7 -2
- package/dist/index.mjs +7 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -166,7 +166,12 @@ function getOrderToSign({
|
|
|
166
166
|
kind,
|
|
167
167
|
feeAmount: networkCostsAmount,
|
|
168
168
|
appData: appDataKeccak256,
|
|
169
|
-
partiallyFillable
|
|
169
|
+
partiallyFillable,
|
|
170
|
+
// Quote-only gas/price metadata: not known when building an order to sign and
|
|
171
|
+
// unused by getQuoteAmountsAndCosts. Set to zero placeholders to satisfy OrderParameters.
|
|
172
|
+
gasAmount: "0",
|
|
173
|
+
gasPrice: "0",
|
|
174
|
+
sellTokenPrice: "0"
|
|
170
175
|
};
|
|
171
176
|
let sellAmountToUse = sellAmount;
|
|
172
177
|
let buyAmountToUse = buyAmount;
|
|
@@ -491,7 +496,7 @@ var import_deepmerge = __toESM(require("deepmerge"));
|
|
|
491
496
|
// ../sdk/package.json
|
|
492
497
|
var package_default = {
|
|
493
498
|
name: "@cowprotocol/cow-sdk",
|
|
494
|
-
version: "9.1.
|
|
499
|
+
version: "9.1.4",
|
|
495
500
|
license: "(MIT OR Apache-2.0)",
|
|
496
501
|
description: "CoW Protocol SDK - get quote, configure your order, and trade",
|
|
497
502
|
repository: {
|
package/dist/index.mjs
CHANGED
|
@@ -112,7 +112,12 @@ function getOrderToSign({
|
|
|
112
112
|
kind,
|
|
113
113
|
feeAmount: networkCostsAmount,
|
|
114
114
|
appData: appDataKeccak256,
|
|
115
|
-
partiallyFillable
|
|
115
|
+
partiallyFillable,
|
|
116
|
+
// Quote-only gas/price metadata: not known when building an order to sign and
|
|
117
|
+
// unused by getQuoteAmountsAndCosts. Set to zero placeholders to satisfy OrderParameters.
|
|
118
|
+
gasAmount: "0",
|
|
119
|
+
gasPrice: "0",
|
|
120
|
+
sellTokenPrice: "0"
|
|
116
121
|
};
|
|
117
122
|
let sellAmountToUse = sellAmount;
|
|
118
123
|
let buyAmountToUse = buyAmount;
|
|
@@ -455,7 +460,7 @@ import deepmerge from "deepmerge";
|
|
|
455
460
|
// ../sdk/package.json
|
|
456
461
|
var package_default = {
|
|
457
462
|
name: "@cowprotocol/cow-sdk",
|
|
458
|
-
version: "9.1.
|
|
463
|
+
version: "9.1.4",
|
|
459
464
|
license: "(MIT OR Apache-2.0)",
|
|
460
465
|
description: "CoW Protocol SDK - get quote, configure your order, and trade",
|
|
461
466
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cowprotocol/sdk-trading",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "CowProtocol trading",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"viem": "^2.28.4",
|
|
34
34
|
"ts-jest": "^29.0.0",
|
|
35
35
|
"tsx": "^4.19.4",
|
|
36
|
+
"@cowprotocol/sdk-ethers-v5-adapter": "0.4.8",
|
|
36
37
|
"@cow-sdk/typescript-config": "0.0.0-beta.0",
|
|
37
|
-
"@cowprotocol/sdk-ethers-
|
|
38
|
-
"@cowprotocol/sdk-
|
|
39
|
-
"@cowprotocol/sdk-viem-adapter": "0.3.21"
|
|
38
|
+
"@cowprotocol/sdk-ethers-v6-adapter": "0.4.8",
|
|
39
|
+
"@cowprotocol/sdk-viem-adapter": "0.3.22"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"deepmerge": "^4.3.1",
|
|
43
|
-
"@cowprotocol/sdk-common": "0.11.
|
|
44
|
-
"@cowprotocol/sdk-config": "2.2.
|
|
45
|
-
"@cowprotocol/sdk-
|
|
46
|
-
"@cowprotocol/sdk-
|
|
47
|
-
"@cowprotocol/sdk-order-
|
|
48
|
-
"@cowprotocol/sdk-contracts-ts": "3.1.
|
|
43
|
+
"@cowprotocol/sdk-common": "0.11.1",
|
|
44
|
+
"@cowprotocol/sdk-config": "2.2.1",
|
|
45
|
+
"@cowprotocol/sdk-app-data": "5.1.4",
|
|
46
|
+
"@cowprotocol/sdk-order-signing": "1.0.5",
|
|
47
|
+
"@cowprotocol/sdk-order-book": "3.2.1",
|
|
48
|
+
"@cowprotocol/sdk-contracts-ts": "3.1.1"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|