Skip to content

Commit

Permalink
fix: Added didcomm to the invitation schemes (#72)
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Lanser <[email protected]>
  • Loading branch information
Tommylans authored Oct 3, 2023
1 parent 6e922fb commit 0eed547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/expo/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if (!variant) {
throw new Error('Invalid variant provided: ' + process.env.APP_VARIANT)
}

// NOTE: Keep this in sync with the `QrTypes` enum
const invitationSchemes = [
'openid',
'openid-initiate-issuance',
Expand Down
1 change: 1 addition & 0 deletions packages/agent/src/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export enum QrTypes {
OPENID_CREDENTIAL_OFFER = 'openid-credential-offer://',
OPENID = 'openid://',
OPENID_VC = 'openid-vc://',
DIDCOMM = 'didcomm://',
}

export const isOpenIdCredentialOffer = (url: string) => {
Expand Down

0 comments on commit 0eed547

Please sign in to comment.