From 197024d8e4d2eddec10d510e2d7947a00f8f11d0 Mon Sep 17 00:00:00 2001
From: Marin Karamihalev <marin.karamihalev@iopsys.eu>
Date: Thu, 1 Sep 2022 10:08:55 +0200
Subject: [PATCH] subcription bug fix

---
 package.json                    | 2 +-
 tests/integration/index.test.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 3eec4c2..4891166 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "usp-js",
-  "version": "0.2.25",
+  "version": "0.2.26",
   "description": "Helper library for easy usp communication using mqtt over tcp or ws.",
   "main": "node/index.js",
   "browser": "web/index.js",
diff --git a/tests/integration/index.test.ts b/tests/integration/index.test.ts
index 3df8d44..6998a73 100644
--- a/tests/integration/index.test.ts
+++ b/tests/integration/index.test.ts
@@ -131,7 +131,7 @@ describe("Test general API", () => {
 
   it("proto resolves without error", async () => {
     const msg = await device.supportedProto("Device.WiFi.");
-    assert.strictEqual(msg, "1.0");
+    assert.strictEqual(typeof msg, "string");
   });
 
   // Supported
-- 
GitLab