fix: Upgrade @wxt-dev/browser to latest @types/chrome version
This commit is contained in:
committed by
github-actions[bot]
parent
1aa88b1fb6
commit
587328f54c
@@ -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.0",
|
||||
"version": "0.1.1",
|
||||
"type": "module",
|
||||
"main": "src/index.mjs",
|
||||
"types": "src/index.d.ts",
|
||||
@@ -23,7 +23,7 @@
|
||||
"src"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/chrome": "0.1.0",
|
||||
"@types/chrome": "0.1.1",
|
||||
"fs-extra": "^11.3.0",
|
||||
"nano-spawn": "^0.2.0",
|
||||
"tsx": "4.19.4",
|
||||
|
||||
+4
-4
@@ -473,23 +473,23 @@ export namespace Browser {
|
||||
/**
|
||||
* Retrieves details about the specified alarm.
|
||||
*/
|
||||
export function get(callback: (alarm: Alarm) => void): void;
|
||||
export function get(callback: (alarm?: Alarm) => void): void;
|
||||
/**
|
||||
* Retrieves details about the specified alarm.
|
||||
* @return The `get` method provides its result via callback or returned as a `Promise` (MV3 only).
|
||||
*/
|
||||
export function get(): Promise<Alarm>;
|
||||
export function get(): Promise<Alarm | undefined>;
|
||||
/**
|
||||
* Retrieves details about the specified alarm.
|
||||
* @param name The name of the alarm to get. Defaults to the empty string.
|
||||
*/
|
||||
export function get(name: string, callback: (alarm: Alarm) => void): void;
|
||||
export function get(name: string, callback: (alarm?: Alarm) => void): void;
|
||||
/**
|
||||
* Retrieves details about the specified alarm.
|
||||
* @param name The name of the alarm to get. Defaults to the empty string.
|
||||
* @return The `get` method provides its result via callback or returned as a `Promise` (MV3 only).
|
||||
*/
|
||||
export function get(name: string): Promise<Alarm>;
|
||||
export function get(name: string): Promise<Alarm | undefined>;
|
||||
|
||||
/** Fired when an alarm has elapsed. Useful for event pages. */
|
||||
export var onAlarm: AlarmEvent;
|
||||
|
||||
Generated
+5
-5
@@ -170,8 +170,8 @@ importers:
|
||||
version: 1.2.15
|
||||
devDependencies:
|
||||
'@types/chrome':
|
||||
specifier: 0.1.0
|
||||
version: 0.1.0
|
||||
specifier: 0.1.1
|
||||
version: 0.1.1
|
||||
fs-extra:
|
||||
specifier: ^11.3.0
|
||||
version: 11.3.0
|
||||
@@ -1966,8 +1966,8 @@ packages:
|
||||
'@types/chai@5.2.2':
|
||||
resolution: {integrity: sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==}
|
||||
|
||||
'@types/chrome@0.1.0':
|
||||
resolution: {integrity: sha512-Mq712O2Ykw+EVAC5D1wt4Ot4v2rfp7nDosmxhIMKULJAa8o7ELeO88rWzRasaB+AYnqayzfX/XSWaDKBfk1rYQ==}
|
||||
'@types/chrome@0.1.1':
|
||||
resolution: {integrity: sha512-MLtFW++/n+OPQIaf5hA6pmURd3Zn+OxuvASyf2mYh8B8pHDpbhHjwlVHMw3H/aJC9Z7Z3itO0AFaZeegrGk0yA==}
|
||||
|
||||
'@types/conventional-commits-parser@5.0.1':
|
||||
resolution: {integrity: sha512-7uz5EHdzz2TqoMfV7ee61Egf5y6NkcO4FB/1iCCQnbeiI1F3xzv3vK5dBCXUCLQgGYS+mUeigK1iKQzvED+QnQ==}
|
||||
@@ -6337,7 +6337,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/deep-eql': 4.0.2
|
||||
|
||||
'@types/chrome@0.1.0':
|
||||
'@types/chrome@0.1.1':
|
||||
dependencies:
|
||||
'@types/filesystem': 0.0.36
|
||||
'@types/har-format': 1.2.15
|
||||
|
||||
Reference in New Issue
Block a user