browser-extension-utils 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +1 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -141,7 +141,7 @@ export function runOnce(key: string, func: Function): any
141
141
  // eslint-disable-next-line @typescript-eslint/ban-types
142
142
  export function runWhenBodyExists(func: Function): void
143
143
 
144
- export async function sleep(time: number): void
144
+ export async function sleep(time: number): Promise<void>
145
145
 
146
146
  export type Cache = {
147
147
  get: (key: string | any[]) => any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-extension-utils",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Utilities for developing browser extensions and userscripts",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",