更新 inject.js
This commit is contained in:
44
inject.js
44
inject.js
@@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
license_sdk_1.LicenseManager.prototype.licenseCert = {
|
license_sdk_1.LicenseManager.prototype.licenseCert = {
|
||||||
consumerId: "n8n",
|
consumerId: "n8n",
|
||||||
version: 1,
|
version: 1,
|
||||||
@@ -23,31 +24,16 @@ license_sdk_1.LicenseManager.prototype.licenseCert = {
|
|||||||
validTo: new Date(Date.now() + 1000 * 60 * 60 * 24 * 365),
|
validTo: new Date(Date.now() + 1000 * 60 * 60 * 24 * 365),
|
||||||
features: {
|
features: {
|
||||||
planName: "Enterprise",
|
planName: "Enterprise",
|
||||||
"feat:sharing": true,
|
...Object.
|
||||||
"feat:ldap": true,
|
fromEntries(
|
||||||
"feat:saml": true,
|
constants_1.LICENSE_FEATURES.
|
||||||
"feat:logStreaming": true,
|
filter((f) => ['feat:apiDisabled', 'feat:showNonProdBanner'].includes(f)).
|
||||||
"feat:advancedExecutionFilters": true,
|
map((f) => [f, true]),
|
||||||
"feat:variables": true,
|
),
|
||||||
"feat:debugInEditor": true,
|
...Object.fromEntries(
|
||||||
"feat:workflowHistory": true,
|
constants_1.LICENSE_QUOTAS.
|
||||||
"feat:showNonProdBanner": false,
|
map((f) => [f, -1]),
|
||||||
"feat:externalSecrets": true,
|
),
|
||||||
"feat:apiDisabled": false,
|
|
||||||
"feat:sourceControl": true,
|
|
||||||
"feat:binaryDataS3": true,
|
|
||||||
"feat:multipleMainInstances": true,
|
|
||||||
"feat:workerView": true,
|
|
||||||
"feat:advancedPermissions": true,
|
|
||||||
'feat:projectRole:admin': true,
|
|
||||||
'feat:projectRole:editor': true,
|
|
||||||
'feat:projectRole:viewer': true,
|
|
||||||
'feat:aiAssistant': true,
|
|
||||||
'feat:askAi': true,
|
|
||||||
'feat:communityNodes:customRegistry': true,
|
|
||||||
'feat:aiCredits': true,
|
|
||||||
'quota:aiCredits': 114514,
|
|
||||||
'quota:maxTeamProjects': 114514,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -56,7 +42,7 @@ license_sdk_1.LicenseManager.prototype.licenseCert = {
|
|||||||
};
|
};
|
||||||
license_sdk_1.LicenseManager.prototype.updateCurrentFeatures();
|
license_sdk_1.LicenseManager.prototype.updateCurrentFeatures();
|
||||||
// license_sdk_1.LicenseManager.prototype.isInitialized = () => true;
|
// license_sdk_1.LicenseManager.prototype.isInitialized = () => true;
|
||||||
license_sdk_1.LicenseManager.prototype.activate = () => {};
|
license_sdk_1.LicenseManager.prototype.activate = () => { };
|
||||||
license_sdk_1.LicenseManager.prototype.initialize = () => {};
|
license_sdk_1.LicenseManager.prototype.initialize = () => { };
|
||||||
license_sdk_1.LicenseManager.prototype.renew = () => {};
|
license_sdk_1.LicenseManager.prototype.renew = () => { };
|
||||||
license_sdk_1.LicenseManager.prototype.reset = () => {};
|
license_sdk_1.LicenseManager.prototype.reset = () => { };
|
||||||
Reference in New Issue
Block a user