core-3nweb-client-lib 0.41.13 → 0.41.14
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/core/index.d.ts +2 -0
- package/build/core/index.js +2 -0
- package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
- package/build/lib-client/cryptor/cryptor.wasm +0 -0
- package/build/lib-client/server-events.js +4 -6
- package/build/lib-common/ipc/ws-ipc.js +2 -2
- package/package.json +1 -1
- package/test-data-1-1759456500985/util/logs/2025-10-03.log.txt +7 -0
- package/{test-data-10-1759442625007/util/logs/2025-10-02.log.txt → test-data-10-1759456540615/util/logs/2025-10-03.log.txt} +10 -7
- package/test-data-11-1759456540616/util/logs/2025-10-03.log.txt +7 -0
- package/test-data-12-1759456544627/util/logs/2025-10-03.log.txt +7 -0
- package/{test-data-13-1759442629512/util/logs/2025-10-02.log.txt → test-data-13-1759456545560/util/logs/2025-10-03.log.txt} +10 -7
- package/test-data-2-1759456500988/util/logs/2025-10-03.log.txt +7 -0
- package/{test-data-9-1759442621732/util/logs/2025-10-02.log.txt → test-data-3-1759456506409/util/logs/2025-10-03.log.txt} +10 -7
- package/{test-data-3-1759442593521/util/logs/2025-10-02.log.txt → test-data-4-1759456512650/util/logs/2025-10-03.log.txt} +10 -7
- package/test-data-5-1759456522373/util/logs/2025-10-03.log.txt +7 -0
- package/test-data-6-1759456524407/util/logs/2025-10-03.log.txt +7 -0
- package/test-data-7-1759456526517/util/logs/2025-10-03.log.txt +7 -0
- package/test-data-8-1759456536045/util/logs/2025-10-03.log.txt +7 -0
- package/{test-data-4-1759442599428/util/logs/2025-10-02.log.txt → test-data-9-1759456536980/util/logs/2025-10-03.log.txt} +10 -7
- package/test-data-1-1759442588983/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-11-1759442625008/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-12-1759442628713/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-2-1759442588985/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-5-1759442608549/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-6-1759442610426/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-7-1759442612369/util/logs/2025-10-02.log.txt +0 -6
- package/test-data-8-1759442620927/util/logs/2025-10-02.log.txt +0 -6
|
Binary file
|
|
@@ -21,7 +21,6 @@ const rxjs_1 = require("rxjs");
|
|
|
21
21
|
const synced_1 = require("../lib-common/processes/synced");
|
|
22
22
|
const sleep_1 = require("../lib-common/processes/sleep");
|
|
23
23
|
const operators_1 = require("rxjs/operators");
|
|
24
|
-
const error_1 = require("../lib-common/exceptions/error");
|
|
25
24
|
class ServerEvents {
|
|
26
25
|
constructor(subscribeToServer, restartWaitSecs, logError) {
|
|
27
26
|
this.subscribeToServer = subscribeToServer;
|
|
@@ -76,12 +75,11 @@ class ServerEvents {
|
|
|
76
75
|
.pipe(
|
|
77
76
|
// XXX tap to log more details
|
|
78
77
|
(0, operators_1.tap)({
|
|
79
|
-
complete: () => this.logError(
|
|
80
|
-
error: err => this.logError(err, `ServerEvents.observe stream has error
|
|
81
|
-
${(0, error_1.stringifyErr)(err)}`)
|
|
78
|
+
complete: () => this.logError(null, `ServerEvents.observe('${event}') stream completes`),
|
|
79
|
+
error: err => this.logError(err, `ServerEvents.observe('${event}') stream has error`)
|
|
82
80
|
}), (0, operators_1.catchError)(err => {
|
|
83
81
|
if (this.shouldRestartAfterErr(err)) {
|
|
84
|
-
console.error(
|
|
82
|
+
// console.error(stringifyErr(err));
|
|
85
83
|
return this.restartObservation(event);
|
|
86
84
|
}
|
|
87
85
|
else {
|
|
@@ -120,7 +118,7 @@ ${(0, error_1.stringifyErr)(err)}`)
|
|
|
120
118
|
.pipe(
|
|
121
119
|
// XXX tap to log more details
|
|
122
120
|
(0, operators_1.tap)({
|
|
123
|
-
next: () => this.logError(
|
|
121
|
+
next: () => this.logError(null, `ServerEvents.restartObservation of ${event} events`)
|
|
124
122
|
}), (0, operators_1.mergeMap)(() => this.observe(event)));
|
|
125
123
|
}
|
|
126
124
|
}
|
|
@@ -132,10 +132,10 @@ function makeSignalsTimeObserver(url, log) {
|
|
|
132
132
|
return (done, err) => {
|
|
133
133
|
if (done) {
|
|
134
134
|
if (err) {
|
|
135
|
-
log(`WebSocket to ${url} closed with error
|
|
135
|
+
log(err, `WebSocket to ${url} closed with error`);
|
|
136
136
|
}
|
|
137
137
|
else {
|
|
138
|
-
log(`WebSocket to ${url} closed`);
|
|
138
|
+
log(null, `WebSocket to ${url} closed`);
|
|
139
139
|
}
|
|
140
140
|
resetWait(false);
|
|
141
141
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
Thu Oct 02 2025
|
|
3
|
-
Core version 0.41.
|
|
2
|
+
Thu Oct 02 2025 21:55:44 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
3
|
+
Core version 0.41.14
|
|
4
4
|
Log level: error.
|
|
5
|
-
[object Object]
|
|
6
5
|
WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
Error message: undefined
|
|
8
|
+
|
|
9
|
+
Thu Oct 02 2025 21:55:44 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
10
|
+
Core version 0.41.14
|
|
9
11
|
Log level: error.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
13
|
+
|
|
14
|
+
Error message: undefined
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
Thu Oct 02 2025
|
|
3
|
-
Core version 0.41.
|
|
2
|
+
Thu Oct 02 2025 21:55:48 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
3
|
+
Core version 0.41.14
|
|
4
4
|
Log level: error.
|
|
5
|
-
[object Object]
|
|
6
5
|
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
Error message: undefined
|
|
8
|
+
|
|
9
|
+
Thu Oct 02 2025 21:55:48 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
10
|
+
Core version 0.41.14
|
|
9
11
|
Log level: error.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
13
|
+
|
|
14
|
+
Error message: undefined
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
Thu Oct 02 2025
|
|
3
|
-
Core version 0.41.
|
|
2
|
+
Thu Oct 02 2025 21:55:12 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
3
|
+
Core version 0.41.14
|
|
4
4
|
Log level: error.
|
|
5
|
-
[object Object]
|
|
6
5
|
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
Error message: undefined
|
|
8
|
+
|
|
9
|
+
Thu Oct 02 2025 21:55:12 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
10
|
+
Core version 0.41.14
|
|
9
11
|
Log level: error.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
13
|
+
|
|
14
|
+
Error message: undefined
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
Thu Oct 02 2025
|
|
3
|
-
Core version 0.41.
|
|
2
|
+
Thu Oct 02 2025 21:55:18 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
3
|
+
Core version 0.41.14
|
|
4
4
|
Log level: error.
|
|
5
|
-
[object Object]
|
|
6
5
|
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
Error message: undefined
|
|
8
|
+
|
|
9
|
+
Thu Oct 02 2025 21:55:18 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
10
|
+
Core version 0.41.14
|
|
9
11
|
Log level: error.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
13
|
+
|
|
14
|
+
Error message: undefined
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
Thu Oct 02 2025
|
|
3
|
-
Core version 0.41.
|
|
2
|
+
Thu Oct 02 2025 21:55:40 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
3
|
+
Core version 0.41.14
|
|
4
4
|
Log level: error.
|
|
5
|
-
[object Object]
|
|
6
5
|
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
Error message: undefined
|
|
8
|
+
|
|
9
|
+
Thu Oct 02 2025 21:55:40 GMT-0400 (Eastern Daylight Saving Time) ==================================
|
|
10
|
+
Core version 0.41.14
|
|
9
11
|
Log level: error.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
|
|
13
|
+
|
|
14
|
+
Error message: undefined
|