@wxt-dev/browser 0.0.321 → 0.0.322

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wxt-dev/browser",
3
3
  "description": "Provides a cross-browser API for using extension APIs and types based on @types/chrome",
4
- "version": "0.0.321",
4
+ "version": "0.0.322",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
7
7
  "types": "src/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "src"
20
20
  ],
21
21
  "devDependencies": {
22
- "@types/chrome": "0.0.321",
22
+ "@types/chrome": "0.0.322",
23
23
  "fs-extra": "^11.3.0",
24
24
  "nano-spawn": "^0.2.0",
25
25
  "tsx": "4.19.4",
@@ -2988,9 +2988,10 @@ export namespace Browser {
2988
2988
  * Specifies the function to be called when the user clicks a resource link in the Developer Tools window. To unset the handler, either call the method with no parameters or pass null as the parameter.
2989
2989
  * @param callback A function that is called when the user clicks on a valid resource link in Developer Tools window. Note that if the user clicks an invalid URL or an XHR, this function is not called.
2990
2990
  * Parameter resource: A devtools.inspectedWindow.Resource object for the resource that was clicked.
2991
+ * Parameter lineNumber: Specifies the line number within the resource that was clicked.
2991
2992
  */
2992
2993
  export function setOpenResourceHandler(
2993
- callback?: (resource: Browser.devtools.inspectedWindow.Resource) => void,
2994
+ callback?: (resource: Browser.devtools.inspectedWindow.Resource, lineNumber: number) => void,
2994
2995
  ): void;
2995
2996
  /**
2996
2997
  * @since Chrome 38