Skip to content

Commit

Permalink
Fixing client provided
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Apr 21, 2023
1 parent b8b29f2 commit ec821d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
};

Expand Down

0 comments on commit ec821d6

Please sign in to comment.