@xibosignage/xibo-communication-framework 0.0.7 → 0.0.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.
- package/dist/src/modules/xmr/xmr.d.ts +2 -0
- package/dist/xibo-communication-framework.cjs +4 -0
- package/dist/xibo-communication-framework.cjs.map +1 -1
- package/dist/xibo-communication-framework.d.ts +2 -0
- package/dist/xibo-communication-framework.esm.js +4 -0
- package/dist/xibo-communication-framework.esm.js.map +1 -1
- package/dist/xibo-communication-framework.js +4 -0
- package/dist/xibo-communication-framework.min.js +1 -1
- package/dist/xibo-communication-framework.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -8508,6 +8508,10 @@ var Xmr = /*#__PURE__*/function () {
|
|
|
8508
8508
|
_this2.emitter.emit('commandCodeReceived', message.commandCode);
|
|
8509
8509
|
} else if (message.action == 'dataUpdate') {
|
|
8510
8510
|
_this2.emitter.emit('dataUpdate', message.widgetId);
|
|
8511
|
+
} else if (message.action == 'purgeAll') {
|
|
8512
|
+
_this2.emitter.emit('purgeAll');
|
|
8513
|
+
} else if (message.action == 'clearStatsAndLogs') {
|
|
8514
|
+
_this2.emitter.emit('clearStatsAndLogs');
|
|
8511
8515
|
} else {
|
|
8512
8516
|
console.error('Xmr::message: unknown action: ' + message.action);
|
|
8513
8517
|
}
|