@wonderland/interop 0.3.5 → 0.4.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 +14 -0
  2. package/package.json +9 -3
package/README.md CHANGED
@@ -28,6 +28,20 @@ graph LR
28
28
 
29
29
  1. Install dependencies running `pnpm install`
30
30
 
31
+ ## Installation
32
+
33
+ `viem` is a peer dependency — install it alongside the package:
34
+
35
+ ```bash
36
+ npm install @wonderland/interop viem
37
+ # or
38
+ yarn add @wonderland/interop viem
39
+ # or
40
+ pnpm add @wonderland/interop viem
41
+ ```
42
+
43
+ Supported `viem` range: `^2.28.0`.
44
+
31
45
  ## Available Scripts
32
46
 
33
47
  Available scripts that can be run using `pnpm`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderland/interop",
3
- "version": "0.3.5",
3
+ "version": "0.4.1",
4
4
  "description": "Complete SDK for blockchain interoperability with cross-chain operations and address utilities",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,8 +31,14 @@
31
31
  "test": "vitest run --config vitest.config.ts --passWithNoTests",
32
32
  "test:cov": "vitest run --config vitest.config.ts --coverage"
33
33
  },
34
+ "devDependencies": {
35
+ "viem": "2.28.0"
36
+ },
37
+ "peerDependencies": {
38
+ "viem": "^2.28.0"
39
+ },
34
40
  "dependencies": {
35
- "@wonderland/interop-addresses": "0.5.2",
36
- "@wonderland/interop-cross-chain": "0.6.1"
41
+ "@wonderland/interop-addresses": "0.6.0",
42
+ "@wonderland/interop-cross-chain": "0.8.0"
37
43
  }
38
44
  }