polfan-server-js-client 0.2.61 → 0.2.64

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,7 +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="Align to custom colors and nicks protocol changes" />
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Align to custom colors and nicks protocol changes">
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/WebSocketChatClient.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/build/types/WebSocketChatClient.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/WebSocketChatClient.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/WebSocketChatClient.ts" afterDir="false" />
15
+ </list>
8
16
  <option name="SHOW_DIALOG" value="false" />
9
17
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
18
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -49,32 +57,33 @@
49
57
  <option name="hideEmptyMiddlePackages" value="true" />
50
58
  <option name="showLibraryContents" value="true" />
51
59
  </component>
52
- <component name="PropertiesComponent"><![CDATA[{
53
- "keyToString": {
54
- "RunOnceActivity.ShowReadmeOnStart": "true",
55
- "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
56
- "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
57
- "RunOnceActivity.git.unshallow": "true",
58
- "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
59
- "git-widget-placeholder": "master",
60
- "ignore.virus.scanning.warn.message": "true",
61
- "junie.onboarding.icon.badge.shown": "true",
62
- "last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
63
- "node.js.detected.package.eslint": "true",
64
- "node.js.detected.package.tslint": "true",
65
- "node.js.selected.package.eslint": "(autodetect)",
66
- "node.js.selected.package.tslint": "(autodetect)",
67
- "nodejs_package_manager_path": "npm",
68
- "to.speed.mode.migration.done": "true",
69
- "ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
70
- "vue.rearranger.settings.migration": "true"
60
+ <component name="PropertiesComponent">{
61
+ &quot;keyToString&quot;: {
62
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
63
+ &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager&quot;: &quot;true&quot;,
64
+ &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
65
+ &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
66
+ &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
67
+ &quot;com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1&quot;: &quot;true&quot;,
68
+ &quot;git-widget-placeholder&quot;: &quot;master&quot;,
69
+ &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
70
+ &quot;junie.onboarding.icon.badge.shown&quot;: &quot;true&quot;,
71
+ &quot;last_opened_file_path&quot;: &quot;//wsl.localhost/Debian/home/jarek/polfan-js-client-library&quot;,
72
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
73
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
74
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
75
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
76
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
77
+ &quot;to.speed.mode.migration.done&quot;: &quot;true&quot;,
78
+ &quot;ts.external.directory.path&quot;: &quot;\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib&quot;,
79
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
71
80
  }
72
- }]]></component>
81
+ }</component>
73
82
  <component name="SharedIndexes">
74
83
  <attachedChunks>
75
84
  <set>
76
- <option value="bundled-js-predefined-d6986cc7102b-c7e53b3be11b-JavaScript-PS-253.28086.57" />
77
- <option value="bundled-php-predefined-a98d8de5180a-09080813851e-com.jetbrains.php.sharedIndexes-PS-253.28086.57" />
85
+ <option value="bundled-js-predefined-d6986cc7102b-c7e53b3be11b-JavaScript-PS-253.28294.257" />
86
+ <option value="bundled-php-predefined-a98d8de5180a-09080813851e-com.jetbrains.php.sharedIndexes-PS-253.28294.257" />
78
87
  </set>
79
88
  </attachedChunks>
80
89
  </component>
@@ -149,14 +158,12 @@
149
158
  <workItem from="1763457144937" duration="13889000" />
150
159
  <workItem from="1764419232591" duration="640000" />
151
160
  <workItem from="1764525611464" duration="5340000" />
152
- </task>
153
- <task id="LOCAL-00016" summary="Bans support">
154
- <option name="closed" value="true" />
155
- <created>1740177682341</created>
156
- <option name="number" value="00016" />
157
- <option name="presentableId" value="LOCAL-00016" />
158
- <option name="project" value="LOCAL" />
159
- <updated>1740177682341</updated>
161
+ <workItem from="1764689604655" duration="307000" />
162
+ <workItem from="1764716454990" duration="1338000" />
163
+ <workItem from="1764758258935" duration="1127000" />
164
+ <workItem from="1764792690210" duration="1002000" />
165
+ <workItem from="1764794428269" duration="595000" />
166
+ <workItem from="1764847260499" duration="3270000" />
160
167
  </task>
161
168
  <task id="LOCAL-00017" summary="New scheme of Bye event">
162
169
  <option name="closed" value="true" />
@@ -542,7 +549,15 @@
542
549
  <option name="project" value="LOCAL" />
543
550
  <updated>1764688847485</updated>
544
551
  </task>
545
- <option name="localTasksCounter" value="65" />
552
+ <task id="LOCAL-00065" summary="Align to custom colors and nicks protocol changes">
553
+ <option name="closed" value="true" />
554
+ <created>1764689897013</created>
555
+ <option name="number" value="00065" />
556
+ <option name="presentableId" value="LOCAL-00065" />
557
+ <option name="project" value="LOCAL" />
558
+ <updated>1764689897014</updated>
559
+ </task>
560
+ <option name="localTasksCounter" value="66" />
546
561
  <servers />
547
562
  </component>
548
563
  <component name="TypeScriptGeneratedFilesManager">
@@ -587,4 +602,12 @@
587
602
  <MESSAGE value="Align to custom colors and nicks protocol changes" />
588
603
  <option name="LAST_COMMIT_MESSAGE" value="Align to custom colors and nicks protocol changes" />
589
604
  </component>
605
+ <component name="github-copilot-workspace">
606
+ <instructionFileLocations>
607
+ <option value=".github/instructions" />
608
+ </instructionFileLocations>
609
+ <promptFileLocations>
610
+ <option value=".github/prompts" />
611
+ </promptFileLocations>
612
+ </component>
590
613
  </project>
@@ -4314,6 +4314,12 @@ var WebSocketChatClient = /*#__PURE__*/function (_AbstractChatClient) {
4314
4314
  return WebSocketChatClient_regenerator().w(function (_context) {
4315
4315
  while (1) switch (_context.n) {
4316
4316
  case 0:
4317
+ if (!(this.isReadyToSendWsState() || this.isPendingReadyWsState())) {
4318
+ _context.n = 1;
4319
+ break;
4320
+ }
4321
+ return _context.a(2);
4322
+ case 1:
4317
4323
  params = new URLSearchParams((_this$options$queryPa = this.options.queryParams) !== null && _this$options$queryPa !== void 0 ? _this$options$queryPa : {});
4318
4324
  params.set('token', this.options.token);
4319
4325
  this.ws = new WebSocket("".concat(this.options.url, "?").concat(params));
@@ -4376,6 +4382,11 @@ var WebSocketChatClient = /*#__PURE__*/function (_AbstractChatClient) {
4376
4382
  }
4377
4383
  return send;
4378
4384
  }()
4385
+ }, {
4386
+ key: "isReady",
4387
+ get: function get() {
4388
+ return this.isReadyToSendWsState();
4389
+ }
4379
4390
  }, {
4380
4391
  key: "sendEnvelope",
4381
4392
  value: function sendEnvelope(envelope) {