@libid/contracts 0.15.0 → 0.15.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 +4 -0
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -19,6 +19,10 @@ generated from `solidity/contracts/identity/handles.json` by
19
19
  pnpm add @libid/contracts viem
20
20
  ```
21
21
 
22
+ `viem` is an optional peer. The root export, `calls` and `identity` import it;
23
+ `@libid/contracts/ceremony` imports nothing, so a consumer of that subpath alone
24
+ can leave it out.
25
+
22
26
  ## Reading a contract with viem
23
27
 
24
28
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libid/contracts",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Typed viem-ready ABIs and call builders for the libid contracts, plus the identity helper layer (handle normalization, handle resolution).",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "repository": {
@@ -42,6 +42,11 @@
42
42
  "peerDependencies": {
43
43
  "viem": "^2.48.11"
44
44
  },
45
+ "peerDependenciesMeta": {
46
+ "viem": {
47
+ "optional": true
48
+ }
49
+ },
45
50
  "devDependencies": {
46
51
  "@types/node": "^22.0.0",
47
52
  "tsx": "^4.20.0",