zigbee-clusters 3.0.1 → 3.0.2
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/index.d.ts +1 -1
- package/package.json +1 -1
- package/scripts/generate-types.js +1 -1
package/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ type ZCLEnum8Status = 'SUCCESS' | 'FAILURE' | 'NOT_AUTHORIZED' | 'RESERVED_FIELD
|
|
|
35
35
|
|
|
36
36
|
export interface ZCLNodeCluster extends EventEmitter {
|
|
37
37
|
/** Dynamic command handler methods (e.g. `onZoneStatusChangeNotification`). */
|
|
38
|
-
[key: string]: unknown;
|
|
38
|
+
[key: `on${string}`]: unknown;
|
|
39
39
|
|
|
40
40
|
discoverCommandsGenerated(params?: {
|
|
41
41
|
startValue?: number;
|
package/package.json
CHANGED
|
@@ -287,7 +287,7 @@ type ZCLEnum8Status = ${zclTypeToTS(ZCLDataTypes.enum8Status, false)};
|
|
|
287
287
|
// Base ZCLNodeCluster interface
|
|
288
288
|
lines.push(`export interface ZCLNodeCluster extends EventEmitter {
|
|
289
289
|
/** Dynamic command handler methods (e.g. \`onZoneStatusChangeNotification\`). */
|
|
290
|
-
[key: string]: unknown;
|
|
290
|
+
[key: \`on\${string}\`]: unknown;
|
|
291
291
|
|
|
292
292
|
discoverCommandsGenerated(params?: {
|
|
293
293
|
startValue?: number;
|