core-3nweb-client-lib 0.42.2 → 0.42.3

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.
Files changed (20) hide show
  1. package/build/core/asmail/inbox/inbox-events.js +4 -11
  2. package/package.json +1 -1
  3. package/{test-data-1-1759677394615 → test-data-1-1759691784470}/util/logs/2025-10-05.log.txt +4 -4
  4. package/{test-data-10-1759677431029 → test-data-10-1759691821007}/util/logs/2025-10-05.log.txt +4 -4
  5. package/{test-data-11-1759677431029 → test-data-11-1759691821008}/util/logs/2025-10-05.log.txt +4 -4
  6. package/{test-data-12-1759677434728 → test-data-12-1759691824688}/util/logs/2025-10-05.log.txt +4 -4
  7. package/{test-data-13-1759677435553 → test-data-13-1759691825525}/util/logs/2025-10-05.log.txt +8 -8
  8. package/test-data-2-1759691784473/util/logs/2025-10-05.log.txt +14 -0
  9. package/{test-data-3-1759677399141 → test-data-3-1759691789049}/util/logs/2025-10-05.log.txt +8 -8
  10. package/{test-data-4-1759677405076 → test-data-4-1759691794994}/util/logs/2025-10-05.log.txt +8 -8
  11. package/test-data-5-1759691804247/util/logs/2025-10-05.log.txt +14 -0
  12. package/test-data-6-1759691806167/util/logs/2025-10-05.log.txt +14 -0
  13. package/test-data-7-1759691808152/util/logs/2025-10-05.log.txt +14 -0
  14. package/test-data-8-1759691816773/util/logs/2025-10-05.log.txt +14 -0
  15. package/{test-data-9-1759677427624 → test-data-9-1759691817611}/util/logs/2025-10-05.log.txt +8 -8
  16. package/test-data-2-1759677394617/util/logs/2025-10-05.log.txt +0 -14
  17. package/test-data-5-1759677414316/util/logs/2025-10-05.log.txt +0 -14
  18. package/test-data-6-1759677416229/util/logs/2025-10-05.log.txt +0 -14
  19. package/test-data-7-1759677418207/util/logs/2025-10-05.log.txt +0 -14
  20. package/test-data-8-1759677426790/util/logs/2025-10-05.log.txt +0 -14
@@ -93,9 +93,10 @@ class InboxEvents {
93
93
  return await this.getMsg(msgId);
94
94
  }
95
95
  catch (err) {
96
- // XXX we need to skip, if it is a connectivity error here
97
- // await this.rmMsg(msgId);
98
- await this.logError(err, `Cannot get message ${msgId}, and removing it as a result`);
96
+ // XXX we need to skip, if it is a connectivity error here;
97
+ // should we remove on non-connectivity error
98
+ // await this.rmMsg(msgId).catch(noop);
99
+ await this.logError(err, `Cannot get message ${msgId}`);
99
100
  }
100
101
  }
101
102
  subscribe(event, observer) {
@@ -151,23 +152,15 @@ class InboxEvents {
151
152
  }
152
153
  }
