@cuecue/core 0.0.38 → 0.0.41

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 -1
  2. 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.38",
3
+ "version": "0.0.41",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "b6eda5c44ad62fd4fb96e03e90cd8458e32e70b4"
52
+ "gitHead": "54c4e793bd8a40b499eb535e7b5bd201109a3bae"
53
53
  }