From ec821d6b9ccb509d4496062fb3bcb1330d062e13 Mon Sep 17 00:00:00 2001 From: Adam Kadlec Date: Fri, 21 Apr 2023 10:35:58 +0200 Subject: [PATCH 1/2] Fixing client provided --- package.json | 2 +- src/entry.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 532035f..2dcee12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fastybird/vue-wamp-v1", - "version": "1.2.2", + "version": "1.2.3", "description": "WAMPv1 websockets client for VUE 3", "keywords": [ "ws", diff --git a/src/entry.ts b/src/entry.ts index d3b427b..49a7b33 100644 --- a/src/entry.ts +++ b/src/entry.ts @@ -19,13 +19,14 @@ export function createWampV1Client(): InstallFunction { return; } this.installed = true; + this.wampClient = wampClient; const pluginOptions = { ...WampClientDefaultOptions, ...options }; wampClient.host = pluginOptions.host; wampClient.logger = new Logger(pluginOptions.debug); - app.provide(key, this.wampClient); + app.provide(key, wampClient); }, }; From eebcced2a2f38ad4fa582d7aee53c6e193e19055 Mon Sep 17 00:00:00 2001 From: Adam Kadlec Date: Fri, 21 Apr 2023 10:38:49 +0200 Subject: [PATCH 2/2] QA fixes --- src/entry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry.ts b/src/entry.ts index 49a7b33..73b1e13 100644 --- a/src/entry.ts +++ b/src/entry.ts @@ -19,7 +19,7 @@ export function createWampV1Client(): InstallFunction { return; } this.installed = true; - this.wampClient = wampClient; + this.wampClient = wampClient; const pluginOptions = { ...WampClientDefaultOptions, ...options };