You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
settlement:InstructionStatus now has a new Failed value. This affects the return value of Instruction.details. Also, most of the methods in Instruction that threw an error when the
instruction was no longer pending, now only do so if it has been executed (i.e. calling methods on
failed instructions will no longer throw errors). The error message has been modified as well
Remade the Permissions and PermissionsLike 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 a type (PermissionType.Include, PermissionType.Exclude). In the case of transactions, both individual transactions or entire modules can be included/excluded, but we also support an exceptions array. Specific examples can be found in the documentation of the TransactionPermissions interface. The transactionGroups property only works as “include”. This change affects account.getPermissions, currentIdentity.inviteAccount, api.registerIdentity
- SecurityTokenDetails.primaryIssuanceAgent is now replaced by SecurityTokenDetails.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)
identity:RoleType.TokenOwner no longer exists, and as a consequence neither does the TokenOwnerRole
CorporateActions.setAgent and SecurityToken.modifyPrimaryIssuanceAgent now throw an error if at least one agent of the respective kind is already set. To change an existing agent, removeAgent and removePrimaryIssuanceAgent respectively must be called first
offeringPortfolio is no longer an optional argument in Offerings.launch procedure
instructions:Unknow value has been removed from InstructionStatus enum
instruction: Previous behaviour of Instruction.exists is replaced by Instrucion.isPending
external agents:DefaultTrustedClaimIssuer now extends Identity. This means its identity: Identity property was removed. Since the class is now an extension of Identity, the did can be
obtained via the did property