polfan-server-js-client 0.2.103 → 0.2.104

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,9 +4,8 @@
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="Topic unfollowing">
8
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/src/WebApiChatClient.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/WebApiChatClient.ts" afterDir="false" />
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Fixes in WebApiChatClient">
8
+ <change beforePath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" afterDir="false" />
10
9
  </list>
11
10
  <option name="SHOW_DIALOG" value="false" />
12
11
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -60,32 +59,32 @@
60
59
  <option name="hideEmptyMiddlePackages" value="true" />
61
60
  <option name="showLibraryContents" value="true" />
62
61
  </component>
63
- <component name="PropertiesComponent"><![CDATA[{
64
- "keyToString": {
65
- "RunOnceActivity.MCP Project settings loaded": "true",
66
- "RunOnceActivity.ShowReadmeOnStart": "true",
67
- "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
68
- "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
69
- "RunOnceActivity.git.unshallow": "true",
70
- "RunOnceActivity.typescript.service.memoryLimit.init": "true",
71
- "codeWithMe.voiceChat.enabledByDefault": "false",
72
- "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
73
- "git-widget-placeholder": "master",
74
- "git.auto.fetch.suggestion.counter": "1",
75
- "ignore.virus.scanning.warn.message": "true",
76
- "junie.onboarding.icon.badge.shown": "true",
77
- "last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
78
- "node.js.detected.package.eslint": "true",
79
- "node.js.detected.package.tslint": "true",
80
- "node.js.selected.package.eslint": "(autodetect)",
81
- "node.js.selected.package.tslint": "(autodetect)",
82
- "nodejs_package_manager_path": "npm",
83
- "settings.editor.selected.configurable": "com.github.copilot.settings.chat.ChatConfigurable",
84
- "to.speed.mode.migration.done": "true",
85
- "ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
86
- "vue.rearranger.settings.migration": "true"
62
+ <component name="PropertiesComponent">{
63
+ &quot;keyToString&quot;: {
64
+ &quot;RunOnceActivity.MCP Project settings loaded&quot;: &quot;true&quot;,
65
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
66
+ &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager&quot;: &quot;true&quot;,
67
+ &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
68
+ &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
69
+ &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
70
+ &quot;codeWithMe.voiceChat.enabledByDefault&quot;: &quot;false&quot;,
71
+ &quot;com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1&quot;: &quot;true&quot;,
72
+ &quot;git-widget-placeholder&quot;: &quot;master&quot;,
73
+ &quot;git.auto.fetch.suggestion.counter&quot;: &quot;1&quot;,
74
+ &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
75
+ &quot;junie.onboarding.icon.badge.shown&quot;: &quot;true&quot;,
76
+ &quot;last_opened_file_path&quot;: &quot;//wsl.localhost/Debian/home/jarek/polfan-js-client-library&quot;,
77
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
78
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
79
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
80
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
81
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
82
+ &quot;settings.editor.selected.configurable&quot;: &quot;com.github.copilot.settings.chat.ChatConfigurable&quot;,
83
+ &quot;to.speed.mode.migration.done&quot;: &quot;true&quot;,
84
+ &quot;ts.external.directory.path&quot;: &quot;\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib&quot;,
85
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
87
86
  }
88
- }]]></component>
87
+ }</component>
89
88
  <component name="SharedIndexes">
90
89
  <attachedChunks>
91
90
  <set>
@@ -209,15 +208,9 @@
209
208
  <workItem from="1782664203095" duration="5539000" />
210
209
  <workItem from="1782909199211" duration="2404000" />
211
210
  <workItem from="1783939298935" duration="21428000" />
212
- <workItem from="1784102649250" duration="10048000" />
213
- </task>
214
- <task id="LOCAL-00054" summary="Version bump">
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>
211
+ <workItem from="1784102649250" duration="12484000" />
212
+ <workItem from="1784524117686" duration="79000" />
213
+ <workItem from="1784562428378" duration="1297000" />
221
214
  </task>
222
215
  <task id="LOCAL-00055" summary="RoomSummaryUpdated event support">
223
216
  <option name="closed" value="true" />
@@ -603,7 +596,15 @@
603
596
  <option name="project" value="LOCAL" />
604
597
  <updated>1784236719408</updated>
605
598
  </task>
606
- <option name="localTasksCounter" value="103" />
599
+ <task id="LOCAL-00103" summary="Fixes in WebApiChatClient">
600
+ <option name="closed" value="true" />
601
+ <created>1784454304263</created>
602
+ <option name="number" value="00103" />
603
+ <option name="presentableId" value="LOCAL-00103" />
604
+ <option name="project" value="LOCAL" />
605
+ <updated>1784454304263</updated>
606
+ </task>
607
+ <option name="localTasksCounter" value="104" />
607
608
  <servers />
608
609
  </component>
609
610
  <component name="TypeScriptGeneratedFilesManager">
@@ -648,7 +649,6 @@
648
649
  </option>
649
650
  </component>
650
651
  <component name="VcsManagerConfiguration">
651
- <MESSAGE value="Improve hasOldest behavior when resetToLatest used" />
652
652
  <MESSAGE value="Align permissions to server changes" />
653
653
  <MESSAGE value="Allow to define ManageRoom permission on room level" />
654
654
  <MESSAGE value="Remove unused exports" />
@@ -673,7 +673,8 @@
673
673
  <MESSAGE value="Fix roles checking in spaceless rooms" />
674
674
  <MESSAGE value="Adjust session data changes" />
675
675
  <MESSAGE value="Topic unfollowing" />
676
- <option name="LAST_COMMIT_MESSAGE" value="Topic unfollowing" />
676
+ <MESSAGE value="Fixes in WebApiChatClient" />
677
+ <option name="LAST_COMMIT_MESSAGE" value="Fixes in WebApiChatClient" />
677
678
  </component>
678
679
  <component name="XSLT-Support.FileAssociations.UIState">
679
680
  <expand />
@@ -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
- if (result) {
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]]);