@arkyn/types 1.2.1 → 1.2.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.
@@ -4,7 +4,6 @@ type ConfigProps = {
4
4
  request: Request;
5
5
  inbox_flow?: InboxFlowDTO;
6
6
  };
7
- type MonitoringErrorsDTO = (error: string, config: ConfigProps) => Promise<void>;
8
- type InstanceMonitoringErrorsDTO = (error: string, request: Request) => Promise<void>;
9
- export type { MonitoringErrorsDTO, InstanceMonitoringErrorsDTO };
7
+ type MonitoringErrorsDTO = (error: any, config: ConfigProps) => Promise<void>;
8
+ export type { MonitoringErrorsDTO };
10
9
  //# sourceMappingURL=MonitoringErrorsDTO.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MonitoringErrorsDTO.d.ts","sourceRoot":"","sources":["../../src/api/MonitoringErrorsDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B,CAAC;AAEF,KAAK,mBAAmB,GAAG,CACzB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,WAAW,KAChB,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,KAAK,2BAA2B,GAAG,CACjC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,OAAO,KACb,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,YAAY,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,CAAC"}
1
+ {"version":3,"file":"MonitoringErrorsDTO.d.ts","sourceRoot":"","sources":["../../src/api/MonitoringErrorsDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B,CAAC;AAEF,KAAK,mBAAmB,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE9E,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -5,14 +5,6 @@ type ConfigProps = {
5
5
  inbox_flow?: InboxFlowDTO;
6
6
  };
7
7
 
8
- type MonitoringErrorsDTO = (
9
- error: string,
10
- config: ConfigProps
11
- ) => Promise<void>;
8
+ type MonitoringErrorsDTO = (error: any, config: ConfigProps) => Promise<void>;
12
9
 
13
- type InstanceMonitoringErrorsDTO = (
14
- error: string,
15
- request: Request
16
- ) => Promise<void>;
17
-
18
- export type { MonitoringErrorsDTO, InstanceMonitoringErrorsDTO };
10
+ export type { MonitoringErrorsDTO };