@sentry/types
Advanced tools
Comparing version 8.27.0 to 8.28.0
@@ -52,3 +52,4 @@ export { Attachment } from './attachment'; | ||
export { ParameterizedString } from './parameterize'; | ||
export { ContinuousProfiler, ProfilingIntegration, Profiler } from './profiling'; | ||
export { ViewHierarchyData, ViewHierarchyWindow } from './view-hierarchy'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,3 +1,17 @@ | ||
import { Client } from './client'; | ||
import { DebugImage } from './debugMeta'; | ||
import { Integration } from './integration'; | ||
import { MeasurementUnit } from './measurement'; | ||
export interface ContinuousProfiler<T extends Client> { | ||
initialize(client: T): void; | ||
start(): void; | ||
stop(): void; | ||
} | ||
export interface ProfilingIntegration<T extends Client> extends Integration { | ||
_profiler: ContinuousProfiler<T>; | ||
} | ||
export interface Profiler { | ||
startProfiler(): void; | ||
stopProfiler(): void; | ||
} | ||
export type ThreadId = string; | ||
@@ -4,0 +18,0 @@ export type FrameId = number; |
@@ -220,3 +220,3 @@ import { Attachment } from './attachment'; | ||
* | ||
* @param exception The exception to capture. | ||
* @param message The message to capture. | ||
* @param level An optional severity level to report the message with. | ||
@@ -230,3 +230,3 @@ * @param hint Optional additional data to attach to the Sentry event. | ||
* | ||
* @param exception The event to capture. | ||
* @param event The event to capture. | ||
* @param hint Optional additional data to attach to the Sentry event. | ||
@@ -233,0 +233,0 @@ * @returns the id of the captured event. |
@@ -52,3 +52,4 @@ export type { Attachment } from './attachment'; | ||
export type { ParameterizedString } from './parameterize'; | ||
export type { ContinuousProfiler, ProfilingIntegration, Profiler } from './profiling'; | ||
export type { ViewHierarchyData, ViewHierarchyWindow } from './view-hierarchy'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,3 +1,17 @@ | ||
import type { Client } from './client'; | ||
import type { DebugImage } from './debugMeta'; | ||
import type { Integration } from './integration'; | ||
import type { MeasurementUnit } from './measurement'; | ||
export interface ContinuousProfiler<T extends Client> { | ||
initialize(client: T): void; | ||
start(): void; | ||
stop(): void; | ||
} | ||
export interface ProfilingIntegration<T extends Client> extends Integration { | ||
_profiler: ContinuousProfiler<T>; | ||
} | ||
export interface Profiler { | ||
startProfiler(): void; | ||
stopProfiler(): void; | ||
} | ||
export type ThreadId = string; | ||
@@ -4,0 +18,0 @@ export type FrameId = number; |
@@ -220,3 +220,3 @@ import type { Attachment } from './attachment'; | ||
* | ||
* @param exception The exception to capture. | ||
* @param message The message to capture. | ||
* @param level An optional severity level to report the message with. | ||
@@ -230,3 +230,3 @@ * @param hint Optional additional data to attach to the Sentry event. | ||
* | ||
* @param exception The event to capture. | ||
* @param event The event to capture. | ||
* @param hint Optional additional data to attach to the Sentry event. | ||
@@ -233,0 +233,0 @@ * @returns the id of the captured event. |
{ | ||
"name": "@sentry/types", | ||
"version": "8.27.0", | ||
"version": "8.28.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
332822
6837