Skip to content

Replace local serialize.ts with @haverstack/wire-types#27

Merged
cuibonobo merged 1 commit into
mainfrom
claude/lucid-galileo-djkhng
Jun 22, 2026
Merged

Replace local serialize.ts with @haverstack/wire-types#27
cuibonobo merged 1 commit into
mainfrom
claude/lucid-galileo-djkhng

Conversation

@cuibonobo

Copy link
Copy Markdown
Member

Summary

  • Adds @haverstack/wire-types as a dependency
  • Deletes src/lib/serialize.ts — the wire types and serialization functions it defined are now owned by the shared package
  • Updates the four route files that imported from serialize.ts to import serializeRecord, serializeType, serializeVersion, and parseDate directly from @haverstack/wire-types

Motivation

src/lib/serialize.ts was a local copy of what is now @haverstack/wire-types. With the package published, there's no reason to maintain a duplicate. Any future changes to the wire format happen in one place and both the server and adapter-api pick them up on the next version bump.


Generated by Claude Code

Delete src/lib/serialize.ts and update the four route files that
imported from it to pull serializeRecord, serializeType,
serializeVersion, and parseDate from the shared package instead.
@cuibonobo cuibonobo merged commit ae133e3 into main Jun 22, 2026
4 checks passed
@cuibonobo cuibonobo deleted the claude/lucid-galileo-djkhng branch June 22, 2026 14:08
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