polfan-server-js-client 0.2.67 → 0.2.69
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/.idea/workspace.xml +29 -27
- package/build/index.cjs.js +1 -2
- package/build/index.cjs.js.map +1 -1
- package/build/index.umd.js +1 -1
- package/build/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/WebSocketChatClient.ts +1 -2
package/.idea/workspace.xml
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="
|
|
8
|
-
<change afterPath="$PROJECT_DIR$/
|
|
9
|
-
<change afterPath="$PROJECT_DIR$/
|
|
10
|
-
<change beforePath="$PROJECT_DIR$/
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Improve reconnect on timeout">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/build/index.cjs.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.cjs.js" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/build/index.cjs.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.cjs.js.map" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/build/index.umd.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.umd.js" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/build/index.umd.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.umd.js.map" afterDir="false" />
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
11
13
|
<change beforePath="$PROJECT_DIR$/src/WebSocketChatClient.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/WebSocketChatClient.ts" afterDir="false" />
|
|
12
|
-
<change beforePath="$PROJECT_DIR$/src/types" beforeDir="false" afterPath="$PROJECT_DIR$/src/types" afterDir="false" />
|
|
13
|
-
<change beforePath="$PROJECT_DIR$/src/types/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/src/index.ts" afterDir="false" />
|
|
14
14
|
</list>
|
|
15
15
|
<option name="SHOW_DIALOG" value="false" />
|
|
16
16
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -162,23 +162,9 @@
|
|
|
162
162
|
<workItem from="1764758258935" duration="1127000" />
|
|
163
163
|
<workItem from="1764792690210" duration="1002000" />
|
|
164
164
|
<workItem from="1764794428269" duration="595000" />
|
|
165
|
-
<workItem from="1764847260499" duration="
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
<option name="closed" value="true" />
|
|
169
|
-
<created>1740253483444</created>
|
|
170
|
-
<option name="number" value="00018" />
|
|
171
|
-
<option name="presentableId" value="LOCAL-00018" />
|
|
172
|
-
<option name="project" value="LOCAL" />
|
|
173
|
-
<updated>1740253483444</updated>
|
|
174
|
-
</task>
|
|
175
|
-
<task id="LOCAL-00019" summary="Add notify option to Kick command">
|
|
176
|
-
<option name="closed" value="true" />
|
|
177
|
-
<created>1740515104457</created>
|
|
178
|
-
<option name="number" value="00019" />
|
|
179
|
-
<option name="presentableId" value="LOCAL-00019" />
|
|
180
|
-
<option name="project" value="LOCAL" />
|
|
181
|
-
<updated>1740515104457</updated>
|
|
165
|
+
<workItem from="1764847260499" duration="28335000" />
|
|
166
|
+
<workItem from="1765180748047" duration="596000" />
|
|
167
|
+
<workItem from="1765272289918" duration="2519000" />
|
|
182
168
|
</task>
|
|
183
169
|
<task id="LOCAL-00020" summary="UsersManager">
|
|
184
170
|
<option name="closed" value="true" />
|
|
@@ -556,7 +542,23 @@
|
|
|
556
542
|
<option name="project" value="LOCAL" />
|
|
557
543
|
<updated>1764955397384</updated>
|
|
558
544
|
</task>
|
|
559
|
-
<
|
|
545
|
+
<task id="LOCAL-00067" summary="Ping-pong connection monitoring">
|
|
546
|
+
<option name="closed" value="true" />
|
|
547
|
+
<created>1765145134871</created>
|
|
548
|
+
<option name="number" value="00067" />
|
|
549
|
+
<option name="presentableId" value="LOCAL-00067" />
|
|
550
|
+
<option name="project" value="LOCAL" />
|
|
551
|
+
<updated>1765145134871</updated>
|
|
552
|
+
</task>
|
|
553
|
+
<task id="LOCAL-00068" summary="Improve reconnect on timeout">
|
|
554
|
+
<option name="closed" value="true" />
|
|
555
|
+
<created>1765145773196</created>
|
|
556
|
+
<option name="number" value="00068" />
|
|
557
|
+
<option name="presentableId" value="LOCAL-00068" />
|
|
558
|
+
<option name="project" value="LOCAL" />
|
|
559
|
+
<updated>1765145773196</updated>
|
|
560
|
+
</task>
|
|
561
|
+
<option name="localTasksCounter" value="69" />
|
|
560
562
|
<servers />
|
|
561
563
|
</component>
|
|
562
564
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -574,8 +576,6 @@
|
|
|
574
576
|
</option>
|
|
575
577
|
</component>
|
|
576
578
|
<component name="VcsManagerConfiguration">
|
|
577
|
-
<MESSAGE value="Fix package.json type exports" />
|
|
578
|
-
<MESSAGE value="New message type" />
|
|
579
579
|
<MESSAGE value="Dedicated event for user status change" />
|
|
580
580
|
<MESSAGE value="Fix update the latest message in a room default topic" />
|
|
581
581
|
<MESSAGE value="Adapt FilesClient to new files API" />
|
|
@@ -599,7 +599,9 @@
|
|
|
599
599
|
<MESSAGE value="Improvements and fixes to collection mirroring" />
|
|
600
600
|
<MESSAGE value="Align to custom colors and nicks protocol changes" />
|
|
601
601
|
<MESSAGE value="Connection handling optimizations" />
|
|
602
|
-
<
|
|
602
|
+
<MESSAGE value="Ping-pong connection monitoring" />
|
|
603
|
+
<MESSAGE value="Improve reconnect on timeout" />
|
|
604
|
+
<option name="LAST_COMMIT_MESSAGE" value="Improve reconnect on timeout" />
|
|
603
605
|
</component>
|
|
604
606
|
<component name="github-copilot-workspace">
|
|
605
607
|
<instructionFileLocations>
|
package/build/index.cjs.js
CHANGED
|
@@ -4485,8 +4485,7 @@ var WebSocketChatClient = /*#__PURE__*/function (_AbstractChatClient) {
|
|
|
4485
4485
|
case 2:
|
|
4486
4486
|
timeout = setTimeout(function () {
|
|
4487
4487
|
_this4.pingInFlight = false;
|
|
4488
|
-
_this4.
|
|
4489
|
-
void _this4.connect();
|
|
4488
|
+
_this4.ws.close(1008); // Service Restart (reconnect)
|
|
4490
4489
|
}, _this4.options.ping.pongBackTimeoutMs);
|
|
4491
4490
|
_this4.pingInFlight = true;
|
|
4492
4491
|
_this4.send('Ping', {}).then(function () {
|