browser-extension-utils 0.2.1 → 0.2.2
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/README.md +1 -3
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,6 +19,4 @@ Copyright (c) 2023 [Pipecraft](https://www.pipecraft.net). Licensed under the [M
|
|
|
19
19
|
## >\_
|
|
20
20
|
|
|
21
21
|
[](https://www.pipecraft.net)
|
|
22
|
-
[](https://utags.
|
|
23
|
-
[](https://dto.pipecraft.net)
|
|
24
|
-
[](https://www.bestxtools.com)
|
|
22
|
+
[](https://utags.link)
|
package/lib/index.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ export function throttle(func: Function, interval: number): Function
|
|
|
143
143
|
|
|
144
144
|
export type MenuCallback = (event?: MouseEvent | KeyboardEvent) => void
|
|
145
145
|
export type RegisterMenuCommandOptions = {
|
|
146
|
-
id?: string
|
|
146
|
+
id?: string | number
|
|
147
147
|
title?: string
|
|
148
148
|
autoClose?: boolean
|
|
149
149
|
// O - Tampermonkey
|
|
@@ -154,7 +154,7 @@ export function registerMenuCommand(
|
|
|
154
154
|
name: string,
|
|
155
155
|
callback: MenuCallback,
|
|
156
156
|
options?: RegisterMenuCommandOptions
|
|
157
|
-
): string | undefined
|
|
157
|
+
): Promise<string | number | undefined>
|
|
158
158
|
|
|
159
159
|
export function extendHistoryApi(): void
|
|
160
160
|
|