@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.mjs CHANGED
@@ -2948,8 +2948,11 @@ var init_intent_router = __esm({
2948
2948
  return this.intentRateLimits.get(intent);
2949
2949
  }
2950
2950
  async emitIntentObservers(bindings, context) {
2951
- if (!this.observerDispatcher || bindings.length === 0) return;
2952
- await this.observerDispatcher.dispatch(bindings, context);
2951
+ if (!this.observerDispatcher) return;
2952
+ await this.observerDispatcher.dispatch(
2953
+ bindings.length > 0 ? bindings : void 0,
2954
+ context
2955
+ );
2953
2956
  }
2954
2957
  async runIntentSensors(sensorBindings, intent, frame, stage, extras) {
2955
2958
  for (const binding of sensorBindings) {