polfan-server-js-client 0.2.73 → 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,10 +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="Bump version">
8
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/src/state-tracker/PermissionsManager.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/state-tracker/PermissionsManager.ts" afterDir="false" />
10
- </list>
7
+ <list default="true" id="831dae43-0da1-47fd-a5f7-33dd5eec2992" name="Changes" comment="Fix permission check (caching overwrites)" />
11
8
  <option name="SHOW_DIALOG" value="false" />
12
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
13
10
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -164,15 +161,7 @@
164
161
  <workItem from="1765445100442" duration="586000" />
165
162
  <workItem from="1765805497689" duration="6758000" />
166
163
  <workItem from="1765961123241" duration="6316000" />
167
- <workItem from="1767385708366" duration="2678000" />
168
- </task>
169
- <task id="LOCAL-00021" summary="Client data and room stream support">
170
- <option name="closed" value="true" />
171
- <created>1741970680171</created>
172
- <option name="number" value="00021" />
173
- <option name="presentableId" value="LOCAL-00021" />
174
- <option name="project" value="LOCAL" />
175
- <updated>1741970680171</updated>
164
+ <workItem from="1767385708366" duration="3390000" />
176
165
  </task>
177
166
  <task id="LOCAL-00022" summary="Client data and room stream support">
178
167
  <option name="closed" value="true" />
@@ -558,7 +547,15 @@
558
547
  <option name="project" value="LOCAL" />
559
548
  <updated>1766071099183</updated>
560
549
  </task>
561
- <option name="localTasksCounter" value="70" />
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" />
562
559
  <servers />
563
560
  </component>
564
561
  <component name="TypeScriptGeneratedFilesManager">
@@ -576,7 +573,6 @@
576
573
  </option>
577
574
  </component>
578
575
  <component name="VcsManagerConfiguration">
579
- <MESSAGE value="Fix update the latest message in a room default topic" />
580
576
  <MESSAGE value="Adapt FilesClient to new files API" />
581
577
  <MESSAGE value="Fix global emoticons support" />
582
578
  <MESSAGE value="Update schemes" />
@@ -601,7 +597,8 @@
601
597
  <MESSAGE value="Ping-pong connection monitoring" />
602
598
  <MESSAGE value="Improve reconnect on timeout" />
603
599
  <MESSAGE value="Bump version" />
604
- <option name="LAST_COMMIT_MESSAGE" value="Bump version" />
600
+ <MESSAGE value="Fix permission check (caching overwrites)" />
601
+ <option name="LAST_COMMIT_MESSAGE" value="Fix permission check (caching overwrites)" />
605
602
  </component>
606
603
  <component name="github-copilot-workspace">
607
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.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",