@evops/lightwaverf 1.0.0 → 1.0.1

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.
@@ -29,7 +29,7 @@ class LightwaveAccount {
29
29
  let token = "";
30
30
  try {
31
31
  this.debug("Fetching token from LightWave", {
32
- url: host + "/v1/user?password=" + this.pin + "&username=" + this.email,
32
+ url: host + "/v1/user?password=****&username=****",
33
33
  });
34
34
  const userResponse = await fetch(host + "/v1/user?password=" + this.pin + "&username=" + this.email);
35
35
  this.debug("User response: %O", userResponse);
@@ -13,13 +13,7 @@ const LightwaveRFClient_1 = require("./LightwaveRFClient");
13
13
  const logger = (0, debug_1.default)("lightwave:test");
14
14
  logger("Starting LightwaveRFClient test");
15
15
  client = new LightwaveRFClient_1.LightwaveRFClient(logger);
16
- client.connect();
17
- client.once("error", reject);
18
- client.once("ready", async (lwClient) => {
19
- console.debug("Client is ready");
20
- resolve();
21
- });
22
- return promise;
16
+ await client.connect();
23
17
  });
24
18
  (0, vitest_1.afterEach)(async () => {
25
19
  return client.disconnect();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@evops/lightwaverf",
3
3
  "description": "Lightwave RF client library",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./.dist/index.d.ts",