diff --git a/bun.lock b/bun.lock index 51e0df6a..bf722524 100644 --- a/bun.lock +++ b/bun.lock @@ -83,13 +83,13 @@ }, "packages/browser": { "name": "@wxt-dev/browser", - "version": "0.1.42", + "version": "0.1.43", "dependencies": { "@types/filesystem": "*", "@types/har-format": "*", }, "devDependencies": { - "@types/chrome": "0.1.42", + "@types/chrome": "0.1.43", "@types/node": "catalog:", "nano-spawn": "catalog:", "typescript": "catalog:", @@ -1061,7 +1061,7 @@ "@types/chai": ["@types/chai@5.2.3", "", { "dependencies": { "@types/deep-eql": "*", "assertion-error": "^2.0.1" } }, "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA=="], - "@types/chrome": ["@types/chrome@0.1.42", "", { "dependencies": { "@types/filesystem": "*", "@types/har-format": "*" } }, "sha512-tdT2roFqGecZZDjA9fUEAINb2STxSPifHMDvY6EfRjNRCjdrs/0FwKt5RCIA9MKMd1arAYZZL3nwEkp6ZLZu2w=="], + "@types/chrome": ["@types/chrome@0.1.43", "", { "dependencies": { "@types/filesystem": "*", "@types/har-format": "*" } }, "sha512-ukH/HhmR6ht+UTX3PLUWJxgJ/RQcK2Foj4lBzsF24SIWsXgqhGuXqjd8FFuwioPP7d/JUKLM4g8GZxw3F4HTcA=="], "@types/debug": ["@types/debug@4.1.12", "", { "dependencies": { "@types/ms": "*" } }, "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ=="], diff --git a/packages/browser/package.json b/packages/browser/package.json index b5ee059c..233133fc 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,7 +1,7 @@ { "name": "@wxt-dev/browser", "description": "Provides a cross-browser API for using extension APIs and types based on @types/chrome", - "version": "0.1.42", + "version": "0.1.43", "type": "module", "main": "src/index.mjs", "types": "src/index.d.ts", @@ -25,7 +25,7 @@ "src" ], "devDependencies": { - "@types/chrome": "0.1.42", + "@types/chrome": "0.1.43", "@types/node": "catalog:", "nano-spawn": "catalog:", "typescript": "catalog:", diff --git a/packages/browser/src/gen/index.d.ts b/packages/browser/src/gen/index.d.ts index 94b99850..230eaef8 100644 --- a/packages/browser/src/gen/index.d.ts +++ b/packages/browser/src/gen/index.d.ts @@ -1727,7 +1727,7 @@ export namespace Browser { * * `allow`: Allow sites to use advanced clipboard capabilities, * - * `block`: Don't allow sites to use advanced clipboard capabilties, + * `block`: Don't allow sites to use advanced clipboard capabilities, * * `ask`: Ask when a site wants to use advanced clipboard capabilities. * @@ -1878,6 +1878,8 @@ export namespace Browser { BROWSER_ACTION = "browser_action", PAGE_ACTION = "page_action", ACTION = "action", + /** @since Chrome 149 */ + TAB = "tab", } /** @@ -2587,7 +2589,7 @@ export namespace Browser { interface EditResponseCookie { /** Filter for cookies that will be modified. All empty entries are ignored. */ filter: ResponseCookie; - /** Attributes that shall be overridden in cookies that machted the filter. Attributes that are set to an empty string are removed. */ + /** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */ modification: ResponseCookie; } @@ -2605,7 +2607,7 @@ export namespace Browser { interface EditRequestCookie { /** Filter for cookies that will be modified. All empty entries are ignored. */ filter: RequestCookie; - /** Attributes that shall be overridden in cookies that machted the filter. Attributes that are set to an empty string are removed. */ + /** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */ modification: RequestCookie; } @@ -4547,7 +4549,7 @@ export namespace Browser { const inIncognitoContext: boolean; /** - * Set for the lifetime of a callback if an ansychronous extension api has resulted in an error. If no error has occurred lastError will be `undefined`. + * 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`. * @deprecated since Chrome 58. Please use {@link runtime.lastError} */ const lastError: runtime.LastError | undefined; @@ -8914,6 +8916,7 @@ export namespace Browser { /** * The native client architecture. This may be different from arch on some platforms. * @since Chrome 44 + * @deprecated since Chrome 149. This enum is deprecated following complete removal of Native Client. */ enum PlatformNaclArch { /** Specifies the native client architecture as arm. */ @@ -9074,7 +9077,10 @@ export namespace Browser { os: `${PlatformOs}`; /** The machine's processor architecture. */ arch: `${PlatformArch}`; - /** The native client architecture. This may be different from arch on some platforms. */ + /** + * The native client architecture. This may be different from arch on some platforms. + * @deprecated since Chrome 149. This attribute is deprecated following complete removal of Native Client. + */ nacl_arch?: `${PlatformNaclArch}`; }