From 8d36ee41438a8960a75519c4cb88162445d55370 Mon Sep 17 00:00:00 2001 From: sanderPostma Date: Tue, 4 Feb 2025 17:36:18 +0100 Subject: [PATCH] chore: statusListId & statusListCorrelationId optional --- packages/oid4vci-common/lib/types/Generic.types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/oid4vci-common/lib/types/Generic.types.ts b/packages/oid4vci-common/lib/types/Generic.types.ts index be1a1aad..2f6dbe9b 100644 --- a/packages/oid4vci-common/lib/types/Generic.types.ts +++ b/packages/oid4vci-common/lib/types/Generic.types.ts @@ -427,8 +427,8 @@ export interface NotificationErrorResponse { } export interface StatusListOpts { - statusListId: string - statusListCorrelationId: string + statusListId?: string // Explicit status list to use. Determines the id from the credentialStatus object in the VC itself or uses the default otherwise + statusListCorrelationId?: string statusEntryIndex?: number - statusEntryCorrelationId?: string + statusEntryCorrelationId?: string // An id to use for correlation. Can be the credential id, but also a business identifier. Will only be used for lookups/management }