polfan-server-js-client 0.2.72 → 0.2.74

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,15 +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="Improve reconnect on timeout">
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>
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Fix permission check (caching overwrites)" />
16
8
  <option name="SHOW_DIALOG" value="false" />
17
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
18
10
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -57,28 +49,28 @@
57
49
  <option name="hideEmptyMiddlePackages" value="true" />
58
50
  <option name="showLibraryContents" value="true" />
59
51
  </component>
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;
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
+ "RunOnceActivity.typescript.service.memoryLimit.init": "true",
59
+ "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
60
+ "git-widget-placeholder": "master",
61
+ "ignore.virus.scanning.warn.message": "true",
62
+ "junie.onboarding.icon.badge.shown": "true",
63
+ "last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
64
+ "node.js.detected.package.eslint": "true",
65
+ "node.js.detected.package.tslint": "true",
66
+ "node.js.selected.package.eslint": "(autodetect)",
67
+ "node.js.selected.package.tslint": "(autodetect)",
68
+ "nodejs_package_manager_path": "npm",
69
+ "to.speed.mode.migration.done": "true",
70
+ "ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
71
+ "vue.rearranger.settings.migration": "true"
80
72
  }
81
- }</component>
73
+ }]]></component>
82
74
  <component name="SharedIndexes">
83
75
  <attachedChunks>
84
76
  <set>
@@ -168,22 +160,8 @@
168
160
  <workItem from="1765272289918" duration="4091000" />
169
161
  <workItem from="1765445100442" duration="586000" />
170
162
  <workItem from="1765805497689" duration="6758000" />
171
- </task>
172
- <task id="LOCAL-00020" summary="UsersManager">
173
- <option name="closed" value="true" />
174
- <created>1741170174335</created>
175
- <option name="number" value="00020" />
176
- <option name="presentableId" value="LOCAL-00020" />
177
- <option name="project" value="LOCAL" />
178
- <updated>1741170174335</updated>
179
- </task>
180
- <task id="LOCAL-00021" summary="Client data and room stream support">
181
- <option name="closed" value="true" />
182
- <created>1741970680171</created>
183
- <option name="number" value="00021" />
184
- <option name="presentableId" value="LOCAL-00021" />
185
- <option name="project" value="LOCAL" />
186
- <updated>1741970680171</updated>
163
+ <workItem from="1765961123241" duration="6316000" />
164
+ <workItem from="1767385708366" duration="3390000" />
187
165
  </task>
188
166
  <task id="LOCAL-00022" summary="Client data and room stream support">
189
167
  <option name="closed" value="true" />
@@ -561,7 +539,23 @@
561
539
  <option name="project" value="LOCAL" />
562
540
  <updated>1765145773196</updated>
563
541
  </task>
564
- <option name="localTasksCounter" value="69" />
542
+ <task id="LOCAL-00069" summary="Bump version">
543
+ <option name="closed" value="true" />
544
+ <created>1766071099183</created>
545
+ <option name="number" value="00069" />
546
+ <option name="presentableId" value="LOCAL-00069" />
547
+ <option name="project" value="LOCAL" />
548
+ <updated>1766071099183</updated>
549
+ </task>
550
+ <task id="LOCAL-00070" summary="Fix permission check (caching overwrites)">
551
+ <option name="closed" value="true" />
552
+ <created>1767389582834</created>
553
+ <option name="number" value="00070" />
554
+ <option name="presentableId" value="LOCAL-00070" />
555
+ <option name="project" value="LOCAL" />
556
+ <updated>1767389582834</updated>
557
+ </task>
558
+ <option name="localTasksCounter" value="71" />
565
559
  <servers />
566
560
  </component>
567
561
  <component name="TypeScriptGeneratedFilesManager">
@@ -579,8 +573,6 @@
579
573
  </option>
580
574
  </component>
581
575
  <component name="VcsManagerConfiguration">
582
- <MESSAGE value="Dedicated event for user status change" />
583
- <MESSAGE value="Fix update the latest message in a room default topic" />
584
576
  <MESSAGE value="Adapt FilesClient to new files API" />
585
577
  <MESSAGE value="Fix global emoticons support" />
586
578
  <MESSAGE value="Update schemes" />
@@ -604,7 +596,9 @@
604
596
  <MESSAGE value="Connection handling optimizations" />
605
597
  <MESSAGE value="Ping-pong connection monitoring" />
606
598
  <MESSAGE value="Improve reconnect on timeout" />
607
- <option name="LAST_COMMIT_MESSAGE" value="Improve reconnect on timeout" />
599
+ <MESSAGE value="Bump version" />
600
+ <MESSAGE value="Fix permission check (caching overwrites)" />
601
+ <option name="LAST_COMMIT_MESSAGE" value="Fix permission check (caching overwrites)" />
608
602
  </component>
609
603
  <component name="github-copilot-workspace">
610
604
  <instructionFileLocations>
@@ -3219,7 +3219,9 @@ function PermissionsManager_toPrimitive(t, r) { if ("object" != PermissionsManag
3219
3219
 
3220
3220
 
3221
3221
  var getOvId = function getOvId(location, target) {
3222
- return [location.spaceId, location.roomId, location.topicId, target === null || target === void 0 ? void 0 : target.type, target === null || target === void 0 ? void 0 : target.userId, target === null || target === void 0 ? void 0 : target.roleId].filter(Boolean).join('/');
3222
+ return [location.roomId ? null : location.spaceId,
3223
+ // unify declaration of both space and room level overwrites
3224
+ location.roomId, location.topicId, target === null || target === void 0 ? void 0 : target.type, target === null || target === void 0 ? void 0 : target.userId, target === null || target === void 0 ? void 0 : target.roleId].filter(Boolean).join('/');
3223
3225
  };
3224
3226
  var getOvIdByObject = function getOvIdByObject(overwrites) {
3225
3227
  return getOvId(overwrites.location, overwrites.target);
@@ -3607,8 +3609,8 @@ var PermissionsManager = /*#__PURE__*/function (_EventTarget) {
3607
3609
  }
3608
3610
  }
3609
3611
 
3610
- /**
3611
- * @return Matched and deleted ids
3612
+ /**
3613
+ * @return Matched and deleted ids
3612
3614
  */
3613
3615
  }, {
3614
3616
  key: "deleteOverwritesByIdPrefix",