core-3nweb-client-lib 0.53.22 → 0.53.24
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.
|
@@ -112,9 +112,9 @@ class InboxEvents {
|
|
|
112
112
|
this.listening.stop();
|
|
113
113
|
}
|
|
114
114
|
resumeNetworkActivity() {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
this.listening.startWith(
|
|
115
|
+
const completion = this.listening.stop();
|
|
116
|
+
if (completion) {
|
|
117
|
+
this.listening.startWith(completion.then(() => this.subscribeToEventSrcAndPassHeartbeats()));
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
120
|
this.listening.startWith(this.subscribeToEventSrcAndPassHeartbeats());
|
|
@@ -151,9 +151,9 @@ class RemoteEvents {
|
|
|
151
151
|
this.listening.stop();
|
|
152
152
|
}
|
|
153
153
|
resumeNetworkActivity() {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
this.listening.startWith(
|
|
154
|
+
const completion = this.listening.stop();
|
|
155
|
+
if (completion) {
|
|
156
|
+
this.listening.startWith(completion.then(() => this.subscribeToEventSrcAndPassHeartbeats()));
|
|
157
157
|
}
|
|
158
158
|
else {
|
|
159
159
|
this.listening.startWith(this.subscribeToEventSrcAndPassHeartbeats());
|
|
@@ -454,7 +454,7 @@ class XspFS {
|
|
|
454
454
|
return;
|
|
455
455
|
}
|
|
456
456
|
if (filter && (filter.length > 0)) {
|
|
457
|
-
for (let i = 0; i
|
|
457
|
+
for (let i = 0; i < srcAttrs.length; i += 1) {
|
|
458
458
|
const attr = srcAttrs[i];
|
|
459
459
|
if (!filter.includes(attr)) {
|
|
460
460
|
srcAttrs.splice(i, 1);
|