add keepIframeSrcFn option (#592)

* rename allowIframe to keepIframeSrcFn

* update rrweb-snapshot to 1.1.5
This commit is contained in:
bachmanity1
2021-06-30 12:51:27 +09:00
committed by GitHub
parent b96e9e3632
commit dee0457ffe
4 changed files with 8 additions and 1 deletions

2
typings/types.d.ts vendored
View File

@@ -147,6 +147,7 @@ export declare type recordOptions<T> = {
collectFonts?: boolean;
plugins?: RecordPlugin[];
mousemoveWait?: number;
keepIframeSrcFn?: KeepIframeSrcFn;
};
export declare type observerParam = {
mutationCb: mutationCallBack;
@@ -417,4 +418,5 @@ export declare type MaskTextFn = (text: string) => string;
export declare type ElementState = {
scroll?: [number, number];
};
export declare type KeepIframeSrcFn = (src: string) => boolean;
export {};