Skip to content

chore(core): adopt @openvtc/vti-didcomm-js 0.4.2 (diagnostics + inbound resilience) - #52

Merged
stormer78 merged 1 commit into
mainfrom
adopt-vti-didcomm-0.4.2
May 31, 2026
Merged

chore(core): adopt @openvtc/vti-didcomm-js 0.4.2 (diagnostics + inbound resilience)#52
stormer78 merged 1 commit into
mainfrom
adopt-vti-didcomm-0.4.2

Conversation

@stormer78

Copy link
Copy Markdown
Contributor

Summary

Bumps @openvtc/vti-didcomm-js 0.4.1 → 0.4.2 (now published) so the plugin gets the two robustness improvements from OpenVTC/vti-didcomm-js#2:

  • WS-upgrade diagnostics — a failed live-delivery socket now reports its RFC 6455 close code + cause (1008 → mediator ACL, 1006 → refused/CORS/proxy, 1015 → TLS) and endpoint, instead of an opaque WebSocket failed to open. This is exactly the signal that pinned down the CORS issue; having it in the plugin makes the next field failure self-diagnosing.
  • Per-frame inbound resilience — a bad inbound message is logged (via the library's onError, default console.warn) and skipped, so the session never gets stuck on one poison message.

No plugin code change required: the default onError already logs to the console and the diagnostics ride on the existing connect path. A custom onError sink can be wired through connectMediatorSession later if we want it in telemetry.

Versions

@openvtc/pnm-core 0.1.1 → 0.1.2 (+ the private app packages that ship it). Dependents keep their ^0.1.x major.minor pin.

Tests

Build + full core suite: 22 pass, 0 fail. Lockfile diff is just the dep tarball + version bumps.

🤖 Generated with Claude Code

Picks up the WS-upgrade close-code diagnostics (so a CORS/ACL/proxy
failure surfaces its 1006/1008 cause + endpoint in the plugin instead
of an opaque "WebSocket failed to open") and the per-frame inbound
resilience (a bad message is logged via the library's onError hook —
default console.warn — and skipped rather than silently dropped).

No code change needed: the default onError already logs to console, and
the diagnostics ride on the existing connect path. Bumps pnm-core (and
the private app packages that ship it) to 0.1.2.

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 merged commit 29674d6 into main May 31, 2026
1 check passed
@stormer78
stormer78 deleted the adopt-vti-didcomm-0.4.2 branch May 31, 2026 02:38
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