@spider-cloud/spider-client 0.0.56 → 0.0.58

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 +4 -0
  2. package/package.json +1 -1
package/dist/config.d.ts CHANGED
@@ -247,6 +247,10 @@ export interface SpiderParams {
247
247
  * The wait for events on the page. You need to make your `request` `chrome` or `smart`.
248
248
  */
249
249
  wait_for?: WaitFor;
250
+ /**
251
+ * Disable request interception when running 'request' as 'chrome' or 'smart'. This can help when the page uses 3rd party or external scripts to load content.
252
+ */
253
+ disable_intercept?: boolean;
250
254
  }
251
255
  export type SpiderCoreResponse = {
252
256
  content?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spider-cloud/spider-client",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "description": "Isomorphic Javascript SDK for Spider Cloud services",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test __tests__/*test.ts",