@cuecue/app 0.0.33 → 0.0.36

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -4
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -474,7 +474,9 @@ class Application extends EventEmitter__default["default"] {
474
474
 
475
475
  const cues = await this.getCues();
476
476
  this.sendCuesToOutputs(cues);
477
- this.sendCommandToOutputs('start');
477
+ this.sendCommandToOutputs('start', {
478
+ sessionId: this.session.id
479
+ });
478
480
  this.emit('start');
479
481
  }
480
482
 
@@ -505,7 +507,9 @@ class Application extends EventEmitter__default["default"] {
505
507
  this.stopCueDurationInterval();
506
508
  this.statefulCue = null;
507
509
  await this.setSessionCue(null);
508
- await this.sendCommandToOutputs('uncue');
510
+ await this.sendCommandToOutputs('uncue', {
511
+ sessionId: this.session.id
512
+ });
509
513
  this.emit('uncue');
510
514
  }
511
515
 
@@ -516,7 +520,7 @@ class Application extends EventEmitter__default["default"] {
516
520
  }) => id === cueId) || null;
517
521
 
518
522
  if (cue === null) {
519
- this.debug('Cannot find cue %s', cueId);
523
+ this.debug('Cannot find cue %s in %o', cueId, cues);
520
524
  return false;
521
525
  }
522
526
 
@@ -591,7 +595,9 @@ class Application extends EventEmitter__default["default"] {
591
595
  this.emit('stop');
592
596
  this.stopCueDurationInterval();
593
597
  this.statefulCue = null;
594
- this.sendCommandToOutputs('stop');
598
+ this.sendCommandToOutputs('stop', {
599
+ sessionId: this.session.id
600
+ });
595
601
  await this.stopInputs();
596
602
  await this.stopOutputs();
597
603
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuecue/app",
3
- "version": "0.0.33",
3
+ "version": "0.0.36",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -40,17 +40,17 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@babel/runtime": "^7.12.5",
43
- "@cuecue/core": "^0.0.33",
44
- "commander": "^7.0.0",
43
+ "@cuecue/core": "^0.0.36",
44
+ "commander": "^9.4.0",
45
45
  "dayjs": "^1.10.4",
46
46
  "debug": "^4.3.1",
47
47
  "javascript-state-machine": "^3.1.0",
48
- "lodash": "^4.17.20",
48
+ "lodash": "^4.17.21",
49
49
  "uuid": "^8.3.2",
50
50
  "wolfy87-eventemitter": "^5.2.9"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "d1b75d2689630be436bf18e1fda1a8d48365a84d"
55
+ "gitHead": "034f49a93d9ac201cedfb4afd1993bcea740a019"
56
56
  }