Socket
Socket
Sign inDemoInstall

@sentry/core

Package Overview
Dependencies
2
Maintainers
11
Versions
467
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.4 to 8.0.0-alpha.5

2

esm/package.json

@@ -1,1 +0,1 @@

{ "type": "module" }
{"type":"module","sideEffects":false}
{
"name": "@sentry/core",
"version": "8.0.0-alpha.4",
"version": "8.0.0-alpha.5",
"description": "Base implementation for all Sentry JavaScript SDKs",

@@ -45,4 +45,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/types": "8.0.0-alpha.4",
"@sentry/utils": "8.0.0-alpha.4"
"@sentry/types": "8.0.0-alpha.5",
"@sentry/utils": "8.0.0-alpha.5"
},

@@ -49,0 +49,0 @@ "madge": {

@@ -1,2 +0,2 @@

import { ClientOptions, DsnComponents, DsnLike } from '@sentry/types';
import { DsnComponents, DsnLike, SdkInfo } from '@sentry/types';
/**

@@ -7,3 +7,3 @@ * Returns the envelope endpoint URL with auth in the query string.

*/
export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnelOrOptions?: string | ClientOptions): string;
export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string, sdkInfo?: SdkInfo): string;
/** Returns the url to the report dialog endpoint. */

@@ -10,0 +10,0 @@ export declare function getReportDialogEndpoint(dsnLike: DsnLike, dialogOptions: {

@@ -1,2 +0,2 @@

import { Breadcrumb, BreadcrumbHint, Client, ClientOptions, DataCategory, DsnComponents, DynamicSamplingContext, Envelope, Event, EventDropReason, EventHint, EventProcessor, FeedbackEvent, Integration, IntegrationClass, Outcome, ParameterizedString, SdkMetadata, Session, SessionAggregates, SeverityLevel, Span, StartSpanOptions, Transport, TransportMakeRequestResponse } from '@sentry/types';
import { Breadcrumb, BreadcrumbHint, Client, ClientOptions, DataCategory, DsnComponents, DynamicSamplingContext, Envelope, Event, EventDropReason, EventHint, EventProcessor, FeedbackEvent, Integration, Outcome, ParameterizedString, SdkMetadata, Session, SessionAggregates, SeverityLevel, Span, StartSpanOptions, Transport, TransportMakeRequestResponse } from '@sentry/types';
import { IntegrationIndex } from './integration';

@@ -43,4 +43,2 @@ import { Scope } from './scope';

protected _integrations: IntegrationIndex;
/** Indicates whether this client's integrations have been set up. */
protected _integrationsInitialized: boolean;
/** Number of calls being processed */

@@ -104,17 +102,5 @@ protected _numProcessing: number;

addEventProcessor(eventProcessor: EventProcessor): void;
/**
* This is an internal function to setup all integrations that should run on the client.
* @deprecated Use `client.init()` instead.
*/
setupIntegrations(forceInitialize?: boolean): void;
/** @inheritdoc */
init(): void;
/**
* Gets an installed integration by its `id`.
*
* @returns The installed integration or `undefined` if no integration with that `id` was installed.
* @deprecated Use `getIntegrationByName()` instead.
*/
getIntegrationById(integrationId: string): Integration | undefined;
/**
* Gets an installed integration by its name.

@@ -126,7 +112,2 @@ *

/**
* Returns the client's instance of the given integration class, it any.
* @deprecated Use `getIntegrationByName()` instead.
*/
getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null;
/**
* @inheritDoc

@@ -133,0 +114,0 @@ */

@@ -229,6 +229,2 @@ import { Breadcrumb, BreadcrumbHint, Client, Event, EventHint, Extra, Extras, Hub as HubInterface, Integration, IntegrationClass, Primitive, Scope as ScopeInterface, Session, SessionContext, SeverityLevel, User } from '@sentry/types';

private _sendSessionUpdate;
/**
* Calls global extension method and binding current instance to the function call
*/
private _callExtensionMethod;
}

@@ -235,0 +231,0 @@ /**

@@ -38,4 +38,2 @@ export { ClientClass } from './sdk';

export { DEFAULT_ENVIRONMENT } from './constants';
export { ModuleMetadata } from './integrations/metadata';
export { RequestData } from './integrations/requestdata';
export { addBreadcrumb } from './breadcrumbs';

@@ -42,0 +40,0 @@ export { functionToStringIntegration } from './integrations/functiontostring';

@@ -1,2 +0,1 @@

import { Integration, IntegrationClass } from '@sentry/types';
/**

@@ -14,11 +13,2 @@ * Patch toString calls to return proper name for wrapped functions.

export declare const functionToStringIntegration: () => import("@sentry/types").IntegrationFnResult;
/**
* Patch toString calls to return proper name for wrapped functions.
*
* @deprecated Use `functionToStringIntegration()` instead.
*/
export declare const FunctionToString: IntegrationClass<Integration & {
setupOnce: () => void;
}>;
export type FunctionToString = typeof FunctionToString;
//# sourceMappingURL=functiontostring.d.ts.map

@@ -1,3 +0,1 @@

import { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
export declare const moduleMetadataIntegration: () => import("@sentry/types").IntegrationFnResult;
/**

@@ -11,9 +9,4 @@ * Adds module metadata to stack frames.

* our sources
*
* @deprecated Use `moduleMetadataIntegration()` instead.
*/
export declare const ModuleMetadata: IntegrationClass<Integration & {
setup: (client: Client) => void;
processEvent: (event: Event, hint: EventHint, client: Client) => Event;
}>;
export declare const moduleMetadataIntegration: () => import("@sentry/types").IntegrationFnResult;
//# sourceMappingURL=metadata.d.ts.map

@@ -1,2 +0,1 @@

import { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
import { TransactionNamingScheme } from '@sentry/utils';

@@ -23,30 +22,7 @@ export type RequestDataIntegrationOptions = {

};
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("@sentry/types").IntegrationFnResult;
/**
* Add data about a request to an event. Primarily for use in Node-based SDKs, but included in `@sentry/core`
* so it can be used in cross-platform SDKs like `@sentry/nextjs`.
* @deprecated Use `requestDataIntegration()` instead.
*/
export declare const RequestData: IntegrationClass<Integration & {
processEvent: (event: Event, hint: EventHint, client: Client) => Event;
}> & (new (options?: {
/**
* Controls what data is pulled from the request and added to the event
*/
include?: {
cookies?: boolean;
data?: boolean;
headers?: boolean;
ip?: boolean;
query_string?: boolean;
url?: boolean;
user?: boolean | {
id?: boolean;
username?: boolean;
email?: boolean;
};
};
/** Whether to identify transactions by parameterized path, parameterized path with method, or handler name */
transactionNamingScheme?: TransactionNamingScheme;
}) => Integration);
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("@sentry/types").IntegrationFnResult;
//# sourceMappingURL=requestdata.d.ts.map

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "8.0.0-alpha.4";
export declare const SDK_VERSION = "8.0.0-alpha.5";
//# sourceMappingURL=version.d.ts.map

@@ -1,2 +0,2 @@

import type { ClientOptions, DsnComponents, DsnLike } from '@sentry/types';
import type { DsnComponents, DsnLike, SdkInfo } from '@sentry/types';
/**

@@ -7,3 +7,3 @@ * Returns the envelope endpoint URL with auth in the query string.

*/
export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnelOrOptions?: string | ClientOptions): string;
export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string, sdkInfo?: SdkInfo): string;
/** Returns the url to the report dialog endpoint. */

@@ -10,0 +10,0 @@ export declare function getReportDialogEndpoint(dsnLike: DsnLike, dialogOptions: {

@@ -1,2 +0,2 @@

import type { Breadcrumb, BreadcrumbHint, Client, ClientOptions, DataCategory, DsnComponents, DynamicSamplingContext, Envelope, Event, EventDropReason, EventHint, EventProcessor, FeedbackEvent, Integration, IntegrationClass, Outcome, ParameterizedString, SdkMetadata, Session, SessionAggregates, SeverityLevel, Span, StartSpanOptions, Transport, TransportMakeRequestResponse } from '@sentry/types';
import type { Breadcrumb, BreadcrumbHint, Client, ClientOptions, DataCategory, DsnComponents, DynamicSamplingContext, Envelope, Event, EventDropReason, EventHint, EventProcessor, FeedbackEvent, Integration, Outcome, ParameterizedString, SdkMetadata, Session, SessionAggregates, SeverityLevel, Span, StartSpanOptions, Transport, TransportMakeRequestResponse } from '@sentry/types';
import type { IntegrationIndex } from './integration';

@@ -43,4 +43,2 @@ import type { Scope } from './scope';

protected _integrations: IntegrationIndex;
/** Indicates whether this client's integrations have been set up. */
protected _integrationsInitialized: boolean;
/** Number of calls being processed */

@@ -104,17 +102,5 @@ protected _numProcessing: number;

addEventProcessor(eventProcessor: EventProcessor): void;
/**
* This is an internal function to setup all integrations that should run on the client.
* @deprecated Use `client.init()` instead.
*/
setupIntegrations(forceInitialize?: boolean): void;
/** @inheritdoc */
init(): void;
/**
* Gets an installed integration by its `id`.
*
* @returns The installed integration or `undefined` if no integration with that `id` was installed.
* @deprecated Use `getIntegrationByName()` instead.
*/
getIntegrationById(integrationId: string): Integration | undefined;
/**
* Gets an installed integration by its name.

@@ -126,7 +112,2 @@ *

/**
* Returns the client's instance of the given integration class, it any.
* @deprecated Use `getIntegrationByName()` instead.
*/
getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null;
/**
* @inheritDoc

@@ -133,0 +114,0 @@ */

@@ -229,6 +229,2 @@ import type { Breadcrumb, BreadcrumbHint, Client, Event, EventHint, Extra, Extras, Hub as HubInterface, Integration, IntegrationClass, Primitive, Scope as ScopeInterface, Session, SessionContext, SeverityLevel, User } from '@sentry/types';

private _sendSessionUpdate;
/**
* Calls global extension method and binding current instance to the function call
*/
private _callExtensionMethod;
}

@@ -235,0 +231,0 @@ /**

@@ -38,4 +38,2 @@ export type { ClientClass } from './sdk';

export { DEFAULT_ENVIRONMENT } from './constants';
export { ModuleMetadata } from './integrations/metadata';
export { RequestData } from './integrations/requestdata';
export { addBreadcrumb } from './breadcrumbs';

@@ -42,0 +40,0 @@ export { functionToStringIntegration } from './integrations/functiontostring';

@@ -1,2 +0,1 @@

import type { Integration, IntegrationClass } from '@sentry/types';
/**

@@ -14,11 +13,2 @@ * Patch toString calls to return proper name for wrapped functions.

export declare const functionToStringIntegration: () => import("@sentry/types").IntegrationFnResult;
/**
* Patch toString calls to return proper name for wrapped functions.
*
* @deprecated Use `functionToStringIntegration()` instead.
*/
export declare const FunctionToString: IntegrationClass<Integration & {
setupOnce: () => void;
}>;
export type FunctionToString = typeof FunctionToString;
//# sourceMappingURL=functiontostring.d.ts.map

@@ -1,3 +0,1 @@

import type { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
export declare const moduleMetadataIntegration: () => import("@sentry/types").IntegrationFnResult;
/**

@@ -11,9 +9,4 @@ * Adds module metadata to stack frames.

* our sources
*
* @deprecated Use `moduleMetadataIntegration()` instead.
*/
export declare const ModuleMetadata: IntegrationClass<Integration & {
setup: (client: Client) => void;
processEvent: (event: Event, hint: EventHint, client: Client) => Event;
}>;
export declare const moduleMetadataIntegration: () => import("@sentry/types").IntegrationFnResult;
//# sourceMappingURL=metadata.d.ts.map

@@ -1,2 +0,1 @@

import type { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
import type { TransactionNamingScheme } from '@sentry/utils';

@@ -23,30 +22,7 @@ export type RequestDataIntegrationOptions = {

};
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("@sentry/types").IntegrationFnResult;
/**
* Add data about a request to an event. Primarily for use in Node-based SDKs, but included in `@sentry/core`
* so it can be used in cross-platform SDKs like `@sentry/nextjs`.
* @deprecated Use `requestDataIntegration()` instead.
*/
export declare const RequestData: IntegrationClass<Integration & {
processEvent: (event: Event, hint: EventHint, client: Client) => Event;
}> & (new (options?: {
/**
* Controls what data is pulled from the request and added to the event
*/
include?: {
cookies?: boolean;
data?: boolean;
headers?: boolean;
ip?: boolean;
query_string?: boolean;
url?: boolean;
user?: boolean | {
id?: boolean;
username?: boolean;
email?: boolean;
};
};
/** Whether to identify transactions by parameterized path, parameterized path with method, or handler name */
transactionNamingScheme?: TransactionNamingScheme;
}) => Integration);
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("@sentry/types").IntegrationFnResult;
//# sourceMappingURL=requestdata.d.ts.map

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "8.0.0-alpha.4";
export declare const SDK_VERSION = "8.0.0-alpha.5";
//# sourceMappingURL=version.d.ts.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc