@hydrogen-org/monitoring
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,2 +0,2 @@ | ||
export type ErrorRequest = { | ||
export interface ErrorRequest { | ||
httpStatusCode?: number; | ||
@@ -6,7 +6,7 @@ httpStatusMessage?: string; | ||
requestBody?: object; | ||
}; | ||
export type ErrorCommon = { | ||
} | ||
export interface ErrorCommon { | ||
message?: string; | ||
data?: any; | ||
}; | ||
} | ||
export declare enum TypeMonitoring { | ||
@@ -18,3 +18,3 @@ api_request = "api_request", | ||
export type Type = 'warning' | 'error' | 'bug'; | ||
export type MonitoringBot = { | ||
export interface MonitoringBot { | ||
module: 'tracking' | 'anonymous_id' | 'browser-fingerprint' | 'mini_app' | 'web_chat' | string; | ||
@@ -26,3 +26,3 @@ environment?: string; | ||
extraData?: any; | ||
}; | ||
} | ||
export default function LogMonitor(params: MonitoringBot): void; |
{ | ||
"name": "@hydrogen-org/monitoring", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A monitoring package for platform sdk", | ||
@@ -5,0 +5,0 @@ "scripts": { |
17607