jolocom / jolocom-lib

Library for interacting with the identity solution provided by Jolocom.
MIT License
24 stars 18 forks source link

Integrate DIF Resolver #401

Closed Exulansis closed 4 years ago

Exulansis commented 4 years ago

Partially addresses #326

Integrates the DID-Resolver module into our library. Reduces the usage of the IRegistry interface, offloading some of the responsibility /complexity to the jolo-did-method module.

The API on functions making use of a resolver (e.g. utils/validation, identityWallet.validateJWT) has been updated to no longer take a IRegistry instance, but rather take a Registry class instead. This is a breaking API change.

mnzaki commented 4 years ago

IMHO change this PR to the next branch and break the IRegistry interface

Exulansis commented 4 years ago

IMHO change this PR to the next branch and break the IRegistry interface

+1 The next branch is slightly out of date atm.

Exulansis commented 4 years ago

I've changed the base to next. It's out of date, and has a few PRs merged into it which develop does not contain.

We should decide what to do with next to proceed. I'd propose resetting it to match current developm or merge develop in, if the PRs there are useful.

Exulansis commented 4 years ago

Develop should be merged into next.