@highlight-run/rrweb 1.1.13 → 1.1.16
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.js +8149 -2
- package/dist/index.js.map +1 -1
- package/dist/replay/index.d.ts +1 -0
- package/dist/replay/machine.d.ts +5 -0
- package/dist/replay/timer.d.ts +1 -0
- package/dist/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index.js.LICENSE.txt +0 -14
- package/dist/record/stringify.d.ts +0 -2
- package/dist/stats.json +0 -1
package/dist/replay/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare class Replayer {
|
|
|
42
42
|
resume(timeOffset?: number): void;
|
|
43
43
|
startLive(baselineTime?: number): void;
|
|
44
44
|
addEvent(rawEvent: eventWithTime | string): void;
|
|
45
|
+
replaceEvents(events: eventWithTime[]): void;
|
|
45
46
|
enableInteract(): void;
|
|
46
47
|
disableInteract(): void;
|
|
47
48
|
resetCache(): void;
|
package/dist/replay/machine.d.ts
CHANGED
package/dist/replay/timer.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare class Timer {
|
|
|
8
8
|
constructor(actions: actionWithDelay[] | undefined, speed: number);
|
|
9
9
|
addAction(action: actionWithDelay): void;
|
|
10
10
|
addActions(actions: actionWithDelay[]): void;
|
|
11
|
+
replaceActions(actions: actionWithDelay[]): void;
|
|
11
12
|
start(): void;
|
|
12
13
|
clear(): void;
|
|
13
14
|
setSpeed(speed: number): void;
|
package/dist/utils.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare function patch(source: {
|
|
|
10
10
|
}, name: string, replacement: (...args: any[]) => any): () => void;
|
|
11
11
|
export declare function getWindowHeight(): number;
|
|
12
12
|
export declare function getWindowWidth(): number;
|
|
13
|
+
export declare const isCanvasNode: (node: Node | null) => boolean;
|
|
13
14
|
export declare function isBlocked(node: Node | null, blockClass: blockClass): boolean;
|
|
14
15
|
export declare function isIgnored(n: Node | INode): boolean;
|
|
15
16
|
export declare function isAncestorRemoved(target: INode, mirror: Mirror): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@highlight-run/rrweb",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.16",
|
|
4
4
|
"description": "record and replay the web",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register -r ignore-styles -r jsdom-global/register test/**.test.ts",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|