From 5761ccbbf2bbc8e42775876db6155e0a95815086 Mon Sep 17 00:00:00 2001 From: JGiter Date: Tue, 1 Feb 2022 07:54:28 +0200 Subject: [PATCH] fix(docs): add breaking changes v4.1 logs --- docs/CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 97c3e4e4..474a7ac4 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -20,9 +20,16 @@ ### Features * **claims:** enable on chain enrolment without previous request ([b80446d](https://github.com/energywebfoundation/iam-client-lib/commit/b80446da278d7435d98723ef8f1bede5b4aa22d2)) -* **claims:** made accetpedBy and onChainProof requred for registerOnchain ([3db931b](https://github.com/energywebfoundation/iam-client-lib/commit/3db931b974a9074aaff956556ac0811188141808)) +* **claims:** made acceptedBy and onChainProof requred for registerOnchain ([3db931b](https://github.com/energywebfoundation/iam-client-lib/commit/3db931b974a9074aaff956556ac0811188141808)) * **claims:** refactor towards unify off-chain and on-chain registration ([57151bf](https://github.com/energywebfoundation/iam-client-lib/commit/57151bf6d0cb193f814df60376ba2db921e53cf6)) + +### BREAKING CHANGES + +* `claim` parameter of `registerOnChain` is extended with `subject`, `claimType` and `claimTypeVersion` optional properties, which should be specified when `token` is not +* argument of `issueClaim` is extended with `registrationTypes` by default set to `[RegistrationTypes.OffChain]` and required `subject` +* argument of `publishPublicClaim` is extended with `registrationTypes` by default set to `[RegistrationTypes.OffChain]` and property `claim: {token?: string; claimType?: string}` + ## [4.0.2-alpha.5](https://github.com/energywebfoundation/iam-client-lib/compare/v4.0.2-alpha.4...v4.0.2-alpha.5) (2022-01-26) ## [4.0.2-alpha.4](https://github.com/energywebfoundation/iam-client-lib/compare/v4.0.2-alpha.3...v4.0.2-alpha.4) (2022-01-26)