matterbridge-example-dynamic-platform 1.3.2-dev-20250705-f7b5da1 → 1.3.2-dev-20250707-39008e5

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
@@ -23,7 +23,7 @@ If you like this project and find it useful, please consider giving it a star on
23
23
  <img src="bmc-button.svg" alt="Buy me a coffee" width="120">
24
24
  </a>
25
25
 
26
- ## [1.3.2] - 2025-07-04
26
+ ## [1.3.2] - 2025-07-06
27
27
 
28
28
  ### Added
29
29
 
@@ -32,6 +32,7 @@ If you like this project and find it useful, please consider giving it a star on
32
32
  ### Changed
33
33
 
34
34
  - [package]: Updated dependencies.
35
+ - [package]: Require matterbridge 3.1.2.
35
36
 
36
37
  <a href="https://www.buymeacoffee.com/luligugithub">
37
38
  <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
package/dist/platform.js CHANGED
@@ -65,8 +65,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
65
65
  fanModeLookup = ['Off', 'Low', 'Medium', 'High', 'On', 'Auto', 'Smart'];
66
66
  constructor(matterbridge, log, config) {
67
67
  super(matterbridge, log, config);
68
- if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.1.1')) {
69
- throw new Error(`This plugin requires Matterbridge version >= "3.1.1". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
68
+ if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.1.2')) {
69
+ throw new Error(`This plugin requires Matterbridge version >= "3.1.2". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
70
70
  }
71
71
  this.log.info('Initializing platform:', this.config.name);
72
72
  if (config.whiteList === undefined)
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-example-dynamic-platform",
3
- "version": "1.3.2-dev-20250705-f7b5da1",
3
+ "version": "1.3.2-dev-20250707-39008e5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-example-dynamic-platform",
9
- "version": "1.3.2-dev-20250705-f7b5da1",
9
+ "version": "1.3.2-dev-20250707-39008e5",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "node-ansi-logger": "3.1.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-example-dynamic-platform",
3
- "version": "1.3.2-dev-20250705-f7b5da1",
3
+ "version": "1.3.2-dev-20250707-39008e5",
4
4
  "description": "Matterbridge dynamic plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",