@centeredgesoft/runtime-mock-routes 2.5.0 → 2.7.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/README.md CHANGED
@@ -28,7 +28,7 @@ type SupportedMethod = SupportedMethodsType[number];
28
28
 
29
29
  export interface RuntimeRequestMethodBody {
30
30
  body: any;
31
- status?: number | ((...args : any[])=>number);
31
+ status?: any;
32
32
  headers?: Record<string, string>;
33
33
  }
34
34
 
@@ -4,7 +4,7 @@ export declare type SupportedMethod = SupportedMethodsType[number];
4
4
  export declare const isSupportedMethod: (obj: any) => obj is "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
5
5
  export interface RuntimeRequestMethodBody {
6
6
  body: any;
7
- status?: number | ((...args: any[]) => number);
7
+ status?: any;
8
8
  headers?: Record<string, string>;
9
9
  }
10
10
  export interface RequestParameters {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centeredgesoft/runtime-mock-routes",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
package/src/appV2.ts CHANGED
@@ -35,7 +35,7 @@ export const isSupportedMethod = (obj: any): obj is SupportedMethod => Supported
35
35
 
36
36
  export interface RuntimeRequestMethodBody {
37
37
  body: any;
38
- status?: number | ((...args: any[])=>number);
38
+ status?: any;
39
39
  headers?: Record<string, string>;
40
40
  }
41
41