153
154
  async listMsgsFromDisconnectedPeriod() {
154
- // DEBUG log
155
- await this.logError(null, `entering listMsgsFromDisconnectedPeriod at ${Date.now()}, this.disconnectedAt is ${this.disconnectedAt}`);
156
155
  if (!this.disconnectedAt) {
157
156
  return;
158
157
  }
159
158
  const fromTS = this.disconnectedAt - BUFFER_MILLIS_FOR_LISTING;
160
- // DEBUG log
161
- await this.logError(null, `starting listMsgsFromDisconnectedPeriod process with fromTS ${fromTS}`);
162
159
  let msgInfos = (await this.listMsgs(fromTS))
163
160
  .filter(info => (fromTS <= info.deliveryTS))
164
161
  .sort((a, b) => (a.deliveryTS - b.deliveryTS));
165
- // DEBUG log
166
- await this.logError(null, ` ... filtered list has ${msgInfos.length} number of items`);
167
162
  for (const info of msgInfos) {
168
163
  const msg = await this.getMessage(info.msgId);
169
- // DEBUG log
170
- await this.logError(null, ` ... msg ${msg === null || msg === void 0 ? void 0 : msg.msgId} found`);
171
164
  if (msg) {
172
165
  this.newMsgs.next(msg);
173
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.42.2",
3
+ "version": "0.42.3",
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",
@@ -1,13 +1,13 @@
1
1
 
2
- Sun Oct 05 2025 11:16:52 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:16:42 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:16:52 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:16:42 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
13
 
@@ -1,13 +1,13 @@
1
1
 
2
- Sun Oct 05 2025 11:17:14 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:17:04 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:17:14 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:17:04 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
13
 
@@ -1,13 +1,13 @@
1
1
 
2
- Sun Oct 05 2025 11:17:14 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:17:04 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:17:14 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:17:04 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
13
 
@@ -1,13 +1,13 @@
1
1
 
2
- Sun Oct 05 2025 11:17:17 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:17:07 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:17:17 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:17:07 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
13
 
@@ -1,27 +1,27 @@
1
1
 
2
- Sun Oct 05 2025 11:17:17 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:17:07 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:17:17 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:17:07 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
13
13
 
14
14
  Error message: undefined
15
15
 
16
- Sun Oct 05 2025 11:17:17 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
- Core version 0.42.2
16
+ Sun Oct 05 2025 15:17:07 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
+ Core version 0.42.3
18
18
  Log level: error.
19
19
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
20
20
 
21
21
  Error message: undefined
22
22
 
23
- Sun Oct 05 2025 11:17:17 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
- Core version 0.42.2
23
+ Sun Oct 05 2025 15:17:07 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
+ Core version 0.42.3
25
25
  Log level: error.
26
26
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
27
27
 
@@ -0,0 +1,14 @@
1
+
2
+ Sun Oct 05 2025 15:16:44 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
+ Log level: error.
5
+ WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
+
7
+ Error message: undefined
8
+
9
+ Sun Oct 05 2025 15:16:44 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
+ Log level: error.
12
+ WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
+
14
+ Error message: undefined
@@ -1,27 +1,27 @@
1
1
 
2
- Sun Oct 05 2025 11:16:45 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:16:34 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:16:45 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:16:34 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
13
13
 
14
14
  Error message: undefined
15
15
 
16
- Sun Oct 05 2025 11:16:45 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
- Core version 0.42.2
16
+ Sun Oct 05 2025 15:16:34 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
+ Core version 0.42.3
18
18
  Log level: error.
19
19
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
20
20
 
21
21
  Error message: undefined
22
22
 
23
- Sun Oct 05 2025 11:16:45 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
- Core version 0.42.2
23
+ Sun Oct 05 2025 15:16:34 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
+ Core version 0.42.3
25
25
  Log level: error.
26
26
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
27
27
 
@@ -1,27 +1,27 @@
1
1
 
2
- Sun Oct 05 2025 11:16:50 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:16:40 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:16:50 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:16:40 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
13
13
 
14
14
  Error message: undefined
15
15
 
16
- Sun Oct 05 2025 11:16:50 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
- Core version 0.42.2
16
+ Sun Oct 05 2025 15:16:40 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
+ Core version 0.42.3
18
18
  Log level: error.
19
19
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
20
20
 
21
21
  Error message: undefined
22
22
 
23
- Sun Oct 05 2025 11:16:50 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
- Core version 0.42.2
23
+ Sun Oct 05 2025 15:16:40 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
+ Core version 0.42.3
25
25
  Log level: error.
26
26
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
27
27
 
@@ -0,0 +1,14 @@
1
+
2
+ Sun Oct 05 2025 15:16:46 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
+ Log level: error.
5
+ WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
+
7
+ Error message: undefined
8
+
9
+ Sun Oct 05 2025 15:16:46 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
+ Log level: error.
12
+ WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
+
14
+ Error message: undefined
@@ -0,0 +1,14 @@
1
+
2
+ Sun Oct 05 2025 15:16:48 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
+ Log level: error.
5
+ WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
+
7
+ Error message: undefined
8
+
9
+ Sun Oct 05 2025 15:16:48 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
+ Log level: error.
12
+ WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
+
14
+ Error message: undefined
@@ -0,0 +1,14 @@
1
+
2
+ Sun Oct 05 2025 15:16:56 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
+ Log level: error.
5
+ WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
+
7
+ Error message: undefined
8
+
9
+ Sun Oct 05 2025 15:16:56 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
+ Log level: error.
12
+ WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
+
14
+ Error message: undefined
@@ -0,0 +1,14 @@
1
+
2
+ Sun Oct 05 2025 15:17:00 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
+ Log level: error.
5
+ WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
+
7
+ Error message: undefined
8
+
9
+ Sun Oct 05 2025 15:17:00 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
+ Log level: error.
12
+ WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
+
14
+ Error message: undefined
@@ -1,27 +1,27 @@
1
1
 
2
- Sun Oct 05 2025 11:17:11 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
2
+ Sun Oct 05 2025 15:17:00 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
+ Core version 0.42.3
4
4
  Log level: error.
5
5
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
6
 
7
7
  Error message: undefined
8
8
 
9
- Sun Oct 05 2025 11:17:11 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
9
+ Sun Oct 05 2025 15:17:00 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
+ Core version 0.42.3
11
11
  Log level: error.
12
12
  WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
13
13
 
14
14
  Error message: undefined
15
15
 
16
- Sun Oct 05 2025 11:17:11 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
- Core version 0.42.2
16
+ Sun Oct 05 2025 15:17:00 GMT-0400 (Eastern Daylight Saving Time) ==================================
17
+ Core version 0.42.3
18
18
  Log level: error.
19
19
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
20
20
 
21
21
  Error message: undefined
22
22
 
23
- Sun Oct 05 2025 11:17:11 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
- Core version 0.42.2
23
+ Sun Oct 05 2025 15:17:00 GMT-0400 (Eastern Daylight Saving Time) ==================================
24
+ Core version 0.42.3
25
25
  Log level: error.
26
26
  WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
27
27
 
@@ -1,14 +0,0 @@
1
-
2
- Sun Oct 05 2025 11:16:54 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
4
- Log level: error.
5
- WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
-
7
- Error message: undefined
8
-
9
- Sun Oct 05 2025 11:16:54 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
11
- Log level: error.
12
- WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
-
14
- Error message: undefined
@@ -1,14 +0,0 @@
1
-
2
- Sun Oct 05 2025 11:16:56 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
4
- Log level: error.
5
- WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
-
7
- Error message: undefined
8
-
9
- Sun Oct 05 2025 11:16:56 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
11
- Log level: error.
12
- WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
-
14
- Error message: undefined
@@ -1,14 +0,0 @@
1
-
2
- Sun Oct 05 2025 11:16:58 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
4
- Log level: error.
5
- WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
-
7
- Error message: undefined
8
-
9
- Sun Oct 05 2025 11:16:58 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
11
- Log level: error.
12
- WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
-
14
- Error message: undefined
@@ -1,14 +0,0 @@
1
-
2
- Sun Oct 05 2025 11:17:06 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
4
- Log level: error.
5
- WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
-
7
- Error message: undefined
8
-
9
- Sun Oct 05 2025 11:17:06 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
11
- Log level: error.
12
- WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
-
14
- Error message: undefined
@@ -1,14 +0,0 @@
1
-
2
- Sun Oct 05 2025 11:17:11 GMT-0400 (Eastern Daylight Saving Time) ==================================
3
- Core version 0.42.2
4
- Log level: error.
5
- WebSocket to wss://localhost:8088/asmail/retrieval/events closed with error
6
-
7
- Error message: undefined
8
-
9
- Sun Oct 05 2025 11:17:11 GMT-0400 (Eastern Daylight Saving Time) ==================================
10
- Core version 0.42.2
11
- Log level: error.
12
- WebSocket to wss://localhost:8088/3nstorage/owner/events closed with error
13
-
14
- Error message: undefined