strapi-plugin-magic-sessionmanager 4.4.7 → 4.5.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/_chunks/{Analytics-mFarhu5A.js → Analytics-B7t0WvG7.js} +2 -2
- package/dist/_chunks/{Analytics-CFlATYIp.mjs → Analytics-DmlZwyVu.mjs} +2 -2
- package/dist/_chunks/{App-CrdNlRlL.js → App-Bir8yK_r.js} +7 -3
- package/dist/_chunks/{App-BkFz8R3I.mjs → App-LfsjcXXp.mjs} +17 -13
- package/dist/_chunks/{License-BI04KWfw.js → License-B56Xklj2.js} +1 -1
- package/dist/_chunks/{License-BnbIePhc.mjs → License-OToijT0s.mjs} +1 -1
- package/dist/_chunks/{OnlineUsersWidget-D1B_2ge5.js → OnlineUsersWidget-DTEzguhS.js} +1 -1
- package/dist/_chunks/{OnlineUsersWidget-eBwttUiU.mjs → OnlineUsersWidget-Fpc0aH2z.mjs} +1 -1
- package/dist/_chunks/{Settings-BfKDErt5.mjs → Settings-Bz3lPBJ6.mjs} +119 -3
- package/dist/_chunks/{Settings-Cy-6vah_.js → Settings-CO3-iggu.js} +118 -2
- package/dist/_chunks/{UpgradePage-B8kz6Cyz.js → UpgradePage-KqUN7mDh.js} +1 -1
- package/dist/_chunks/{UpgradePage-2mV2iqDM.mjs → UpgradePage-TBx1l2mQ.mjs} +1 -1
- package/dist/_chunks/{index-BEh2DizI.js → index-CKrO7KSQ.js} +12 -6
- package/dist/_chunks/{index-B0wQeSSu.mjs → index-DuVZXuJh.mjs} +12 -6
- package/dist/_chunks/{useLicense-DFdVp_qI.js → useLicense-DHAFqFSZ.js} +1 -1
- package/dist/_chunks/{useLicense-RxDUbCoU.mjs → useLicense-Xzo6nyh3.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +13270 -8951
- package/dist/server/index.mjs +13268 -8949
- package/package.json +17 -10
|
@@ -433,6 +433,7 @@ const prefixPluginTranslations = (data, pluginId2) => {
|
|
|
433
433
|
const name = pluginPkg.strapi.name;
|
|
434
434
|
const index = {
|
|
435
435
|
register(app) {
|
|
436
|
+
const pluginPermissions = [{ action: `plugin::${pluginId}.access`, subject: null }];
|
|
436
437
|
app.addMenuLink({
|
|
437
438
|
to: `plugins/${pluginId}`,
|
|
438
439
|
icon: PluginIcon,
|
|
@@ -440,7 +441,8 @@ const index = {
|
|
|
440
441
|
id: `${pluginId}.plugin.name`,
|
|
441
442
|
defaultMessage: pluginPkg.strapi.displayName
|
|
442
443
|
},
|
|
443
|
-
Component: () => import("./App-
|
|
444
|
+
Component: () => import("./App-LfsjcXXp.mjs"),
|
|
445
|
+
permissions: pluginPermissions
|
|
444
446
|
});
|
|
445
447
|
app.createSettingSection(
|
|
446
448
|
{
|
|
@@ -456,7 +458,8 @@ const index = {
|
|
|
456
458
|
},
|
|
457
459
|
id: "upgrade",
|
|
458
460
|
to: `${pluginId}/upgrade`,
|
|
459
|
-
Component: () => import("./UpgradePage-
|
|
461
|
+
Component: () => import("./UpgradePage-TBx1l2mQ.mjs"),
|
|
462
|
+
permissions: pluginPermissions
|
|
460
463
|
},
|
|
461
464
|
{
|
|
462
465
|
intlLabel: {
|
|
@@ -465,7 +468,8 @@ const index = {
|
|
|
465
468
|
},
|
|
466
469
|
id: "general",
|
|
467
470
|
to: `${pluginId}/general`,
|
|
468
|
-
Component: () => import("./Settings-
|
|
471
|
+
Component: () => import("./Settings-Bz3lPBJ6.mjs"),
|
|
472
|
+
permissions: pluginPermissions
|
|
469
473
|
},
|
|
470
474
|
{
|
|
471
475
|
intlLabel: {
|
|
@@ -474,7 +478,8 @@ const index = {
|
|
|
474
478
|
},
|
|
475
479
|
id: "analytics",
|
|
476
480
|
to: `${pluginId}/analytics`,
|
|
477
|
-
Component: () => import("./Analytics-
|
|
481
|
+
Component: () => import("./Analytics-DmlZwyVu.mjs"),
|
|
482
|
+
permissions: pluginPermissions
|
|
478
483
|
},
|
|
479
484
|
{
|
|
480
485
|
intlLabel: {
|
|
@@ -483,7 +488,8 @@ const index = {
|
|
|
483
488
|
},
|
|
484
489
|
id: "license",
|
|
485
490
|
to: `${pluginId}/license`,
|
|
486
|
-
Component: () => import("./License-
|
|
491
|
+
Component: () => import("./License-OToijT0s.mjs"),
|
|
492
|
+
permissions: pluginPermissions
|
|
487
493
|
}
|
|
488
494
|
]
|
|
489
495
|
);
|
|
@@ -501,7 +507,7 @@ const index = {
|
|
|
501
507
|
defaultMessage: "Online Users"
|
|
502
508
|
},
|
|
503
509
|
component: async () => {
|
|
504
|
-
const component = await import("./OnlineUsersWidget-
|
|
510
|
+
const component = await import("./OnlineUsersWidget-Fpc0aH2z.mjs");
|
|
505
511
|
return component.default;
|
|
506
512
|
},
|
|
507
513
|
id: "online-users-widget",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const react = require("react");
|
|
3
3
|
const admin = require("@strapi/strapi/admin");
|
|
4
|
-
const index = require("./index-
|
|
4
|
+
const index = require("./index-CKrO7KSQ.js");
|
|
5
5
|
const useLicense = () => {
|
|
6
6
|
const { get } = admin.useFetchClient();
|
|
7
7
|
const [isPremium, setIsPremium] = react.useState(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { useFetchClient } from "@strapi/strapi/admin";
|
|
3
|
-
import { a as pluginId } from "./index-
|
|
3
|
+
import { a as pluginId } from "./index-DuVZXuJh.mjs";
|
|
4
4
|
const useLicense = () => {
|
|
5
5
|
const { get } = useFetchClient();
|
|
6
6
|
const [isPremium, setIsPremium] = useState(false);
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED