From 1d9c135a8325bd85decf8cf9b287e5b52bc524d0 Mon Sep 17 00:00:00 2001 From: Tom Lanser Date: Mon, 2 Oct 2023 16:42:52 +0200 Subject: [PATCH] fix: Added didcomm to the invitation schemes Signed-off-by: Tom Lanser --- apps/expo/app.config.js | 1 + packages/agent/src/parsers.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/expo/app.config.js b/apps/expo/app.config.js index e7305fad..3ca82d35 100644 --- a/apps/expo/app.config.js +++ b/apps/expo/app.config.js @@ -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', diff --git a/packages/agent/src/parsers.ts b/packages/agent/src/parsers.ts index e7c2b899..1aa73258 100644 --- a/packages/agent/src/parsers.ts +++ b/packages/agent/src/parsers.ts @@ -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) => {