twd-js 0.3.0 → 0.4.0

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.
@@ -1,2 +1,3 @@
1
1
  export declare const waitForElement: (fn: () => HTMLElement | null, timeout?: number, interval?: number) => Promise<HTMLElement>;
2
+ export declare const waitForElements: (fn: () => NodeListOf<Element> | null, timeout?: number, interval?: number) => Promise<Element[]>;
2
3
  export declare const wait: (time: number) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twd-js",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Test While Developing (TWD) - in-browser testing",
5
5
  "main": "./dist/twd.umd.js",
6
6
  "module": "./dist/twd.es.js",