@trudb/tru-common-lib 0.0.488 → 0.0.490
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.
|
@@ -5608,7 +5608,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
|
|
|
5608
5608
|
}] });
|
|
5609
5609
|
|
|
5610
5610
|
const connection = new signalR.HubConnectionBuilder()
|
|
5611
|
-
.withUrl("https://localhost:
|
|
5611
|
+
.withUrl("https://localhost:44303/notificationhub", {
|
|
5612
5612
|
skipNegotiation: true,
|
|
5613
5613
|
transport: signalR.HttpTransportType.WebSockets,
|
|
5614
5614
|
}).withAutomaticReconnect().build();
|
|
@@ -5619,6 +5619,7 @@ class TruConnectionHub {
|
|
|
5619
5619
|
console.log(JSON.parse(value));
|
|
5620
5620
|
});
|
|
5621
5621
|
try {
|
|
5622
|
+
Object.defineProperty(WebSocket, 'OPEN', { value: 1, });
|
|
5622
5623
|
connection.start().then(() => {
|
|
5623
5624
|
console.log(`SignalR connection success! connectionId: ${connection.connectionId}`);
|
|
5624
5625
|
});
|