@owlmeans/did 0.1.7 → 0.1.8

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
@@ -56,3 +56,20 @@ The default key type identifier: `'owlmk'`.
56
56
  - [`@owlmeans/basic-keys`](../basic-keys) — `KeyPairModel` used internally for signing/verification
57
57
  - [`@owlmeans/client-did`](../client-did) — client-side DID wallet service
58
58
  - [`@owlmeans/server-auth`](../server-auth) — server-side auth using DID keys
59
+
60
+ <!-- owlmeans:agent-guidance:start -->
61
+ ## Agent guidance
62
+
63
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
64
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
65
+ agent-skills installer to place them into your project's native locations
66
+ (`.claude/skills/` and `.github/instructions/`):
67
+
68
+ ```sh
69
+ npx @owlmeans/agent-skills
70
+ ```
71
+
72
+ The embedded files are version-matched to this package release. Do not edit them
73
+ directly — they are regenerated on each publish. To contribute guidance edits,
74
+ open a PR against the source monorepo.
75
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,33 @@
1
+ ---
2
+ description: "How to use @owlmeans/did — Decentralized Identifier (DID) management with wallet, key models, and DID method plugins. Use when implementing identity workflows."
3
+ applyTo: "**/*.ts, **/*.tsx"
4
+ ---
5
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
+
7
+ # @owlmeans/did
8
+
9
+ **Layer:** Core
10
+ **Install:** `"@owlmeans/did": "^0.1.8"` in `dependencies`
11
+
12
+ ## Key Exports
13
+
14
+ | Export | Description |
15
+ |--------|-------------|
16
+ | Wallet model | Create/load wallets and derive keys |
17
+ | DID model | DID document, key references, services |
18
+ | DID errors | Typed errors for DID operations |
19
+ | Plugins | Per-method DID plugin registry |
20
+ | Constants | Default method names, key types |
21
+ | i18n | Translatable error messages |
22
+
23
+ ## Usage
24
+
25
+ ```typescript
26
+ import { Wallet } from '@owlmeans/did'
27
+ const wallet = Wallet.create({ seed: '...' })
28
+ const did = await wallet.createDid({ method: 'key' })
29
+ ```
30
+
31
+ ## Depends On
32
+
33
+ - `@owlmeans/basic-keys`, `@owlmeans/basic-envelope`, `@owlmeans/error`, `@owlmeans/i18n`
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/did",
4
+ "version": "0.1.8",
5
+ "generatedAt": "2026-06-11T16:30:27.190Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "did",
11
+ "category": "package-specific",
12
+ "file": "skills/did/SKILL.md",
13
+ "canonicalPath": ".claude/skills/did/SKILL.md"
14
+ },
15
+ {
16
+ "kind": "instruction",
17
+ "name": "did",
18
+ "category": "package-specific",
19
+ "file": "instructions/did.instructions.md",
20
+ "canonicalPath": ".github/instructions/did.instructions.md"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: did
3
+ description: How to use @owlmeans/did — Decentralized Identifier (DID) management with wallet, key models, and DID method plugins. Auto-invoked when importing DID/wallet types or implementing identity workflows.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/did
9
+
10
+ **Layer:** Core
11
+ **Install:** `"@owlmeans/did": "^0.1.8"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | Wallet model | Create/load wallets and derive keys |
18
+ | DID model | DID document, key references, services |
19
+ | DID errors | Typed errors for DID operations |
20
+ | Plugins | Per-method DID plugin registry |
21
+ | Constants | Default method names, key types |
22
+ | i18n | Translatable error messages |
23
+
24
+ ## Usage
25
+
26
+ ```typescript
27
+ import { Wallet, DidDocument } from '@owlmeans/did'
28
+
29
+ const wallet = Wallet.create({ seed: '...' })
30
+ const did = await wallet.createDid({ method: 'key' })
31
+ ```
32
+
33
+ ## Depends On
34
+
35
+ - `@owlmeans/basic-keys` — keypair generation
36
+ - `@owlmeans/basic-envelope` — message wrapping
37
+ - `@owlmeans/error` — DID error base class
38
+ - `@owlmeans/i18n` — translatable errors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/did",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -23,11 +23,11 @@
23
23
  "dependencies": {
24
24
  "@noble/curves": "^1.6.0",
25
25
  "@noble/hashes": "^1.5.0",
26
- "@owlmeans/auth": "^0.1.7",
27
- "@owlmeans/basic-keys": "^0.1.7",
28
- "@owlmeans/error": "^0.1.7",
29
- "@owlmeans/i18n": "^0.1.7",
30
- "@owlmeans/resource": "^0.1.7",
26
+ "@owlmeans/auth": "^0.1.8",
27
+ "@owlmeans/basic-keys": "^0.1.8",
28
+ "@owlmeans/error": "^0.1.8",
29
+ "@owlmeans/i18n": "^0.1.8",
30
+ "@owlmeans/resource": "^0.1.8",
31
31
  "@scure/base": "^1.1.9",
32
32
  "@scure/bip39": "^1.4.0"
33
33
  },