Skip to content

Commit 7850a75

Browse files
committed
Release 1.1.2
1 parent a0d8258 commit 7850a75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rrweb-snapshot",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
55
"scripts": {
66
"prepare": "npm run prepack",

typings/snapshot.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { serializedNodeWithId, INode, idNodeMap, MaskInputOptions, MaskTextFn, SlimDOMOptions } from './types';
1+
import { serializedNodeWithId, INode, idNodeMap, MaskInputOptions, SlimDOMOptions, MaskTextFn } from './types';
22
export declare const IGNORED_NODE = -2;
33
export declare function absoluteToStylesheet(cssText: string | null, href: string): string;
44
export declare function absoluteToDoc(doc: Document, attributeValue: string): string;
@@ -15,7 +15,7 @@ export declare function serializeNodeWithId(n: Node | INode, options: {
1515
skipChild: boolean;
1616
inlineStylesheet: boolean;
1717
maskInputOptions?: MaskInputOptions;
18-
maskTextFn?: MaskTextFn;
18+
maskTextFn: MaskTextFn | undefined;
1919
slimDOMOptions: SlimDOMOptions;
2020
recordCanvas?: boolean;
2121
preserveWhiteSpace?: boolean;

0 commit comments

Comments
 (0)