Compare commits

...

6 Commits
v1.2.0 ... main

Author SHA1 Message Date
92dc3006a5
Merge pull request #9 from MarciiTheDev/dev
Update package.json - Version 1.2.1
2024-03-26 14:02:39 +01:00
8f87fb7bdf
Merge pull request #8 from MarciiTheDev/feature/Version1.2.1
Update package.json - Version 1.2.1
2024-03-26 13:57:07 +01:00
8002bc0226
Update package.json 2024-03-26 13:55:32 +01:00
898d3e9ebe
Merge pull request #7 from MarciiTheDev/dev
Added automatic reconnect for Websockets
2024-03-26 13:50:01 +01:00
e0c423a6c7
Merge pull request #6 from MarciiTheDev/bugfix/AutomaticWebsocketReconnect
Added automatic reconnect after connection with SignalR-Hub lost
2024-03-16 19:13:26 +01:00
830246b2e0 added automatic reconnect after connection with SignalR-Hub lost 2024-03-16 08:41:06 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "marcsync",
"version": "1.2.0",
"version": "1.2.1",
"description": "A NodeJS MarcSync Client to communicate with MarcSync's API",
"main": "dist/marcsync.js",
"types": "dist/index.d.ts",

View File

@ -21,6 +21,7 @@ export class SubscriptionManager {
skipNegotiation: true,
transport: signalR.HttpTransportType.WebSockets
})
.withAutomaticReconnect([0, 2000, 10000, 30000, 60000])
.configureLogging(signalR.LogLevel.None)
.build();
this._hubConnection.start()