Skip to content

Commit

Permalink
chore: merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Oct 3, 2024
1 parent b3104e6 commit 7effabd
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 42 deletions.
2 changes: 1 addition & 1 deletion packages/client/lib/OpenID4VCIClientV1_0_13.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class OpenID4VCIClientV1_0_13 {
);
}
const credentialsSupported = metadata.credential_configurations_supported;
if (!metadata.credential_configurations_supported || !credentialsSupported[credentialIdentifier]) {
if (!credentialsSupported || !credentialsSupported[credentialIdentifier]) {
throw new Error(`Credential type ${credentialIdentifier} is not supported by issuer ${this.getIssuer()}`);
}
} else if (!types) {
Expand Down
88 changes: 47 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7effabd

Please sign in to comment.