fixdog 0.0.8 → 0.0.9

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.
@@ -6,10 +6,11 @@ import { Inspector } from "./inspector";
6
6
  import { InspectorOptions } from "./types";
7
7
  /**
8
8
  * Initialize the fixdog inspector
9
+ * Automatically waits for DOM ready if called before document.body exists
9
10
  * @param options - Configuration options
10
- * @returns Inspector instance or null if not in dev mode
11
+ * @returns Inspector instance, null if not in dev mode, or undefined if waiting for DOM
11
12
  */
12
- export declare function init(options?: Partial<InspectorOptions>): Inspector | null;
13
+ export declare function init(options?: Partial<InspectorOptions>): Inspector | null | undefined;
13
14
  /**
14
15
  * Enable debug logging for troubleshooting source resolution
15
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fixdog",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Option+Click any React component to see its source location",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",