jolocom / jolocom-lib

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

Cleanup JolocomRegistry creation #356

Open mnzaki opened 5 years ago

mnzaki commented 5 years ago

Description

In an effort to differentiate between the "jolocom method based registry" and the canonical jolocom registry, the createJolocomRegistry helper should return the canonical jolocom registry (no configurable anything). The logic inside createJolocomRegistry is construction logic that needs to go into the constructor

The registry class itself can get a name that better reflects that it is the "jolocom method based registry" and strictly for jolocom's own canonical registry, because JolocomRegistry is ambiguous

Part of #355

TODO