From ee9f781c8e40af9c7347530f605b5741bf2dd213 Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Wed, 11 Mar 2026 08:37:13 -0500 Subject: [PATCH] Add src/api/base44Client.jsx --- src/api/base44Client.jsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/api/base44Client.jsx diff --git a/src/api/base44Client.jsx b/src/api/base44Client.jsx new file mode 100644 index 0000000..302d606 --- /dev/null +++ b/src/api/base44Client.jsx @@ -0,0 +1,14 @@ +import { createClient } from '@base44/sdk'; +import { appParams } from '@/lib/app-params'; + +const { appId, token, functionsVersion, appBaseUrl } = appParams; + +//Create a client with authentication required +export const base44 = createClient({ + appId, + token, + functionsVersion, + serverUrl: '', + requiresAuth: false, + appBaseUrl +});