@squadbase/vite-server 0.0.1-build-23 → 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 CHANGED
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squadbase/vite-server",
3
- "version": "0.0.1-build-23",
3
+ "version": "0.0.1-build-24",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {