@lumiastream/tapo-cove 3.0.9 → 3.0.10

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.d.ts CHANGED
@@ -87,7 +87,7 @@ declare class TapoApi {
87
87
  password: string;
88
88
  devices: Array<{
89
89
  id: string;
90
- ip: string;
90
+ host: string;
91
91
  }>;
92
92
  }) => Promise<Map<string, TapoDeviceKey>>;
93
93
  sendState: (config: {
package/dist/index.js CHANGED
@@ -361,7 +361,7 @@ var TapoApi = class {
361
361
  });
362
362
  this.setup = (_0) => __async(this, [_0], function* ({ email, password, devices }) {
363
363
  const promises = devices.map((device) => __async(this, null, function* () {
364
- const deviceKey = yield handshake(device.ip);
364
+ const deviceKey = yield handshake(device.host);
365
365
  const loginDeviceRequest = {
366
366
  method: "login_device",
367
367
  params: {
package/dist/index.mjs CHANGED
@@ -329,7 +329,7 @@ var TapoApi = class {
329
329
  });
330
330
  this.setup = (_0) => __async(this, [_0], function* ({ email, password, devices }) {
331
331
  const promises = devices.map((device) => __async(this, null, function* () {
332
- const deviceKey = yield handshake(device.ip);
332
+ const deviceKey = yield handshake(device.host);
333
333
  const loginDeviceRequest = {
334
334
  method: "login_device",
335
335
  params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/tapo-cove",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
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": "f32d2369c078c6edaa2b961ca166bbd074ef2763"
26
+ "gitHead": "aeb4676ebaf5bfc0fc1a7873c9cdc150fbdf9692"
27
27
  }