@spider-cloud/spider-client 0.1.33 → 0.1.35

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 +6 -2
  2. package/package.json +1 -1
package/dist/config.d.ts CHANGED
@@ -368,9 +368,13 @@ export interface SpiderParams {
368
368
  requests?: true;
369
369
  };
370
370
  /**
371
- * The timeout to stop the crawl.
372
- */
371
+ * The timeout to stop the crawl.
372
+ */
373
373
  crawl_timeout?: Timeout;
374
+ /**
375
+ * Evaluates given script in every frame upon creation (before loading frame's scripts).
376
+ */
377
+ evaluate_on_new_document?: string;
374
378
  }
375
379
  export type SpiderCoreResponse = {
376
380
  content?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spider-cloud/spider-client",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "Isomorphic Javascript SDK for Spider Cloud services",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test __tests__/*test.ts",