@lumiastream/tapo-cove 3.1.1 → 3.3.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 +11 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [3.3.0](https://github.com/lumiastream/rgb/compare/v3.2.0...v3.3.0) (2023-04-05)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- nanoleaf theme brightness ([62f32e7](https://github.com/lumiastream/rgb/commit/62f32e7993493a93015c139e5da79858ce1afbc3))
|
|
11
|
+
|
|
12
|
+
# [3.2.0](https://github.com/lumiastream/rgb/compare/v3.1.0...v3.2.0) (2023-03-24)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
9
15
|
|
|
10
16
|
- tapo bypass cookie ([39f5dec](https://github.com/lumiastream/rgb/commit/39f5dec51c403d7b99f662b75f4c32a76546e56a))
|
|
11
17
|
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- tapo timoeut in 3 seconds ([6d7bf1b](https://github.com/lumiastream/rgb/commit/6d7bf1b81a89ddb867677bff0b6f816547239981))
|
|
21
|
+
|
|
12
22
|
# [3.1.0](https://github.com/lumiastream/rgb/compare/v3.0.15...v3.1.0) (2023-03-21)
|
|
13
23
|
|
|
14
24
|
### Bug Fixes
|
package/dist/index.js
CHANGED
|
@@ -174,7 +174,8 @@ var handshake = (deviceIp) => __async(void 0, null, function* () {
|
|
|
174
174
|
const response = yield (globalThis.nodeAxios ? globalThis.nodeAxios : import_axios.default)({
|
|
175
175
|
method: "post",
|
|
176
176
|
url: `http://${deviceIp}/app`,
|
|
177
|
-
data: handshakeRequest
|
|
177
|
+
data: handshakeRequest,
|
|
178
|
+
timeout: 3e3
|
|
178
179
|
});
|
|
179
180
|
throwErrorIfFound(response.data);
|
|
180
181
|
let setCookieHeader;
|
|
@@ -206,6 +207,7 @@ var securePassthrough = (deviceRequest, deviceKey) => __async(void 0, null, func
|
|
|
206
207
|
method: "post",
|
|
207
208
|
url: `http://${deviceKey.deviceIp}/app?token=${deviceKey.token}`,
|
|
208
209
|
data: securePassthroughRequest,
|
|
210
|
+
timeout: 3e3,
|
|
209
211
|
headers: {
|
|
210
212
|
Cookie: deviceKey.sessionCookie
|
|
211
213
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -142,7 +142,8 @@ var handshake = (deviceIp) => __async(void 0, null, function* () {
|
|
|
142
142
|
const response = yield (globalThis.nodeAxios ? globalThis.nodeAxios : axios)({
|
|
143
143
|
method: "post",
|
|
144
144
|
url: `http://${deviceIp}/app`,
|
|
145
|
-
data: handshakeRequest
|
|
145
|
+
data: handshakeRequest,
|
|
146
|
+
timeout: 3e3
|
|
146
147
|
});
|
|
147
148
|
throwErrorIfFound(response.data);
|
|
148
149
|
let setCookieHeader;
|
|
@@ -174,6 +175,7 @@ var securePassthrough = (deviceRequest, deviceKey) => __async(void 0, null, func
|
|
|
174
175
|
method: "post",
|
|
175
176
|
url: `http://${deviceKey.deviceIp}/app?token=${deviceKey.token}`,
|
|
176
177
|
data: securePassthroughRequest,
|
|
178
|
+
timeout: 3e3,
|
|
177
179
|
headers: {
|
|
178
180
|
Cookie: deviceKey.sessionCookie
|
|
179
181
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumiastream/tapo-cove",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "GPL",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"tsup": "*",
|
|
24
24
|
"typescript": "*"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "a3775ea894d7125bc98f7b502e99ac583e61ca13"
|
|
27
27
|
}
|