@sentry/types
Advanced tools
Comparing version 8.9.2 to 8.10.0
{ | ||
"name": "@sentry/types", | ||
"version": "8.9.2", | ||
"version": "8.10.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
@@ -208,3 +208,3 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
*/ | ||
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext) => void): void; | ||
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext, rootSpan?: Span) => void): void; | ||
/** | ||
@@ -274,3 +274,3 @@ * Register a callback when a Feedback event has been prepared. | ||
*/ | ||
emit(hook: 'createDsc', dsc: DynamicSamplingContext): void; | ||
emit(hook: 'createDsc', dsc: DynamicSamplingContext, rootSpan?: Span): void; | ||
/** | ||
@@ -277,0 +277,0 @@ * Fire a hook event for after preparing a feedback event. Events to be given |
@@ -0,1 +1,2 @@ | ||
import { Primitive } from '../misc'; | ||
import { FeedbackFormData } from './form'; | ||
@@ -49,2 +50,8 @@ import { FeedbackTheme } from './theme'; | ||
}; | ||
/** | ||
* Set an object that will be merged sent as tags data with the event. | ||
*/ | ||
tags?: { | ||
[key: string]: Primitive; | ||
}; | ||
} | ||
@@ -51,0 +58,0 @@ /** |
import { Event, EventHint } from '../event'; | ||
import { Primitive } from '../misc'; | ||
import { User } from '../user'; | ||
@@ -37,11 +38,13 @@ /** | ||
associatedEventId?: string; | ||
} | ||
interface SendFeedbackOptions extends EventHint { | ||
/** | ||
* Should include replay with the feedback? | ||
* Set an object that will be merged sent as tags data with the event. | ||
*/ | ||
tags?: { | ||
[key: string]: Primitive; | ||
}; | ||
} | ||
export type SendFeedback = (params: SendFeedbackParams, hint?: EventHint & { | ||
includeReplay?: boolean; | ||
} | ||
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<string>; | ||
}) => Promise<string>; | ||
export {}; | ||
//# sourceMappingURL=sendFeedback.d.ts.map |
@@ -55,3 +55,2 @@ import { DebugImage } from './debugMeta'; | ||
interface BaseProfile<T> { | ||
timestamp: string; | ||
version: string; | ||
@@ -58,0 +57,0 @@ release: string; |
@@ -208,3 +208,3 @@ import type { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
*/ | ||
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext) => void): void; | ||
on(hook: 'createDsc', callback: (dsc: DynamicSamplingContext, rootSpan?: Span) => void): void; | ||
/** | ||
@@ -274,3 +274,3 @@ * Register a callback when a Feedback event has been prepared. | ||
*/ | ||
emit(hook: 'createDsc', dsc: DynamicSamplingContext): void; | ||
emit(hook: 'createDsc', dsc: DynamicSamplingContext, rootSpan?: Span): void; | ||
/** | ||
@@ -277,0 +277,0 @@ * Fire a hook event for after preparing a feedback event. Events to be given |
@@ -0,1 +1,2 @@ | ||
import type { Primitive } from '../misc'; | ||
import type { FeedbackFormData } from './form'; | ||
@@ -49,2 +50,8 @@ import type { FeedbackTheme } from './theme'; | ||
}; | ||
/** | ||
* Set an object that will be merged sent as tags data with the event. | ||
*/ | ||
tags?: { | ||
[key: string]: Primitive; | ||
}; | ||
} | ||
@@ -51,0 +58,0 @@ /** |
import type { Event, EventHint } from '../event'; | ||
import type { Primitive } from '../misc'; | ||
import type { User } from '../user'; | ||
@@ -37,11 +38,13 @@ /** | ||
associatedEventId?: string; | ||
} | ||
interface SendFeedbackOptions extends EventHint { | ||
/** | ||
* Should include replay with the feedback? | ||
* Set an object that will be merged sent as tags data with the event. | ||
*/ | ||
tags?: { | ||
[key: string]: Primitive; | ||
}; | ||
} | ||
export type SendFeedback = (params: SendFeedbackParams, hint?: EventHint & { | ||
includeReplay?: boolean; | ||
} | ||
export type SendFeedback = (params: SendFeedbackParams, options?: SendFeedbackOptions) => Promise<string>; | ||
}) => Promise<string>; | ||
export {}; | ||
//# sourceMappingURL=sendFeedback.d.ts.map |
@@ -55,3 +55,2 @@ import type { DebugImage } from './debugMeta'; | ||
interface BaseProfile<T> { | ||
timestamp: string; | ||
version: string; | ||
@@ -58,0 +57,0 @@ release: string; |
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
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
321399
6643