@travetto/runtime 5.0.0-rc.7 → 5.0.0-rc.8

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/README.md CHANGED
@@ -36,7 +36,7 @@ class $Runtime {
36
36
  constructor(idx: ManifestIndex, resourceOverrides?: Record<string, string>);
37
37
  get #moduleAliases(): Record<string, string>;
38
38
  /** Get env name, with support for the default env */
39
- get envName(): string | undefined;
39
+ get env(): string | undefined;
40
40
  /** Are we in development mode */
41
41
  get production(): boolean;
42
42
  /** Is the app in dynamic mode? */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/runtime",
3
- "version": "5.0.0-rc.7",
3
+ "version": "5.0.0-rc.8",
4
4
  "description": "Runtime for travetto applications.",
5
5
  "keywords": [
6
6
  "console-manager",
package/src/context.ts CHANGED
@@ -26,7 +26,7 @@ class $Runtime {
26
26
  }
27
27
 
28
28
  /** Get env name, with support for the default env */
29
- get envName(): string | undefined {
29
+ get env(): string | undefined {
30
30
  return Env.TRV_ENV.val || (!this.production ? this.#idx.manifest.workspace.defaultEnv : undefined);
31
31
  }
32
32