polfan-server-js-client 0.2.103 → 0.2.105
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 +48 -24
- package/build/index.cjs.js +10 -11
- 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/state-tracker/TopicHistoryWindow.ts +8 -9
package/.idea/workspace.xml
CHANGED
|
@@ -4,9 +4,13 @@
|
|
|
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="Fix resolve window status after jump to message">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/build/index.cjs.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.cjs.js" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/build/index.cjs.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.cjs.js.map" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/build/index.umd.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.umd.js" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/build/index.umd.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/build/index.umd.js.map" afterDir="false" />
|
|
8
12
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/src/
|
|
13
|
+
<change beforePath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" afterDir="false" />
|
|
10
14
|
</list>
|
|
11
15
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
16
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -17,7 +21,7 @@
|
|
|
17
21
|
<execution />
|
|
18
22
|
</component>
|
|
19
23
|
<component name="EmbeddingIndexingInfo">
|
|
20
|
-
<option name="cachedIndexableFilesCount" value="
|
|
24
|
+
<option name="cachedIndexableFilesCount" value="201" />
|
|
21
25
|
</component>
|
|
22
26
|
<component name="Git.Rebase.Settings">
|
|
23
27
|
<option name="NEW_BASE" value="origin/main" />
|
|
@@ -80,12 +84,30 @@
|
|
|
80
84
|
"node.js.selected.package.eslint": "(autodetect)",
|
|
81
85
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
82
86
|
"nodejs_package_manager_path": "npm",
|
|
87
|
+
"npm.build:node.executor": "Run",
|
|
83
88
|
"settings.editor.selected.configurable": "com.github.copilot.settings.chat.ChatConfigurable",
|
|
84
89
|
"to.speed.mode.migration.done": "true",
|
|
85
90
|
"ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
|
|
86
91
|
"vue.rearranger.settings.migration": "true"
|
|
87
92
|
}
|
|
88
93
|
}]]></component>
|
|
94
|
+
<component name="RunManager">
|
|
95
|
+
<configuration name="build:node" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
|
|
96
|
+
<package-json value="$PROJECT_DIR$/package.json" />
|
|
97
|
+
<command value="run" />
|
|
98
|
+
<scripts>
|
|
99
|
+
<script value="build:node" />
|
|
100
|
+
</scripts>
|
|
101
|
+
<node-interpreter value="project" />
|
|
102
|
+
<envs />
|
|
103
|
+
<method v="2" />
|
|
104
|
+
</configuration>
|
|
105
|
+
<recent_temporary>
|
|
106
|
+
<list>
|
|
107
|
+
<item itemvalue="npm.build:node" />
|
|
108
|
+
</list>
|
|
109
|
+
</recent_temporary>
|
|
110
|
+
</component>
|
|
89
111
|
<component name="SharedIndexes">
|
|
90
112
|
<attachedChunks>
|
|
91
113
|
<set>
|
|
@@ -209,23 +231,9 @@
|
|
|
209
231
|
<workItem from="1782664203095" duration="5539000" />
|
|
210
232
|
<workItem from="1782909199211" duration="2404000" />
|
|
211
233
|
<workItem from="1783939298935" duration="21428000" />
|
|
212
|
-
<workItem from="1784102649250" duration="
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
<option name="closed" value="true" />
|
|
216
|
-
<created>1754567912510</created>
|
|
217
|
-
<option name="number" value="00054" />
|
|
218
|
-
<option name="presentableId" value="LOCAL-00054" />
|
|
219
|
-
<option name="project" value="LOCAL" />
|
|
220
|
-
<updated>1754567912510</updated>
|
|
221
|
-
</task>
|
|
222
|
-
<task id="LOCAL-00055" summary="RoomSummaryUpdated event support">
|
|
223
|
-
<option name="closed" value="true" />
|
|
224
|
-
<created>1754568882637</created>
|
|
225
|
-
<option name="number" value="00055" />
|
|
226
|
-
<option name="presentableId" value="LOCAL-00055" />
|
|
227
|
-
<option name="project" value="LOCAL" />
|
|
228
|
-
<updated>1754568882638</updated>
|
|
234
|
+
<workItem from="1784102649250" duration="12484000" />
|
|
235
|
+
<workItem from="1784524117686" duration="79000" />
|
|
236
|
+
<workItem from="1784562428378" duration="4226000" />
|
|
229
237
|
</task>
|
|
230
238
|
<task id="LOCAL-00056" summary="Ephemeral room history support">
|
|
231
239
|
<option name="closed" value="true" />
|
|
@@ -603,7 +611,23 @@
|
|
|
603
611
|
<option name="project" value="LOCAL" />
|
|
604
612
|
<updated>1784236719408</updated>
|
|
605
613
|
</task>
|
|
606
|
-
<
|
|
614
|
+
<task id="LOCAL-00103" summary="Fixes in WebApiChatClient">
|
|
615
|
+
<option name="closed" value="true" />
|
|
616
|
+
<created>1784454304263</created>
|
|
617
|
+
<option name="number" value="00103" />
|
|
618
|
+
<option name="presentableId" value="LOCAL-00103" />
|
|
619
|
+
<option name="project" value="LOCAL" />
|
|
620
|
+
<updated>1784454304263</updated>
|
|
621
|
+
</task>
|
|
622
|
+
<task id="LOCAL-00104" summary="Fix resolve window status after jump to message">
|
|
623
|
+
<option name="closed" value="true" />
|
|
624
|
+
<created>1784563961478</created>
|
|
625
|
+
<option name="number" value="00104" />
|
|
626
|
+
<option name="presentableId" value="LOCAL-00104" />
|
|
627
|
+
<option name="project" value="LOCAL" />
|
|
628
|
+
<updated>1784563961478</updated>
|
|
629
|
+
</task>
|
|
630
|
+
<option name="localTasksCounter" value="105" />
|
|
607
631
|
<servers />
|
|
608
632
|
</component>
|
|
609
633
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -648,8 +672,6 @@
|
|
|
648
672
|
</option>
|
|
649
673
|
</component>
|
|
650
674
|
<component name="VcsManagerConfiguration">
|
|
651
|
-
<MESSAGE value="Improve hasOldest behavior when resetToLatest used" />
|
|
652
|
-
<MESSAGE value="Align permissions to server changes" />
|
|
653
675
|
<MESSAGE value="Allow to define ManageRoom permission on room level" />
|
|
654
676
|
<MESSAGE value="Remove unused exports" />
|
|
655
677
|
<MESSAGE value="Added abuse reports and message redaction types" />
|
|
@@ -673,7 +695,9 @@
|
|
|
673
695
|
<MESSAGE value="Fix roles checking in spaceless rooms" />
|
|
674
696
|
<MESSAGE value="Adjust session data changes" />
|
|
675
697
|
<MESSAGE value="Topic unfollowing" />
|
|
676
|
-
<
|
|
698
|
+
<MESSAGE value="Fixes in WebApiChatClient" />
|
|
699
|
+
<MESSAGE value="Fix resolve window status after jump to message" />
|
|
700
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fix resolve window status after jump to message" />
|
|
677
701
|
</component>
|
|
678
702
|
<component name="XSLT-Support.FileAssociations.UIState">
|
|
679
703
|
<expand />
|
package/build/index.cjs.js
CHANGED
|
@@ -946,7 +946,7 @@ var TraversableRemoteCollection = /*#__PURE__*/function (_ObservableIndexedObj)
|
|
|
946
946
|
return _regenerator().w(function (_context4) {
|
|
947
947
|
while (1) switch (_context4.p = _context4.n) {
|
|
948
948
|
case 0:
|
|
949
|
-
if (!(this.internalState.ongoing || this._items.has(id))) {
|
|
949
|
+
if (!(this.internalState.ongoing || this.state !== WindowState.LIVE && this._items.has(id))) {
|
|
950
950
|
_context4.n = 1;
|
|
951
951
|
break;
|
|
952
952
|
}
|
|
@@ -960,22 +960,21 @@ var TraversableRemoteCollection = /*#__PURE__*/function (_ObservableIndexedObj)
|
|
|
960
960
|
case 3:
|
|
961
961
|
result = _context4.v;
|
|
962
962
|
this.internalState.lastFetchCount = result ? result.length : 0;
|
|
963
|
+
if (!result) {
|
|
964
|
+
_context4.n = 4;
|
|
965
|
+
break;
|
|
966
|
+
}
|
|
967
|
+
this._items.deleteAll(); // Directly call deleteAll to prevent event emit.
|
|
968
|
+
this.addItems(result, 'tail');
|
|
969
|
+
_context4.n = 4;
|
|
970
|
+
return this.refreshFetchedState();
|
|
963
971
|
case 4:
|
|
964
972
|
_context4.p = 4;
|
|
965
973
|
this.internalState.ongoing = undefined;
|
|
966
974
|
return _context4.f(4);
|
|
967
975
|
case 5:
|
|
968
|
-
|
|
969
|
-
_context4.n = 6;
|
|
970
|
-
break;
|
|
971
|
-
}
|
|
972
|
-
return _context4.a(2);
|
|
976
|
+
this.emitChangeWithDiff(!!result, originalState);
|
|
973
977
|
case 6:
|
|
974
|
-
this._items.deleteAll(); // Directly call deleteAll to prevent event emit.
|
|
975
|
-
this.addItems(result, 'tail');
|
|
976
|
-
this.internalState.current = WindowState.PAST;
|
|
977
|
-
this.emitChangeWithDiff(true, originalState);
|
|
978
|
-
case 7:
|
|
979
978
|
return _context4.a(2);
|
|
980
979
|
}
|
|
981
980
|
}, _callee4, this, [[2,, 4, 5]]);
|