@wxt-dev/browser 0.0.315 → 0.0.316
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 +2 -2
- package/src/gen/index.d.ts +22 -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.0.
|
|
4
|
+
"version": "0.0.316",
|
|
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.
|
|
22
|
+
"@types/chrome": "0.0.316",
|
|
23
23
|
"fs-extra": "^11.3.0",
|
|
24
24
|
"nano-spawn": "^0.2.0",
|
|
25
25
|
"tsx": "4.19.3",
|
package/src/gen/index.d.ts
CHANGED
|
@@ -8958,7 +8958,7 @@ export namespace Browser {
|
|
|
8958
8958
|
default_popup?: string | undefined;
|
|
8959
8959
|
}
|
|
8960
8960
|
|
|
8961
|
-
|
|
8961
|
+
/** Source: https://developer.Browser.com/docs/extensions/reference/permissions-list */
|
|
8962
8962
|
export type ManifestPermissions =
|
|
8963
8963
|
| "accessibilityFeatures.modify"
|
|
8964
8964
|
| "accessibilityFeatures.read"
|
|
@@ -9015,11 +9015,11 @@ export namespace Browser {
|
|
|
9015
9015
|
| "privacy"
|
|
9016
9016
|
| "processes"
|
|
9017
9017
|
| "proxy"
|
|
9018
|
+
| "readingList"
|
|
9018
9019
|
| "scripting"
|
|
9019
9020
|
| "search"
|
|
9020
9021
|
| "sessions"
|
|
9021
9022
|
| "sidePanel"
|
|
9022
|
-
| "signedInDevices"
|
|
9023
9023
|
| "storage"
|
|
9024
9024
|
| "system.cpu"
|
|
9025
9025
|
| "system.display"
|
|
@@ -9042,6 +9042,23 @@ export namespace Browser {
|
|
|
9042
9042
|
| "webRequestBlocking"
|
|
9043
9043
|
| "webRequestAuthProvider";
|
|
9044
9044
|
|
|
9045
|
+
/** Source : https://developer.Browser.com/docs/extensions/reference/api/permissions */
|
|
9046
|
+
export type ManifestOptionalPermissions = Exclude<
|
|
9047
|
+
ManifestPermissions,
|
|
9048
|
+
| "debugger"
|
|
9049
|
+
| "declarativeNetRequest"
|
|
9050
|
+
| "devtools"
|
|
9051
|
+
| "experimental"
|
|
9052
|
+
| "fontSettings"
|
|
9053
|
+
| "geolocation"
|
|
9054
|
+
| "proxy"
|
|
9055
|
+
| "tts"
|
|
9056
|
+
| "ttsEngine"
|
|
9057
|
+
| "unlimitedStorage"
|
|
9058
|
+
| "wallpaper"
|
|
9059
|
+
| "webAuthenticationProxy"
|
|
9060
|
+
>;
|
|
9061
|
+
|
|
9045
9062
|
export interface SearchProvider {
|
|
9046
9063
|
name?: string | undefined;
|
|
9047
9064
|
keyword?: string | undefined;
|
|
@@ -9261,8 +9278,8 @@ export namespace Browser {
|
|
|
9261
9278
|
}
|
|
9262
9279
|
| undefined;
|
|
9263
9280
|
content_security_policy?: string | undefined;
|
|
9264
|
-
optional_permissions?: string[] | undefined;
|
|
9265
|
-
permissions?: string[] | undefined;
|
|
9281
|
+
optional_permissions?: ManifestOptionalPermissions[] | string[] | undefined;
|
|
9282
|
+
permissions?: ManifestPermissions[] | string[] | undefined;
|
|
9266
9283
|
web_accessible_resources?: string[] | undefined;
|
|
9267
9284
|
}
|
|
9268
9285
|
|
|
@@ -9297,7 +9314,7 @@ export namespace Browser {
|
|
|
9297
9314
|
sandbox?: string;
|
|
9298
9315
|
};
|
|
9299
9316
|
host_permissions?: string[] | undefined;
|
|
9300
|
-
optional_permissions?:
|
|
9317
|
+
optional_permissions?: ManifestOptionalPermissions[] | undefined;
|
|
9301
9318
|
optional_host_permissions?: string[] | undefined;
|
|
9302
9319
|
permissions?: ManifestPermissions[] | undefined;
|
|
9303
9320
|
web_accessible_resources?: Array<{ resources: string[]; matches: string[] }> | undefined;
|