Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
463
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.89.0 to 7.90.0

2

package.json
{
"name": "@sentry/types",
"version": "7.89.0",
"version": "7.90.0",
"description": "Types for all Sentry JavaScript SDKs",

@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

@@ -27,3 +27,3 @@ export { Attachment } from './attachment';

export { Runtime } from './runtime';
export { CaptureContext, Scope, ScopeContext } from './scope';
export { CaptureContext, Scope, ScopeContext, ScopeData } from './scope';
export { SdkInfo } from './sdkinfo';

@@ -30,0 +30,0 @@ export { SdkMetadata } from './sdkmetadata';

@@ -28,2 +28,21 @@ import { Attachment } from './attachment';

}
export interface ScopeData {
eventProcessors: EventProcessor[];
breadcrumbs: Breadcrumb[];
user: User;
tags: {
[key: string]: Primitive;
};
extra: Extras;
contexts: Contexts;
attachments: Attachment[];
propagationContext: PropagationContext;
sdkProcessingMetadata: {
[key: string]: unknown;
};
fingerprint: string[];
level?: SeverityLevel;
transactionName?: string;
span?: Span;
}
/**

@@ -35,2 +54,4 @@ * Holds additional event information. {@link Scope.applyToEvent} will be called by the client before an event is sent.

addEventProcessor(callback: EventProcessor): this;
/** Get the data of this scope, which is applied to an event during processing. */
getScopeData(): ScopeData;
/**

@@ -37,0 +58,0 @@ * Updates user context information for future events.

@@ -27,3 +27,3 @@ export type { Attachment } from './attachment';

export type { Runtime } from './runtime';
export type { CaptureContext, Scope, ScopeContext } from './scope';
export type { CaptureContext, Scope, ScopeContext, ScopeData } from './scope';
export type { SdkInfo } from './sdkinfo';

@@ -30,0 +30,0 @@ export type { SdkMetadata } from './sdkmetadata';

@@ -28,2 +28,21 @@ import type { Attachment } from './attachment';

}
export interface ScopeData {
eventProcessors: EventProcessor[];
breadcrumbs: Breadcrumb[];
user: User;
tags: {
[key: string]: Primitive;
};
extra: Extras;
contexts: Contexts;
attachments: Attachment[];
propagationContext: PropagationContext;
sdkProcessingMetadata: {
[key: string]: unknown;
};
fingerprint: string[];
level?: SeverityLevel;
transactionName?: string;
span?: Span;
}
/**

@@ -35,2 +54,4 @@ * Holds additional event information. {@link Scope.applyToEvent} will be called by the client before an event is sent.

addEventProcessor(callback: EventProcessor): this;
/** Get the data of this scope, which is applied to an event during processing. */
getScopeData(): ScopeData;
/**

@@ -37,0 +58,0 @@ * Updates user context information for future events.

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