When using the mediationRecipient config option for the DidCommModule in v0.6.1, I'm encountering class validation issues.
An instance of DidCommConnectionInvitationMessage has failed the validation:\n - property id has failed the following constraints: id must match /[-_.\/a-zA-Z0-9]{8,64}/ regular expression
In the debugger, I can see that the failure is happening at didcomm/src/util/parseInvitation.ts:54 where it tries to parse the JSON object into a DidCommConnectionInvitationMessage instance.
Depending on the specific mediator used, I've also seen this error:
An instance of DidCommOutOfBandInvitation has failed the validation:\n - property id has failed the following constraints: id must match /[-_.\\/a-zA-Z0-9]{8,64}/ regular expression
When using the mediationRecipient config option for the DidCommModule in v0.6.1, I'm encountering class validation issues.
An instance of DidCommConnectionInvitationMessage has failed the validation:\n - property id has failed the following constraints: id must match /[-_.\/a-zA-Z0-9]{8,64}/ regular expressionIn the debugger, I can see that the failure is happening at didcomm/src/util/parseInvitation.ts:54 where it tries to parse the JSON object into a DidCommConnectionInvitationMessage instance.
Depending on the specific mediator used, I've also seen this error:
An instance of DidCommOutOfBandInvitation has failed the validation:\n - property id has failed the following constraints: id must match /[-_.\\/a-zA-Z0-9]{8,64}/ regular expression