From 99b754a40e67db50170b8b195868f3e3cd02c74e Mon Sep 17 00:00:00 2001 From: Federico Guerinoni Date: Tue, 30 Jan 2024 18:16:58 +0100 Subject: [PATCH] feat: Add new api for send a refresh-token --- src/connection.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/connection.ts b/src/connection.ts index d567bdb56c..23c33af31a 100644 --- a/src/connection.ts +++ b/src/connection.ts @@ -622,4 +622,9 @@ export class StableWSConnection { + const d = JSON.stringify({ api_key: this.client.key, token }); + this.ws?.send(d); + }; }