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.
- package/build/api-defs/asmail.d.ts +8 -1
- package/build/api-defs/common-caps.d.ts +2 -1
- package/build/api-defs/web3n.d.ts +16 -1
- package/build/core/asmail/asmail-cap-ipc.d.ts +4 -2
- package/build/core/asmail/asmail-cap-ipc.js +79 -39
- package/build/core/asmail/delivery/msg.js +1 -1
- package/build/core/asmail/index.d.ts +1 -0
- package/build/core/asmail/index.js +11 -0
- package/build/core/asmail/msg/opener.js +2 -2
- package/build/core/asmail/msg/packer.d.ts +2 -2
- package/build/core/asmail/msg/packer.js +4 -4
- package/build/core/index.js +8 -3
- package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
- package/build/lib-client/cryptor/cryptor.wasm +0 -0
- package/build/lib-common/exceptions/http.d.ts +2 -17
- package/package.json +1 -1
|
Binary file
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 {};
|