7.0.0-alpha.6 (2021-07-15)
chore
- BecomeAgent Authorization type (a9a6fd6)
BREAKING CHANGES
-
- Remade the
Permissions
andPermissionsLike
interfaces. It now supports exclusion as well (for example, setting permissions for “every token EXCEPT for x”). Both token and portfolio permissions are represented by an array of values, and atype
(PermissionType.Include
,PermissionType.Exclude
). In the case of transactions, both individual transactions or entire modules can be included/excluded, but we also support anexceptions
array. Specific examples can be found in the documentation of theTransactionPermissions
interface. ThetransactionGroups
property only works as “include”. This change affectsaccount.getPermissions
,currentIdentity.inviteAccount
,api.registerIdentity
-SecurityTokenDetails.primaryIssuanceAgent
is now replaced bySecurityTokenDetails.primaryIssuanceAgents
returning a list of Identities with that AgentGroup instead
-SecurityToken.removePrimaryIssuanceAgent
is now deprecated and it requires a single agent set (it will fail if there are more than one)
-CorporateActions.getAgent
is now replaced by CorporateActions.getAgents, returning a list of Identities with that AgentGroup instead
-CorporateActions.removeAgent
is now deprecated and it requires a single agent set (it will fail if there are more than one)
- Remade the