@sprucelabs/spruce-heartwood-utils 31.1.7 → 31.1.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.
@@ -29,7 +29,7 @@ class HeartwoodDevice extends events_1.default {
29
29
  this.sendCommand('turnTorchOff');
30
30
  }
31
31
  async AudioController(mp3Url) {
32
- const audio = new HeartwoodAudioController_1.default(this);
32
+ const audio = HeartwoodAudioController_1.default.Controller(this);
33
33
  await audio.load(mp3Url);
34
34
  return audio;
35
35
  }
@@ -33,7 +33,7 @@ export class HeartwoodDevice extends EventEmitter {
33
33
  }
34
34
  AudioController(mp3Url) {
35
35
  return __awaiter(this, void 0, void 0, function* () {
36
- const audio = new HeartwoodAudioController(this);
36
+ const audio = HeartwoodAudioController.Controller(this);
37
37
  yield audio.load(mp3Url);
38
38
  return audio;
39
39
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-heartwood-utils",
3
3
  "description": "Heartwood Utilities",
4
- "version": "31.1.7",
4
+ "version": "31.1.8",
5
5
  "skill": {
6
6
  "namespace": "heartwood"
7
7
  },