@owlmeans/client-did 0.1.18-rc.13 → 0.1.18-rc.15

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 CHANGED
@@ -11,7 +11,7 @@ Client-side DID wallet service for managing decentralized identity keys in brows
11
11
  ## Installation
12
12
 
13
13
  ```bash
14
- bun add @owlmeans/client-did
14
+ bun add @owlmeans/client-did@^0.1.18-rc.14
15
15
  ```
16
16
 
17
17
  ## Usage
@@ -57,7 +57,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
57
57
  your project's skill store (`.agents/skills/`):
58
58
 
59
59
  ```sh
60
- npx @owlmeans/agent-skills
60
+ npx @owlmeans/agent-skills@^0.1.18-rc.12
61
61
  ```
62
62
 
63
63
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/client-did",
4
- "version": "0.1.18-rc.13",
5
- "generatedAt": "2026-09-01T16:49:00.427Z",
4
+ "version": "0.1.18-rc.15",
5
+ "generatedAt": "2026-09-04T22:43:25.434Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: client-did
3
- description: How to use @owlmeans/client-did — client-side DID wallet account management built on @owlmeans/did. Auto-invoked when importing client DID services.
3
+ description: How to use @owlmeans/client-did — the browser/native DID wallet service (makeWalletService, appendDidService, context.getDidService()) plus makeDidAccountModel for signing an authentication challenge with a wallet key. Auto-invoked when importing client DID services, registering a wallet on a client context, or authenticating with a DID key.
4
4
  user-invocable: false
5
5
  ---
6
6
  <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
@@ -8,23 +8,116 @@ user-invocable: false
8
8
  # @owlmeans/client-did
9
9
 
10
10
  **Layer:** Client
11
- **Install:** `"@owlmeans/client-did": "^0.1.18-rc.13"` in `dependencies`
11
+ **Install:** `"@owlmeans/client-did": "^0.1.18-rc.15"` in `dependencies`
12
+
13
+ A `DIDWallet` from `@owlmeans/did` needs three resources to live in — master seed, key pairs, key
14
+ meta. This package registers those as client resources, wraps the wallet in a lazy service, and
15
+ adds the one model that turns a wallet key into an authentication credential.
12
16
 
13
17
  ## Key Exports
14
18
 
15
19
  | Export | Description |
16
20
  |--------|-------------|
