Release 0.7.7
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rrweb-snapshot",
|
||||
"version": "0.7.6",
|
||||
"version": "0.7.7",
|
||||
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
|
||||
"scripts": {
|
||||
"test": "cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
|
||||
|
||||
2
typings/snapshot.d.ts
vendored
2
typings/snapshot.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
import { serializedNodeWithId, idNodeMap } from './types';
|
||||
export declare function resetId(): void;
|
||||
export declare function absoluteToStylesheet(cssText: string, href: string): string;
|
||||
export declare function serializeNodeWithId(n: Node, doc: Document, map: idNodeMap, blockClass: string, skipChild?: boolean): serializedNodeWithId | null;
|
||||
export declare function serializeNodeWithId(n: Node, doc: Document, map: idNodeMap, blockClass: string | RegExp, skipChild?: boolean): serializedNodeWithId | null;
|
||||
declare function snapshot(n: Document, blockClass?: string): [serializedNodeWithId | null, idNodeMap];
|
||||
export default snapshot;
|
||||
|
||||
Reference in New Issue
Block a user