3.0.0-alpha.1 (2020-12-02)
Bug Fixes
- inviteaccount: handle getDid error properly (1cb6d1e)
chore
Features
- trusted claim issuers: require trusted claim types on claimissuers (2ed32a2)
- make all claim types default (d85e26f)
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