@squadbase/vite-server 0.0.1-build-22 → 0.0.1-build-24
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/index.js +2 -2
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17116,7 +17116,7 @@ function createAirtableClient(entry, slug) {
|
|
|
17116
17116
|
|
|
17117
17117
|
// src/connector-client/google-analytics.ts
|
|
17118
17118
|
function createGoogleAnalyticsClient(entry, slug) {
|
|
17119
|
-
const serviceAccountJsonBase64 = resolveEnvVar(entry, "service-account-json-base64", slug);
|
|
17119
|
+
const serviceAccountJsonBase64 = resolveEnvVar(entry, "service-account-key-json-base64", slug);
|
|
17120
17120
|
const propertyId = resolveEnvVar(entry, "property-id", slug);
|
|
17121
17121
|
const serviceAccountJson = Buffer.from(serviceAccountJsonBase64, "base64").toString("utf-8");
|
|
17122
17122
|
let credentials;
|
|
@@ -17709,7 +17709,7 @@ app.get("/:slug", async (c) => {
|
|
|
17709
17709
|
const handler = await loadTypeScriptHandler(ds._tsHandlerPath);
|
|
17710
17710
|
result = await handler(c);
|
|
17711
17711
|
} else {
|
|
17712
|
-
result = await ds.handler({});
|
|
17712
|
+
result = { data: await ds.handler({}) };
|
|
17713
17713
|
}
|
|
17714
17714
|
return buildResponse(c, result, ds.response);
|
|
17715
17715
|
} catch (e) {
|
package/dist/main.js
CHANGED
|
@@ -17447,7 +17447,7 @@ app.get("/:slug", async (c) => {
|
|
|
17447
17447
|
const handler = await loadTypeScriptHandler(ds._tsHandlerPath);
|
|
17448
17448
|
result = await handler(c);
|
|
17449
17449
|
} else {
|
|
17450
|
-
result = await ds.handler({});
|
|
17450
|
+
result = { data: await ds.handler({}) };
|
|
17451
17451
|
}
|
|
17452
17452
|
return buildResponse(c, result, ds.response);
|
|
17453
17453
|
} catch (e) {
|