polfan-server-js-client 0.2.110 → 0.2.111
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 -15
- package/build/index.cjs.js +505 -105
- package/build/index.cjs.js.map +1 -1
- package/build/index.umd.js +1 -1
- package/build/index.umd.js.map +1 -1
- package/build/types/AbstractChatClient.d.ts +6 -0
- package/build/types/IndexedObjectCollection.d.ts +8 -0
- package/build/types/WebSocketChatClient.d.ts +12 -1
- package/build/types/state-tracker/FollowedTopicsManager.d.ts +18 -0
- package/build/types/state-tracker/RoomMessagesHistory.d.ts +12 -0
- package/build/types/state-tracker/TopicHistoryWindow.d.ts +2 -2
- package/package.json +1 -1
- package/src/AbstractChatClient.ts +18 -0
- package/src/IndexedObjectCollection.ts +31 -0
- package/src/WebSocketChatClient.ts +58 -7
- package/src/state-tracker/AsyncUtils.ts +6 -0
- package/src/state-tracker/EmoticonsManager.ts +7 -3
- package/src/state-tracker/FollowedTopicsManager.ts +54 -6
- package/src/state-tracker/MessagesManager.ts +21 -2
- package/src/state-tracker/PermissionsManager.ts +5 -1
- package/src/state-tracker/RelationshipsManager.ts +5 -5
- package/src/state-tracker/RoomMessagesHistory.ts +41 -1
- package/src/state-tracker/RoomsManager.ts +21 -4
- package/src/state-tracker/SpacesManager.ts +35 -8
- package/src/state-tracker/TopicHistoryWindow.ts +4 -4
- package/src/state-tracker/UsersManager.ts +3 -1
- package/tests/collections.test.ts +92 -0
- package/tests/pending-commands.test.ts +171 -0
- package/tests/state-reconnect.test.ts +339 -0
package/.idea/workspace.xml
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
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="Unread
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/src/state-tracker/FollowedTopicsManager.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/FollowedTopicsManager.ts" afterDir="false" />
|
|
9
|
-
</list>
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Unread room counter in summary, bump version" />
|
|
10
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
12
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -230,15 +228,7 @@
|
|
|
230
228
|
<workItem from="1783939298935" duration="21428000" />
|
|
231
229
|
<workItem from="1784102649250" duration="12484000" />
|
|
232
230
|
<workItem from="1784524117686" duration="79000" />
|
|
233
|
-
<workItem from="1784562428378" duration="
|
|
234
|
-
</task>
|
|
235
|
-
<task id="LOCAL-00060" summary="Fix websocket state error handling">
|
|
236
|
-
<option name="closed" value="true" />
|
|
237
|
-
<created>1761861305919</created>
|
|
238
|
-
<option name="number" value="00060" />
|
|
239
|
-
<option name="presentableId" value="LOCAL-00060" />
|
|
240
|
-
<option name="project" value="LOCAL" />
|
|
241
|
-
<updated>1761861305919</updated>
|
|
231
|
+
<workItem from="1784562428378" duration="16293000" />
|
|
242
232
|
</task>
|
|
243
233
|
<task id="LOCAL-00061" summary="Collection integration with React JS rework">
|
|
244
234
|
<option name="closed" value="true" />
|
|
@@ -624,7 +614,15 @@
|
|
|
624
614
|
<option name="project" value="LOCAL" />
|
|
625
615
|
<updated>1785094230663</updated>
|
|
626
616
|
</task>
|
|
627
|
-
<
|
|
617
|
+
<task id="LOCAL-00109" summary="Unread room counter in summary, bump version">
|
|
618
|
+
<option name="closed" value="true" />
|
|
619
|
+
<created>1785095048915</created>
|
|
620
|
+
<option name="number" value="00109" />
|
|
621
|
+
<option name="presentableId" value="LOCAL-00109" />
|
|
622
|
+
<option name="project" value="LOCAL" />
|
|
623
|
+
<updated>1785095048916</updated>
|
|
624
|
+
</task>
|
|
625
|
+
<option name="localTasksCounter" value="110" />
|
|
628
626
|
<servers />
|
|
629
627
|
</component>
|
|
630
628
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -674,7 +672,6 @@
|
|
|
674
672
|
</option>
|
|
675
673
|
</component>
|
|
676
674
|
<component name="VcsManagerConfiguration">
|
|
677
|
-
<MESSAGE value="Added new permission" />
|
|
678
675
|
<MESSAGE value="WIP: delete redacted messages" />
|
|
679
676
|
<MESSAGE value="Improve EventTarget typings" />
|
|
680
677
|
<MESSAGE value="Delete redacted messages, improve collections, add tests" />
|
|
@@ -699,7 +696,8 @@
|
|
|
699
696
|
<MESSAGE value="Fix jumpTo when window is in LIVE state" />
|
|
700
697
|
<MESSAGE value="Bump version" />
|
|
701
698
|
<MESSAGE value="Unread topic counter in summary, bump version" />
|
|
702
|
-
<
|
|
699
|
+
<MESSAGE value="Unread room counter in summary, bump version" />
|
|
700
|
+
<option name="LAST_COMMIT_MESSAGE" value="Unread room counter in summary, bump version" />
|
|
703
701
|
</component>
|
|
704
702
|
<component name="XSLT-Support.FileAssociations.UIState">
|
|
705
703
|
<expand />
|