openwallet-foundation / credo-ts

Typescript framework for building decentralized identity and verifiable credential solutions
https://credo.js.org
Apache License 2.0
273 stars 201 forks source link

fix: Remove unnecessary conditional #2076

Closed DJHunn39 closed 3 weeks ago

DJHunn39 commented 3 weeks ago

Fixes #2075 by removing the obsolete if block, and using the errors thrown by the various verifier functions to establish a reason when a presentation isn't valid.

changeset-bot[bot] commented 3 weeks ago

⚠️ No Changeset found

Latest commit: 9a966ac4ca268d4bf04ed8b7e3931d6bdf1a0de6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR