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.
@@ -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
@@ -56,5 +56,5 @@
56
56
  "update-mail": "node index update --channel=mail -i",
57
57
  "update-release": "node index update --channel=release -i"
58
58
  },
59
- "version": "5.1.7"
59
+ "version": "5.1.8"
60
60
  }
@@ -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: string | any[]): Promise<any[] | null>;
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>;