[BUG] interpretIdentifier does not handle versionId
mirceanis opened this issue ยท comments
The helper method that interprets an identifier should strip away the querystring
Expected
const { address } = interpretIdentifier("did:ethr:0xd0dbe9d3698738f899ccd8ee27ff2347a7faa4dd?versionId=42")
expect(address).toEqual('0xd0dbe9d3698738f899ccd8ee27ff2347a7faa4dd')
Actual
// invalid arrayify value (argument="value", value="0xd0dbe9d3698738f899ccd8ee27ff2347a7faa4dd?versionId=42", code=INVALID_ARGUMENT, version=bytes/5.1.0)
The release is available on:
Your semantic-release bot