@gravito/spectrum 2.0.0 → 3.0.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.
package/dist/index.cjs CHANGED
@@ -172,8 +172,7 @@ var SpectrumOrbit = class _SpectrumOrbit {
172
172
  setupHttpCollection(core) {
173
173
  const middleware = async (c, next) => {
174
174
  if (c.req.path.startsWith(this.config.path)) {
175
- await next();
176
- return void 0;
175
+ return await next();
177
176
  }
178
177
  const startTime = performance.now();
179
178
  const startTimestamp = Date.now();
package/dist/index.js CHANGED
@@ -134,8 +134,7 @@ var SpectrumOrbit = class _SpectrumOrbit {
134
134
  setupHttpCollection(core) {
135
135
  const middleware = async (c, next) => {
136
136
  if (c.req.path.startsWith(this.config.path)) {
137
- await next();
138
- return void 0;
137
+ return await next();
139
138
  }
140
139
  const startTime = performance.now();
141
140
  const startTimestamp = Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravito/spectrum",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },