@base44-preview/sdk 0.8.48-pr.282.60e9a18 → 0.8.48-pr.282.8443e7d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +3 -3
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -103,13 +103,13 @@ export function createClient(config) {
|
|
|
103
103
|
const axiosClient = createAxiosClient({
|
|
104
104
|
baseURL: `${serverUrl}/api`,
|
|
105
105
|
headers,
|
|
106
|
-
token
|
|
106
|
+
token,
|
|
107
107
|
onError: options === null || options === void 0 ? void 0 : options.onError,
|
|
108
108
|
});
|
|
109
109
|
const functionsAxiosClient = createAxiosClient({
|
|
110
110
|
baseURL: `${serverUrl}/api`,
|
|
111
111
|
headers: functionHeaders,
|
|
112
|
-
token
|
|
112
|
+
token,
|
|
113
113
|
interceptResponses: false,
|
|
114
114
|
onError: options === null || options === void 0 ? void 0 : options.onError,
|
|
115
115
|
});
|
|
@@ -141,7 +141,7 @@ export function createClient(config) {
|
|
|
141
141
|
const userAuthModule = createAuthModule(axiosClient, functionsAxiosClient, appId, {
|
|
142
142
|
appBaseUrl: normalizedAppBaseUrl,
|
|
143
143
|
serverUrl,
|
|
144
|
-
token
|
|
144
|
+
token,
|
|
145
145
|
embedded,
|
|
146
146
|
});
|
|
147
147
|
// Apply the access token before any module that may issue authenticated
|