From e1a2fc97064ad19a104b548926744fc076780684 Mon Sep 17 00:00:00 2001 From: Archit Date: Tue, 9 Jan 2024 08:43:50 +0530 Subject: [PATCH] revert demo constants --- examples/vue-example/src/App.vue | 6 +++--- packages/openlogin-utils/src/interfaces.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/vue-example/src/App.vue b/examples/vue-example/src/App.vue index f4298217..ce52fcbe 100644 --- a/examples/vue-example/src/App.vue +++ b/examples/vue-example/src/App.vue @@ -166,7 +166,7 @@ export default defineComponent({ privKey: "", ethereumPrivateKeyProvider: null as EthereumPrivateKeyProvider | EthMpcPrivKeyProvider | null, LOGIN_PROVIDER: LOGIN_PROVIDER, - selectedLoginProvider: LOGIN_PROVIDER.EMAIL_PASSWORDLESS as LOGIN_PROVIDER_TYPE, + selectedLoginProvider: LOGIN_PROVIDER.GOOGLE as LOGIN_PROVIDER_TYPE, login_hint: "", isWhiteLabelEnabled: false, UX_MODE: UX_MODE, @@ -175,8 +175,8 @@ export default defineComponent({ BUILD_ENV: BUILD_ENV, selectedOpenloginNetwork: OPENLOGIN_NETWORK.SAPPHIRE_DEVNET as OPENLOGIN_NETWORK_TYPE, useMpc: false, - selectedBuildEnv: BUILD_ENV.DEVELOPMENT, - emailFlowType: EMAIL_FLOW.link, + selectedBuildEnv: BUILD_ENV.PRODUCTION, + emailFlowType: EMAIL_FLOW.code, EMAIL_FLOW: EMAIL_FLOW, }; }, diff --git a/packages/openlogin-utils/src/interfaces.ts b/packages/openlogin-utils/src/interfaces.ts index d23fc264..4be050fc 100644 --- a/packages/openlogin-utils/src/interfaces.ts +++ b/packages/openlogin-utils/src/interfaces.ts @@ -637,7 +637,7 @@ export type OpenLoginOptions = { /** * dashboardUrl is for internal development use only and is used to override the - * `network` parameter. + * `buildEnv` parameter. * @internal */ dashboardUrl?: string;