From a61dace7deaf68ddd96251f75b23b2370a5b5478 Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Thu, 23 Mar 2023 16:52:14 +0530 Subject: [PATCH] Update example app --- examples/with-supertokens/config/backendConfig.ts | 2 ++ examples/with-supertokens/package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/with-supertokens/config/backendConfig.ts b/examples/with-supertokens/config/backendConfig.ts index 86910f5928230..531b8544f7ec7 100644 --- a/examples/with-supertokens/config/backendConfig.ts +++ b/examples/with-supertokens/config/backendConfig.ts @@ -3,6 +3,7 @@ import EmailVerificationNode from 'supertokens-node/recipe/emailverification' import SessionNode from 'supertokens-node/recipe/session' import { appInfo } from './appInfo' import { AuthConfig } from '../interfaces' +import DashboardNode from "supertokens-node/recipe/dashboard"; export let backendConfig = (): AuthConfig => { return { @@ -38,6 +39,7 @@ export let backendConfig = (): AuthConfig => { ], }), SessionNode.init(), + DashboardNode.init(), ], isInServerlessEnv: true, } diff --git a/examples/with-supertokens/package.json b/examples/with-supertokens/package.json index a5136c856228f..d7e2fe5f2e83b 100644 --- a/examples/with-supertokens/package.json +++ b/examples/with-supertokens/package.json @@ -10,11 +10,11 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "supertokens-auth-react": "^0.31.0", - "supertokens-node": "^13.0.0" + "supertokens-node": "^13.1.5" }, "devDependencies": { - "@types/react": "18.0.17", "@types/node": "18.7.13", + "@types/react": "18.0.17", "typescript": "^4.8.2" } }