@nextera.one/axis-server-sdk 2.3.14 → 2.3.15
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-B0HcQRif.d.ts → index-Dd-WVBj9.d.ts} +1 -0
- package/dist/{index-C5NXMEth.d.mts → index-ogUOoBI-.d.mts} +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sensors/index.d.mts +1 -1
- package/dist/sensors/index.d.ts +1 -1
- package/dist/sensors/index.js +9 -0
- package/dist/sensors/index.js.map +1 -1
- package/dist/sensors/index.mjs +9 -0
- package/dist/sensors/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2659,6 +2659,15 @@ var init_intent_router = __esm({
|
|
|
2659
2659
|
const resolved = this.resolveIntentAlias(intent);
|
|
2660
2660
|
return this.handlers.has(resolved) || isBuiltinIntent(resolved);
|
|
2661
2661
|
}
|
|
2662
|
+
/**
|
|
2663
|
+
* True only when the application registered a concrete handler.
|
|
2664
|
+
* Unlike `has()`, this intentionally ignores SDK built-in fallbacks so
|
|
2665
|
+
* discovery layers can override simple built-ins such as `system.ping`.
|
|
2666
|
+
*/
|
|
2667
|
+
hasRegisteredHandler(intent) {
|
|
2668
|
+
const resolved = this.resolveIntentAlias(intent);
|
|
2669
|
+
return this.handlers.has(resolved);
|
|
2670
|
+
}
|
|
2662
2671
|
getRegisteredIntents() {
|
|
2663
2672
|
return [...BUILTIN_INTENTS, ...this.handlers.keys()];
|
|
2664
2673
|
}
|