@cuecue/app 0.0.38 → 0.0.39
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/dist/index.js +2 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -515,12 +515,9 @@ class Application extends EventEmitter__default["default"] {
|
|
|
515
515
|
|
|
516
516
|
async onCue(state, cueId, sessionData = null) {
|
|
517
517
|
const cues = await this.getCues();
|
|
518
|
-
const {
|
|
519
|
-
id: altCueId = null
|
|
520
|
-
} = isObject__default["default"](cueId) ? cueId : {};
|
|
521
518
|
const cue = cues.find(({
|
|
522
519
|
id
|
|
523
|
-
}) => id ===
|
|
520
|
+
}) => id === cueId) || null;
|
|
524
521
|
|
|
525
522
|
if (cue === null) {
|
|
526
523
|
this.debug('Cannot find cue %s in %o', cueId, cues);
|
|
@@ -546,12 +543,9 @@ class Application extends EventEmitter__default["default"] {
|
|
|
546
543
|
|
|
547
544
|
async onCued(state, cueId) {
|
|
548
545
|
const cues = await this.getCues();
|
|
549
|
-
const {
|
|
550
|
-
id: altCueId = null
|
|
551
|
-
} = isObject__default["default"](cueId) ? cueId : {};
|
|
552
546
|
const cue = cues.find(({
|
|
553
547
|
id
|
|
554
|
-
}) => id ===
|
|
548
|
+
}) => id === cueId) || null;
|
|
555
549
|
|
|
556
550
|
if (cue === null) {
|
|
557
551
|
this.debug('Cannot find cue %s in %o', cueId, cues);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuecue/app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/runtime": "^7.12.5",
|
|
43
|
-
"@cuecue/core": "^0.0.
|
|
43
|
+
"@cuecue/core": "^0.0.39",
|
|
44
44
|
"commander": "^9.4.0",
|
|
45
45
|
"dayjs": "^1.10.4",
|
|
46
46
|
"debug": "^4.3.1",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "283b8f467105917c14cab75611d34a95d4c2676f"
|
|
56
56
|
}
|