@spider-cloud/spider-client 0.0.52 → 0.0.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.
package/dist/client.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ChunkCallbackFunction, SpiderCoreResponse, SpiderParams } from "./confi
2
2
  /**
3
3
  * Generic params for core request.
4
4
  */
5
- type GenericParams = Omit<SpiderParams, "url">;
5
+ export type GenericParams = Omit<SpiderParams, "url">;
6
6
  /**
7
7
  * Configuration interface for Spider.
8
8
  */
@@ -181,4 +181,3 @@ export declare class Spider {
181
181
  */
182
182
  handleError(response: Response, action: string): void;
183
183
  }
184
- export {};
package/dist/client.js CHANGED
@@ -86,7 +86,7 @@ class Spider {
86
86
  headers,
87
87
  });
88
88
  if (response.ok) {
89
- return response.json();
89
+ return response;
90
90
  }
91
91
  else {
92
92
  this.handleError(response, `get from ${endpoint}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spider-cloud/spider-client",
3
- "version": "0.0.52",
4
- "description": "A Javascript SDK for Spider Cloud services",
3
+ "version": "0.0.53",
4
+ "description": "Isomorphic Javascript SDK for Spider Cloud services",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test __tests__/*test.ts",
7
7
  "build": "tsc",
@@ -23,7 +23,7 @@
23
23
  "author": "Jeff Mendez<jeff@a11ywatch.com>",
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@supabase/supabase-js": "^2.44.2",
26
+ "@supabase/supabase-js": "^2.44.3",
27
27
  "@types/node": "20.14.2",
28
28
  "dotenv": "^16.4.5",
29
29
  "tsx": "^4.16.2",