webext-schema 5.1.7 → 5.1.8
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/modules/browser.js +1 -1
- package/package.json +1 -1
- package/types/modules/browser.d.ts +1 -1
package/modules/browser.js
CHANGED
|
@@ -41,7 +41,7 @@ export const createBookmark = async opt => {
|
|
|
41
41
|
/**
|
|
42
42
|
* get bookmark tree node
|
|
43
43
|
*
|
|
44
|
-
* @param {string|Array} id - bookmark ID or array of bookmark IDs
|
|
44
|
+
* @param {string|Array} [id] - bookmark ID or array of bookmark IDs
|
|
45
45
|
* @returns {Promise.<?Array>} - array of bookmarks.BookmarkTreeNode
|
|
46
46
|
*/
|
|
47
47
|
export const getBookmarkTreeNode = async id => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function isPermissionGranted(perm: object): Promise<boolean>;
|
|
2
2
|
export function createBookmark(opt: object): Promise<object>;
|
|
3
|
-
export function getBookmarkTreeNode(id
|
|
3
|
+
export function getBookmarkTreeNode(id?: string | any[]): Promise<any[] | null>;
|
|
4
4
|
export function getCloseTabsByDoubleClickValue(): Promise<object>;
|
|
5
5
|
export function setContextMenuOnMouseup(): Promise<boolean>;
|
|
6
6
|
export function clearContextMenuOnMouseup(): Promise<boolean>;
|