@joystick.js/node-canary 0.0.0-canary.59 → 0.0.0-canary.60

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/app/index.js CHANGED
@@ -172,14 +172,12 @@ class App {
172
172
  const apiForDataFunctions = await getAPIForDataFunctions(req, this?.options?.api);
173
173
  const browserSafeRequest = getBrowserSafeRequest(req);
174
174
  const data = await getDataFromComponent(componentInstance, apiForDataFunctions, browserSafeRequest);
175
- res.status(200).send({
176
- data
175
+ return res.status(200).send({
176
+ data,
177
+ translations: {}
177
178
  });
178
179
  }
179
- res.status(200).send({
180
- ping: "pong",
181
- query: req?.query
182
- });
180
+ res.status(200).send({ data: {}, translations: {} });
183
181
  });
184
182
  }
185
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.59",
3
+ "version": "0.0.0-canary.60",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",