matterbridge-test 1.0.12 → 1.0.13

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 CHANGED
@@ -4,7 +4,19 @@ 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.0.12] - 2025-05-07
7
+ ## [1.0.13] - 2025-04-30
8
+
9
+ ### Changed
10
+
11
+ - [package]: Require matterbridge 3.0.0.
12
+ - [package]: Updated package.
13
+ - [package]: Updated dependencies.
14
+
15
+ <a href="https://www.buymeacoffee.com/luligugithub">
16
+ <img src="bmc-button.svg" alt="Buy me a coffee" width="120">
17
+ </a>
18
+
19
+ ## [1.0.12] - 2025-04-07
8
20
 
9
21
  ### Added
10
22
 
package/dist/platform.js CHANGED
@@ -21,8 +21,8 @@ export class TestPlatform extends MatterbridgeDynamicPlatform {
21
21
  bridgedDevices = new Map();
22
22
  constructor(matterbridge, log, config) {
23
23
  super(matterbridge, log, config);
24
- if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('2.2.7')) {
25
- throw new Error(`The test plugin requires Matterbridge version >= "2.2.7". Please update Matterbridge to the latest version in the frontend.`);
24
+ if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.0.0')) {
25
+ throw new Error(`The test plugin requires Matterbridge version >= "3.0.0". Please update Matterbridge to the latest version in the frontend.`);
26
26
  }
27
27
  this.log.info('Initializing platform:', this.config.name);
28
28
  this.log.debug('- with matterbridge version ', matterbridge.matterbridgeVersion);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-test",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-test",
9
- "version": "1.0.12",
9
+ "version": "1.0.13",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "node-ansi-logger": "3.0.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-test",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Matterbridge test plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ // enable isolatedModules just for ts-jest
5
+ "isolatedModules": true
6
+ },
7
+ "include": ["**/*.spec.ts", "**/*.test.ts", "**/__test__/*"]
8
+ }