@modern-js/plugin-bff 1.6.1 → 1.6.2-beta.0

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.
@@ -79,6 +79,7 @@ export default (() => ({
79
79
  });
80
80
  const apiHandlerInfos = apiRouter.getApiHandlers();
81
81
  api.setAppContext(_objectSpread(_objectSpread({}, appContext), {}, {
82
+ apiRouter,
82
83
  apiHandlerInfos
83
84
  }));
84
85
  return next(props);
@@ -95,6 +95,7 @@ var _default = () => ({
95
95
  });
96
96
  const apiHandlerInfos = apiRouter.getApiHandlers();
97
97
  api.setAppContext(_objectSpread(_objectSpread({}, appContext), {}, {
98
+ apiRouter,
98
99
  apiHandlerInfos
99
100
  }));
100
101
  return next(props);
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.6.1",
14
+ "version": "1.6.2-beta.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -65,7 +65,7 @@
65
65
  "@modern-js/core": "1.12.4",
66
66
  "@modern-js/plugin-analyze": "1.4.7",
67
67
  "@modern-js/runtime": "1.3.4",
68
- "@modern-js/server-core": "1.4.0",
68
+ "@modern-js/server-core": "1.4.1-beta.0",
69
69
  "@modern-js/types": "1.5.6",
70
70
  "@scripts/build": "0.0.0",
71
71
  "@scripts/jest-config": "0.0.0",
@@ -82,7 +82,8 @@
82
82
  "sideEffects": false,
83
83
  "publishConfig": {
84
84
  "registry": "https://registry.npmjs.org/",
85
- "access": "public"
85
+ "access": "public",
86
+ "types": "./dist/types/index.d.ts"
86
87
  },
87
88
  "wireit": {
88
89
  "build": {