@sentry/core
Advanced tools
Comparing version 0.4.0-beta.2 to 0.4.0-beta.3
@@ -31,4 +31,72 @@ export declare enum Severity { | ||
} | ||
export interface SdkInfo { | ||
version?: string; | ||
name?: string; | ||
integrations?: string[]; | ||
} | ||
export interface StackFrame { | ||
filename?: string; | ||
function?: string; | ||
module?: string; | ||
platform?: string; | ||
lineno?: number; | ||
colno?: number; | ||
abs_path?: string; | ||
context_line?: string; | ||
pre_context?: string; | ||
post_context?: string; | ||
in_app?: boolean; | ||
vars?: { | ||
[name: string]: any; | ||
}; | ||
} | ||
export interface Stacktrace { | ||
frames?: StackFrame[]; | ||
frames_omitted?: [number, number]; | ||
} | ||
export interface Thread { | ||
id?: number; | ||
name?: string; | ||
stacktrace?: Stacktrace; | ||
crashed?: boolean; | ||
current?: boolean; | ||
} | ||
export interface SentryException { | ||
type?: string; | ||
value?: string; | ||
module?: string; | ||
thread_id?: number; | ||
stacktrace?: Stacktrace; | ||
} | ||
export interface Request { | ||
url?: string; | ||
method?: string; | ||
data?: any; | ||
query_string?: string; | ||
cookies?: { | ||
[key: string]: string; | ||
}; | ||
env?: { | ||
[key: string]: string; | ||
}; | ||
} | ||
export interface SentryEvent extends Context { | ||
event_id?: string; | ||
message?: string; | ||
timestamp?: number; | ||
level?: Severity; | ||
platform?: string; | ||
logger?: string; | ||
server?: string; | ||
release?: string; | ||
dist?: string; | ||
environment?: string; | ||
sdk?: SdkInfo; | ||
request?: Request; | ||
modules?: { | ||
[key: string]: string; | ||
}; | ||
fingerprint?: string[]; | ||
exception?: SentryException[]; | ||
stacktrace?: Stacktrace; | ||
breadcrumbs?: Breadcrumb[]; | ||
@@ -35,0 +103,0 @@ } |
{ | ||
"name": "@sentry/core", | ||
"version": "0.4.0-beta.2", | ||
"version": "0.4.0-beta.3", | ||
"description": "Sentry core implementation for all JavaScript related SDKs", | ||
@@ -5,0 +5,0 @@ "author": "Sentry", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47272
748