Skip to content

v3.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@monitz87 monitz87 released this 02 Dec 19:29
· 3614 commits to alpha since this release
3aeb043

3.0.0-alpha.1 (2020-12-02)

Bug Fixes

  • inviteaccount: handle getDid error properly (1cb6d1e)

chore

Features

  • trusted claim issuers: require trusted claim types on claimissuers (2ed32a2)
  • make all claim types default (d85e26f)

Tests

BREAKING CHANGES

  • Nothing to see here
    • null is no longer an accepted value for trustedFor in TrustedClaimIssuer.
      That behavior is replaced by undefined
  • trusted claim issuers: - TrustedClaimIssuers.set and TrustedClaimIssuers.add now require an array of
    TrustedClaimIssuer objects (each with an identity and an array of ClaimTypes)
    • Interface AuthorizationStatus renamed to AffirmationStatus (Authorized renamed to Affirmed)
  • Interface InstructionAuthorization renamed to InstructionAffirmation, authorizationStatus property renamed to status
  • Instruction.getAuthorizations renamed to getAffirmations
  • Instruction.authorize renamed to affirm
  • Instruction.unauthorize renamed to withdraw
  • TrustedClaimIssuer entity renamed to DefaultTrustedClaimIssuer
  • Permission enum removed, replaced with Permissions interface (SecondaryKey.permissions is now a Permissions object, and the value property of the Authorization of type JoinIdentity is also Permissions instead of an array of Permission)
  • When adding a secondary key to an Identity via inviteAccount, the secondary key has no permissions by default (had all permissions before)
    • Interface InstructionType.SettleOnAuthorization changed to
      SettleOnAffirmation