Skip to content

v0.5.0

Choose a tag to compare

@dmitrizagidulin dmitrizagidulin released this 30 Jul 22:49
· 11 commits to main since this release

Changed

  • ContactData.phoneNumbers and ContactData.emailAddresses are now optional,
    like every other multi-entry field: a contact reachable only by DID has
    neither, and should not have to carry an empty array to say so.
    isContactData accepts them absent (still rejecting a present-but-malformed
    array), and normalizeContact is unchanged -- it keeps emitting [] for
    both, so its output stays byte-identical. Consumers that read either field
    without a ?? [] guard need updating.