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.
- package/.idea/workspace.xml +44 -50
- package/build/index.cjs.js +5 -3
- package/build/index.cjs.js.map +1 -1
- package/build/index.umd.js +1 -1
- package/build/index.umd.js.map +1 -1
- package/package.json +43 -43
- package/src/state-tracker/PermissionsManager.ts +315 -308
package/.idea/workspace.xml
CHANGED
|
@@ -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="
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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
|
-
}
|
|
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
|
-
|
|
172
|
-
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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>
|
package/build/index.cjs.js
CHANGED
|
@@ -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.
|
|
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",
|