matterbridge-example-dynamic-platform 1.0.24 → 1.1.0
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/CHANGELOG.md +12 -0
- package/dist/platform.d.ts +2 -1
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +224 -209
- package/dist/platform.js.map +1 -1
- package/npm-shrinkwrap.json +2 -3
- package/package.json +1 -34
package/CHANGELOG.md
CHANGED
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-example-dynamic-platform and sponsoring it.
|
6
6
|
|
7
|
+
## [1.1.0] - 2024-11-25
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- [package]: Verified to work with matterbridge edge (matter.js new API).
|
12
|
+
- [package]: Require matterbridge 1.6.2
|
13
|
+
- [package]: Updated dependencies.
|
14
|
+
|
15
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
16
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
17
|
+
</a>
|
18
|
+
|
7
19
|
## [1.0.24] - 2024-11-10
|
8
20
|
|
9
21
|
### Changed
|
package/dist/platform.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PlatformConfig } from 'matterbridge';
|
1
|
+
import { AtLeastOne, DeviceTypeDefinition, EndpointOptions, PlatformConfig } from 'matterbridge';
|
2
2
|
import { Matterbridge, /* MatterbridgeEndpoint as */ MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
|
3
3
|
import { AnsiLogger } from 'matterbridge/logger';
|
4
4
|
export declare class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatform {
|
@@ -31,6 +31,7 @@ export declare class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDyna
|
|
31
31
|
rainInterval: NodeJS.Timeout | undefined;
|
32
32
|
smokeInterval: NodeJS.Timeout | undefined;
|
33
33
|
airQualityInterval: NodeJS.Timeout | undefined;
|
34
|
+
createMutableDevice(definition: DeviceTypeDefinition | AtLeastOne<DeviceTypeDefinition>, options?: EndpointOptions, debug?: boolean): Promise<MatterbridgeDevice>;
|
34
35
|
constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig);
|
35
36
|
onStart(reason?: string): Promise<void>;
|
36
37
|
onConfigure(): Promise<void>;
|
package/dist/platform.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAQV,oBAAoB,EAIpB,eAAe,EAUf,cAAc,EAyBf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,6BAA6B,CAAC,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3H,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,kCAAmC,SAAQ,2BAA2B;IACjF,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC3C,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,IAAI,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACrC,MAAM,EAAE,kBAAkB,GAAG,SAAS,C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