message-bridge-js
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -96,6 +96,7 @@ import * as signalR from "@microsoft/signalr"; | ||
MessageBridgeService.prototype.onError = function (err) { }; | ||
MessageBridgeService.prototype.connect = function () { | ||
MessageBridgeService.prototype.connect = function (options) { | ||
var _this = this; | ||
if (options === void 0) { options = {}; } | ||
this.connection = new signalR.HubConnectionBuilder() | ||
.withUrl(this.wsUri) | ||
.withUrl(this.wsUri, options) | ||
.withAutomaticReconnect() | ||
@@ -102,0 +103,0 @@ .build(); |
## 0.0.5 | ||
Add **options?: IHttpConnectionOptions** on **connect** method | ||
## 0.0.2 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "message-bridge-js", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"homepage": "https://github.com/alfnielsen/MessageBridgeJS", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
42560
554