@wxt-dev/browser 0.1.42 → 0.1.43
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 +5 -5
- package/src/gen/index.d.ts +11 -5
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.1.
|
|
4
|
+
"version": "0.1.43",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.mjs",
|
|
7
7
|
"types": "src/index.d.ts",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"src"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/chrome": "0.1.
|
|
29
|
-
"@types/node": "^20.
|
|
28
|
+
"@types/chrome": "0.1.43",
|
|
29
|
+
"@types/node": "^20.17.6",
|
|
30
30
|
"nano-spawn": "^2.0.0",
|
|
31
|
-
"typescript": "^
|
|
32
|
-
"vitest": "^4.
|
|
31
|
+
"typescript": "^6.0.3",
|
|
32
|
+
"vitest": "^4.1.5"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@types/filesystem": "*",
|
package/src/gen/index.d.ts
CHANGED
|
@@ -1727,7 +1727,7 @@ export namespace Browser {
|
|
|
1727
1727
|
*
|
|
1728
1728
|
* `allow`: Allow sites to use advanced clipboard capabilities,
|
|
1729
1729
|
*
|
|
1730
|
-
* `block`: Don't allow sites to use advanced clipboard
|
|
1730
|
+
* `block`: Don't allow sites to use advanced clipboard capabilities,
|
|
1731
1731
|
*
|
|
1732
1732
|
* `ask`: Ask when a site wants to use advanced clipboard capabilities.
|
|
1733
1733
|
*
|
|
@@ -1878,6 +1878,8 @@ export namespace Browser {
|
|
|
1878
1878
|
BROWSER_ACTION = "browser_action",
|
|
1879
1879
|
PAGE_ACTION = "page_action",
|
|
1880
1880
|
ACTION = "action",
|
|
1881
|
+
/** @since Chrome 149 */
|
|
1882
|
+
TAB = "tab",
|
|
1881
1883
|
}
|
|
1882
1884
|
|
|
1883
1885
|
/**
|
|
@@ -2587,7 +2589,7 @@ export namespace Browser {
|
|
|
2587
2589
|
interface EditResponseCookie {
|
|
2588
2590
|
/** Filter for cookies that will be modified. All empty entries are ignored. */
|
|
2589
2591
|
filter: ResponseCookie;
|
|
2590
|
-
/** Attributes that shall be overridden in cookies that
|
|
2592
|
+
/** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */
|
|
2591
2593
|
modification: ResponseCookie;
|
|
2592
2594
|
}
|
|
2593
2595
|
|
|
@@ -2605,7 +2607,7 @@ export namespace Browser {
|
|
|
2605
2607
|
interface EditRequestCookie {
|
|
2606
2608
|
/** Filter for cookies that will be modified. All empty entries are ignored. */
|
|
2607
2609
|
filter: RequestCookie;
|
|
2608
|
-
/** Attributes that shall be overridden in cookies that
|
|
2610
|
+
/** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */
|
|
2609
2611
|
modification: RequestCookie;
|
|
2610
2612
|
}
|
|
2611
2613
|
|
|
@@ -4547,7 +4549,7 @@ export namespace Browser {
|
|
|
4547
4549
|
const inIncognitoContext: boolean;
|
|
4548
4550
|
|
|
4549
4551
|
/**
|
|
4550
|
-
* Set for the lifetime of a callback if an
|
|
4552
|
+
* Set for the lifetime of a callback if an asynchronous extension api has resulted in an error. If no error has occurred lastError will be `undefined`.
|
|
4551
4553
|
* @deprecated since Chrome 58. Please use {@link runtime.lastError}
|
|
4552
4554
|
*/
|
|
4553
4555
|
const lastError: runtime.LastError | undefined;
|
|
@@ -8914,6 +8916,7 @@ export namespace Browser {
|
|
|
8914
8916
|
/**
|
|
8915
8917
|
* The native client architecture. This may be different from arch on some platforms.
|
|
8916
8918
|
* @since Chrome 44
|
|
8919
|
+
* @deprecated since Chrome 149. This enum is deprecated following complete removal of Native Client.
|
|
8917
8920
|
*/
|
|
8918
8921
|
enum PlatformNaclArch {
|
|
8919
8922
|
/** Specifies the native client architecture as arm. */
|
|
@@ -9074,7 +9077,10 @@ export namespace Browser {
|
|
|
9074
9077
|
os: `${PlatformOs}`;
|
|
9075
9078
|
/** The machine's processor architecture. */
|
|
9076
9079
|
arch: `${PlatformArch}`;
|
|
9077
|
-
/**
|
|
9080
|
+
/**
|
|
9081
|
+
* The native client architecture. This may be different from arch on some platforms.
|
|
9082
|
+
* @deprecated since Chrome 149. This attribute is deprecated following complete removal of Native Client.
|
|
9083
|
+
*/
|
|
9078
9084
|
nacl_arch?: `${PlatformNaclArch}`;
|
|
9079
9085
|
}
|
|
9080
9086
|
|