homey-api 3.14.15 → 3.14.17
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.
|
@@ -651,21 +651,17 @@
|
|
|
651
651
|
"type": "string",
|
|
652
652
|
"required": true
|
|
653
653
|
},
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
"phone": {
|
|
666
|
-
"type": "string"
|
|
667
|
-
}
|
|
668
|
-
}
|
|
654
|
+
"website": {
|
|
655
|
+
"type": "string",
|
|
656
|
+
"in": "body"
|
|
657
|
+
},
|
|
658
|
+
"email": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"in": "body"
|
|
661
|
+
},
|
|
662
|
+
"phone": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"in": "body"
|
|
669
665
|
}
|
|
670
666
|
}
|
|
671
667
|
},
|
|
@@ -2346,13 +2346,11 @@ export class AthomCloudAPI {
|
|
|
2346
2346
|
updateInstallerInformation(opts: {
|
|
2347
2347
|
userId: string;
|
|
2348
2348
|
|
|
2349
|
-
|
|
2350
|
-
website: string;
|
|
2349
|
+
website?: string;
|
|
2351
2350
|
|
|
2352
|
-
|
|
2351
|
+
email?: string;
|
|
2353
2352
|
|
|
2354
|
-
|
|
2355
|
-
};
|
|
2353
|
+
phone?: string;
|
|
2356
2354
|
}): Promise<any>;
|
|
2357
2355
|
|
|
2358
2356
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -2412,13 +2410,11 @@ export class AthomCloudAPI {
|
|
|
2412
2410
|
updateInstallerInformation(opts: {
|
|
2413
2411
|
userId: string;
|
|
2414
2412
|
|
|
2415
|
-
|
|
2416
|
-
website: string;
|
|
2413
|
+
website?: string;
|
|
2417
2414
|
|
|
2418
|
-
|
|
2415
|
+
email?: string;
|
|
2419
2416
|
|
|
2420
|
-
|
|
2421
|
-
};
|
|
2417
|
+
phone?: string;
|
|
2422
2418
|
}): Promise<any>;
|
|
2423
2419
|
|
|
2424
2420
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -2598,13 +2594,11 @@ export class AthomCloudAPI {
|
|
|
2598
2594
|
updateInstallerInformation(opts: {
|
|
2599
2595
|
userId: string;
|
|
2600
2596
|
|
|
2601
|
-
|
|
2602
|
-
website: string;
|
|
2597
|
+
website?: string;
|
|
2603
2598
|
|
|
2604
|
-
|
|
2599
|
+
email?: string;
|
|
2605
2600
|
|
|
2606
|
-
|
|
2607
|
-
};
|
|
2601
|
+
phone?: string;
|
|
2608
2602
|
}): Promise<any>;
|
|
2609
2603
|
|
|
2610
2604
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -2664,13 +2658,11 @@ export class AthomCloudAPI {
|
|
|
2664
2658
|
updateInstallerInformation(opts: {
|
|
2665
2659
|
userId: string;
|
|
2666
2660
|
|
|
2667
|
-
|
|
2668
|
-
website: string;
|
|
2661
|
+
website?: string;
|
|
2669
2662
|
|
|
2670
|
-
|
|
2663
|
+
email?: string;
|
|
2671
2664
|
|
|
2672
|
-
|
|
2673
|
-
};
|
|
2665
|
+
phone?: string;
|
|
2674
2666
|
}): Promise<any>;
|
|
2675
2667
|
|
|
2676
2668
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -3481,13 +3481,11 @@ export class AthomCloudAPI {
|
|
|
3481
3481
|
updateInstallerInformation(opts: {
|
|
3482
3482
|
userId: string;
|
|
3483
3483
|
|
|
3484
|
-
|
|
3485
|
-
website: string;
|
|
3484
|
+
website?: string;
|
|
3486
3485
|
|
|
3487
|
-
|
|
3486
|
+
email?: string;
|
|
3488
3487
|
|
|
3489
|
-
|
|
3490
|
-
};
|
|
3488
|
+
phone?: string;
|
|
3491
3489
|
}): Promise<any>;
|
|
3492
3490
|
|
|
3493
3491
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -4171,13 +4169,11 @@ export class AthomCloudAPI {
|
|
|
4171
4169
|
updateInstallerInformation(opts: {
|
|
4172
4170
|
userId: string;
|
|
4173
4171
|
|
|
4174
|
-
|
|
4175
|
-
website: string;
|
|
4172
|
+
website?: string;
|
|
4176
4173
|
|
|
4177
|
-
|
|
4174
|
+
email?: string;
|
|
4178
4175
|
|
|
4179
|
-
|
|
4180
|
-
};
|
|
4176
|
+
phone?: string;
|
|
4181
4177
|
}): Promise<any>;
|
|
4182
4178
|
|
|
4183
4179
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -7147,13 +7143,11 @@ export class AthomCloudAPI {
|
|
|
7147
7143
|
updateInstallerInformation(opts: {
|
|
7148
7144
|
userId: string;
|
|
7149
7145
|
|
|
7150
|
-
|
|
7151
|
-
website: string;
|
|
7146
|
+
website?: string;
|
|
7152
7147
|
|
|
7153
|
-
|
|
7148
|
+
email?: string;
|
|
7154
7149
|
|
|
7155
|
-
|
|
7156
|
-
};
|
|
7150
|
+
phone?: string;
|
|
7157
7151
|
}): Promise<any>;
|
|
7158
7152
|
|
|
7159
7153
|
getAuthenticatedUserClients(): Promise<any>;
|
|
@@ -7837,13 +7831,11 @@ export class AthomCloudAPI {
|
|
|
7837
7831
|
updateInstallerInformation(opts: {
|
|
7838
7832
|
userId: string;
|
|
7839
7833
|
|
|
7840
|
-
|
|
7841
|
-
website: string;
|
|
7834
|
+
website?: string;
|
|
7842
7835
|
|
|
7843
|
-
|
|
7836
|
+
email?: string;
|
|
7844
7837
|
|
|
7845
|
-
|
|
7846
|
-
};
|
|
7838
|
+
phone?: string;
|
|
7847
7839
|
}): Promise<any>;
|
|
7848
7840
|
|
|
7849
7841
|
getAuthenticatedUserClients(): Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homey-api",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.17",
|
|
4
4
|
"description": "Homey API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"/lib",
|
|
8
8
|
"/assets/specifications",
|
|
9
9
|
"/assets/types",
|
|
10
|
-
"/patches",
|
|
11
10
|
"/index.js",
|
|
12
11
|
"/index.browser.js"
|
|
13
12
|
],
|
|
@@ -34,8 +33,7 @@
|
|
|
34
33
|
"generate-jsdoc": "node tools/generate-jsdoc.js",
|
|
35
34
|
"generate-types": "node tools/generate-types.js && prettier --write assets/types",
|
|
36
35
|
"validate-types": "npx tsc --noEmit ./assets/types/homey-api.d.ts",
|
|
37
|
-
"example-browser": "http-server ./examples/browser/ --port 80"
|
|
38
|
-
"postinstall": "patch-package"
|
|
36
|
+
"example-browser": "http-server ./examples/browser/ --port 80"
|
|
39
37
|
},
|
|
40
38
|
"repository": {
|
|
41
39
|
"type": "git",
|
|
@@ -52,8 +50,8 @@
|
|
|
52
50
|
"dependencies": {
|
|
53
51
|
"form-data": "^4.0.0",
|
|
54
52
|
"node-fetch": "^2.6.7",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
53
|
+
"socket.io-client": "^2.5.0",
|
|
54
|
+
"engine.io-client": "github:athombv/engine.io-client#backport/infinite-loop-fix-node-native-websocket"
|
|
57
55
|
},
|
|
58
56
|
"devDependencies": {
|
|
59
57
|
"@athombv/jsdoc-template": "^1.6.2",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Fixes 'Maximum call stack size exceeded' exception when closing the connection.
|
|
2
|
-
# After updating from Node.js 18 to Node.js 22 socket.io uses native node WebSocket
|
|
3
|
-
# module which has a different behavior when closing the connection. This is fixed in
|
|
4
|
-
# engine.io-client@6.6.2 which requires updating socket.io-client to 4.8.1, but
|
|
5
|
-
# we are currently on 2.5.0.
|
|
6
|
-
# Related issue: https://github.com/socketio/socket.io/issues/5194
|
|
7
|
-
|
|
8
|
-
diff --git a/node_modules/engine.io-client/lib/transports/websocket.js b/node_modules/engine.io-client/lib/transports/websocket.js
|
|
9
|
-
index f9c4b7a..3d6c509 100644
|
|
10
|
-
--- a/node_modules/engine.io-client/lib/transports/websocket.js
|
|
11
|
-
+++ b/node_modules/engine.io-client/lib/transports/websocket.js
|
|
12
|
-
@@ -245,6 +245,7 @@ WS.prototype.onClose = function () {
|
|
13
|
-
|
|
14
|
-
WS.prototype.doClose = function () {
|
|
15
|
-
if (typeof this.ws !== 'undefined') {
|
|
16
|
-
+ this.ws.onerror = () => {};
|
|
17
|
-
this.ws.close();
|
|
18
|
-
}
|
|
19
|
-
};
|