Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jul 23, 2024
1 parent 5ff41ce commit 0e6a6a8
Show file tree
Hide file tree
Showing 2 changed files with 4,287 additions and 287 deletions.
7 changes: 6 additions & 1 deletion packages/common/lib/functions/TypeConversionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ export function getTypesFromObject(
} else if (typeof subject === 'string') {
return [subject];
} else if ('credential_definition' in subject) {
return getTypesFromObject(subject.credential_definition as CredentialDefinitionJwtVcJsonLdAndLdpVcV1_0_13 | CredentialDefinitionJwtVcJsonV1_0_13 | JsonLdIssuerCredentialDefinition);
return getTypesFromObject(
subject.credential_definition as
| CredentialDefinitionJwtVcJsonLdAndLdpVcV1_0_13
| CredentialDefinitionJwtVcJsonV1_0_13
| JsonLdIssuerCredentialDefinition,
);
} else if ('types' in subject && subject.types) {
return Array.isArray(subject.types) ? subject.types : [subject.types];
} else if ('type' in subject && subject.type) {
Expand Down
Loading

0 comments on commit 0e6a6a8

Please sign in to comment.