@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 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.14 (2025-02-27)
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(`a:${token.rToken}`, () => {
970
+ void this.adapter.destroySession(`r:${token.rToken}`, () => {
971
971
  if (socket.id) {
972
972
  void this.adapter.destroySession(socket.id, callback);
973
973
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/socket-classes",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "description": "ioBroker server-side web sockets",
5
5
  "author": {
6
6
  "name": "bluefox",