@threadbase-sh/streamer 1.54.0 → 1.54.2
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/dist/cli.cjs +3 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -96879,7 +96879,7 @@ function capabilitiesForPreset(preset) {
|
|
|
96879
96879
|
return preset === "read-only" ? [...READ_ONLY_CAPABILITIES] : [...FULL_CAPABILITIES];
|
|
96880
96880
|
}
|
|
96881
96881
|
function legacyPrincipal() {
|
|
96882
|
-
return { kind: "legacy", capabilities: [...FULL_CAPABILITIES
|
|
96882
|
+
return { kind: "legacy", capabilities: [...FULL_CAPABILITIES] };
|
|
96883
96883
|
}
|
|
96884
96884
|
function hasCapability(principal, required2) {
|
|
96885
96885
|
return principal.capabilities.includes(required2);
|
|
@@ -96919,7 +96919,8 @@ var init_capabilities = __esm({
|
|
|
96919
96919
|
"session:control",
|
|
96920
96920
|
"fs:browse",
|
|
96921
96921
|
"fs:upload",
|
|
96922
|
-
"notifications"
|
|
96922
|
+
"notifications",
|
|
96923
|
+
"admin"
|
|
96923
96924
|
];
|
|
96924
96925
|
READ_ONLY_CAPABILITIES = ["history:read"];
|
|
96925
96926
|
ROUTE_CAPABILITIES = [
|