@hawk.so/types 0.1.32-rc.3 → 0.1.32-rc.4
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.
|
@@ -12,11 +12,11 @@ declare type MetricsCatcherType = 'performance';
|
|
|
12
12
|
/**
|
|
13
13
|
* Union type that represents all supported Catcher message types
|
|
14
14
|
*/
|
|
15
|
-
declare type CatcherMessageType = ErrorsCatcherType | MetricsCatcherType;
|
|
15
|
+
export declare type CatcherMessageType = ErrorsCatcherType | MetricsCatcherType;
|
|
16
16
|
/**
|
|
17
17
|
* Type that represents the payload of a Catcher message based on its type
|
|
18
18
|
*/
|
|
19
|
-
declare type CatcherMessagePayload<Type extends CatcherMessageType> = {
|
|
19
|
+
export declare type CatcherMessagePayload<Type extends CatcherMessageType> = {
|
|
20
20
|
'errors/javascript': EventData<JavaScriptAddons>;
|
|
21
21
|
'errors/php': EventData<PhpAddons>;
|
|
22
22
|
'errors/nodejs': EventData<NodeJSAddons>;
|
package/package.json
CHANGED
|
@@ -22,12 +22,12 @@ type MetricsCatcherType = 'performance';
|
|
|
22
22
|
/**
|
|
23
23
|
* Union type that represents all supported Catcher message types
|
|
24
24
|
*/
|
|
25
|
-
type CatcherMessageType = ErrorsCatcherType | MetricsCatcherType;
|
|
25
|
+
export type CatcherMessageType = ErrorsCatcherType | MetricsCatcherType;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Type that represents the payload of a Catcher message based on its type
|
|
29
29
|
*/
|
|
30
|
-
type CatcherMessagePayload<Type extends CatcherMessageType> = {
|
|
30
|
+
export type CatcherMessagePayload<Type extends CatcherMessageType> = {
|
|
31
31
|
'errors/javascript': EventData<JavaScriptAddons>;
|
|
32
32
|
'errors/php': EventData<PhpAddons>;
|
|
33
33
|
'errors/nodejs': EventData<NodeJSAddons>;
|