@vasrefil/api-toolkit 1.4.1 → 1.4.2

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.
@@ -1,5 +1,5 @@
1
1
  declare class RequestHelper_ {
2
- get_error(error: any): {};
2
+ get_error(error: any): any;
3
3
  }
4
4
  declare const RequestHelper: RequestHelper_;
5
5
  export { RequestHelper };
@@ -15,7 +15,7 @@ class RequestHelper_ {
15
15
  return error?.stack || error?.message;
16
16
  }
17
17
  else {
18
- return String(error);
18
+ return error;
19
19
  }
20
20
  }
21
21
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vasrefil/api-toolkit",
3
3
  "description": "This is Vasrefil API toolkit",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "author": "Sodiq Alabi",
6
6
  "main": "dist/public-api.js",
7
7
  "types": "dist/public-api.d.ts",