Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [2.0.0](v1.2.1...v2.0.0) (2023-03-21) ### ⚠ BREAKING CHANGES * ipfs url replaced by ipfs params object * initialise loginstrategy with includeallroles property to filter claims * ens registry must be set for LoginStrategy ### Features * add cache to resolvers ([1a291c2](1a291c2)) * add diddocument resolution and caching to credential resolver ([19f5708](19f5708)) * add option to verify all claims ([4199ea8](4199ea8)) * add status check for role credential ([a1f83e2](a1f83e2)) * add support for old DID format ([d10b875](d10b875)) * add support for siwe ([677201a](677201a)) * add tests ([ec68e2f](ec68e2f)) * add token payload validation ([cfde615](cfde615)) * add validation check for siwe message uri ([a17ad4b](a17ad4b)) * code refactoring ([2d25f40](2d25f40)) * enabling http keep-alive for the CacheServerClient ([#325](#325)) ([d449709](d449709)) * export external dependencies ([0ab1f14](0ab1f14)) * login strategy login to ssi-hub with siwe ([c816b1c](c816b1c)) * return reason for failed authorisation ([0249a25](0249a25)) * return valid and invalid roles after authentication ([c9aabb8](c9aabb8)) * update authenticate to handle login via siwe ([0dbc1c3](0dbc1c3)) * update logging ([30dd250](30dd250)) * update tests ([b5a0436](b5a0436)) * update tests to validate credential status ([22340f4](22340f4)) * verify hierarchy of issuers for credential ([c160e19](c160e19)) ### Bug Fixes * add additional filters to off-chain claim filtering ([#303](#303)) ([77ff339](77ff339)) * add chainName to LoginStrategyOptions and set on cache client config ([7c0baec](7c0baec)) * add validation for accepted roles against uniqueroles ([418ef93](418ef93)) * apply formatting ([a984f7b](a984f7b)) * check for expiration date ([b50f337](b50f337)) * code lint error ([210ae06](210ae06)) * code linting error ([2053da1](2053da1)) * code refactoring ([1f2bfcc](1f2bfcc)) * compare stringified roles ([16166f1](16166f1)) * correct comment ([3e23acd](3e23acd)) * downgrade didstore to v0.7.1-alpha.816.0 ([c7eae95](c7eae95)) * error validation ([8bb5f1e](8bb5f1e)) * export types ([4b69c1b](4b69c1b)) * fetching off-chain claims from did document ([#304](#304)) ([a4c6999](a4c6999)) * filter claims before verification ([b1a2d24](b1a2d24)) * fixing a bug when DIDs with no roles are always accepted ([fbe6c71](fbe6c71)) * omit invalid claims in off-chain claims ([3568244](3568244)) * read role from correspondig resolver ([cf1173b](cf1173b)) * refactor role def resolution ([af4fc31](af4fc31)) * resolve conflicts ([62a8b6d](62a8b6d)) * set ipfs headers ([d09a054](d09a054)) * update did with chain name for siwe verification ([53a8215](53a8215)) * update implementation specific to jsonwebtoken ([775212a](775212a)) * update package-lock.json ([3b96cfa](3b96cfa)) * update variable decalration name ([958ad3c](958ad3c)) * upgrade dependencies ([189d258](189d258)) * use chainid from siwe payload ([0308638](0308638)) * use jwtsignoptions for test cases ([48ac9b5](48ac9b5)) * use type siwemessage ([2895345](2895345)) * validate if claimType exists ([3ba5e3f](3ba5e3f)) ### Documentation * add contract addr references and seq diagram ([2c6225d](2c6225d)) * add use case example for loginstrategy ([c1e8e66](c1e8e66)) * **README:** add section about token payload structure ([7783e36](7783e36)) * update active maintainers ([b32124e](b32124e)) * update class documentation ([35ce549](35ce549)) * update docs for loginstrategy ([b5c9afe](b5c9afe)) * update readme ([ff781a8](ff781a8))
- Loading branch information