diff --git a/src/samsung.ts b/src/samsung.ts index c71bdbd..851e7a0 100644 --- a/src/samsung.ts +++ b/src/samsung.ts @@ -120,6 +120,11 @@ class Samsung { }) }) } + + public setToken(token: string) { + this.TOKEN = token + this.WS_URL = this._getWSUrl() + } public sendKey( key: KEYS,