@iobroker/socket-classes 2.1.14 → 2.1.15
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.
- package/README.md +1 -1
- package/dist/lib/socketCommands.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1018,7 +1018,7 @@ Unsubscribe from file changes in ioBroker DB
|
|
|
1018
1018
|
Placeholder for the next version (at the beginning of the line):
|
|
1019
1019
|
### **WORK IN PROGRESS**
|
|
1020
1020
|
-->
|
|
1021
|
-
### 2.1.
|
|
1021
|
+
### 2.1.15 (2025-02-27)
|
|
1022
1022
|
|
|
1023
1023
|
* (@GermanBluefox) Added logout with bearer token
|
|
1024
1024
|
|
|
@@ -967,7 +967,7 @@ class SocketCommands {
|
|
|
967
967
|
void this.adapter.getSession(`a:${accessToken}`, (token) => {
|
|
968
968
|
if (token?.aToken) {
|
|
969
969
|
void this.adapter.destroySession(`a:${token.aToken}`, () => {
|
|
970
|
-
void this.adapter.destroySession(`
|
|
970
|
+
void this.adapter.destroySession(`r:${token.rToken}`, () => {
|
|
971
971
|
if (socket.id) {
|
|
972
972
|
void this.adapter.destroySession(socket.id, callback);
|
|
973
973
|
}
|