Fixed Issue #3 & updated Version
This commit is contained in:
1 parent
4d28dcb23b
commit
799668b83e
2 files changed
+6
-2
No files matched your search
@@ -11,7 +11,11 @@ export class SubscriptionManager {
|
||||
|
||||
constructor(accessToken: string) {
|
||||
this._accessToken = accessToken;
|
||||
this._subscriptions = {} as Record<keyof ClientEvents, ((...args: any) => void)[]>;
|
||||
this._subscriptions = {
|
||||
entryCreated: [],
|
||||
entryDeleted: [],
|
||||
entryUpdated: []
|
||||
} as Record<keyof ClientEvents, ((...args: any) => void)[]>;
|
||||
this._hubConnection = new signalR.HubConnectionBuilder()
|
||||
.withUrl("https://ws.marcsync.dev/websocket?access_token=Bearer " + accessToken, {
|
||||
skipNegotiation: true,
|
||||
|
||||
Reference in new issue
Block a user