@vtex/api 7.2.0 → 7.2.1-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.
@@ -194,8 +194,8 @@ const startWorker = (serviceJSON) => {
194
194
  const privateHandlersRouter = routerFromPrivateHttpHandlers(httpHandlers.pvt);
195
195
  app.use(privateHandlersRouter.routes());
196
196
  }
197
+ global.metrics = new MetricsAccumulator_1.MetricsAccumulator();
197
198
  process.on('message', onMessage(serviceJSON));
198
199
  return app;
199
200
  };
200
201
  exports.startWorker = startWorker;
201
- global.metrics = new MetricsAccumulator_1.MetricsAccumulator();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/api",
3
- "version": "7.2.0",
3
+ "version": "7.2.1-beta.0",
4
4
  "description": "VTEX I/O API client",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",