polfan-server-js-client 0.2.3 → 0.2.32
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,10 +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="Fix
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.ts" afterDir="false" />
|
|
10
|
-
</list>
|
|
7
|
+
<list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Fix package.json type exports" />
|
|
11
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
13
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -99,7 +96,8 @@
|
|
|
99
96
|
<workItem from="1748261162443" duration="638000" />
|
|
100
97
|
<workItem from="1750781391199" duration="2733000" />
|
|
101
98
|
<workItem from="1750982834349" duration="24000" />
|
|
102
|
-
<workItem from="1751050123708" duration="
|
|
99
|
+
<workItem from="1751050123708" duration="983000" />
|
|
100
|
+
<workItem from="1751060147554" duration="143000" />
|
|
103
101
|
</task>
|
|
104
102
|
<task id="LOCAL-00001" summary="Emoticons objects">
|
|
105
103
|
<option name="closed" value="true" />
|
|
@@ -349,7 +347,23 @@
|
|
|
349
347
|
<option name="project" value="LOCAL" />
|
|
350
348
|
<updated>1750786157447</updated>
|
|
351
349
|
</task>
|
|
352
|
-
<
|
|
350
|
+
<task id="LOCAL-00032" summary="Fix package.json exports">
|
|
351
|
+
<option name="closed" value="true" />
|
|
352
|
+
<created>1751051104070</created>
|
|
353
|
+
<option name="number" value="00032" />
|
|
354
|
+
<option name="presentableId" value="LOCAL-00032" />
|
|
355
|
+
<option name="project" value="LOCAL" />
|
|
356
|
+
<updated>1751051104070</updated>
|
|
357
|
+
</task>
|
|
358
|
+
<task id="LOCAL-00033" summary="Fix package.json type exports">
|
|
359
|
+
<option name="closed" value="true" />
|
|
360
|
+
<created>1751060289270</created>
|
|
361
|
+
<option name="number" value="00033" />
|
|
362
|
+
<option name="presentableId" value="LOCAL-00033" />
|
|
363
|
+
<option name="project" value="LOCAL" />
|
|
364
|
+
<updated>1751060289270</updated>
|
|
365
|
+
</task>
|
|
366
|
+
<option name="localTasksCounter" value="34" />
|
|
353
367
|
<servers />
|
|
354
368
|
</component>
|
|
355
369
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -385,6 +399,8 @@
|
|
|
385
399
|
<MESSAGE value="CustomNickChange message type" />
|
|
386
400
|
<MESSAGE value="Fix module exporting (node + browser)" />
|
|
387
401
|
<MESSAGE value="Fix JoinRoom command response type" />
|
|
388
|
-
<
|
|
402
|
+
<MESSAGE value="Fix package.json exports" />
|
|
403
|
+
<MESSAGE value="Fix package.json type exports" />
|
|
404
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix package.json type exports" />
|
|
389
405
|
</component>
|
|
390
406
|
</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' | 'CustomNickChange';
|
|
3
|
+
export type MessageType = 'Text' | 'RoomJoin' | 'RoomLeave' | 'SpaceJoin' | 'SpaceLeave' | 'TopicChange' | 'CustomNickChange' | 'System';
|
|
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.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"description": "JavaScript client library for handling communication with Polfan chat server.",
|
|
5
5
|
"author": "Jarosław Żak",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"types": "build/types/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
+
"types": "./build/types/index.d.ts",
|
|
12
13
|
"require": "./build/index.cjs.js",
|
|
13
14
|
"browser": "./build/index.umd.js",
|
|
14
15
|
"default": "./build/index.cjs.js"
|
|
@@ -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'|'CustomNickChange';
|
|
4
|
+
export type MessageType = 'Text'|'RoomJoin'|'RoomLeave'|'SpaceJoin'|'SpaceLeave'|'TopicChange'|'CustomNickChange'|'System';
|
|
5
5
|
|
|
6
6
|
export interface MessageAuthor {
|
|
7
7
|
user: User;
|