@metalabel/dfos-client 0.38.0 → 0.40.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -132,6 +132,8 @@ await verifyApiRequest(client, {
132
132
 
133
133
  It throws `ApiRequestVerifyError`, carrying `reason` (`invalid` / `unverifiable` / `config`), `phase`, and the recommended `status` — branch on those, never on message text.
134
134
 
135
+ `verifyApiIdentityRequest` is the same verifier for the envelope's credential-less sibling, the [identity proof](https://protocol.dfos.com/api-auth#the-identity-proof) — it establishes only which DID is asking, leaving what that DID may do to the resource's own policy.
136
+
135
137
  `apiRequestSigningInput(payload)` is the pure byte contract both halves share, and the one place per language the canonical bytes are built.
136
138
 
137
139
  ### `@metalabel/dfos-client/siwd`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metalabel/dfos-client",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "type": "module",
5
5
  "description": "DFOS Client — the client-side kit for participating in the protocol: resolve, verify, prove. Fetch, resolve, verify-orchestration and cache over untrusted relays, plus the SIWD and API-AUTH proof surfaces. Holds no keys; all crypto truth comes from @metalabel/dfos-protocol",
6
6
  "license": "MIT",
@@ -47,15 +47,15 @@
47
47
  "README.md"
48
48
  ],
49
49
  "peerDependencies": {
50
- "@metalabel/dfos-protocol": "^0.38.0",
51
- "@metalabel/dfos-web-relay": "^0.38.0"
50
+ "@metalabel/dfos-protocol": "^0.40.0",
51
+ "@metalabel/dfos-web-relay": "^0.40.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^24.10.4",
55
55
  "tsup": "^8.5.1",
56
56
  "vitest": "^4.1.8",
57
- "@metalabel/dfos-protocol": "0.38.0",
58
- "@metalabel/dfos-web-relay": "0.38.0"
57
+ "@metalabel/dfos-protocol": "0.40.0",
58
+ "@metalabel/dfos-web-relay": "0.40.0"
59
59
  },
60
60
  "scripts": {
61
61
  "build": "tsup",