@sentry/replay 10.69.0 → 11.0.0-alpha.0
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/build/npm/cjs/index.js +5 -8
- package/build/npm/cjs/index.js.map +1 -1
- package/build/npm/esm/index.js +5 -8
- package/build/npm/esm/index.js.map +1 -1
- package/build/npm/esm/package.json +1 -1
- package/build/npm/types/coreHandlers/handleClick.d.ts.map +1 -1
- package/build/npm/types/coreHandlers/handleDom.d.ts.map +1 -1
- package/build/npm/types/coreHandlers/util/addFeedbackBreadcrumb.d.ts.map +1 -1
- package/build/npm/types/eventBuffer/EventBufferArray.d.ts.map +1 -1
- package/build/npm/types/eventBuffer/EventBufferCompressionWorker.d.ts.map +1 -1
- package/build/npm/types/eventBuffer/EventBufferProxy.d.ts.map +1 -1
- package/build/npm/types/eventBuffer/WorkerHandler.d.ts.map +1 -1
- package/build/npm/types/eventBuffer/error.d.ts.map +1 -1
- package/build/npm/types/integration.d.ts.map +1 -1
- package/build/npm/types/replay.d.ts.map +1 -1
- package/build/npm/types/util/createPerformanceEntries.d.ts.map +1 -1
- package/build/npm/types/util/sendReplayRequest.d.ts.map +1 -1
- package/package.json +8 -17
- package/build/npm/types-ts3.8/constants.d.ts +0 -28
- package/build/npm/types-ts3.8/coreHandlers/handleAfterSendEvent.d.ts +0 -9
- package/build/npm/types-ts3.8/coreHandlers/handleBeforeSendEvent.d.ts +0 -9
- package/build/npm/types-ts3.8/coreHandlers/handleBreadcrumbs.d.ts +0 -14
- package/build/npm/types-ts3.8/coreHandlers/handleClick.d.ts +0 -47
- package/build/npm/types-ts3.8/coreHandlers/handleDom.d.ts +0 -11
- package/build/npm/types-ts3.8/coreHandlers/handleGlobalEvent.d.ts +0 -7
- package/build/npm/types-ts3.8/coreHandlers/handleHistory.d.ts +0 -7
- package/build/npm/types-ts3.8/coreHandlers/handleKeyboardEvent.d.ts +0 -7
- package/build/npm/types-ts3.8/coreHandlers/handleNetworkBreadcrumbs.d.ts +0 -16
- package/build/npm/types-ts3.8/coreHandlers/handleProcessSegmentSpan.d.ts +0 -6
- package/build/npm/types-ts3.8/coreHandlers/performanceObserver.d.ts +0 -7
- package/build/npm/types-ts3.8/coreHandlers/util/addBreadcrumbEvent.d.ts +0 -7
- package/build/npm/types-ts3.8/coreHandlers/util/addFeedbackBreadcrumb.d.ts +0 -7
- package/build/npm/types-ts3.8/coreHandlers/util/addNetworkBreadcrumb.d.ts +0 -4
- package/build/npm/types-ts3.8/coreHandlers/util/addSegmentDetailsToContext.d.ts +0 -3
- package/build/npm/types-ts3.8/coreHandlers/util/domUtils.d.ts +0 -15
- package/build/npm/types-ts3.8/coreHandlers/util/fetchUtils.d.ts +0 -23
- package/build/npm/types-ts3.8/coreHandlers/util/getAttributesToRecord.d.ts +0 -5
- package/build/npm/types-ts3.8/coreHandlers/util/networkUtils.d.ts +0 -21
- package/build/npm/types-ts3.8/coreHandlers/util/onWindowOpen.d.ts +0 -8
- package/build/npm/types-ts3.8/coreHandlers/util/shouldSampleForBufferEvent.d.ts +0 -9
- package/build/npm/types-ts3.8/coreHandlers/util/xhrUtils.d.ts +0 -36
- package/build/npm/types-ts3.8/debug-build.d.ts +0 -7
- package/build/npm/types-ts3.8/eventBuffer/EventBufferArray.d.ts +0 -30
- package/build/npm/types-ts3.8/eventBuffer/EventBufferCompressionWorker.d.ts +0 -52
- package/build/npm/types-ts3.8/eventBuffer/EventBufferProxy.d.ts +0 -45
- package/build/npm/types-ts3.8/eventBuffer/WorkerHandler.d.ts +0 -29
- package/build/npm/types-ts3.8/eventBuffer/error.d.ts +0 -5
- package/build/npm/types-ts3.8/eventBuffer/index.d.ts +0 -11
- package/build/npm/types-ts3.8/index.d.ts +0 -4
- package/build/npm/types-ts3.8/integration.d.ts +0 -117
- package/build/npm/types-ts3.8/replay.d.ts +0 -320
- package/build/npm/types-ts3.8/session/Session.d.ts +0 -8
- package/build/npm/types-ts3.8/session/clearSession.d.ts +0 -6
- package/build/npm/types-ts3.8/session/createSession.d.ts +0 -14
- package/build/npm/types-ts3.8/session/fetchSession.d.ts +0 -6
- package/build/npm/types-ts3.8/session/loadOrCreateSession.d.ts +0 -11
- package/build/npm/types-ts3.8/session/saveSession.d.ts +0 -6
- package/build/npm/types-ts3.8/session/shouldRefreshSession.d.ts +0 -7
- package/build/npm/types-ts3.8/types/index.d.ts +0 -6
- package/build/npm/types-ts3.8/types/performance.d.ts +0 -136
- package/build/npm/types-ts3.8/types/replay.d.ts +0 -487
- package/build/npm/types-ts3.8/types/replayFrame.d.ts +0 -188
- package/build/npm/types-ts3.8/types/request.d.ts +0 -15
- package/build/npm/types-ts3.8/types/rrweb.d.ts +0 -64
- package/build/npm/types-ts3.8/util/addEvent.d.ts +0 -20
- package/build/npm/types-ts3.8/util/addGlobalListeners.d.ts +0 -6
- package/build/npm/types-ts3.8/util/addMemoryEntry.d.ts +0 -7
- package/build/npm/types-ts3.8/util/createBreadcrumb.d.ts +0 -6
- package/build/npm/types-ts3.8/util/createPerformanceEntries.d.ts +0 -52
- package/build/npm/types-ts3.8/util/createPerformanceSpans.d.ts +0 -6
- package/build/npm/types-ts3.8/util/createReplayEnvelope.d.ts +0 -7
- package/build/npm/types-ts3.8/util/debounce.d.ts +0 -30
- package/build/npm/types-ts3.8/util/eventUtils.d.ts +0 -10
- package/build/npm/types-ts3.8/util/getPrivacyOptions.d.ts +0 -17
- package/build/npm/types-ts3.8/util/getRecordingSamplingOptions.d.ts +0 -10
- package/build/npm/types-ts3.8/util/getReplay.d.ts +0 -6
- package/build/npm/types-ts3.8/util/handleRecordingEmit.d.ts +0 -15
- package/build/npm/types-ts3.8/util/hasSessionStorage.d.ts +0 -3
- package/build/npm/types-ts3.8/util/isExpired.d.ts +0 -6
- package/build/npm/types-ts3.8/util/isRrwebError.d.ts +0 -6
- package/build/npm/types-ts3.8/util/isSampled.d.ts +0 -8
- package/build/npm/types-ts3.8/util/isSessionExpired.d.ts +0 -10
- package/build/npm/types-ts3.8/util/logger.d.ts +0 -24
- package/build/npm/types-ts3.8/util/maskAttribute.d.ts +0 -17
- package/build/npm/types-ts3.8/util/prepareRecordingData.d.ts +0 -9
- package/build/npm/types-ts3.8/util/prepareReplayEvent.d.ts +0 -11
- package/build/npm/types-ts3.8/util/resetReplayIdOnDynamicSamplingContext.d.ts +0 -14
- package/build/npm/types-ts3.8/util/rrweb.d.ts +0 -7
- package/build/npm/types-ts3.8/util/sendReplay.d.ts +0 -9
- package/build/npm/types-ts3.8/util/sendReplayRequest.d.ts +0 -27
- package/build/npm/types-ts3.8/util/shouldFilterRequest.d.ts +0 -7
- package/build/npm/types-ts3.8/util/throttle.d.ts +0 -12
- package/build/npm/types-ts3.8/util/timestamp.d.ts +0 -9
- package/build/npm/types-ts3.8/worker-bundler.d.ts +0 -2
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const THROTTLED = "__THROTTLED";
|
|
2
|
-
export declare const SKIPPED = "__SKIPPED";
|
|
3
|
-
/**
|
|
4
|
-
* Create a throttled function off a given function.
|
|
5
|
-
* When calling the throttled function, it will call the original function only
|
|
6
|
-
* if it hasn't been called more than `maxCount` times in the last `durationSeconds`.
|
|
7
|
-
*
|
|
8
|
-
* Returns `THROTTLED` if throttled for the first time, after that `SKIPPED`,
|
|
9
|
-
* or else the return value of the original function.
|
|
10
|
-
*/
|
|
11
|
-
export declare function throttle<T extends (...rest: any[]) => any>(fn: T, maxCount: number, durationSeconds: number): (...rest: Parameters<T>) => ReturnType<T> | typeof THROTTLED | typeof SKIPPED;
|
|
12
|
-
//# sourceMappingURL=throttle.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a timestamp to ms, if it was in s, or keeps it as ms.
|
|
3
|
-
*/
|
|
4
|
-
export declare function timestampToMs(timestamp: number): number;
|
|
5
|
-
/**
|
|
6
|
-
* Converts a timestamp to s, if it was in ms, or keeps it as s.
|
|
7
|
-
*/
|
|
8
|
-
export declare function timestampToS(timestamp: number): number;
|
|
9
|
-
//# sourceMappingURL=timestamp.d.ts.map
|