matterbridge-eve-door 1.3.1 → 2.0.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 +22 -0
- package/dist/{platform.js → module.js} +5 -2
- package/npm-shrinkwrap.json +3 -3
- package/package.json +3 -3
- package/dist/index.js +0 -4
- package/yellow-button.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,28 @@
|
|
|
17
17
|
|
|
18
18
|
All notable changes to this project will be documented in this file.
|
|
19
19
|
|
|
20
|
+
## [2.0.0] - 2025-10-24
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- [package]: Bumped platform to v. 2.0.0.
|
|
25
|
+
- [package]: Updated dependencies.
|
|
26
|
+
- [package]: Bumped package to automator v. 2.0.9
|
|
27
|
+
- [jest]: Updated jestHelpers to v. 1.0.9.
|
|
28
|
+
- [package]: Require matterbridge 3.3.0.
|
|
29
|
+
- [index]: Updated to new signature PlatformMatterbridge.
|
|
30
|
+
- [platform]: Updated to new signature PlatformMatterbridge.
|
|
31
|
+
- [workflows]: Ignore any .md in build.yaml.
|
|
32
|
+
- [workflows]: Ignore any .md in codeql.yaml.
|
|
33
|
+
- [workflows]: Ignore any .md in codecov.yaml.
|
|
34
|
+
- [workflows]: Improved speed on Node CI.
|
|
35
|
+
- [devcontainer]: Added the plugin name to the container.
|
|
36
|
+
- [devcontainer]: Improved performance of first build with shallow clone.
|
|
37
|
+
|
|
38
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
39
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
40
|
+
</a>
|
|
41
|
+
|
|
20
42
|
## [1.3.1] - 2025-07-29
|
|
21
43
|
|
|
22
44
|
### Added
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { MatterHistory } from 'matter-history';
|
|
2
2
|
import { MatterbridgeAccessoryPlatform, powerSource, MatterbridgeEndpoint, contactSensor } from 'matterbridge';
|
|
3
3
|
import { BooleanState, PowerSource } from 'matterbridge/matter/clusters';
|
|
4
|
+
export default function initializePlugin(matterbridge, log, config) {
|
|
5
|
+
return new EveDoorPlatform(matterbridge, log, config);
|
|
6
|
+
}
|
|
4
7
|
export class EveDoorPlatform extends MatterbridgeAccessoryPlatform {
|
|
5
8
|
door;
|
|
6
9
|
history;
|
|
7
10
|
interval;
|
|
8
11
|
constructor(matterbridge, log, config) {
|
|
9
12
|
super(matterbridge, log, config);
|
|
10
|
-
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.
|
|
11
|
-
throw new Error(`This plugin requires Matterbridge version >= "3.
|
|
13
|
+
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.3.0')) {
|
|
14
|
+
throw new Error(`This plugin requires Matterbridge version >= "3.3.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
|
|
12
15
|
}
|
|
13
16
|
this.log.info('Initializing platform:', this.config.name);
|
|
14
17
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-eve-door",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-eve-door",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "2.0.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"matter-history": "1.1.19",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node-persist-manager": "2.0.0"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
17
|
+
"node": ">=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
|
|
18
18
|
},
|
|
19
19
|
"funding": {
|
|
20
20
|
"type": "buymeacoffee",
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-eve-door",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Matterbridge eve door with history",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "dist/
|
|
8
|
+
"main": "dist/module.js",
|
|
9
9
|
"homepage": "https://www.npmjs.com/package/matterbridge-eve-door",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"history"
|
|
30
30
|
],
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
32
|
+
"node": ">=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"matter-history": "1.1.19",
|
package/dist/index.js
DELETED
package/yellow-button.png
DELETED
|
Binary file
|