@calimero-network/mero-react 4.2.0 → 4.3.0
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/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -200,9 +200,18 @@ var isBrowser = typeof window !== "undefined";
|
|
|
200
200
|
function getPermissionsForMode(mode) {
|
|
201
201
|
switch (mode) {
|
|
202
202
|
case "single-context" /* SingleContext */:
|
|
203
|
-
return ["context:execute"];
|
|
203
|
+
return ["context:execute", "context:list", "application:list", "blob", "context:alias"];
|
|
204
204
|
case "multi-context" /* MultiContext */:
|
|
205
|
-
return [
|
|
205
|
+
return [
|
|
206
|
+
"context:create",
|
|
207
|
+
"context:list",
|
|
208
|
+
"context:execute",
|
|
209
|
+
"application:list",
|
|
210
|
+
"namespace",
|
|
211
|
+
"group",
|
|
212
|
+
"blob",
|
|
213
|
+
"context:alias"
|
|
214
|
+
];
|
|
206
215
|
case "admin" /* Admin */:
|
|
207
216
|
return ["admin"];
|
|
208
217
|
default:
|