@sentry/types
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -178,7 +178,20 @@ /** Supported Sentry transport protocols in a Dsn. */ | ||
} | ||
/** JSDoc */ | ||
/** Integration interface */ | ||
export interface Integration { | ||
/** | ||
* @deprecated Use {@link IntegrationClass.id} instead | ||
*/ | ||
name: string; | ||
install(options?: object): void; | ||
/** @deprecated */ | ||
install?(options?: object): void; | ||
setupOnce(): void; | ||
} | ||
/** Integration Class Interface */ | ||
export interface IntegrationClass<T> { | ||
new (): T; | ||
/** | ||
* Property that holds the integration name | ||
*/ | ||
id: string; | ||
} | ||
/** JSDoc */ | ||
@@ -185,0 +198,0 @@ export interface SentryResponse { |
{ | ||
"name": "@sentry/types", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/raven-js.git", |
Sorry, the diff of this file is not supported yet
20969
348