@mimik/init 6.0.1 → 6.0.2

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -164,8 +164,7 @@ const init = (app, rootDir, config, validates, cluster, options) => {
164
164
  // end of deprecation
165
165
  return import(pathLib.resolve(buildRequire))
166
166
  .then((registeredOperationsModule) => {
167
- const registeredOperations = registeredOperationsModule.default;
168
- const api = apiSetup(setupResult, registeredOperations, options?.secOptions, options?.formats, config, correlationIdStart);
167
+ const api = apiSetup(setupResult, registeredOperationsModule, options?.secOptions, options?.formats, config, correlationIdStart);
169
168
 
170
169
  app.use((req, res) => api.handleRequest(req, req, res));
171
170
  return Promise.each(validates, validate => validate())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/init",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "Init process for micro-service",
5
5
  "main": "./index.js",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@mimik/address-helper": "^2.0.4",
33
- "@mimik/api-helper": "^2.0.4",
33
+ "@mimik/api-helper": "^2.0.5",
34
34
  "@mimik/healthcheck": "^2.0.0",
35
35
  "@mimik/oauth-helper": "^4.0.2",
36
36
  "@mimik/public-helper": "^3.0.3",