matterbridge-webhooks 1.0.0 → 1.0.1

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
@@ -8,6 +8,19 @@ If you like this project and find it useful, please consider giving it a star on
8
8
  <img src="bmc-button.svg" alt="Buy me a coffee" width="120">
9
9
  </a>
10
10
 
11
+ ## [1.0.1] - 2025-11-14
12
+
13
+ ### Changed
14
+
15
+ - [package]: Updated dependencies.
16
+ - [package]: Bumped package to automator v.2.0.12.
17
+ - [package]: Updated to the current Matterbridge signatures.
18
+ - [jest]: Updated jestHelpers to v.1.0.12.
19
+
20
+ <a href="https://www.buymeacoffee.com/luligugithub">
21
+ <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
22
+ </a>
23
+
11
24
  ## [1.0.0] - 2025-10-28
12
25
 
13
26
  ### Changed
package/dist/module.js CHANGED
@@ -28,7 +28,7 @@ export class WebhooksPlatform extends MatterbridgeDynamicPlatform {
28
28
  if (!this.validateDevice(['webhook' + i, webhookName], true))
29
29
  continue;
30
30
  this.log.info(`Registering device: ${webhookName} with method ${webhook.method} and url ${webhook.httpUrl}`);
31
- const device = new MatterbridgeEndpoint([this.config.deviceType === 'Outlet' ? onOffOutlet : this.config.deviceType === 'Light' ? onOffLight : onOffSwitch, bridgedNode], { uniqueStorageKey: webhookName }, this.config.debug)
31
+ const device = new MatterbridgeEndpoint([this.config.deviceType === 'Outlet' ? onOffOutlet : this.config.deviceType === 'Light' ? onOffLight : onOffSwitch, bridgedNode], { id: webhookName }, this.config.debug)
32
32
  .createDefaultBridgedDeviceBasicInformationClusterServer(webhookName, 'webhook' + i++, this.matterbridge.aggregatorVendorId, 'Matterbridge', 'Matterbridge Webhook', 0, this.config.version)
33
33
  .createOnOffClusterServer(false)
34
34
  .addRequiredClusterServers()
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-webhooks",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-webhooks",
9
- "version": "1.0.0",
9
+ "version": "1.0.1",
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-webhooks",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Matterbridge webhooks plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",