@nextera.one/axis-server-sdk 2.3.3 → 2.3.4

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
@@ -2982,6 +2982,13 @@ var init_intent_router = __esm({
2982
2982
  getHandlerIntents(handlerName) {
2983
2983
  return this.handlerIntents.get(handlerName) ?? [];
2984
2984
  }
2985
+ /** Returns the handler class name that owns the given intent, or undefined if not found. */
2986
+ getHandlerByIntent(intent) {
2987
+ for (const [handlerName, intents] of this.handlerIntents) {
2988
+ if (intents.includes(intent)) return handlerName;
2989
+ }
2990
+ return void 0;
2991
+ }
2985
2992
  /** All registered handler class names. */
2986
2993
  getRegisteredHandlers() {
2987
2994
  return Array.from(this.handlerIntents.keys());