Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 4, 2024
1 parent c98e4d3 commit 4f8ec3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agent/src/verifiers/util.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { DifPresentationExchangeDefinitionV2 } from '@credo-ts/core'
import { randomUUID } from 'node:crypto'

export function sdJwtInputDescriptor({
vcts,
Expand All @@ -10,7 +11,7 @@ export function sdJwtInputDescriptor({
issuers?: string[]
}): DifPresentationExchangeDefinitionV2['input_descriptors'][number] {
return {
id: crypto.randomUUID(),
id: randomUUID(),
format: {
'vc+sd-jwt': {
'sd-jwt_alg_values': ['ES256'],
Expand Down

0 comments on commit 4f8ec3b

Please sign in to comment.