@sentry/types
Advanced tools
Comparing version 7.79.0 to 7.80.0
{ | ||
"name": "@sentry/types", | ||
"version": "7.79.0", | ||
"version": "7.80.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
@@ -1,2 +0,2 @@ | ||
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'unknown'; | ||
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'feedback' | 'unknown'; | ||
//# sourceMappingURL=datacategory.d.ts.map |
@@ -5,2 +5,3 @@ import { SerializedCheckIn } from './checkin'; | ||
import { Event } from './event'; | ||
import { FeedbackEvent } from './feedback'; | ||
import { ReplayEvent, ReplayRecordingData } from './replay'; | ||
@@ -22,3 +23,3 @@ import { SdkInfo } from './sdkinfo'; | ||
}; | ||
export type EnvelopeItemType = 'client_report' | 'user_report' | 'session' | 'sessions' | 'transaction' | 'attachment' | 'event' | 'profile' | 'replay_event' | 'replay_recording' | 'check_in' | 'statsd'; | ||
export type EnvelopeItemType = 'client_report' | 'user_report' | 'feedback' | 'session' | 'sessions' | 'transaction' | 'attachment' | 'event' | 'profile' | 'replay_event' | 'replay_recording' | 'check_in' | 'statsd'; | ||
export type BaseEnvelopeHeaders = { | ||
@@ -43,3 +44,3 @@ [key: string]: unknown; | ||
type EventItemHeaders = { | ||
type: 'event' | 'transaction' | 'profile'; | ||
type: 'event' | 'transaction' | 'profile' | 'feedback'; | ||
}; | ||
@@ -56,2 +57,5 @@ type AttachmentItemHeaders = { | ||
}; | ||
type FeedbackItemHeaders = { | ||
type: 'feedback'; | ||
}; | ||
type SessionItemHeaders = { | ||
@@ -88,2 +92,3 @@ type: 'session'; | ||
export type StatsdItem = BaseEnvelopeItem<StatsdItemHeaders, string>; | ||
export type FeedbackItem = BaseEnvelopeItem<FeedbackItemHeaders, FeedbackEvent>; | ||
export type EventEnvelopeHeaders = { | ||
@@ -103,3 +108,3 @@ event_id: string; | ||
type StatsdEnvelopeHeaders = BaseEnvelopeHeaders; | ||
export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem>; | ||
export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem | FeedbackItem>; | ||
export type SessionEnvelope = BaseEnvelope<SessionEnvelopeHeaders, SessionItem>; | ||
@@ -106,0 +111,0 @@ export type ClientReportEnvelope = BaseEnvelope<ClientReportEnvelopeHeaders, ClientReportItem>; |
@@ -66,3 +66,3 @@ import { Attachment } from './attachment'; | ||
*/ | ||
export type EventType = 'transaction' | 'profile' | 'replay_event' | undefined; | ||
export type EventType = 'transaction' | 'profile' | 'replay_event' | 'feedback' | undefined; | ||
export interface ErrorEvent extends Event { | ||
@@ -69,0 +69,0 @@ type: undefined; |
@@ -9,3 +9,3 @@ export { Attachment } from './attachment'; | ||
export { DebugImage, DebugMeta } from './debugMeta'; | ||
export { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, } from './envelope'; | ||
export { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, FeedbackItem, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, } from './envelope'; | ||
export { ExtendedError } from './error'; | ||
@@ -26,2 +26,3 @@ export { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './event'; | ||
export { ReplayEvent, ReplayRecordingData, ReplayRecordingMode } from './replay'; | ||
export { FeedbackEvent } from './feedback'; | ||
export { QueryParams, Request, SanitizedRequestData } from './request'; | ||
@@ -28,0 +29,0 @@ export { Runtime } from './runtime'; |
@@ -1,2 +0,2 @@ | ||
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'unknown'; | ||
export type DataCategory = 'default' | 'error' | 'transaction' | 'replay' | 'security' | 'attachment' | 'session' | 'internal' | 'profile' | 'monitor' | 'feedback' | 'unknown'; | ||
//# sourceMappingURL=datacategory.d.ts.map |
@@ -5,2 +5,3 @@ import type { SerializedCheckIn } from './checkin'; | ||
import type { Event } from './event'; | ||
import type { FeedbackEvent } from './feedback'; | ||
import type { ReplayEvent, ReplayRecordingData } from './replay'; | ||
@@ -22,3 +23,3 @@ import type { SdkInfo } from './sdkinfo'; | ||
}; | ||
export type EnvelopeItemType = 'client_report' | 'user_report' | 'session' | 'sessions' | 'transaction' | 'attachment' | 'event' | 'profile' | 'replay_event' | 'replay_recording' | 'check_in' | 'statsd'; | ||
export type EnvelopeItemType = 'client_report' | 'user_report' | 'feedback' | 'session' | 'sessions' | 'transaction' | 'attachment' | 'event' | 'profile' | 'replay_event' | 'replay_recording' | 'check_in' | 'statsd'; | ||
export type BaseEnvelopeHeaders = { | ||
@@ -40,3 +41,3 @@ [key: string]: unknown; | ||
type EventItemHeaders = { | ||
type: 'event' | 'transaction' | 'profile'; | ||
type: 'event' | 'transaction' | 'profile' | 'feedback'; | ||
}; | ||
@@ -53,2 +54,5 @@ type AttachmentItemHeaders = { | ||
}; | ||
type FeedbackItemHeaders = { | ||
type: 'feedback'; | ||
}; | ||
type SessionItemHeaders = { | ||
@@ -85,2 +89,3 @@ type: 'session'; | ||
export type StatsdItem = BaseEnvelopeItem<StatsdItemHeaders, string>; | ||
export type FeedbackItem = BaseEnvelopeItem<FeedbackItemHeaders, FeedbackEvent>; | ||
export type EventEnvelopeHeaders = { | ||
@@ -100,3 +105,3 @@ event_id: string; | ||
type StatsdEnvelopeHeaders = BaseEnvelopeHeaders; | ||
export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem>; | ||
export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem | FeedbackItem>; | ||
export type SessionEnvelope = BaseEnvelope<SessionEnvelopeHeaders, SessionItem>; | ||
@@ -103,0 +108,0 @@ export type ClientReportEnvelope = BaseEnvelope<ClientReportEnvelopeHeaders, ClientReportItem>; |
@@ -66,3 +66,3 @@ import type { Attachment } from './attachment'; | ||
*/ | ||
export type EventType = 'transaction' | 'profile' | 'replay_event' | undefined; | ||
export type EventType = 'transaction' | 'profile' | 'replay_event' | 'feedback' | undefined; | ||
export interface ErrorEvent extends Event { | ||
@@ -69,0 +69,0 @@ type: undefined; |
@@ -9,3 +9,3 @@ export type { Attachment } from './attachment'; | ||
export type { DebugImage, DebugMeta } from './debugMeta'; | ||
export type { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, } from './envelope'; | ||
export type { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, FeedbackItem, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, } from './envelope'; | ||
export type { ExtendedError } from './error'; | ||
@@ -26,2 +26,3 @@ export type { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './event'; | ||
export type { ReplayEvent, ReplayRecordingData, ReplayRecordingMode } from './replay'; | ||
export type { FeedbackEvent } from './feedback'; | ||
export type { QueryParams, Request, SanitizedRequestData } from './request'; | ||
@@ -28,0 +29,0 @@ export type { Runtime } from './runtime'; |
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
242789
151
5029