@noego/app 0.0.15 → 0.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noego/app",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Production build tool for Dinner/Forge apps.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -372,7 +372,7 @@ async function setupProxy(app, backendPort, config) {
372
372
  */
373
373
  async function runBackendService(config) {
374
374
  const appBootModule = await import(toFileUrl(config.app.boot_abs));
375
- const backendApp = appBootModule.default(config);
375
+ const backendApp = await appBootModule.default(config);
376
376
 
377
377
  attachCookiePolyfill(backendApp);
378
378
 
@@ -402,7 +402,7 @@ async function runBackendService(config) {
402
402
  */
403
403
  async function runFrontendService(config) {
404
404
  const appBootModule = await import(toFileUrl(config.app.boot_abs));
405
- const frontendApp = appBootModule.default(config);
405
+ const frontendApp = await appBootModule.default(config);
406
406
 
407
407
  attachCookiePolyfill(frontendApp);
408
408
 
@@ -684,9 +684,9 @@ async function runRouterService(config) {
684
684
  */
685
685
  export async function runCombinedServices(config, options = {}) {
686
686
  const { hasBackend = true, hasFrontend = true } = options;
687
-
687
+
688
688
  const appBootModule = await import(toFileUrl(config.app.boot_abs));
689
- const app = appBootModule.default(config);
689
+ const app = await appBootModule.default(config);
690
690
 
691
691
  attachCookiePolyfill(app);
692
692