You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. in the universal-did module, create a DIDResolverImplinternal class with the same functionality as UniversalDID, just not a singleton
3. create builder pattern for DIDResolver that returns a DIDResolverImpl instance
example usage:
val resolver :DIDResolver=DIDResolver.Builder
.addResolver(ethrDidResolver)
.addResolver(/*...*/)
.build()
4. remove UniversalDID initialization code from JWTTools constructor.
5. create a module called uport-defaults
5.1 Create a fun DIDResolver.configureDefaultsWithInfura(infuraProjectId : String) : DIDResolver extension method
5.2 This method should call a DIDResolver.Builder that uses the provided infuraProjectId to configure all the common networks and resolvers in a manner similar to the UniversalDID initialization done in the current JWTTools constructor.
5.3 remove now unused dependencies from the jwt module. It should no longer depend on ethr-did, web-did, uport-did
6. Update documentation to reflect new usage patterns
The text was updated successfully, but these errors were encountered:
Development checklist
UniversalDID
objectuniversal-did
module, create aDIDResolverImpl
internal class
with the same functionality asUniversalDID
, just not a singletonDIDResolver
that returns aDIDResolverImpl
instanceexample usage:
UniversalDID
initialization code fromJWTTools
constructor.uport-defaults
fun DIDResolver.configureDefaultsWithInfura(infuraProjectId : String) : DIDResolver
extension methodDIDResolver.Builder
that uses the providedinfuraProjectId
to configure all the common networks and resolvers in a manner similar to theUniversalDID
initialization done in the currentJWTTools
constructor.jwt
module. It should no longer depend onethr-did
,web-did
,uport-did
The text was updated successfully, but these errors were encountered: