@betterbugs/rrweb 2.0.0-alpha.19 → 2.0.0-alpha.21

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/rrweb.d.cts CHANGED
@@ -68,7 +68,7 @@ export declare const freezePage: () => void;
68
68
 
69
69
  declare function getBaseDimension(node: Node, rootIframe: Node): DocumentDimension;
70
70
 
71
- declare function getNestedRule(rules: CSSRuleList, position: number[]): CSSGroupingRule;
71
+ declare function getNestedRule(rules: CSSRuleList, position: number[]): CSSGroupingRule | null;
72
72
 
73
73
  declare function getPositionsAndIndex(nestedIndex: number[]): {
74
74
  positions: number[];
package/dist/rrweb.d.ts CHANGED
@@ -68,7 +68,7 @@ export declare const freezePage: () => void;
68
68
 
69
69
  declare function getBaseDimension(node: Node, rootIframe: Node): DocumentDimension;
70
70
 
71
- declare function getNestedRule(rules: CSSRuleList, position: number[]): CSSGroupingRule;
71
+ declare function getNestedRule(rules: CSSRuleList, position: number[]): CSSGroupingRule | null;
72
72
 
73
73
  declare function getPositionsAndIndex(nestedIndex: number[]): {
74
74
  positions: number[];