Skip to content

chore(website): migrate to dosipas-ts 4.0.0 - #48

Merged
chtitux merged 1 commit into
mainfrom
claude/signature-retrieval-method-8mplxb
Sep 20, 2026
Merged

chtitux merged 1 commit into
mainfrom
claude/signature-retrieval-method-8mplxb

Conversation

@chtitux

@chtitux chtitux commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump the website's dosipas-ts dependency from ^3.0.0 to ^4.0.0 (freshly published).
  • Adopt the async Signer API:
    • src/lib/signing.ts (adapter): signTicket/signLevel1Data/signLevel2Data wrap localSigner and return promises; derivePublicKey replaces the removed getPublicKey.
    • src/hooks/useTicketEncode.ts: the encode callback is async and awaits signTicket.
    • src/components/EncodeTab.tsx: the L1/L2 signature handlers are async; the dynamic-refresh signing moves into an async IIFE so it no longer runs inside the synchronous setCountdown state updater.
    • src/lib/keys.ts: import updated for the derivePublicKey rename.

No behavior change intended; GitHub Pages redeploys the site from main on merge.

Test plan

  • npx tsc --noEmit clean in website/
  • npx vite build succeeds against dosipas-ts@4.0.0
  • No remaining non-awaited signing calls in website/src

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMYUez7fcvaL34RUjxKZRJ


Generated by Claude Code

Bump the dependency and adopt the async Signer API: the signing.ts
adapter wraps localSigner and returns promises, callers in
useTicketEncode and EncodeTab await them (the dynamic-refresh signing
moves into an async IIFE outside the synchronous countdown state
updater), and the derivePublicKey rename replaces the old
getPublicKey import alias in keys.ts and signing.ts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMYUez7fcvaL34RUjxKZRJ
@chtitux
chtitux merged commit 011e047 into main Sep 20, 2026
4 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.

2 participants