Skip to content

release(tsp-js): @openvtc/vti-tsp-js 0.2.0 - #117

Merged
stormer78 merged 1 commit into
mainfrom
release/tsp-js-0.2.0
Aug 17, 2026
Merged

release(tsp-js): @openvtc/vti-tsp-js 0.2.0#117
stormer78 merged 1 commit into
mainfrom
release/tsp-js-0.2.0

Conversation

@stormer78

Copy link
Copy Markdown
Contributor

Publishes the pure-TS HPKE swap from #116 and the new ./hpke subpath export.

Minor, not patchsealBase/openBase and the ./hpke export are new public surface. The auth-mode seal/open signatures and the wire bytes are unchanged, so existing callers need no changes.

Why this must ship first

@openvtc/pnm-core now imports @openvtc/vti-tsp-js/hpke, but the published vti-tsp-js@0.1.0 exports map has only ".":

{ ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }

So core cannot be published until this is on npm, or its import resolves to nothing (ERR_PACKAGE_PATH_NOT_EXPORTED).

Sequence

  1. Merge this PR, then npm publish -w @openvtc/vti-tsp-js
  2. Verify: npm view @openvtc/vti-tsp-js@0.2.0 exports shows ./hpke
  3. Then the core release PR (bumps to 0.4.0 and replaces the "*" dependency range with ^0.2.0* has no floor, so it is satisfied by the old 0.1.0 and would let a consumer install new core against old tsp-js)
  4. npm publish -w @openvtc/pnm-core

Contents

Version bump + a new CHANGELOG.md for the package (it had none). No source changes — everything substantive landed in #116.

Runtime dependencies are now @noble/* only; @hpke/* is dev-only, retained so CI holds the shipped implementation byte-identical to it in both modes.

Verified: lint clean, 51/51 tsp-js, 215/215 core.

Publishes the pure-TS HPKE swap (#116) and the new `./hpke` subpath export.

Minor rather than patch: `sealBase`/`openBase` and the `./hpke` export are
new public surface. The auth-mode `seal`/`open` signatures and the wire bytes
are unchanged, so existing callers need no changes.

`@openvtc/pnm-core` cannot be published until this is on npm — it imports
`@openvtc/vti-tsp-js/hpke`, and the published 0.1.0 exports map has only
".".

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 merged commit cfa47a0 into main Aug 17, 2026
3 checks passed
@stormer78
stormer78 deleted the release/tsp-js-0.2.0 branch August 17, 2026 03:09
stormer78 added a commit that referenced this pull request Aug 17, 2026
* release(tsp-js): @openvtc/vti-tsp-js 0.2.0

Publishes the pure-TS HPKE swap (#116) and the new `./hpke` subpath export.

Minor rather than patch: `sealBase`/`openBase` and the `./hpke` export are
new public surface. The auth-mode `seal`/`open` signatures and the wire bytes
are unchanged, so existing callers need no changes.

`@openvtc/pnm-core` cannot be published until this is on npm — it imports
`@openvtc/vti-tsp-js/hpke`, and the published 0.1.0 exports map has only
".".

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>

* release(core): @openvtc/pnm-core 0.4.0

Ships the HPKE consolidation (#116) and the trust-task-error 0.x fix (#115).

Minor rather than patch: `@hpke/*` leaves the runtime dependency set and the
`@openvtc/vti-tsp-js` range gains a floor.

The range moves from `*` to `^0.2.0`. `*` expressed no minimum, so it was
satisfied by the published 0.1.0 — which has no `./hpke` export — and a
consumer whose lockfile pinned 0.1.0 would have installed this release against
it and failed to resolve the import.

**Do not publish this until `@openvtc/vti-tsp-js@0.2.0` is on npm** (#117).

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>

---------

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
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