Skip to content

Commit

Permalink
fix: fixed addIssuerBranding step after adding identity
Browse files Browse the repository at this point in the history
  • Loading branch information
sksadjad committed Jun 28, 2024
1 parent 3008b11 commit 17aa278
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/oid4vci-holder/src/machine/oid4vciMachine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,15 @@ const createOID4VCIMachine = (opts?: CreateOID4VCIMachineOpts): OID4VCIStateMach
},
},
},
[OID4VCIMachineStates.addIssuerBrandingAfterIdentity]: {
id: OID4VCIMachineStates.addIssuerBrandingAfterIdentity,
invoke: {
src: OID4VCIMachineServices.addIssuerBranding,
onDone: {
target: OID4VCIMachineStates.reviewCredentials,
},
},
},
[OID4VCIMachineStates.reviewCredentials]: {
id: OID4VCIMachineStates.reviewCredentials,
on: {
Expand Down
1 change: 1 addition & 0 deletions packages/oid4vci-holder/src/types/IOID4VCIHolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export enum OID4VCIMachineStates {
transitionFromSetup = 'transitionFromSetup',
addContact = 'addContact',
addIssuerBranding = 'addIssuerBranding',
addIssuerBrandingAfterIdentity = 'addIssuerBrandingAfterIdentity',
transitionFromContactSetup = 'transitionFromContactSetup',
selectCredentials = 'selectCredentials',
transitionFromSelectingCredentials = 'transitionFromSelectingCredentials',
Expand Down

0 comments on commit 17aa278

Please sign in to comment.