@joystick.js/node-canary 0.0.0-canary.82 → 0.0.0-canary.83

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
@@ -184,12 +184,14 @@ class App {
184
184
  const browserSafeRequest = getBrowserSafeRequest(req);
185
185
  const data = await getDataFromComponent(componentInstance, apiForDataFunctions, browserSafeRequest);
186
186
  const translations = await getTranslations({ build: buildPath, page: req?.query?.pathToComponent }, req);
187
+ const settings = loadSettings();
187
188
  return res.status(200).send({
188
189
  data: {
189
190
  [data?.componentId]: data?.data
190
191
  },
191
- translations,
192
- req: browserSafeRequest
192
+ req: browserSafeRequest,
193
+ settings,
194
+ translations
193
195
  });
194
196
  }
195
197
  res.status(200).send({ data: {}, translations: {} });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.82",
3
+ "version": "0.0.0-canary.83",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",