Commit 05712f8
chore(release): 0.5.1 (#47)
A patch release: nothing here breaks. Credentials registered under 0.5.0 keep
working, the derived did:key is unchanged, and no peer has to move in step
with another.
The headline is the WebAuthn user handle (#45/#46). It was the UTF-8 of
whatever the caller passed as `userId`, so an authenticator — which keeps one
credential per (rp.id, user.id) and replaces it when both match — silently
destroyed the first passkey when a second person on the same device used the
same name, and the DID with it. It is 64 random bytes now; the typed value
stays as `user.name`, the label the picker shows.
Consumers get one behavioural difference worth naming in their own UI:
re-registering under a name used before adds a passkey instead of replacing
one. That is the point, but it means a picker can now show several, so the
labels want to be distinguishable.
Also in this release: the largeBlob keystore actually persists its secret key
(#43), the credential carries the authenticator's own answer on extension
support rather than the browser's guess (#43), and extension detection asks
`getClientCapabilities()` instead of probing a prototype that never had the
properties (#9/#42) — that last one had the encrypted-keystore demo disabling
its headline feature in every browser ever shipped.
67 node tests pass against the bumped version.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 823708a commit 05712f8
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments