Socket
Socket
Sign inDemoInstall

@sentry/replay

Package Overview
Dependencies
Maintainers
11
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/replay - npm Package Compare versions

Comparing version 7.105.0 to 8.0.0-alpha.1

types-ts3.8/coreHandlers/handleBreadcrumbs.d.ts

14

package.json
{
"name": "@sentry/replay",
"version": "7.105.0",
"version": "8.0.0-alpha.1",
"description": "User replays for Sentry",

@@ -34,3 +34,3 @@ "main": "cjs/index.js",

"@babel/core": "^7.17.5",
"@sentry-internal/replay-worker": "7.105.0",
"@sentry-internal/replay-worker": "8.0.0-alpha.1",
"@sentry-internal/rrweb": "2.11.0",

@@ -42,10 +42,10 @@ "@sentry-internal/rrweb-snapshot": "2.11.0",

"dependencies": {
"@sentry-internal/tracing": "7.105.0",
"@sentry/core": "7.105.0",
"@sentry/types": "7.105.0",
"@sentry/utils": "7.105.0"
"@sentry-internal/tracing": "8.0.0-alpha.1",
"@sentry/core": "8.0.0-alpha.1",
"@sentry/types": "8.0.0-alpha.1",
"@sentry/utils": "8.0.0-alpha.1"
},
"engines": {
"node": ">=12"
"node": ">=14.8"
}
}

@@ -15,3 +15,3 @@ <p align="center">

`@sentry/replay` requires Node 12+, and browsers newer than IE11.
`@sentry/replay` requires Node 14+, and browsers newer than IE11.

@@ -18,0 +18,0 @@ ## Installation

@@ -6,3 +6,3 @@ import { Event, EventHint } from '@sentry/types';

*/
export declare function handleGlobalEventListener(replay: ReplayContainer, includeAfterSendEventHandling?: boolean): (event: Event, hint: EventHint) => Event | null;
export declare function handleGlobalEventListener(replay: ReplayContainer): (event: Event, hint: EventHint) => Event | null;
//# sourceMappingURL=handleGlobalEvent.d.ts.map

@@ -1,6 +0,5 @@

import { Breadcrumb, BreadcrumbHint, TextEncoderInternal } from '@sentry/types';
import { Breadcrumb, BreadcrumbHint } from '@sentry/types';
import { ReplayContainer, ReplayNetworkOptions } from '../types';
interface ExtendedNetworkBreadcrumbsOptions extends ReplayNetworkOptions {
replay: ReplayContainer;
textEncoder: TextEncoderInternal;
}

@@ -7,0 +6,0 @@ /**

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

import { Breadcrumb, FetchBreadcrumbData, TextEncoderInternal } from '@sentry/types';
import { Breadcrumb, FetchBreadcrumbData } from '@sentry/types';
import { FetchHint, ReplayContainer, ReplayNetworkOptions, ReplayNetworkRequestOrResponse } from '../../types';

@@ -10,3 +10,2 @@ /**

}, hint: Partial<FetchHint>, options: ReplayNetworkOptions & {
textEncoder: TextEncoderInternal;
replay: ReplayContainer;

@@ -21,9 +20,5 @@ }): Promise<void>;

data: FetchBreadcrumbData;
}, hint: Partial<FetchHint>, options: {
textEncoder: TextEncoderInternal;
}): void;
}, hint: Partial<FetchHint>): void;
/** Exported only for tests. */
export declare function _getResponseInfo(captureDetails: boolean, { networkCaptureBodies, textEncoder, networkResponseHeaders, }: Pick<ReplayNetworkOptions, 'networkCaptureBodies' | 'networkResponseHeaders'> & {
textEncoder: TextEncoderInternal;
}, response: Response | undefined, responseBodySize?: number): Promise<ReplayNetworkRequestOrResponse | undefined>;
export declare function _getResponseInfo(captureDetails: boolean, { networkCaptureBodies, networkResponseHeaders, }: Pick<ReplayNetworkOptions, 'networkCaptureBodies' | 'networkResponseHeaders'>, response: Response | undefined, responseBodySize?: number): Promise<ReplayNetworkRequestOrResponse | undefined>;
//# sourceMappingURL=fetchUtils.d.ts.map

@@ -1,5 +0,4 @@

import { TextEncoderInternal } from '@sentry/types';
import { NetworkMetaWarning, NetworkRequestData, ReplayNetworkRequestData, ReplayNetworkRequestOrResponse, ReplayPerformanceEntry } from '../../types';
/** Get the size of a body. */
export declare function getBodySize(body: RequestInit['body'], textEncoder: TextEncoder | TextEncoderInternal): number | undefined;
export declare function getBodySize(body: RequestInit['body']): number | undefined;
/** Convert a Content-Length header to number/undefined. */

@@ -6,0 +5,0 @@ export declare function parseContentLengthHeader(header: string | null | undefined): number | undefined;

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

import { Breadcrumb, TextEncoderInternal, XhrBreadcrumbData } from '@sentry/types';
import { Breadcrumb, XhrBreadcrumbData } from '@sentry/types';
import { NetworkMetaWarning, ReplayContainer, ReplayNetworkOptions, XhrHint } from '../../types';

