@cowprotocol/sdk-order-signing 1.0.6 → 1.1.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.
- package/README.md +6 -0
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
# SDK Order Signing
|
|
6
6
|
|
|
7
|
+
## Test coverage
|
|
8
|
+
|
|
9
|
+
| Statements | Branches | Functions | Lines |
|
|
10
|
+
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
|
|
11
|
+
|  |  |  |  |
|
|
12
|
+
|
|
7
13
|
This package provides EIP-712 order signing and cancellation utilities for the CoW Protocol. It handles all the cryptographic operations required to sign orders and cancellations according to CoW Protocol's specifications.
|
|
8
14
|
|
|
9
15
|
## Installation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cowprotocol/sdk-order-signing",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "TypeScript order signing for CoW Protocol SDK",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,15 +19,14 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@cowprotocol/sdk-common": "0.
|
|
23
|
-
"@cowprotocol/sdk-
|
|
24
|
-
"@cowprotocol/sdk-
|
|
25
|
-
"@cowprotocol/sdk-order-book": "
|
|
22
|
+
"@cowprotocol/sdk-common": "0.12.0",
|
|
23
|
+
"@cowprotocol/sdk-contracts-ts": "3.2.0",
|
|
24
|
+
"@cowprotocol/sdk-config": "2.3.1",
|
|
25
|
+
"@cowprotocol/sdk-order-book": "4.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/jest": "^29.5.5",
|
|
29
29
|
"@types/node": "^20.17.31",
|
|
30
|
-
"coveralls": "^3.1.1",
|
|
31
30
|
"ethers-v5": "npm:ethers@^5.7.2",
|
|
32
31
|
"ethers-v6": "npm:ethers@^6.13.7",
|
|
33
32
|
"jest": "^29.7.0",
|
|
@@ -36,10 +35,10 @@
|
|
|
36
35
|
"tsup": "^7.2.0",
|
|
37
36
|
"typescript": "^5.2.2",
|
|
38
37
|
"viem": "^2.28.4",
|
|
39
|
-
"@cowprotocol/sdk-ethers-v5-adapter": "0.4.
|
|
40
|
-
"@cowprotocol/sdk-
|
|
38
|
+
"@cowprotocol/sdk-ethers-v5-adapter": "0.4.10",
|
|
39
|
+
"@cowprotocol/sdk-viem-adapter": "0.3.24",
|
|
41
40
|
"@cow-sdk/typescript-config": "0.0.0-beta.0",
|
|
42
|
-
"@cowprotocol/sdk-
|
|
41
|
+
"@cowprotocol/sdk-ethers-v6-adapter": "0.4.10"
|
|
43
42
|
},
|
|
44
43
|
"scripts": {
|
|
45
44
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
@@ -48,7 +47,8 @@
|
|
|
48
47
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
49
48
|
"test": "jest",
|
|
50
49
|
"test:watch": "jest --watch",
|
|
51
|
-
"test:coverage": "jest --coverage
|
|
50
|
+
"test:coverage": "jest --coverage",
|
|
51
|
+
"coverage:badges": "istanbul-badges-readme --exitCode=1",
|
|
52
52
|
"test:coverage:html": "jest --silent=false --coverage --coverageReporters html",
|
|
53
53
|
"typecheck": "tsc --noEmit"
|
|
54
54
|
}
|