matterbridge 1.7.2 → 2.0.0-edge1

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.
Files changed (76) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/dist/cli.js +3 -13
  3. package/dist/cli.js.map +1 -1
  4. package/dist/deviceManager.d.ts +7 -7
  5. package/dist/deviceManager.d.ts.map +1 -1
  6. package/dist/deviceManager.js +2 -2
  7. package/dist/deviceManager.js.map +1 -1
  8. package/dist/frontend.d.ts +98 -0
  9. package/dist/frontend.d.ts.map +1 -0
  10. package/dist/frontend.js +1377 -0
  11. package/dist/frontend.js.map +1 -0
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1 -6
  14. package/dist/index.js.map +1 -1
  15. package/dist/matter/export.d.ts.map +1 -1
  16. package/dist/matter/export.js +0 -1
  17. package/dist/matter/export.js.map +1 -1
  18. package/dist/matterbridge.d.ts +82 -208
  19. package/dist/matterbridge.d.ts.map +1 -1
  20. package/dist/matterbridge.js +777 -2310
  21. package/dist/matterbridge.js.map +1 -1
  22. package/dist/matterbridgeBehaviors.d.ts +32 -851
  23. package/dist/matterbridgeBehaviors.d.ts.map +1 -1
  24. package/dist/matterbridgeBehaviors.js +22 -2
  25. package/dist/matterbridgeBehaviors.js.map +1 -1
  26. package/dist/matterbridgeEndpoint.d.ts +100 -9089
  27. package/dist/matterbridgeEndpoint.d.ts.map +1 -1
  28. package/dist/matterbridgeEndpoint.js +59 -31
  29. package/dist/matterbridgeEndpoint.js.map +1 -1
  30. package/dist/matterbridgePlatform.d.ts +14 -28
  31. package/dist/matterbridgePlatform.d.ts.map +1 -1
  32. package/dist/matterbridgePlatform.js +7 -23
  33. package/dist/matterbridgePlatform.js.map +1 -1
  34. package/dist/matterbridgeTypes.d.ts.map +1 -1
  35. package/dist/matterbridgeTypes.js +4 -0
  36. package/dist/matterbridgeTypes.js.map +1 -1
  37. package/dist/pluginManager.d.ts +1 -1
  38. package/dist/pluginManager.d.ts.map +1 -1
  39. package/dist/pluginManager.js +5 -11
  40. package/dist/pluginManager.js.map +1 -1
  41. package/dist/utils/utils.d.ts +1 -1
  42. package/dist/utils/utils.d.ts.map +1 -1
  43. package/dist/utils/utils.js +6 -6
  44. package/dist/utils/utils.js.map +1 -1
  45. package/frontend/build/asset-manifest.json +3 -3
  46. package/frontend/build/index.html +1 -1
  47. package/frontend/build/static/js/{main.08241820.js → main.ea28015b.js} +3 -3
  48. package/frontend/build/static/js/main.ea28015b.js.map +1 -0
  49. package/npm-shrinkwrap.json +9 -9
  50. package/package.json +2 -3
  51. package/dist/cli.d.ts +0 -25
  52. package/dist/cluster/export.d.ts +0 -2
  53. package/dist/defaultConfigSchema.d.ts +0 -27
  54. package/dist/index.d.ts +0 -40
  55. package/dist/logger/export.d.ts +0 -2
  56. package/dist/matter/export.d.ts +0 -11
  57. package/dist/matterbridgeAccessoryPlatform.d.ts +0 -39
  58. package/dist/matterbridgeDevice.d.ts +0 -7077
  59. package/dist/matterbridgeDevice.d.ts.map +0 -1
  60. package/dist/matterbridgeDevice.js +0 -2736
  61. package/dist/matterbridgeDevice.js.map +0 -1
  62. package/dist/matterbridgeDynamicPlatform.d.ts +0 -39
  63. package/dist/matterbridgeEdge.d.ts +0 -91
  64. package/dist/matterbridgeEdge.d.ts.map +0 -1
  65. package/dist/matterbridgeEdge.js +0 -1077
  66. package/dist/matterbridgeEdge.js.map +0 -1
  67. package/dist/matterbridgeTypes.d.ts +0 -172
  68. package/dist/matterbridgeWebsocket.d.ts +0 -49
  69. package/dist/matterbridgeWebsocket.d.ts.map +0 -1
  70. package/dist/matterbridgeWebsocket.js +0 -325
  71. package/dist/matterbridgeWebsocket.js.map +0 -1
  72. package/dist/storage/export.d.ts +0 -2
  73. package/dist/utils/colorUtils.d.ts +0 -61
  74. package/dist/utils/export.d.ts +0 -3
  75. package/frontend/build/static/js/main.08241820.js.map +0 -1
  76. /package/frontend/build/static/js/{main.08241820.js.LICENSE.txt → main.ea28015b.js.LICENSE.txt} +0 -0
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "1.7.2",
3
+ "version": "2.0.0-edge1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "1.7.2",
9
+ "version": "2.0.0-edge1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.11.9",
@@ -14,7 +14,7 @@
14
14
  "@project-chip/matter.js": "0.11.9",
