github vercel-labs/scriptc v0.0.20

latest releases: v0.4.9, v0.4.8, v0.4.7...
3 months ago

0.0.20

Features

  • Contract sidecars accept TypeScript's read-only and named scalar vocabulary. readonly T[] and ReadonlyArray<T> project as the same mutability-neutral slice as T[], while aliases of number, string, boolean, and Uint8Array dissolve recursively to their primitive wire types across models, messages, helpers, and integer slots without adding phantom type-table entries.

Fixes

  • A local declaration, import, or type parameter named Array, ReadonlyArray, or Uint8Array remains the user's type instead of being mistaken for the same-spelled global and publishing the wrong slice or bytes contract.

Don't miss a new scriptc release

NewReleases is sending notifications on new releases.