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

latest releases: v26.2.0-alpha.5, v26.2.0-alpha.4, v26.2.0-alpha.3...
pre-release3 years ago

3.0.0-beta.1 (2020-12-16)

Bug Fixes

  • adapt trusted claim issuer removal to 2.3 (8a3264b)
  • add investor uniqueness claim type (0758a13)
  • add new ScopeClaimMissing error type (61c7e9a)
  • remove refCountTo259 from API creation as it is not required (09c9e05)
  • claims: use proper scope id (8d92737)
  • consume join identity authorization: pass correct issuer pays arg (7c7ee1a)
  • inviteaccount: handle getDid error properly (1cb6d1e)
  • trusted claim issuers: compare claim types as well as DIDs on set (b6a9ff9)

chore

Features

  • adapt DefaultTrustedClaimIssuer.addedAt (719be74)
  • export isCusipValid, isLeiValid and isIsinValid (e22a3ec)
  • make all claim types default (d85e26f)
  • modifySignerPermissions procedure (25d9a1a)
  • revoke all permissions for secondary keys (e6ed599)
  • trusted claim issuers: support DID strings as well as Identity (045914f)
  • set permissions when adding a secondary key (767897f)
  • support trusted claim issuer on conditions (ad99202)
  • claims: add support for investor uniqueness claim (d5806e9)
  • claims: use scope as parameter for uniqueness claim (8ac011a)
  • current account: add getPermissions (d9c6730)
  • trusted claim issuers: require trusted claim types on claimissuers (2ed32a2)

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.