core-3nweb-client-lib 0.36.0 → 0.37.1

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,19 +1,4 @@
1
- /**
2
- * This module contains some code and type declarations that are common for
3
- * both main and worker processes.
4
- */
5
- interface HTTPErrorDetails extends web3n.RuntimeException {
6
- url: string;
7
- method: string;
8
- message?: string;
9
- }
10
- export interface ConnectException extends HTTPErrorDetails {
11
- type: 'http-connect';
12
- }
13
- export interface HTTPException extends HTTPErrorDetails {
14
- type: 'http-request';
15
- status: number;
16
- }
1
+ export type ConnectException = web3n.ConnectException;
2
+ export type HTTPException = web3n.HTTPException;
17
3
  export declare function makeConnectionException(url: string | undefined, method: string | undefined, msg?: string, cause?: any): ConnectException;
18
4
  export declare function makeHTTPException(url: string, method: string, status: number, msg?: string, cause?: any): HTTPException;
19
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.36.0",
3
+ "version": "0.37.1",
4
4
  "description": "3NWeb client core library, embeddable into different environments",
5
5
  "main": "build/lib-index.js",
6
6
  "types": "build/lib-index.d.ts",