Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lajosbencz committed Jan 28, 2019
1 parent 89ddc8a commit cf09fd3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
8 changes: 7 additions & 1 deletion dist/vue-wamp.cjs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-wamp v2.0.3
* vue-wamp v2.0.5
* https://github.com/lajosbencz/vue-wamp#readme
* Released under the MIT License.
*/
Expand Down Expand Up @@ -350,11 +350,17 @@ class Connection extends autobahn.Connection {
}

open() {
if(this.isConnected || this.isOpen) {
return;
}
this.log.info('Connection open', {Connection: this});
super.open();
}

close(reason, message) {
if(!this.isConnected && !this.isOpen && !this.isRetrying) {
return;
}
this.log.info('Connection close', {Connection: this, reason, message});
super.close(reason, message);
}
Expand Down
8 changes: 7 additions & 1 deletion dist/vue-wamp.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-wamp v2.0.3
* vue-wamp v2.0.5
* https://github.com/lajosbencz/vue-wamp#readme
* Released under the MIT License.
*/
Expand Down Expand Up @@ -346,11 +346,17 @@ class Connection extends autobahn.Connection {
}

open() {
if(this.isConnected || this.isOpen) {
return;
}
this.log.info('Connection open', {Connection: this});
super.open();
}

close(reason, message) {
if(!this.isConnected && !this.isOpen && !this.isRetrying) {
return;
}
this.log.info('Connection close', {Connection: this, reason, message});
super.close(reason, message);
}
Expand Down
Loading

0 comments on commit cf09fd3

Please sign in to comment.