I found that if I'm doing a v1.get on a DID that was not generated by this library and is therefore not in storage that the call the this.keyStore.get on L45 returns null. null is not an acceptable value in the importKeys API which results in an uncaught error.
I don't know if this is the proper solution, but it is what I'm using as a workaround.
I found that if I'm doing a
v1.get
on a DID that was not generated by this library and is therefore not in storage that the call thethis.keyStore.get
on L45 returnsnull
.null
is not an acceptable value in theimportKeys
API which results in an uncaught error.I don't know if this is the proper solution, but it is what I'm using as a workaround.