Skip to content

chore(deps): bump @zernio/node to 0.2.519 to close the key leak (#18) - #19

Merged
mikipalet merged 1 commit into
mainfrom
chore/sdk-0.2.519
Aug 7, 2026
Merged

chore(deps): bump @zernio/node to 0.2.519 to close the key leak (#18)#19
mikipalet merged 1 commit into
mainfrom
chore/sdk-0.2.519

Conversation

@mikipalet

Copy link
Copy Markdown
Member

Why

Issue #18. Up to @zernio/node 0.2.518 the SDK registered its auth interceptor on a module-global client, so every new Zernio({ apiKey }) stacked another interceptor and the last-constructed key won for all in-flight requests. ZernFlow builds a client per request, so on Fluid Compute one workspace's call could go out with another workspace's key and return their accounts, conversations and messages.

Fixed in the SDK (zernio-dev/zernio-node#7, published as 0.2.519), which gives each instance its own client.

What

  • @zernio/node 0.2.518 → 0.2.519, lockfile included so deploys actually get it.

Verified against the published package from a clean install: two clients now each carry their own key. tsc --noEmit clean and all 53 tests pass against the new version.

🤖 Generated with Claude Code

0.2.518 and earlier registered the SDK's auth interceptor on a module-global
client, so the last-constructed key won for every in-flight request. ZernFlow
builds a client per request, so on Fluid Compute one workspace's call could
carry another workspace's key. 0.2.519 gives each instance its own client.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zernflow Error Error Aug 7, 2026 6:44am

Request Review

@mikipalet
mikipalet merged commit 2f9dd19 into main Aug 7, 2026
1 of 2 checks passed
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