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.
- package/CHANGELOG.md +35 -1
- package/dist/cli.js +3 -13
- package/dist/cli.js.map +1 -1
- package/dist/deviceManager.d.ts +7 -7
- package/dist/deviceManager.d.ts.map +1 -1
- package/dist/deviceManager.js +2 -2
- package/dist/deviceManager.js.map +1 -1
- package/dist/frontend.d.ts +98 -0
- package/dist/frontend.d.ts.map +1 -0
- package/dist/frontend.js +1377 -0
- package/dist/frontend.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/dist/matter/export.d.ts.map +1 -1
- package/dist/matter/export.js +0 -1
- package/dist/matter/export.js.map +1 -1
- package/dist/matterbridge.d.ts +82 -208
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +777 -2310
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeBehaviors.d.ts +32 -851
- package/dist/matterbridgeBehaviors.d.ts.map +1 -1
- package/dist/matterbridgeBehaviors.js +22 -2
- package/dist/matterbridgeBehaviors.js.map +1 -1
- package/dist/matterbridgeEndpoint.d.ts +100 -9089
- package/dist/matterbridgeEndpoint.d.ts.map +1 -1
- package/dist/matterbridgeEndpoint.js +59 -31
- package/dist/matterbridgeEndpoint.js.map +1 -1
- package/dist/matterbridgePlatform.d.ts +14 -28
- package/dist/matterbridgePlatform.d.ts.map +1 -1
- package/dist/matterbridgePlatform.js +7 -23
- package/dist/matterbridgePlatform.js.map +1 -1
- package/dist/matterbridgeTypes.d.ts.map +1 -1
- package/dist/matterbridgeTypes.js +4 -0
- package/dist/matterbridgeTypes.js.map +1 -1
- package/dist/pluginManager.d.ts +1 -1
- package/dist/pluginManager.d.ts.map +1 -1
- package/dist/pluginManager.js +5 -11
- package/dist/pluginManager.js.map +1 -1
- package/dist/utils/utils.d.ts +1 -1
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +6 -6
- package/dist/utils/utils.js.map +1 -1
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/js/{main.08241820.js → main.ea28015b.js} +3 -3
- package/frontend/build/static/js/main.ea28015b.js.map +1 -0
- package/npm-shrinkwrap.json +9 -9
- package/package.json +2 -3
- package/dist/cli.d.ts +0 -25
- package/dist/cluster/export.d.ts +0 -2
- package/dist/defaultConfigSchema.d.ts +0 -27
- package/dist/index.d.ts +0 -40
- package/dist/logger/export.d.ts +0 -2
- package/dist/matter/export.d.ts +0 -11
- package/dist/matterbridgeAccessoryPlatform.d.ts +0 -39
- package/dist/matterbridgeDevice.d.ts +0 -7077
- package/dist/matterbridgeDevice.d.ts.map +0 -1
- package/dist/matterbridgeDevice.js +0 -2736
- package/dist/matterbridgeDevice.js.map +0 -1
- package/dist/matterbridgeDynamicPlatform.d.ts +0 -39
- package/dist/matterbridgeEdge.d.ts +0 -91
- package/dist/matterbridgeEdge.d.ts.map +0 -1
- package/dist/matterbridgeEdge.js +0 -1077
- package/dist/matterbridgeEdge.js.map +0 -1
- package/dist/matterbridgeTypes.d.ts +0 -172
- package/dist/matterbridgeWebsocket.d.ts +0 -49
- package/dist/matterbridgeWebsocket.d.ts.map +0 -1
- package/dist/matterbridgeWebsocket.js +0 -325
- package/dist/matterbridgeWebsocket.js.map +0 -1
- package/dist/storage/export.d.ts +0 -2
- package/dist/utils/colorUtils.d.ts +0 -61
- package/dist/utils/export.d.ts +0 -3
- package/frontend/build/static/js/main.08241820.js.map +0 -1
- /package/frontend/build/static/js/{main.08241820.js.LICENSE.txt → main.ea28015b.js.LICENSE.txt} +0 -0
package/dist/storage/export.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file contains the color utilities.
|
|
3
|
-
*
|
|
4
|
-
* @file colorUtils.ts
|
|
5
|
-
* @author Luca Liguori
|
|
6
|
-
* @date 2023-10-05
|
|
7
|
-
* @version 1.3.0
|
|
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 interface RGB {
|
|
24
|
-
r: number;
|
|
25
|
-
g: number;
|
|
26
|
-
b: number;
|
|
27
|
-
}
|
|
28
|
-
export interface XY {
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
}
|
|
32
|
-
export interface HSL {
|
|
33
|
-
h: number;
|
|
34
|
-
s: number;
|
|
35
|
-
l: number;
|
|
36
|
-
}
|
|
37
|
-
export declare function hslColorToRgbColor(hue: number, saturation: number, luminance: number): RGB;
|
|
38
|
-
export declare function rgbColorToXYColor(rgb: RGB): XY;
|
|
39
|
-
export declare function xyColorToRgbColor(x: number, y: number, brightness?: number): RGB;
|
|
40
|
-
export declare function rgbColorToHslColor(rgb: RGB): HSL;
|
|
41
|
-
export declare function xyToHsl(x: number, y: number): HSL;
|
|
42
|
-
export declare function miredToKelvin(mired: number): number;
|
|
43
|
-
export declare function kelvinToMired(kelvin: number): number;
|
|
44
|
-
export declare function kelvinToRGB(kelvin: number): RGB;
|
|
45
|
-
/**
|
|
46
|
-
* Converts CIE color space to RGB color space
|
|
47
|
-
* @param {Number} x
|
|
48
|
-
* @param {Number} y
|
|
49
|
-
* @param {Number} brightness - Ranges from 1 to 254
|
|
50
|
-
* @return {Array} Array that contains the color values for red, green and blue
|
|
51
|
-
* From: https://github.com/usolved/cie-rgb-converter/blob/master/cie_rgb_converter.js
|
|
52
|
-
*/
|
|
53
|
-
/**
|
|
54
|
-
* Converts RGB color space to CIE color space
|
|
55
|
-
* @param {Number} red
|
|
56
|
-
* @param {Number} green
|
|
57
|
-
* @param {Number} blue
|
|
58
|
-
* @return {Array} Array that contains the CIE color values for x and y
|
|
59
|
-
* From: https://github.com/usolved/cie-rgb-converter/blob/master/cie_rgb_converter.js
|
|
60
|
-
*/
|
|
61
|
-
//# sourceMappingURL=colorUtils.d.ts.map
|
package/dist/utils/export.d.ts
DELETED