polfan-server-js-client 0.1.99940 → 0.1.99941

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.
@@ -4,19 +4,9 @@
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="Private rooms and space summaries">
8
- <change beforePath="$PROJECT_DIR$/build/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.js" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/build/index.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.js.map" afterDir="false" />
10
- <change beforePath="$PROJECT_DIR$/build/types/types/src/index.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/build/types/types/src/index.d.ts" afterDir="false" />
11
- <change beforePath="$PROJECT_DIR$/build/types/types/src/schemes/Message.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/build/types/types/src/schemes/Message.d.ts" afterDir="false" />
12
- <change beforePath="$PROJECT_DIR$/build/types/types/src/schemes/SpaceMember.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/build/types/types/src/schemes/SpaceMember.d.ts" afterDir="false" />
13
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
14
- <change beforePath="$PROJECT_DIR$/src/state-tracker/MessagesManager.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/MessagesManager.ts" afterDir="false" />
15
- <change beforePath="$PROJECT_DIR$/src/state-tracker/UsersManager.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/UsersManager.ts" afterDir="false" />
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Custom nicks support">
16
8
  <change beforePath="$PROJECT_DIR$/src/types" beforeDir="false" afterPath="$PROJECT_DIR$/src/types" afterDir="false" />
17
- <change beforePath="$PROJECT_DIR$/src/types/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/src/index.ts" afterDir="false" />
18
9
  <change beforePath="$PROJECT_DIR$/src/types/src/schemes/Message.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/src/schemes/Message.ts" afterDir="false" />
19
- <change beforePath="$PROJECT_DIR$/src/types/src/schemes/SpaceMember.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/src/schemes/SpaceMember.ts" afterDir="false" />
20
10
  </list>
21
11
  <option name="SHOW_DIALOG" value="false" />
22
12
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -35,7 +25,7 @@
35
25
  <entry key="$PROJECT_DIR$/src/types" value="562c7beff95ea1eaf5c236df978f50a614a146af" />
36
26
  </map>
37
27
  </option>
38
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
28
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/src/types" />
39
29
  <option name="ROOT_SYNC" value="DONT_SYNC" />
40
30
  </component>
41
31
  <component name="PhpWorkspaceProjectConfiguration" interpreter_name="C:\php\php.exe" />
@@ -51,7 +41,7 @@
51
41
  "keyToString": {
52
42
  "RunOnceActivity.ShowReadmeOnStart": "true",
53
43
  "RunOnceActivity.git.unshallow": "true",
54
- "git-widget-placeholder": "master",
44
+ "git-widget-placeholder": "main",
55
45
  "ignore.virus.scanning.warn.message": "true",
56
46
  "last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
57
47
  "node.js.detected.package.eslint": "true",
@@ -100,7 +90,7 @@
100
90
  <workItem from="1744309643639" duration="34000" />
101
91
  <workItem from="1744311202579" duration="462000" />
102
92
  <workItem from="1744311740036" duration="236000" />
103
- <workItem from="1744901985416" duration="5770000" />
93
+ <workItem from="1744901985416" duration="7798000" />
104
94
  </task>
105
95
  <task id="LOCAL-00001" summary="Emoticons objects">
106
96
  <option name="closed" value="true" />
@@ -310,7 +300,15 @@
310
300
  <option name="project" value="LOCAL" />
311
301
  <updated>1742760630283</updated>
312
302
  </task>
313
- <option name="localTasksCounter" value="27" />
303
+ <task id="LOCAL-00027" summary="Custom nicks support">
304
+ <option name="closed" value="true" />
305
+ <created>1744989199436</created>
306
+ <option name="number" value="00027" />
307
+ <option name="presentableId" value="LOCAL-00027" />
308
+ <option name="project" value="LOCAL" />
309
+ <updated>1744989199436</updated>
310
+ </task>
311
+ <option name="localTasksCounter" value="28" />
314
312
  <servers />
315
313
  </component>
316
314
  <component name="TypeScriptGeneratedFilesManager">
@@ -342,6 +340,7 @@
342
340
  <MESSAGE value="Client data and room stream support" />
343
341
  <MESSAGE value="New collections mutationCounter property and map method remove" />
344
342
  <MESSAGE value="Private rooms and space summaries" />
345
- <option name="LAST_COMMIT_MESSAGE" value="Private rooms and space summaries" />
343
+ <MESSAGE value="Custom nicks support" />
344
+ <option name="LAST_COMMIT_MESSAGE" value="Custom nicks support" />
346
345
  </component>
347
346
  </project>
@@ -1,6 +1,6 @@
1
1
  import { User } from "./User";
2
2
  import { ChatLocation } from "./ChatLocation";
3
- export type MessageType = 'Text' | 'RoomJoin' | 'RoomLeave' | 'SpaceJoin' | 'SpaceLeave' | 'TopicChange';
3
+ export type MessageType = 'Text' | 'RoomJoin' | 'RoomLeave' | 'SpaceJoin' | 'SpaceLeave' | 'TopicChange' | 'CustomNickChange';
4
4
  export interface MessageAuthor {
5
5
  user: User;
6
6
  customNick?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polfan-server-js-client",
3
- "version": "0.1.99940",
3
+ "version": "0.1.99941",
4
4
  "description": "JavaScript client library for handling communication with Polfan chat server.",
5
5
  "author": "Jarosław Żak",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import {User} from "./User";
2
2
  import {ChatLocation} from "./ChatLocation";
3
3
 
4
- export type MessageType = 'Text'|'RoomJoin'|'RoomLeave'|'SpaceJoin'|'SpaceLeave'|'TopicChange';
4
+ export type MessageType = 'Text'|'RoomJoin'|'RoomLeave'|'SpaceJoin'|'SpaceLeave'|'TopicChange'|'CustomNickChange';
5
5
 
6
6
  export interface MessageAuthor {
7
7
  user: User;