@cuecue/core 0.0.39 → 0.0.42
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 +10 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -148,7 +148,16 @@ class BasePlugin extends EventEmitter__default["default"] {
|
|
|
148
148
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
class BaseInput extends BasePlugin {
|
|
151
|
+
class BaseInput extends BasePlugin {
|
|
152
|
+
cue(cue, extraData = null) {
|
|
153
|
+
this.emit('command', 'cue', cue, extraData);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
interact(data, interactionId = null) {
|
|
157
|
+
this.emit('command', 'interact', data, interactionId);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
}
|
|
152
161
|
|
|
153
162
|
class BaseOutput extends BasePlugin {}
|
|
154
163
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuecue/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ce63758c17a7b670e6684e3dee3091a07b132522"
|
|
53
53
|
}
|