Skip to content

chore(core): @openvtc/vti-didcomm-js 0.16; vm-key.ts delegates to the library - #430

Merged
stormer78 merged 1 commit into
mainfrom
chore/vti-didcomm-js-0.16
Nov 12, 2026
Merged

stormer78 merged 1 commit into
mainfrom
chore/vti-didcomm-js-0.16

Conversation

@stormer78

Copy link
Copy Markdown
Contributor

Moves @openvtc/pnm-core from @openvtc/vti-didcomm-js ^0.14.0 to ^0.16.0. This is the follow-up #429 planned.

What 0.16 brings

did/vm-key.ts keeps its TypeScript surface (publicKeyOf, selectKey, x25519KeyAgreement, the curve constants and types). It now delegates to @openvtc/vti-didcomm-js/verification-method instead of carrying a rule-for-rule port, so the key-selection rules have one implementation (R4.1). About 200 lines removed.

Behaviour change: didwebvh-ts 3 refuses a did:webvh whose host isn't a fully qualified domain. A dev build (allowPrivate) can no longer verify did:webvh:<scid>:localhost%3A8000, so a local webvh server needs an FQDN host name. A did:scid whose log names an FQDN still resolves from src=localhost:<port>. The lockfile resolves didwebvh-ts 3.1.0.

Checks: npm run lint, npm run build and npm test pass locally (core 1329, extension 1559, plus the other workspaces); no test changes were needed. Constraint floors in CLAUDE.md (^0.6.2 / ^0.10.0 / ^0.11.0 / ^0.12.0) are all satisfied.

… library

0.16 ships vti-didcomm-js #38 (did:webs resolution), #39 (the
verification-method module this package carried a port of) and #37
(didwebvh-ts 3). vm-key.ts keeps its TypeScript surface and calls
@openvtc/vti-didcomm-js/verification-method, so there is one
implementation of the key-selection rules (R4.1).

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 merged commit 2e9116c into main Nov 12, 2026
4 checks passed
@stormer78
stormer78 deleted the chore/vti-didcomm-js-0.16 branch November 12, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant