@sentry/types
Advanced tools
Comparing version 7.105.0 to 7.106.0
{ | ||
"name": "@sentry/types", | ||
"version": "7.105.0", | ||
"version": "7.106.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
@@ -0,1 +1,9 @@ | ||
export type AttachmentType = 'event.attachment' | 'event.minidump' | 'event.applecrashreport' | 'unreal.context' | 'unreal.logs'; | ||
/** | ||
* An attachment to an event. This is used to upload arbitrary data to Sentry. | ||
* | ||
* Please take care to not add sensitive information in attachments. | ||
* | ||
* https://develop.sentry.dev/sdk/envelopes/#attachment | ||
*/ | ||
export interface Attachment { | ||
@@ -5,4 +13,7 @@ data: string | Uint8Array; | ||
contentType?: string; | ||
attachmentType?: string; | ||
/** | ||
* The type of the attachment. Defaults to `event.attachment` if not specified. | ||
*/ | ||
attachmentType?: AttachmentType; | ||
} | ||
//# sourceMappingURL=attachment.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import { AttachmentType } from './attachment'; | ||
import { SerializedCheckIn } from './checkin'; | ||
@@ -54,3 +55,3 @@ import { ClientReport } from './clientreport'; | ||
content_type?: string; | ||
attachment_type?: string; | ||
attachment_type?: AttachmentType; | ||
}; | ||
@@ -57,0 +58,0 @@ type UserFeedbackItemHeaders = { |
@@ -117,3 +117,2 @@ import { Attachment } from './attachment'; | ||
* Sets the transaction name on the scope for future events. | ||
* @deprecated Use extra or tags instead. | ||
*/ | ||
@@ -120,0 +119,0 @@ setTransactionName(name?: string): this; |
@@ -0,1 +1,9 @@ | ||
export type AttachmentType = 'event.attachment' | 'event.minidump' | 'event.applecrashreport' | 'unreal.context' | 'unreal.logs'; | ||
/** | ||
* An attachment to an event. This is used to upload arbitrary data to Sentry. | ||
* | ||
* Please take care to not add sensitive information in attachments. | ||
* | ||
* https://develop.sentry.dev/sdk/envelopes/#attachment | ||
*/ | ||
export interface Attachment { | ||
@@ -5,4 +13,7 @@ data: string | Uint8Array; | ||
contentType?: string; | ||
attachmentType?: string; | ||
/** | ||
* The type of the attachment. Defaults to `event.attachment` if not specified. | ||
*/ | ||
attachmentType?: AttachmentType; | ||
} | ||
//# sourceMappingURL=attachment.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import type { AttachmentType } from './attachment'; | ||
import type { SerializedCheckIn } from './checkin'; | ||
@@ -51,3 +52,3 @@ import type { ClientReport } from './clientreport'; | ||
content_type?: string; | ||
attachment_type?: string; | ||
attachment_type?: AttachmentType; | ||
}; | ||
@@ -54,0 +55,0 @@ type UserFeedbackItemHeaders = { |
@@ -117,3 +117,2 @@ import type { Attachment } from './attachment'; | ||
* Sets the transaction name on the scope for future events. | ||
* @deprecated Use extra or tags instead. | ||
*/ | ||
@@ -120,0 +119,0 @@ setTransactionName(name?: string): this; |
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
312334
6554