polfan-server-js-client 0.2.34 → 0.2.35
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
CHANGED
|
@@ -4,7 +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="
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Dedicated event for user status change" />
|
|
8
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
9
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
<workItem from="1751050123708" duration="983000" />
|
|
100
100
|
<workItem from="1751060147554" duration="143000" />
|
|
101
101
|
<workItem from="1751159757238" duration="782000" />
|
|
102
|
+
<workItem from="1751539766803" duration="1251000" />
|
|
102
103
|
</task>
|
|
103
104
|
<task id="LOCAL-00001" summary="Emoticons objects">
|
|
104
105
|
<option name="closed" value="true" />
|
|
@@ -388,7 +389,15 @@
|
|
|
388
389
|
<option name="project" value="LOCAL" />
|
|
389
390
|
<updated>1751160521070</updated>
|
|
390
391
|
</task>
|
|
391
|
-
<
|
|
392
|
+
<task id="LOCAL-00037" summary="Dedicated event for user status change">
|
|
393
|
+
<option name="closed" value="true" />
|
|
394
|
+
<created>1751547708628</created>
|
|
395
|
+
<option name="number" value="00037" />
|
|
396
|
+
<option name="presentableId" value="LOCAL-00037" />
|
|
397
|
+
<option name="project" value="LOCAL" />
|
|
398
|
+
<updated>1751547708628</updated>
|
|
399
|
+
</task>
|
|
400
|
+
<option name="localTasksCounter" value="38" />
|
|
392
401
|
<servers />
|
|
393
402
|
</component>
|
|
394
403
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -427,6 +436,7 @@
|
|
|
427
436
|
<MESSAGE value="Fix package.json exports" />
|
|
428
437
|
<MESSAGE value="Fix package.json type exports" />
|
|
429
438
|
<MESSAGE value="New message type" />
|
|
430
|
-
<
|
|
439
|
+
<MESSAGE value="Dedicated event for user status change" />
|
|
440
|
+
<option name="LAST_COMMIT_MESSAGE" value="Dedicated event for user status change" />
|
|
431
441
|
</component>
|
|
432
442
|
</project>
|
package/build/index.cjs.js
CHANGED
|
@@ -1894,7 +1894,7 @@ class UsersManager {
|
|
|
1894
1894
|
users.forEach(newUser => {
|
|
1895
1895
|
const oldUser = this.users.get(newUser.id);
|
|
1896
1896
|
if (oldUser && oldUser.online !== newUser.online) {
|
|
1897
|
-
this.onlineStatus.emit('
|
|
1897
|
+
this.onlineStatus.emit('change', newUser);
|
|
1898
1898
|
}
|
|
1899
1899
|
});
|
|
1900
1900
|
this.users.set(...users);
|