polfan-server-js-client 0.2.67 → 0.2.68
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 +13 -18
- 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,8 @@
|
|
|
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$/src/types/src/schemes/commands/Ping.ts" afterDir="false" />
|
|
9
|
-
<change afterPath="$PROJECT_DIR$/src/types/src/schemes/events/Pong.ts" afterDir="false" />
|
|
10
|
-
<change beforePath="$PROJECT_DIR$/src/AbstractChatClient.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/AbstractChatClient.ts" afterDir="false" />
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Ping-pong connection monitoring">
|
|
11
8
|
<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
9
|
</list>
|
|
15
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
16
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -162,15 +157,7 @@
|
|
|
162
157
|
<workItem from="1764758258935" duration="1127000" />
|
|
163
158
|
<workItem from="1764792690210" duration="1002000" />
|
|
164
159
|
<workItem from="1764794428269" duration="595000" />
|
|
165
|
-
<workItem from="1764847260499" duration="
|
|
166
|
-
</task>
|
|
167
|
-
<task id="LOCAL-00018" summary="Fix authentication">
|
|
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>
|
|
160
|
+
<workItem from="1764847260499" duration="26458000" />
|
|
174
161
|
</task>
|
|
175
162
|
<task id="LOCAL-00019" summary="Add notify option to Kick command">
|
|
176
163
|
<option name="closed" value="true" />
|
|
@@ -556,7 +543,15 @@
|
|
|
556
543
|
<option name="project" value="LOCAL" />
|
|
557
544
|
<updated>1764955397384</updated>
|
|
558
545
|
</task>
|
|
559
|
-
<
|
|
546
|
+
<task id="LOCAL-00067" summary="Ping-pong connection monitoring">
|
|
547
|
+
<option name="closed" value="true" />
|
|
548
|
+
<created>1765145134871</created>
|
|
549
|
+
<option name="number" value="00067" />
|
|
550
|
+
<option name="presentableId" value="LOCAL-00067" />
|
|
551
|
+
<option name="project" value="LOCAL" />
|
|
552
|
+
<updated>1765145134871</updated>
|
|
553
|
+
</task>
|
|
554
|
+
<option name="localTasksCounter" value="68" />
|
|
560
555
|
<servers />
|
|
561
556
|
</component>
|
|
562
557
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -574,7 +569,6 @@
|
|
|
574
569
|
</option>
|
|
575
570
|
</component>
|
|
576
571
|
<component name="VcsManagerConfiguration">
|
|
577
|
-
<MESSAGE value="Fix package.json type exports" />
|
|
578
572
|
<MESSAGE value="New message type" />
|
|
579
573
|
<MESSAGE value="Dedicated event for user status change" />
|
|
580
574
|
<MESSAGE value="Fix update the latest message in a room default topic" />
|
|
@@ -599,7 +593,8 @@
|
|
|
599
593
|
<MESSAGE value="Improvements and fixes to collection mirroring" />
|
|
600
594
|
<MESSAGE value="Align to custom colors and nicks protocol changes" />
|
|
601
595
|
<MESSAGE value="Connection handling optimizations" />
|
|
602
|
-
<
|
|
596
|
+
<MESSAGE value="Ping-pong connection monitoring" />
|
|
597
|
+
<option name="LAST_COMMIT_MESSAGE" value="Ping-pong connection monitoring" />
|
|
603
598
|
</component>
|
|
604
599
|
<component name="github-copilot-workspace">
|
|
605
600
|
<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(1012); // Service Restart (reconnect)
|
|
4490
4489
|
}, _this4.options.ping.pongBackTimeoutMs);
|
|
4491
4490
|
_this4.pingInFlight = true;
|
|
4492
4491
|
_this4.send('Ping', {}).then(function () {
|