@@ -19,5 +19,3 @@ /**

data: XhrBreadcrumbData;
}, hint: Partial<XhrHint>, options: {
textEncoder: TextEncoderInternal;
}): void;
}, hint: Partial<XhrHint>): void;
/**

@@ -24,0 +22,0 @@ * Get the string representation of the XHR response.

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

import { IntegrationIndex, Scope } from '@sentry/core';
import { Client, ReplayEvent } from '@sentry/types';
import { IntegrationIndex } from '@sentry/core';
import { Client, ReplayEvent, Scope } from '@sentry/types';
/**

@@ -4,0 +4,0 @@ * Prepare a replay event & enrich it with the SDK metadata.

@@ -6,3 +6,3 @@ import type { Event, EventHint } from '@sentry/types';

*/
export declare function handleGlobalEventListener(replay: ReplayContainer, includeAfterSendEventHandling?: boolean): (event: Event, hint: EventHint) => Event | null;
export declare function handleGlobalEventListener(replay: ReplayContainer): (event: Event, hint: EventHint) => Event | null;
//# sourceMappingURL=handleGlobalEvent.d.ts.map

@@ -1,6 +0,5 @@

import type { Breadcrumb, BreadcrumbHint, TextEncoderInternal } from '@sentry/types';
import type { Breadcrumb, BreadcrumbHint } from '@sentry/types';
import type { ReplayContainer, ReplayNetworkOptions } from '../types';
interface ExtendedNetworkBreadcrumbsOptions extends ReplayNetworkOptions {
replay: ReplayContainer;
textEncoder: TextEncoderInternal;
}

@@ -7,0 +6,0 @@ /**

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

import type { Breadcrumb, FetchBreadcrumbData, TextEncoderInternal } from '@sentry/types';
import type { Breadcrumb, FetchBreadcrumbData } from '@sentry/types';
import type { FetchHint, ReplayContainer, ReplayNetworkOptions, ReplayNetworkRequestOrResponse } from '../../types';

@@ -10,3 +10,2 @@ /**

}, hint: Partial<FetchHint>, options: ReplayNetworkOptions & {
textEncoder: TextEncoderInternal;
replay: ReplayContainer;

@@ -21,9 +20,5 @@ }): Promise<void>;

data: FetchBreadcrumbData;
}, hint: Partial<FetchHint>, options: {
textEncoder: TextEncoderInternal;
}): void;
}, hint: Partial<FetchHint>): void;
/** Exported only for tests. */
export declare function _getResponseInfo(captureDetails: boolean, { networkCaptureBodies, textEncoder, networkResponseHeaders, }: Pick<ReplayNetworkOptions, 'networkCaptureBodies' | 'networkResponseHeaders'> & {
textEncoder: TextEncoderInternal;
}, response: Response | undefined, responseBodySize?: number): Promise<ReplayNetworkRequestOrResponse | undefined>;
export declare function _getResponseInfo(captureDetails: boolean, { networkCaptureBodies, networkResponseHeaders, }: Pick<ReplayNetworkOptions, 'networkCaptureBodies' | 'networkResponseHeaders'>, response: Response | undefined, responseBodySize?: number): Promise<ReplayNetworkRequestOrResponse | undefined>;
//# sourceMappingURL=fetchUtils.d.ts.map

@@ -1,5 +0,4 @@

import type { TextEncoderInternal } from '@sentry/types';
import type { NetworkMetaWarning, NetworkRequestData, ReplayNetworkRequestData, ReplayNetworkRequestOrResponse, ReplayPerformanceEntry } from '../../types';
/** Get the size of a body. */
export declare function getBodySize(body: RequestInit['body'], textEncoder: TextEncoder | TextEncoderInternal): number | undefined;
export declare function getBodySize(body: RequestInit['body']): number | undefined;
/** Convert a Content-Length header to number/undefined. */

@@ -6,0 +5,0 @@ export declare function parseContentLengthHeader(header: string | null | undefined): number | undefined;

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

import type { Breadcrumb, TextEncoderInternal, XhrBreadcrumbData } from '@sentry/types';
import type { Breadcrumb, XhrBreadcrumbData } from '@sentry/types';
import type { NetworkMetaWarning, ReplayContainer, ReplayNetworkOptions, XhrHint } from '../../types';

@@ -19,5 +19,3 @@ /**

data: XhrBreadcrumbData;
}, hint: Partial<XhrHint>, options: {
textEncoder: TextEncoderInternal;
}): void;
}, hint: Partial<XhrHint>): void;
/**

@@ -24,0 +22,0 @@ * Get the string representation of the XHR response.

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

import type { IntegrationIndex, Scope } from '@sentry/core';
import type { Client, ReplayEvent } from '@sentry/types';
import type { IntegrationIndex } from '@sentry/core';
import type { Client, ReplayEvent, Scope } from '@sentry/types';
/**

@@ -4,0 +4,0 @@ * Prepare a replay event & enrich it with the SDK metadata.

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

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