github PolymeshAssociation/polymesh-sdk v3.0.0-alpha.1

latest releases: v24.4.0-alpha.4, v24.4.0-alpha.3, v24.4.0-alpha.2...
pre-release3 years ago

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

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.