@webability/core 1.10.0 → 1.11.0

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/dom.d.cts CHANGED
@@ -1,4 +1,7 @@
1
- import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-fjs6XhzQ.cjs';
1
+ import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-jXnoW_NT.cjs';
2
+
3
+ /** Installs the detector helper globals onto `g` (default: globalThis). Idempotent. */
4
+ declare function installDomKernel(g?: any): void;
2
5
 
3
6
  /**
4
7
  * In-DOM scan entry — runs the full detector engine directly against a live
@@ -52,4 +55,4 @@ declare function createDomPage(win: Window & typeof globalThis): PageLike;
52
55
  /** Runs the full WebAbility scan against the current document. */
53
56
  declare function scanDocument(options?: DomScanOptions): Promise<ScanResult>;
54
57
 
55
- export { type DomScanOptions, createDomPage, scanDocument };
58
+ export { type DomScanOptions, createDomPage, installDomKernel, scanDocument };
package/dist/dom.d.ts CHANGED
@@ -1,4 +1,7 @@
1
- import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-fjs6XhzQ.js';
1
+ import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-jXnoW_NT.js';
2
+
3
+ /** Installs the detector helper globals onto `g` (default: globalThis). Idempotent. */
4
+ declare function installDomKernel(g?: any): void;
2
5
 
3
6
  /**
4
7
  * In-DOM scan entry — runs the full detector engine directly against a live
@@ -52,4 +55,4 @@ declare function createDomPage(win: Window & typeof globalThis): PageLike;
52
55
  /** Runs the full WebAbility scan against the current document. */
53
56
  declare function scanDocument(options?: DomScanOptions): Promise<ScanResult>;
54
57
 
55
- export { type DomScanOptions, createDomPage, scanDocument };
58
+ export { type DomScanOptions, createDomPage, installDomKernel, scanDocument };