@nextera.one/axis-server-sdk 2.2.5 → 2.2.6
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 +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/sensors/index.js +5 -2
- package/dist/sensors/index.js.map +1 -1
- package/dist/sensors/index.mjs +5 -2
- package/dist/sensors/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2874,8 +2874,11 @@ var init_intent_router = __esm({
|
|
|
2874
2874
|
return this.intentRateLimits.get(intent);
|
|
2875
2875
|
}
|
|
2876
2876
|
async emitIntentObservers(bindings, context) {
|
|
2877
|
-
if (!this.observerDispatcher
|
|
2878
|
-
await this.observerDispatcher.dispatch(
|
|
2877
|
+
if (!this.observerDispatcher) return;
|
|
2878
|
+
await this.observerDispatcher.dispatch(
|
|
2879
|
+
bindings.length > 0 ? bindings : void 0,
|
|
2880
|
+
context
|
|
2881
|
+
);
|
|
2879
2882
|
}
|
|
2880
2883
|
async runIntentSensors(sensorBindings, intent, frame, stage, extras) {
|
|
2881
2884
|
for (const binding of sensorBindings) {
|