chat4app-client-angular 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/chat4app-client-angular.umd.js +4 -1
- package/bundles/chat4app-client-angular.umd.js.map +1 -1
- package/bundles/chat4app-client-angular.umd.min.js +1 -1
- package/bundles/chat4app-client-angular.umd.min.js.map +1 -1
- package/esm2015/lib/chat4app-client-angular.service.js +5 -2
- package/fesm2015/chat4app-client-angular.js +4 -1
- package/fesm2015/chat4app-client-angular.js.map +1 -1
- package/lib/chat4app-client-angular.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2199,7 +2199,10 @@
|
|
|
2199
2199
|
}
|
|
2200
2200
|
that = this;
|
|
2201
2201
|
uriStep1 = chatServer.replace(/^https/, 'wss');
|
|
2202
|
-
server = uriStep1.replace(/(\/\/.*?)\//, '$
|
|
2202
|
+
server = uriStep1.replace(/(\/\/.*?)\//, '$1\/ws/');
|
|
2203
|
+
if (this.debug) {
|
|
2204
|
+
console.log("ws server: " + server);
|
|
2205
|
+
}
|
|
2203
2206
|
if (!(!this.nc || (this.nc.isClose && this.nc.isClose()))) return [3 /*break*/, 2];
|
|
2204
2207
|
_b = that;
|
|
2205
2208
|
return [4 /*yield*/, nats_min.connect({ url: server, user: chatUserExternalId, pass: this.getBearerToken(), reconnect: true })];
|