17
- | `makeDidService()` | Client-side DID wallet service factory |
18
- | Account helpers | Wallet account creation/import |
19
- | Constants | DID service aliases |
21
+ | `appendDidService(ctx, alias?, deps?)` | The wiring call: registers the three client resources, the wallet service, and `ctx.getDidService()` |
22
+ | `makeWalletService(alias?, deps?)` | The service factory on its own, for a context that already owns the resources |
23
+ | `DIDService` | `exists()` · `create(opts?)` · `intialize()` · `get()` · `wallet` — a `LazyService` |
24
+ | `DIDServiceAppend` | What `appendDidService` adds to the context: `getDidService(alias?)` |
25
+ | `DIDServiceDeps` | `{ keys, meta, master }` — the resource aliases the wallet reads and writes |
26
+ | `makeDidAccountModel(did, isPub?)` | Wrap a `DIDKeyModel`, a `KeyPair` (from `@owlmeans/basic-keys`) or an exported key string as an account that can sign a challenge |
27
+ | `DIDAccountModel` | `{ did, authenticate(credentials) }` |
28
+ | `DEFAULT_ALIAS` (`did-wallet`) | The service alias, and the prefix every default resource alias is built from |
29
+ | `DEF_KEYS_RESOURCE` · `DEF_META_RESOURCE` · `DEF_MASTER_RESOURCE` | `did-wallet-keys` · `did-wallet-meta` · `did-wallet-master` |
30
+ | `defDeps` | Those three constants as a `DIDServiceDeps` |
31
+
32
+ ## Wiring
33
+
34
+ ```typescript
35
+ import { appendDidService } from '@owlmeans/client-did'
36
+
37
+ appendDidService(context) // resources + service + context.getDidService()
38
+ appendDidService(context, 'signer') // resources signer-keys / signer-meta / signer-master
39
+ ```
40
+
41
+ `appendDidService` creates each missing dependency with `appendClientResource`, so the wallet
42
+ persists through whatever backend `@owlmeans/client-resource` resolves for those aliases — the
43
+ browser IndexedDB store when `@owlmeans/web-db` is registered. It derives resource aliases from the
44
+ service alias unless `deps` names them, and it registers `getDidService` only once: a second call
45
+ under another alias adds a service and its resources, and the accessor still answers for the first
46
+ one unless asked for another (`context.getDidService('signer')`).
47
+
48
+ The **first** `appendDidService` call also lists its three resources in the client debug menu with
49
+ `appendStateDebug`, so the menu's "Reset states" item clears the wallet along with the rest. That
50
+ listing sits behind the same `getDidService == null` check as the accessor: a second call under
51
+ another alias registers a service and its resources but adds nothing to the menu, so a second
52
+ wallet is not reset by it. The menu item exists only in a debuggable build — `cfg.debug.all` or
53
+ `cfg.debug.debugger` — because `appendDebugService` registers no service otherwise.
54
+
55
+ ## Using the wallet
56
+
57
+ ```typescript
58
+ const did = context.getDidService()
59
+ await did.ready() // the line above already started init; this waits for it
20
60
 
21
- ## Usage
61
+ if (!await did.exists()) {
62
+ await did.create() // builds the wallet AND mints its master seed
63
+ }
64
+
65
+ const wallet = did.get()
66
+ const master = await wallet.master()
67
+ ```
68
+
69
+ `exists()` answers by loading the `MASTER` record from the master resource. Initialization is
70
+ started by `getDidService()` itself — the context's service accessor fires `lazyInit` on the first
71
+ lookup of a service that is not initialized yet — and `ready()` only waits on the promise that init
72
+ settles; it triggers nothing. Init initializes the keys resource and opens the wallet only when a
73
+ master seed is already stored, and it swallows whatever goes wrong so a broken store never blocks
74
+ the context — a context with no wallet comes up initialized with `get()` answering `undefined`, so
75
+ a screen must call `create()` before it can use one.
76
+
77
+ **`create()` is the entire first-run path.** It throws `DIDInitializationError('exists:service')`
78
+ rather than overwriting a wallet that already exists, and otherwise builds one with `force: true` —
79
+ which in `makeWallet` both waives the refusal for a missing master seed and runs `generate()` before
80
+ the wallet is handed back. So `create()` returns a **seeded** wallet: calling `wallet.generate()`
81
+ after it mints a second mnemonic over the first and loses the seed the wallet just made. Reach for
82
+ `generate(opts?)` only to re-seed a wallet deliberately.
83
+
84
+ `intialize()` (spelled with that typo in the interface) opens an already-seeded wallet with no
85
+ options, so it raises `DIDInitializationError('master')` when there is no master record — which is
86
+ why init calls it only after `exists()`.
87
+
88
+ ## Authenticating with a wallet key
22
89
 
23
90
  ```typescript
24
- import { makeDidService } from '@owlmeans/client-did'
25
- context.registerService(makeDidService())
91
+ import { makeDidAccountModel } from '@owlmeans/client-did'
92
+
93
+ const account = makeDidAccountModel(await wallet.master())
94
+ const credentials = await account.authenticate(challengeCredentials)
26
95
  ```
27
96
 
97
+ `authenticate` fills `userId` with the key's address, `publicKey` with its exported public key, and
98
+ `credential` with the signature over `auth.challenge` — it mutates and returns the credentials
99
+ object it was handed, so it composes with whatever the authentication plugin already filled in.
100
+
101
+ The argument decides how the key is read: an object carrying a `keyPair` (a `DIDKeyModel`, which is
102
+ what `wallet.master()` answers) is used as it is, any other object is treated as a `KeyPair` and
103
+ wrapped with `makeDidKeyModel`, and a string is a private key unless `isPub` is `true`, in which
104
+ case it is read through `fromPubKey` as an exported public key. `KeyPair` and `fromPubKey` are
105
+ `@owlmeans/basic-keys`, which an app handing in a raw key pair imports itself. A key read as public
106
+ carries no private half, so its account exports an address and a public key but `authenticate`
107
+ cannot produce the signature it needs.
108
+
28
109
  ## Depends On
29
110
 
