github PolymeshAssociation/polymesh-sdk v9.0.0-beta.5

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

9.0.0-beta.5 (2021-09-08)

Features

  • ๐ŸŽธ rename grantedAt (a1bc8c3)
  • create namespace for token permissions (2f5b024)

BREAKING CHANGES

  • ๐Ÿงจ rename tokenPermissions.grantedAt to enabledAt
    • move identity.hasTokenPermissions to identity.tokenPermissions.hasPermissions
  • move identity.getTokenPermissions to identity.tokenPermissions.get
  • move identity.waivePermissions to identity.tokenPermissions.waive
  • change the type of AgentWithGroup.agent from Agent to Identity. This affects the return
    type of securityToken.permissions.getAgents
  • remove the Agent entity:
    • move agent.setPermissionGroup to identity.tokenPermissions.setGroup. It now also
      receives the token as a parameter when not passing an existing group. It now throws
      an error if the target is not already an agent
    • move agent.getPermissionGroup to identity.tokenPermissions.getGroup. It now also
      receives the token as a parameter
    • move agent.addedAt to identity.tokenPermissions.grantedAt. It now also receives
      the token as a parameter

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.