@kestra-io/kestra-sdk 2.0.0-dev.4bc905a7.6706a2d2 → 2.0.0-dev.4bc905a7.877e3843

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.d.ts CHANGED
@@ -23,7 +23,7 @@ declare const configureAxios: (clientConfig?: Config<ClientOptions$1>, options?:
23
23
  name: string;
24
24
  query?: Record<string, string>;
25
25
  }) => void;
26
- beforeEach: (callback: (to: any, from: any) => void) => void;
26
+ beforeEach: (callback: (to: any, from: any, next: () => void) => void) => void;
27
27
  afterEach: (callback: () => void) => void;
28
28
  };
29
29
  coreStore?: {
package/dist/index.js CHANGED
@@ -197,10 +197,11 @@ const configureAxios = (clientConfig = {}, options = {}) => {
197
197
  }
198
198
  return Promise.reject(errorResponse);
199
199
  });
200
- router?.beforeEach(() => {
200
+ router?.beforeEach((_to, _from, next) => {
201
201
  if (pendingRoute) requestsTotal--;
202
202
  pendingRoute = true;
203
203
  initProgress();
204
+ next();
204
205
  });
205
206
  router?.afterEach(() => {
206
207
  if (pendingRoute) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kestra-io/kestra-sdk",
3
- "version": "2.0.0-dev.4bc905a7.6706a2d2",
3
+ "version": "2.0.0-dev.4bc905a7.877e3843",
4
4
  "description": "All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.",
5
5
  "license": "Unlicense",
6
6
  "type": "module",