30
- - `@owlmeans/did`, `@owlmeans/client-context`, `@owlmeans/basic-keys`
111
+ - `@owlmeans/did` — `makeWallet`, `makeDidKeyModel`, `MASTER`, the three resource interfaces
112
+ - `@owlmeans/client-resource` — where the wallet's records live
113
+ - `@owlmeans/client`, `@owlmeans/client-context` — the context it registers on and the debug hookup
114
+ - `@owlmeans/auth` — the `AuthCredentials` shape `authenticate` fills
115
+ - `@owlmeans/context`, `@owlmeans/state`
116
+ - `@owlmeans/basic-keys` supplies the `KeyPair` type and `fromPubKey` that `makeDidAccountModel`
117
+ uses, and is **not** among this package's declared dependencies — an app that passes a raw key
118
+ pair declares it itself
119
+
120
+ ## Related
121
+
122
+ - [[did]] — the wallet, key models and DID methods this service hosts
123
+ - [[client-resource]] — the storage the three dependency resources use
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAI,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAc,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE1D,eAAO,MAAM,mBAAmB,GAAI,KAAK,OAAO,GAAE,WAAW,GAAG,MAAM,EAAE,QAAO,OAAe,KAAG,eAuBhG,CAAA"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAI,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAc,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE1D,eAAO,MAAM,mBAAmB,QAAS,OAAO,GAAE,WAAW,GAAG,MAAM,UAAS,OAAO,KAAW,eAuBhG,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"account.js","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAW,MAAM,sBAAsB,CAAA;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,GAAkC,EAAE,QAAiB,KAAK,EAAmB,EAAE;IACjH,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC5B,IAAI,KAAK,EAAE,CAAC;YACV,GAAG,GAAG,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAA;QAChD,CAAC;aAAM,CAAC;YACN,GAAG,GAAG,eAAe,CAAC,GAAG,CAAC,CAAA;QAC5B,CAAC;IACH,CAAC;SAAM,IAAI,CAAC,CAAC,SAAS,IAAI,GAAG,CAAC,EAAE,CAAC;QAC/B,GAAG,GAAG,eAAe,CAAC,GAAc,CAAC,C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CAAC,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,CAAA;YACzC,IAAI,CAAC,UAAU,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;YAEtD,OAAO,IAAI,CAAA;QACb,CAAC;KACF,CAAA;IAED,OAAO,KAAK,CAAA;AACd,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD,eAAO,MAAM,iBAAiB,GAAI,QAAO,MAAsB,EAAE,OAAO,cAAc,KAAG,UAoDxF,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,CAAC,SAAS,YAAY,EAAE,CAAC,SAAS,aAAa,CAAC,CAAC,CAAC,EAClD,KAAK,CAAC,EAAE,QAAO,MAAsB,EAAE,aAAa,OAAO,CAAC,cAAc,CAAC,KAAG,CAAC,GAAG,gBAoBnF,CAAA"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD,eAAO,MAAM,iBAAiB,WAAW,MAAM,SAAyB,cAAc,KAAG,UAoDxF,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,CAAC,SAAS,YAAY,EAAE,CAAC,SAAS,aAAa,CAAC,CAAC,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.18-rc.13",
3
+ "version": "0.1.18-rc.15",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,13 +21,13 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@owlmeans/auth": "^0.1.18-rc.8",
25
- "@owlmeans/client": "^0.1.18-rc.14",
26
- "@owlmeans/client-context": "^0.1.18-rc.11",
27
- "@owlmeans/client-resource": "^0.1.18-rc.11",
28
- "@owlmeans/context": "^0.1.18-rc.7",
29
- "@owlmeans/did": "^0.1.18-rc.10",
30
- "@owlmeans/state": "^0.1.18-rc.9"
24
+ "@owlmeans/auth": "^0.1.18-rc.9",
25
+ "@owlmeans/client": "^0.1.18-rc.16",
26
+ "@owlmeans/client-context": "^0.1.18-rc.13",
27
+ "@owlmeans/client-resource": "^0.1.18-rc.13",
28
+ "@owlmeans/context": "^0.1.18-rc.8",
29
+ "@owlmeans/did": "^0.1.18-rc.12",
30
+ "@owlmeans/state": "^0.1.18-rc.10"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@owlmeans/dep-config": "workspace:*",