15
15
  "archiver": "7.0.1",
16
16
  "express": "4.21.2",
17
- "glob": "11.0.0",
17
+ "glob": "11.0.1",
18
18
  "https": "1.0.0",
19
19
  "node-ansi-logger": "3.0.0",
20
20
  "node-persist-manager": "1.0.8",
@@ -711,9 +711,9 @@
711
711
  }
712
712
  },
713
713
  "node_modules/es-object-atoms": {
714
- "version": "1.0.0",
715
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz",
716
- "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==",
714
+ "version": "1.1.0",
715
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.0.tgz",
716
+ "integrity": "sha512-Ujz8Al/KfOVR7fkaghAB1WvnLsdYxHDWmfoi2vlA2jZWRg31XhIC1a4B+/I24muD8iSbHxJ1JkrfqmWb65P/Mw==",
717
717
  "license": "MIT",
718
718
  "dependencies": {
719
719
  "es-errors": "^1.3.0"
@@ -936,9 +936,9 @@
936
936
  }
937
937
  },
938
938
  "node_modules/glob": {
939
- "version": "11.0.0",
940
- "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz",
941
- "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==",
939
+ "version": "11.0.1",
940
+ "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz",
941
+ "integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==",
942
942
  "license": "ISC",
943
943
  "dependencies": {
944
944
  "foreground-child": "^3.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "1.7.2",
3
+ "version": "2.0.0-edge1",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,6 @@
41
41
  ],
42
42
  "type": "module",
43
43
  "main": "dist/index.js",
44
- "types": "dist/index.d.ts",
45
44
  "bin": {
46
45
  "matterbridge": "dist/cli.js"
47
46
  },
@@ -80,7 +79,7 @@
80
79
  "@project-chip/matter.js": "0.11.9",
81
80
  "archiver": "7.0.1",
82
81
  "express": "4.21.2",
83
- "glob": "11.0.0",
82
+ "glob": "11.0.1",
84
83
  "https": "1.0.0",
85
84
  "node-ansi-logger": "3.0.0",
86
85
  "node-persist-manager": "1.0.8",
package/dist/cli.d.ts DELETED
@@ -1,25 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * This file contains the CLI entry point of Matterbridge.
4
- *
5
- * @file cli.ts
6
- * @author Luca Liguori
7
- * @date 2023-12-29
8
- * @version 1.0.11
9
- *
10
- * Copyright 2023, 2024, 2025 Luca Liguori.
11
- *
12
- * Licensed under the Apache License, Version 2.0 (the "License");
13
- * you may not use this file except in compliance with the License.
14
- * You may obtain a copy of the License at
15
- *
16
- * http://www.apache.org/licenses/LICENSE-2.0
17
- *
18
- * Unless required by applicable law or agreed to in writing, software
19
- * distributed under the License is distributed on an "AS IS" BASIS,
20
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
- * See the License for the specific language governing permissions and
22
- * limitations under the License. *
23
- */
24
- export {};
25
- //# sourceMappingURL=cli.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=export.d.ts.map
@@ -1,27 +0,0 @@
1
- /**
2
- * This file contains the default config for the plugins.
3
- *
4
- * @file defaultConfigSchema.ts
5
- * @author Luca Liguori
6
- * @date 2024-05-07
7
- * @version 1.0.1
8
- *
9
- * Copyright 2024, 2025, 2026 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
- import { PlatformConfig } from './matterbridgePlatform.js';
24
- export declare const zigbee2mqtt_config: PlatformConfig;
25
- export declare const somfytahoma_config: PlatformConfig;
26
- export declare const shelly_config: PlatformConfig;
27
- //# sourceMappingURL=defaultConfigSchema.d.ts.map
package/dist/index.d.ts DELETED
@@ -1,40 +0,0 @@
1
- /**
2
- * This file contains the entry point of Matterbridge.
3
- *
4
- * @file index.ts
5
- * @author Luca Liguori
6
- * @date 2023-12-29
7
- * @version 1.0.6
8
- *
9
- * Copyright 2023, 2024, 2025 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
- export type Identity<T> = T;
24
- export type AtLeastOne<T> = ArrayMinLength<T, 1>;
25
- type BuildArrayMinLength<T, N extends number, Current extends T[]> = Current['length'] extends N ? [...Current, ...T[]] : BuildArrayMinLength<T, N, [...Current, T]>;
26
- export type ArrayMinLength<T, N extends number> = BuildArrayMinLength<T, N, []>;
27
- export * from '@matter/main/clusters';
28
- export * from '@matter/main/types';
29
- export { SemanticNamespace, ClosureTag, CompassDirectionTag, CompassLocationTag, DirectionTag, ElectricalMeasurementTag, LaundryTag, LevelTag, LocationTag, NumberTag, PositionTag, PowerSourceTag, RefrigeratorTag, RoomAirConditionerTag, SwitchesTag, } from '@matter/node';
30
- export * from '@project-chip/matter.js/device';
31
- export * from '@project-chip/matter.js/cluster';
32
- export * from './matterbridge.js';
33
- export * from './matterbridgeTypes.js';
34
- export * from './matterbridgeDevice.js';
35
- export * from './matterbridgeEndpoint.js';
36
- export * from './matterbridgeDeviceTypes.js';
37
- export * from './matterbridgePlatform.js';
38
- export * from './matterbridgeAccessoryPlatform.js';
39
- export * from './matterbridgeDynamicPlatform.js';
40
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +0,0 @@
1
- export * from 'node-ansi-logger';
2
- //# sourceMappingURL=export.d.ts.map
@@ -1,11 +0,0 @@
1
- export * from '@matter/main';
2
- export { AggregatorEndpoint } from '@matter/main/endpoints';
3
- export * from '@matter/main/devices';
4
- export * from '@matter/main/behaviors';
5
- export { ExposedFabricInformation, FabricAction, MdnsService, PaseClient } from '@matter/main/protocol';
6
- export { AttributeElement, ClusterElement, ClusterModel, CommandElement, EventElement, FieldElement } from '@matter/main/model';
7
- export * from '../matterbridgeDeviceTypes.js';
8
- export * from '../matterbridgeEndpoint.js';
9
- export * from '../matterbridgeBehaviors.js';
10
- export * from '../matterbridgeEdge.js';
11
- //# sourceMappingURL=export.d.ts.map
@@ -1,39 +0,0 @@
1
- /**
2
- * This file contains the class MatterbridgeAccessoryPlatform.
3
- *
4
- * @file matterbridgeAccessoryPlatform.ts
5
- * @author Luca Liguori
6
- * @date 2023-12-29
7
- * @version 1.0.5
8
- *
9
- * Copyright 2023, 2024, 2025 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
- import { Matterbridge } from './matterbridge.js';
24
- import { MatterbridgePlatform, PlatformConfig } from './matterbridgePlatform.js';
25
- import { AnsiLogger } from 'node-ansi-logger';
26
- /**
27
- * Represents a Matterbridge accessory platform.
28
- *
29
- */
30
- export declare class MatterbridgeAccessoryPlatform extends MatterbridgePlatform {
31
- /**
32
- * Creates an instance of MatterbridgeAccessoryPlatform.
33
- * @param {Matterbridge} matterbridge - The Matterbridge instance.
34
- * @param {AnsiLogger} log - The logger instance.
35
- * @param {PlatformConfig} config - The platform configuration.
36
- */
37
- constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig);
38
- }
39
- //# sourceMappingURL=matterbridgeAccessoryPlatform.d.ts.map