@spider-cloud/spider-client 0.1.51 → 0.1.53

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
@@ -255,6 +255,10 @@ export interface SpiderParams {
255
255
  * The dimensions of the viewport.
256
256
  */
257
257
  viewport?: Viewport;
258
+ /**
259
+ * The two letter country code for the request geo-location.
260
+ */
261
+ country_code?: string;
258
262
  /**
259
263
  * The encoding to be used for the request.
260
264
  */
@@ -336,9 +340,9 @@ export interface SpiderParams {
336
340
  */
337
341
  return_cookies?: boolean;
338
342
  /**
339
- * The timeout for the request, in milliseconds.
343
+ * The timeout for the request, in seconds.
340
344
  */
341
- request_timeout?: Timeout;
345
+ request_timeout?: number;
342
346
  /**
343
347
  * Specifies whether to run the request in the background.
344
348
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spider-cloud/spider-client",
3
- "version": "0.1.51",
3
+ "version": "0.1.53",
4
4
  "description": "Isomorphic Javascript SDK for Spider Cloud services",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test __tests__/*test.ts",