Skip to content

fix: bump @coder/mux-md-client to 0.1.0-main.32#3158

Draft
ibetitsmike wants to merge 1 commit intomainfrom
fix/bump-mux-md-client-v3-hash
Draft

fix: bump @coder/mux-md-client to 0.1.0-main.32#3158
ibetitsmike wants to merge 1 commit intomainfrom
fix/bump-mux-md-client-v3-hash

Conversation

@ibetitsmike
Copy link
Copy Markdown
Contributor

Summary

Bumps @coder/mux-md-client from 0.1.0-main.29 to 0.1.0-main.32, picking up the @noble/ed25519 v3 hash config fix from https://github.com/coder/mux-md/pull/38.

Problem

Mux crashes on startup because @coder/mux-md-client's signing.ts uses the v2 ed.etc.sha512Sync pattern, which throws on @noble/ed25519 v3 (frozen ed.etc object):

TypeError: Cannot add property sha512Sync, object is not extensible
    at Object.<anonymous> (@coder/mux-md-client/src/signing.ts:14:17)

Since signingService.ts imports @coder/mux-md-client at the top level, this takes down the server.

Fix

Dependency bump only — the actual code fix is in @coder/mux-md-client@0.1.0-main.32.

Picks up the @noble/ed25519 v3 hash config fix from coder/mux-md#38,
which resolves the startup crash:

  TypeError: Cannot add property sha512Sync, object is not extensible
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