polfan-server-js-client 0.2.55 → 0.2.57

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.
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AskMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EditMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -4,9 +4,15 @@
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 websocket state error handling">
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Collection integration with React JS rework">
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" />
12
+ <change beforePath="$PROJECT_DIR$/build/types/state-tracker/TopicHistoryWindow.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/build/types/state-tracker/TopicHistoryWindow.d.ts" afterDir="false" />
8
13
  <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/src/IndexedObjectCollection.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/IndexedObjectCollection.ts" afterDir="false" />
14
+ <change beforePath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/TopicHistoryWindow.ts" afterDir="false" />
15
+ <change beforePath="$PROJECT_DIR$/tests/history-window.test.ts" beforeDir="false" afterPath="$PROJECT_DIR$/tests/history-window.test.ts" afterDir="false" />
10
16
  </list>
11
17
  <option name="SHOW_DIALOG" value="false" />
12
18
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -53,7 +59,9 @@
53
59
  &quot;keyToString&quot;: {
54
60
  &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
55
61
  &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager&quot;: &quot;true&quot;,
62
+ &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
56
63
  &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
64
+ &quot;com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1&quot;: &quot;true&quot;,
57
65
  &quot;git-widget-placeholder&quot;: &quot;master&quot;,
58
66
  &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
59
67
  &quot;junie.onboarding.icon.badge.shown&quot;: &quot;true&quot;,
@@ -63,6 +71,7 @@
63
71
  &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
64
72
  &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
65
73
  &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
74
+ &quot;to.speed.mode.migration.done&quot;: &quot;true&quot;,
66
75
  &quot;ts.external.directory.path&quot;: &quot;\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib&quot;,
67
76
  &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
68
77
  }
@@ -70,8 +79,8 @@
70
79
  <component name="SharedIndexes">
71
80
  <attachedChunks>
72
81
  <set>
73
- <option value="bundled-js-predefined-d6986cc7102b-b26f3e71634d-JavaScript-PS-251.26094.133" />
74
- <option value="bundled-php-predefined-a98d8de5180a-c5828cf854d9-com.jetbrains.php.sharedIndexes-PS-251.26094.133" />
82
+ <option value="bundled-js-predefined-d6986cc7102b-c7e53b3be11b-JavaScript-PS-253.28086.57" />
83
+ <option value="bundled-php-predefined-a98d8de5180a-09080813851e-com.jetbrains.php.sharedIndexes-PS-253.28086.57" />
75
84
  </set>
76
85
  </attachedChunks>
77
86
  </component>
@@ -138,15 +147,11 @@
138
147
  <workItem from="1759848250548" duration="413000" />
139
148
  <workItem from="1761857165939" duration="4293000" />
140
149
  <workItem from="1762715993044" duration="642000" />
141
- <workItem from="1762724230487" duration="4909000" />
142
- </task>
143
- <task id="LOCAL-00012" summary="Permission related changes in protocol types">
144
- <option name="closed" value="true" />
145
- <created>1739137397104</created>
146
- <option name="number" value="00012" />
147
- <option name="presentableId" value="LOCAL-00012" />
148
- <option name="project" value="LOCAL" />
149
- <updated>1739137397104</updated>
150
+ <workItem from="1762724230487" duration="7498000" />
151
+ <workItem from="1762800240528" duration="49000" />
152
+ <workItem from="1762800459831" duration="10000" />
153
+ <workItem from="1763319451927" duration="2136000" />
154
+ <workItem from="1763410036992" duration="181000" />
150
155
  </task>
151
156
  <task id="LOCAL-00013" summary="Permission related changes in protocol types">
152
157
  <option name="closed" value="true" />
@@ -532,7 +537,15 @@
532
537
  <option name="project" value="LOCAL" />
533
538
  <updated>1761861305919</updated>
534
539
  </task>
535
- <option name="localTasksCounter" value="61" />
540
+ <task id="LOCAL-00061" summary="Collection integration with React JS rework">
541
+ <option name="closed" value="true" />
542
+ <created>1762773873854</created>
543
+ <option name="number" value="00061" />
544
+ <option name="presentableId" value="LOCAL-00061" />
545
+ <option name="project" value="LOCAL" />
546
+ <updated>1762773873854</updated>
547
+ </task>
548
+ <option name="localTasksCounter" value="62" />
536
549
  <servers />
537
550
  </component>
538
551
  <component name="TypeScriptGeneratedFilesManager">
@@ -550,7 +563,6 @@
550
563
  </option>
551
564
  </component>
552
565
  <component name="VcsManagerConfiguration">
553
- <MESSAGE value="Custom nicks support" />
554
566
  <MESSAGE value="CustomNickChange message type" />
555
567
  <MESSAGE value="Fix module exporting (node + browser)" />
556
568
  <MESSAGE value="Fix JoinRoom command response type" />
@@ -575,6 +587,7 @@
575
587
  <MESSAGE value="Protocol version support" />
576
588
  <MESSAGE value="Update room on recipient user change" />
577
589
  <MESSAGE value="Fix websocket state error handling" />
578
- <option name="LAST_COMMIT_MESSAGE" value="Fix websocket state error handling" />
590
+ <MESSAGE value="Collection integration with React JS rework" />
591
+ <option name="LAST_COMMIT_MESSAGE" value="Collection integration with React JS rework" />
579
592
  </component>
580
593
  </project>
@@ -428,9 +428,9 @@ class TraversableRemoteCollection extends ObservableIndexedObjectCollection {
428
428
  * Null for unlimited.
429
429
  */
430
430
  TopicHistoryWindow_defineProperty(this, "limit", 50);
431
+ TopicHistoryWindow_defineProperty(this, "oldestId", null);
431
432
  TopicHistoryWindow_defineProperty(this, "currentState", WindowState.LIVE);
432
433
  TopicHistoryWindow_defineProperty(this, "fetchingState", undefined);
433
- TopicHistoryWindow_defineProperty(this, "oldestId", null);
434
434
  }
435
435
  /**
436
436
  * Current mode od collection window. To change mode, call one of available fetch methods.
@@ -552,6 +552,17 @@ class TopicHistoryWindow extends TraversableRemoteCollection {
552
552
  this.tracker.client.on('Session', ev => this.handleSession(ev));
553
553
  this.tracker.client.on('NewMessage', ev => this.handleNewMessage(ev));
554
554
  }
555
+ shallowCopy() {
556
+ const copy = new TopicHistoryWindow(this.roomId, this.topicId, this.tracker);
557
+ copy.eventTarget = this.eventTarget;
558
+ copy._items = this._items;
559
+ copy.limit = this.limit;
560
+ copy.currentState = this.currentState;
561
+ copy.fetchingState = this.fetchingState;
562
+ copy.oldestId = this.oldestId;
563
+ copy.traverseLock = this.traverseLock;
564
+ return copy;
565
+ }
555
566
  get isTraverseLocked() {
556
567
  return this.traverseLock;
557
568
  }