@sprucelabs/heartwood-view-controllers 126.11.12 → 126.11.13

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.
@@ -1,5 +1,6 @@
1
1
  import { MercuryClient } from '@sprucelabs/mercury-client';
2
2
  import { SpruceSchemas } from '@sprucelabs/mercury-types';
3
+ import 'dotenv/config';
3
4
  export default class MercuryFixture {
4
5
  private clientPromise?;
5
6
  private cwd;
@@ -14,8 +14,7 @@ import { SchemaError } from '@sprucelabs/schema';
14
14
  import { eventContractUtil, eventDiskUtil, eventResponseUtil, } from '@sprucelabs/spruce-event-utils';
15
15
  import { diskUtil } from '@sprucelabs/spruce-skill-utils';
16
16
  import { DEMO_NUMBER } from '../constants.js';
17
- const env = require('dotenv');
18
- env.config({ silent: true });
17
+ import 'dotenv/config';
19
18
  const TEST_HOST = (_a = process.env.TEST_HOST) !== null && _a !== void 0 ? _a : process.env.HOST;
20
19
  class MercuryFixture {
21
20
  static beforeEach() {
@@ -1,5 +1,6 @@
1
1
  import { MercuryClient } from '@sprucelabs/mercury-client';
2
2
  import { SpruceSchemas } from '@sprucelabs/mercury-types';
3
+ import 'dotenv/config';
3
4
  export default class MercuryFixture {
4
5
  private clientPromise?;
5
6
  private cwd;
@@ -6,8 +6,7 @@ const schema_1 = require("@sprucelabs/schema");
6
6
  const spruce_event_utils_1 = require("@sprucelabs/spruce-event-utils");
7
7
  const spruce_skill_utils_1 = require("@sprucelabs/spruce-skill-utils");
8
8
  const constants_1 = require("../constants");
9
- const env = require('dotenv');
10
- env.config({ silent: true });
9
+ require("dotenv/config");
11
10
  const TEST_HOST = process.env.TEST_HOST ?? process.env.HOST;
12
11
  class MercuryFixture {
13
12
  static async beforeEach() {
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "sideEffects": false,
14
14
  "license": "MIT",
15
15
  "description": "All the power of Heartwood in one, convenient package.",
16
- "version": "126.11.12",
16
+ "version": "126.11.13",
17
17
  "skill": {
18
18
  "namespace": "HeartwoodViewControllers",
19
19
  "commandOverrides": {