Skip to content

v2.0.0-alpha.53

Pre-release
Pre-release
Compare
Choose a tag to compare
@monitz87 monitz87 released this 29 Nov 22:25
· 3608 commits to alpha since this release
e8d9412

2.0.0-alpha.53 (2020-11-29)

chore

  • add breaking changes to history (0b68f26)

Tests

BREAKING CHANGES

    • 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