npm / @owf/identity-common
@owf/identity-common
What changed in @owf/identity-common 0.4 to 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
4 breaking8 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@owf/identity-common 0.51 changes
Breaking changes 1
The CommonJS build is removed; only ESM is published, avoiding the dual-package hazard that caused instanceof checks to fail in single-module-system runtimes.
@owf/identity-common 0.411 changes
Breaking changes 3
Base64 and base64url now share one codec; decoding input with an impossible length throws instead of returning a corrupt byte.
Invalid base64url, UTF-8 or JSON in a JWT header or payload now throws
IdentityCommonException('Invalid JWT as input')without exposing parser details.These APIs must now be available in the environment for
stringToBytesandbytesToString.
New APIs and options 8
Accepts
{ fatal: true }to throw on invalid UTF-8 instead of replacing it.Adds a function for decoding JSON from base64url input.
Accepts
{ fatal: true }to throw on invalid UTF-8 instead of replacing it.Adds a function to convert a date to seconds.
Adds a function for extracting media types from
Content-Typeheader values.Adds a function for comparing
Content-Typevalues against expected media types, ignoring casing and parameters.Adds a function for working with the current time in seconds.
Adds a function to convert seconds to a date.