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
- update tests (3e6a5fe)
BREAKING CHANGES
- Nothing to see here
-
null
is no longer an accepted value fortrustedFor
inTrustedClaimIssuer
.
That behavior is replaced byundefined
- trusted claim issuers: -
TrustedClaimIssuers.set
andTrustedClaimIssuers.add
now require an array of
TrustedClaimIssuer
objects (each with an identity and an array of ClaimTypes) -
- Interface
AuthorizationStatus
renamed toAffirmationStatus
(Authorized
renamed toAffirmed
)
- Interface
- Interface
InstructionAuthorization
renamed toInstructionAffirmation
,authorizationStatus
property renamed tostatus
Instruction.getAuthorizations
renamed togetAffirmations
Instruction.authorize
renamed toaffirm
Instruction.unauthorize
renamed towithdraw
TrustedClaimIssuer
entity renamed toDefaultTrustedClaimIssuer
Permission
enum removed, replaced withPermissions
interface (SecondaryKey.permissions
is now aPermissions
object, and thevalue
property of theAuthorization
of typeJoinIdentity
is alsoPermissions
instead of an array ofPermission
)- 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
- Interface