credo-ts
credo-ts copied to clipboard
Decline Proof Request
At the state decline method from the proof module only update the state of the corresponding record on the Hodler/Prover side.
But according to the Present Proof RFC decline action also should send Problem Report to Verifier.
It seems we can use sendProblemReport
methods for connected
cases, but for connectionless case it throws an error.
What do you think about enhancing the decline
method to automatically send a Problem Report
(we can put it under the param send
to preserve existing behavior by default) and also updating sendProblemReport
method to support connectionless records?