@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/sensors/index.mjs
CHANGED
|
@@ -2803,6 +2803,15 @@ var init_intent_router = __esm({
|
|
|
2803
2803
|
const resolved = this.resolveIntentAlias(intent);
|
|
2804
2804
|
return this.handlers.has(resolved) || isBuiltinIntent(resolved);
|
|
2805
2805
|
}
|
|
2806
|
+
/**
|
|
2807
|
+
* True only when the application registered a concrete handler.
|
|
2808
|
+
* Unlike `has()`, this intentionally ignores SDK built-in fallbacks so
|
|
2809
|
+
* discovery layers can override simple built-ins such as `system.ping`.
|
|
2810
|
+
*/
|
|
2811
|
+
hasRegisteredHandler(intent) {
|
|
2812
|
+
const resolved = this.resolveIntentAlias(intent);
|
|
2813
|
+
return this.handlers.has(resolved);
|
|
2814
|
+
}
|
|
2806
2815
|
getRegisteredIntents() {
|
|
2807
2816
|
return [...BUILTIN_INTENTS, ...this.handlers.keys()];
|
|
2808
2817
|
}
|