core-3nweb-client-lib 0.48.3 → 0.48.4
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.
|
@@ -58,7 +58,7 @@ function exposeASMailCAP(cap, expServices) {
|
|
|
58
58
|
removeMsg: removeMsg.wrapService(box.removeMsg),
|
|
59
59
|
subscribe: inboxSubscribe.wrapService(box.subscribe, expServices)
|
|
60
60
|
},
|
|
61
|
-
config:
|
|
61
|
+
config: exposeConfigCAP(cap.config)
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -597,7 +597,7 @@ var observeDelivery;
|
|
|
597
597
|
observeDelivery.makeCaller = makeCaller;
|
|
598
598
|
})(observeDelivery || (observeDelivery = {}));
|
|
599
599
|
Object.freeze(observeDelivery);
|
|
600
|
-
function
|
|
600
|
+
function exposeConfigCAP(cap) {
|
|
601
601
|
return {
|
|
602
602
|
getOnServer: (0, service_side_wrap_1.wrapReqReplySrvMethod)(cap, 'getOnServer'),
|
|
603
603
|
setOnServer: (0, service_side_wrap_1.wrapReqReplySrvMethod)(cap, 'setOnServer')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Mode, ObjectEncodingOptions, Stats } from 'fs';
|
|
2
2
|
export type { Stats } from 'fs';
|
|
3
3
|
export type { FileException } from '../lib-common/exceptions/file';
|
|
4
4
|
/**
|
|
@@ -47,14 +47,14 @@ declare function mkdir(path: string, options?: {
|
|
|
47
47
|
recursive?: boolean;
|
|
48
48
|
}): Promise<unknown>;
|
|
49
49
|
declare function open(path: string, flags?: string, mode?: Mode): Promise<FileHandle>;
|
|
50
|
-
declare function symlink(target: string, path: string
|
|
51
|
-
declare function readlink(path: string
|
|
52
|
-
declare function readlink(path: string, options: BufferEncodingOption): Promise<Buffer>;
|
|
53
|
-
declare function readlink(path: string, options?: ObjectEncodingOptions | string | null): Promise<string | Buffer>;
|
|
50
|
+
declare function symlink(target: string, path: string): Promise<void>;
|
|
51
|
+
declare function readlink(path: string): Promise<string>;
|
|
54
52
|
declare function lstat(path: string): Promise<Stats>;
|
|
55
53
|
declare function stat(path: string): Promise<Stats>;
|
|
56
54
|
declare function readdir(path: string): Promise<string[]>;
|
|
57
|
-
declare function rmdir(path: string, options?:
|
|
55
|
+
declare function rmdir(path: string, options?: {
|
|
56
|
+
recursive?: boolean;
|
|
57
|
+
}): Promise<void>;
|
|
58
58
|
declare function unlink(path: string): Promise<void>;
|
|
59
59
|
declare function rename(oldPath: string, newPath: string): Promise<void>;
|
|
60
60
|
declare function truncate(path: string, len?: number): Promise<void>;
|
|
@@ -17,11 +17,9 @@ export declare const appendFile: (path: string, data: string | Uint8Array, optio
|
|
|
17
17
|
encoding: BufferEncoding;
|
|
18
18
|
} | BufferEncoding): Promise<string>;
|
|
19
19
|
(path: string, options?: import("fs").ObjectEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
|
|
20
|
-
}, readdir: (path: string) => Promise<string[]>, readlink: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
(path: string, options?: import("fs").ObjectEncodingOptions | string | null): Promise<string | Buffer>;
|
|
24
|
-
}, rename: (oldPath: string, newPath: string) => Promise<void>, rmdir: (path: string, options?: import("fs").RmDirOptions) => Promise<void>, stat: (path: string) => Promise<import("fs").Stats>, symlink: (target: string, path: string, type?: string | null) => Promise<void>, truncate: (path: string, len?: number) => Promise<void>, unlink: (path: string) => Promise<void>, writeFile: (file: string, data: string | Uint8Array, options?: (import("fs").ObjectEncodingOptions & {
|
|
20
|
+
}, readdir: (path: string) => Promise<string[]>, readlink: (path: string) => Promise<string>, rename: (oldPath: string, newPath: string) => Promise<void>, rmdir: (path: string, options?: {
|
|
21
|
+
recursive?: boolean;
|
|
22
|
+
}) => Promise<void>, stat: (path: string) => Promise<import("fs").Stats>, symlink: (target: string, path: string) => Promise<void>, truncate: (path: string, len?: number) => Promise<void>, unlink: (path: string) => Promise<void>, writeFile: (file: string, data: string | Uint8Array, options?: (import("fs").ObjectEncodingOptions & {
|
|
25
23
|
mode?: import("fs").Mode;
|
|
26
24
|
flag?: string;
|
|
27
25
|
flush?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "core-3nweb-client-lib",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.4",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"license": "GPL-3.0-or-later",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"ecma-nacl-cryptors": "^1.0.1",
|
|
39
|
-
"protobufjs": "^7.
|
|
39
|
+
"protobufjs": "^7.5.5",
|
|
40
40
|
"punycode": "^2.1.1",
|
|
41
41
|
"rxjs": "^7.5.7",
|
|
42
42
|
"ws": "^8.18.3",
|