@sentry/replay 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +5 -22
- package/dist/index.js +5 -22
- package/dist/index.js.map +1 -1
- package/dist/{src → types/src}/api/captureReplay.d.ts +0 -0
- package/dist/{src → types/src}/api/captureReplayUpdate.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/getBreadcrumbHandler.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/getSpanHandler.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/handleDom.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/handleFetch.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/handleHistory.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/handleScope.d.ts +0 -0
- package/dist/{src → types/src}/coreHandlers/handleXhr.d.ts +0 -0
- package/dist/{src → types/src}/createPerformanceEntry.d.ts +0 -0
- package/dist/{src → types/src}/eventBuffer.d.ts +0 -0
- package/dist/{src → types/src}/flags.d.ts +0 -0
- package/dist/{src → types/src}/index.d.ts +0 -4
- package/dist/{src → types/src}/session/Session.d.ts +0 -0
- package/dist/{src → types/src}/session/constants.d.ts +0 -0
- package/dist/{src → types/src}/session/createSession.d.ts +0 -0
- package/dist/{src → types/src}/session/fetchSession.d.ts +0 -0
- package/dist/{src → types/src}/session/getSession.d.ts +0 -0
- package/dist/{src → types/src}/session/index.d.ts +0 -0
- package/dist/{src → types/src}/session/saveSession.d.ts +0 -0
- package/dist/{src → types/src}/types.d.ts +0 -0
- package/dist/{src → types/src}/util/createBreadcrumb.d.ts +0 -0
- package/dist/{src → types/src}/util/createPayload.d.ts +0 -0
- package/dist/{src → types/src}/util/isExpired.d.ts +0 -0
- package/dist/{src → types/src}/util/isIngestHost.d.ts +0 -0
- package/dist/{src → types/src}/util/isSampled.d.ts +0 -0
- package/dist/{src → types/src}/util/isSessionExpired.d.ts +0 -0
- package/dist/{src → types/src}/util/logger.d.ts +0 -0
- package/package.json +1 -1
- package/dist/jest.config.d.ts +0 -3
- package/dist/jest.setup.d.ts +0 -10
- package/dist/src/coreHandlers/handleFetch.test.d.ts +0 -1
- package/dist/src/coreHandlers/handleScope-unit.test.d.ts +0 -1
- package/dist/src/coreHandlers/handleScope.test.d.ts +0 -1
- package/dist/src/createPerformanceEntry.test.d.ts +0 -1
- package/dist/src/eventBuffer.test.d.ts +0 -1
- package/dist/src/index-captureOnlyOnError.test.d.ts +0 -1
- package/dist/src/index-noSticky.test.d.ts +0 -1
- package/dist/src/index-sampling.test.d.ts +0 -1
- package/dist/src/index.test.d.ts +0 -1
- package/dist/src/session/Session.test.d.ts +0 -1
- package/dist/src/session/createSession.test.d.ts +0 -1
- package/dist/src/session/fetchSession.test.d.ts +0 -1
- package/dist/src/session/getSession.test.d.ts +0 -1
- package/dist/src/session/saveSession.test.d.ts +0 -1
- package/dist/src/util/isExpired.test.d.ts +0 -1
- package/dist/src/util/isSampled.test.d.ts +0 -1
- package/dist/src/util/isSessionExpired.test.d.ts +0 -1
- package/dist/test/index.d.ts +0 -3
- package/dist/test/mocks/mockRrweb.d.ts +0 -15
- package/dist/test/mocks/mockSdk.d.ts +0 -11
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -138,10 +138,6 @@ export declare class SentryReplay implements Integration {
|
|
|
138
138
|
* Handle when page is focused
|
|
139
139
|
*/
|
|
140
140
|
handleWindowFocus: () => void;
|
|
141
|
-
/**
|
|
142
|
-
* Handle when page is closed
|
|
143
|
-
*/
|
|
144
|
-
handleWindowUnload: () => void;
|
|
145
141
|
/**
|
|
146
142
|
* Handler for Sentry Core SDK events.
|
|
147
143
|
*
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
package/dist/jest.config.d.ts
DELETED
package/dist/jest.setup.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
import { Session } from '@/session/Session';
|
|
3
|
-
declare global {
|
|
4
|
-
namespace jest {
|
|
5
|
-
interface Matchers<R> {
|
|
6
|
-
toHaveSentReplay(expected?: string | Uint8Array): CustomMatcherResult;
|
|
7
|
-
toHaveSameSession(expected: undefined | Session): CustomMatcherResult;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import 'jsdom-worker';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/index.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/test/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
import { RecordingEvent } from '@/types';
|
|
3
|
-
declare type RecordAdditionalProperties = {
|
|
4
|
-
takeFullSnapshot: jest.Mock;
|
|
5
|
-
addCustomEvent: () => void;
|
|
6
|
-
freezePage: () => void;
|
|
7
|
-
mirror: unknown;
|
|
8
|
-
_emitter: (event: RecordingEvent, ...args: any[]) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare type RecordMock = jest.MockedFunction<typeof rrweb.record> & RecordAdditionalProperties;
|
|
11
|
-
import * as rrweb from 'rrweb';
|
|
12
|
-
export declare function mockRrweb(): {
|
|
13
|
-
record: RecordMock;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BrowserOptions } from '@sentry/browser';
|
|
2
|
-
import { SentryReplay } from '@';
|
|
3
|
-
import { SentryReplayConfiguration } from '@/types';
|
|
4
|
-
interface MockSdkParams {
|
|
5
|
-
replayOptions?: SentryReplayConfiguration;
|
|
6
|
-
sentryOptions?: BrowserOptions;
|
|
7
|
-
}
|
|
8
|
-
export declare function mockSdk({ replayOptions, sentryOptions, }?: MockSdkParams): {
|
|
9
|
-
replay: SentryReplay;
|
|
10
|
-
};
|
|
11
|
-
export {};
|