@spider-cloud/spider-client 0.1.80 → 0.1.81

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/dist/config.d.ts +5 -1
  2. package/package.json +1 -1
package/dist/config.d.ts CHANGED
@@ -98,13 +98,17 @@ interface Delay {
98
98
  /**
99
99
  * Represents the wait_for configuration.
100
100
  * @typedef {Object} WaitFor
101
- * @property {IdleNetwork} [idle_network] - Configuration to wait for network to be idle.
101
+ * @property {IdleNetwork} [idle_network] - Configuration to wait for network to be idle between period.
102
+ * @property {IdleNetwork0} [idle_network] - Configuration to wait for network to be idle with max timeout.
103
+ * @property {AlmostIdleNetwork0} [idle_network] - Configuration to wait for network to almost idle with max timeout.
102
104
  * @property {Selector} [selector] - Configuration to wait for a CSS selector.
103
105
  * @property {Delay} [delay] - Configuration to wait for a delay.
104
106
  * @property {boolean} [page_navigations] - Whether to wait for page navigations.
105
107
  */
106
108
  export interface WaitForConfiguration {
107
109
  idle_network?: IdleNetwork;
110
+ idle_network0?: IdleNetwork;
111
+ almost_idle_network0?: IdleNetwork;
108
112
  selector?: Selector;
109
113
  dom?: Selector;
110
114
  delay?: Delay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spider-cloud/spider-client",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "description": "Isomorphic Javascript SDK for Spider Cloud services",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test __tests__/*test.ts",