@lumiastream/tapo-cove 3.0.18 → 3.0.19
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/dist/index.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -417,8 +417,7 @@ var TapoApi = class {
|
|
|
417
417
|
headers: {
|
|
418
418
|
Cookie: deviceKey.sessionCookie
|
|
419
419
|
}
|
|
420
|
-
}
|
|
421
|
-
withCredentials: true
|
|
420
|
+
}
|
|
422
421
|
});
|
|
423
422
|
} else {
|
|
424
423
|
return (0, import_fetch_cove.fetchWork)({
|
|
@@ -439,7 +438,7 @@ var TapoApi = class {
|
|
|
439
438
|
};
|
|
440
439
|
this.axiosInstance = import_axios2.default.create();
|
|
441
440
|
this.axiosInstance.defaults.timeout = (config == null ? void 0 : config.httpTimeout) || 4e3;
|
|
442
|
-
this.axiosInstance.defaults.
|
|
441
|
+
this.axiosInstance.defaults.webSecurity = false;
|
|
443
442
|
this._config = __spreadValues(__spreadValues({}, this._config), config);
|
|
444
443
|
}
|
|
445
444
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -385,8 +385,7 @@ var TapoApi = class {
|
|
|
385
385
|
headers: {
|
|
386
386
|
Cookie: deviceKey.sessionCookie
|
|
387
387
|
}
|
|
388
|
-
}
|
|
389
|
-
withCredentials: true
|
|
388
|
+
}
|
|
390
389
|
});
|
|
391
390
|
} else {
|
|
392
391
|
return fetchWork({
|
|
@@ -407,7 +406,7 @@ var TapoApi = class {
|
|
|
407
406
|
};
|
|
408
407
|
this.axiosInstance = axios2.create();
|
|
409
408
|
this.axiosInstance.defaults.timeout = (config == null ? void 0 : config.httpTimeout) || 4e3;
|
|
410
|
-
this.axiosInstance.defaults.
|
|
409
|
+
this.axiosInstance.defaults.webSecurity = false;
|
|
411
410
|
this._config = __spreadValues(__spreadValues({}, this._config), config);
|
|
412
411
|
}
|
|
413
412
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumiastream/tapo-cove",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
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": "279191669821d9d04ca87576a2cb91d0af37655c"
|
|
27
27
|
}
|