@intlayer/editor 8.5.0 → 8.5.1

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.
@@ -4,7 +4,7 @@ let _intlayer_config_built = require("@intlayer/config/built");
4
4
  _intlayer_config_built = require_runtime.__toESM(_intlayer_config_built);
5
5
 
6
6
  //#region src/isEnabled.ts
7
- const isEnabled = process.env.INTLAYER_EDITOR_ENABLED !== "false" && _intlayer_config_built.default.editor?.enabled && typeof window !== "undefined" && window.self !== window.top;
7
+ const isEnabled = process.env["INTLAYER_EDITOR_ENABLED"] !== "false" && _intlayer_config_built.default.editor?.enabled && typeof window !== "undefined" && window.self !== window.top;
8
8
 
9
9
  //#endregion
10
10
  exports.isEnabled = isEnabled;
@@ -1 +1 @@
1
- {"version":3,"file":"isEnabled.cjs","names":["configuration"],"sources":["../../src/isEnabled.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\n\nexport const isEnabled =\n process.env.INTLAYER_EDITOR_ENABLED !== 'false' && // Allow purging a build time using bundler + env var\n configuration.editor?.enabled && // Editor enabled in config\n typeof window !== 'undefined' && // Client side\n window.self !== window.top; // Is in iframe\n"],"mappings":";;;;;;AAEA,MAAa,YACX,QAAQ,IAAI,4BAA4B,WACxCA,+BAAc,QAAQ,WACtB,OAAO,WAAW,eAClB,OAAO,SAAS,OAAO"}
1
+ {"version":3,"file":"isEnabled.cjs","names":["configuration"],"sources":["../../src/isEnabled.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\n\nexport const isEnabled =\n process.env['INTLAYER_EDITOR_ENABLED'] !== 'false' && // Allow purging a build time using bundler + env var // Keep env['INTLAYER_EDITOR_ENABLED'] syntax for angular to treat it as\n configuration.editor?.enabled && // Editor enabled in config\n typeof window !== 'undefined' && // Client side\n window.self !== window.top; // Is in iframe\n"],"mappings":";;;;;;AAEA,MAAa,YACX,QAAQ,IAAI,+BAA+B,WAC3CA,+BAAc,QAAQ,WACtB,OAAO,WAAW,eAClB,OAAO,SAAS,OAAO"}
@@ -1,7 +1,7 @@
1
1
  import configuration from "@intlayer/config/built";
2
2
 
3
3
  //#region src/isEnabled.ts
4
- const isEnabled = process.env.INTLAYER_EDITOR_ENABLED !== "false" && configuration.editor?.enabled && typeof window !== "undefined" && window.self !== window.top;
4
+ const isEnabled = process.env["INTLAYER_EDITOR_ENABLED"] !== "false" && configuration.editor?.enabled && typeof window !== "undefined" && window.self !== window.top;
5
5
 
6
6
  //#endregion
7
7
  export { isEnabled };
@@ -1 +1 @@
1
- {"version":3,"file":"isEnabled.mjs","names":[],"sources":["../../src/isEnabled.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\n\nexport const isEnabled =\n process.env.INTLAYER_EDITOR_ENABLED !== 'false' && // Allow purging a build time using bundler + env var\n configuration.editor?.enabled && // Editor enabled in config\n typeof window !== 'undefined' && // Client side\n window.self !== window.top; // Is in iframe\n"],"mappings":";;;AAEA,MAAa,YACX,QAAQ,IAAI,4BAA4B,WACxC,cAAc,QAAQ,WACtB,OAAO,WAAW,eAClB,OAAO,SAAS,OAAO"}
1
+ {"version":3,"file":"isEnabled.mjs","names":[],"sources":["../../src/isEnabled.ts"],"sourcesContent":["import configuration from '@intlayer/config/built';\n\nexport const isEnabled =\n process.env['INTLAYER_EDITOR_ENABLED'] !== 'false' && // Allow purging a build time using bundler + env var // Keep env['INTLAYER_EDITOR_ENABLED'] syntax for angular to treat it as\n configuration.editor?.enabled && // Editor enabled in config\n typeof window !== 'undefined' && // Client side\n window.self !== window.top; // Is in iframe\n"],"mappings":";;;AAEA,MAAa,YACX,QAAQ,IAAI,+BAA+B,WAC3C,cAAc,QAAQ,WACtB,OAAO,WAAW,eAClB,OAAO,SAAS,OAAO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/editor",
3
- "version": "8.5.0",
3
+ "version": "8.5.1",
4
4
  "private": false,
5
5
  "description": "Provides the utilities to interface the application with the Intlayer editor and manipulate dictionaries",
6
6
  "keywords": [
@@ -75,10 +75,10 @@
75
75
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
76
76
  },
77
77
  "dependencies": {
78
- "@intlayer/config": "8.5.0",
79
- "@intlayer/core": "8.5.0",
80
- "@intlayer/types": "8.5.0",
81
- "@intlayer/unmerged-dictionaries-entry": "8.5.0",
78
+ "@intlayer/config": "8.5.1",
79
+ "@intlayer/core": "8.5.1",
80
+ "@intlayer/types": "8.5.1",
81
+ "@intlayer/unmerged-dictionaries-entry": "8.5.1",
82
82
  "lit": "^3.3.2"
83
83
  },
84
84
  "devDependencies": {