diff --git a/packages/oid4vci-holder/src/agent/OID4VCIHolder.ts b/packages/oid4vci-holder/src/agent/OID4VCIHolder.ts index dc56d5e68..8705888cf 100644 --- a/packages/oid4vci-holder/src/agent/OID4VCIHolder.ts +++ b/packages/oid4vci-holder/src/agent/OID4VCIHolder.ts @@ -288,7 +288,7 @@ export class OID4VCIHolder implements IAgentPlugin { this.onCredentialStored?.(event.data) break case OID4VCIHolderEvent.IDENTIFIER_CREATED: - this.onIdentifierCreated?.({ identifier: event.data }) + this.onIdentifierCreated?.(event.data) break default: return Promise.reject(Error(`Event type ${event.type} not supported`)) diff --git a/packages/oid4vci-holder/src/agent/OID4VCIHolderService.ts b/packages/oid4vci-holder/src/agent/OID4VCIHolderService.ts index 740bd35c3..c4caafdb2 100644 --- a/packages/oid4vci-holder/src/agent/OID4VCIHolderService.ts +++ b/packages/oid4vci-holder/src/agent/OID4VCIHolderService.ts @@ -268,7 +268,7 @@ export const getIdentifierOpts = async (args: GetIdentifierArgs): Promise