@crossecute/sdk 0.1.0 → 0.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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +11 -7
package/README.md CHANGED
@@ -19,7 +19,7 @@ once [crossecute/protocol#117](https://github.com/crossecute/protocol/pull/117)
19
19
  ## Install
20
20
 
21
21
  ```bash
22
- npm install @crossecute/sdk @crossecute/protocol @openzeppelin/contracts@5.4.0 @openzeppelin/contracts-upgradeable@5.4.0
22
+ npm install @crossecute/sdk @crossecute/protocol viem @openzeppelin/contracts@5.4.0 @openzeppelin/contracts-upgradeable@5.4.0
23
23
  ```
24
24
 
25
25
  Foundry remappings:
@@ -154,7 +154,8 @@ npx crossecute check out/plan.json out/safe-tx.json
154
154
  ```
155
155
 
156
156
  prints the batches, then the domain hash, message hash and `safeTxHash` a signer's device
157
- shows. The only runtime dependency besides `@crossecute/protocol` is viem.
157
+ shows. Its only runtime dependency is `@crossecute/protocol`; viem is a peer dependency
158
+ (`^2.57.18`), so a frontend keeps the single copy it already has.
158
159
 
159
160
  ## Development
160
161
 
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@crossecute/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Foundry and TypeScript helpers for building, simulating and checking Crossecute operations",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "engines": {
8
+ "node": ">=22.12"
9
+ },
7
10
  "exports": {
8
11
  ".": {
9
12
  "types": "./dist/index.d.ts",
@@ -30,20 +33,21 @@
30
33
  "test:attest": "scripts/check-forge-attest.sh"
31
34
  },
32
35
  "dependencies": {
33
- "@crossecute/protocol": "0.1.0",
34
- "viem": "2.57.18"
36
+ "@crossecute/protocol": "0.1.0"
35
37
  },
36
38
  "peerDependencies": {
37
39
  "@openzeppelin/contracts": "5.4.0",
38
- "@openzeppelin/contracts-upgradeable": "5.4.0"
40
+ "@openzeppelin/contracts-upgradeable": "5.4.0",
41
+ "viem": "^2.57.18"
39
42
  },
40
43
  "devDependencies": {
41
44
  "@openzeppelin/contracts": "5.4.0",
42
45
  "@openzeppelin/contracts-upgradeable": "5.4.0",
43
- "@types/node": "22.19.1",
46
+ "@types/node": "26.6.6",
44
47
  "forge-std": "github:foundry-rs/forge-std#v1.17.0",
45
- "typescript": "5.9.3",
46
- "vitest": "4.0.8"
48
+ "typescript": "7.0.2",
49
+ "viem": "2.57.18",
50
+ "vitest": "5.1.0"
47
51
  },
48
52
  "repository": {
49
53
  "type": "git",