Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
466
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/types - npm Package Compare versions

Comparing version 7.105.0 to 7.106.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc