@iobroker/socket-classes 0.1.2 → 0.1.3
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 +5 -2
- package/index.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ This library is used for following adapters:
|
|
|
12
12
|
```
|
|
13
13
|
const TTL_SEC = 3600;
|
|
14
14
|
|
|
15
|
-
const SocketAdmin = require('
|
|
15
|
+
const SocketAdmin = require('@iobroker/socket-classes').SocketAdmin;
|
|
16
16
|
const ws = require('@iobroker/ws-server');
|
|
17
17
|
const session = require('express-session');
|
|
18
18
|
const utils = require('@iobroker/adapter-core'); // Get common adapter utils
|
|
@@ -44,7 +44,7 @@ io.close();
|
|
|
44
44
|
const TTL_SEC = 3600;
|
|
45
45
|
|
|
46
46
|
const ws = require('@iobroker/ws-server');
|
|
47
|
-
const SocketWS = require('
|
|
47
|
+
const SocketWS = require('@iobroker/socket-classes').SocketCommon;
|
|
48
48
|
const session = require('express-session');
|
|
49
49
|
const utils = require('@iobroker/adapter-core'); // Get common adapter utils
|
|
50
50
|
const AdapterStore = require(utils.controllerDir + '/lib/session.js')(session, TTL_SEC);
|
|
@@ -69,6 +69,9 @@ io.close();
|
|
|
69
69
|
-->
|
|
70
70
|
|
|
71
71
|
## Changelog
|
|
72
|
+
### 0.1.3 (2022-04-24)
|
|
73
|
+
* (bluefox) added passportSocket
|
|
74
|
+
|
|
72
75
|
### 0.1.2 (2022-04-24)
|
|
73
76
|
* (bluefox) initial commit
|
|
74
77
|
|
package/index.js
CHANGED
|
@@ -2,10 +2,12 @@ const SocketAdmin = require('./lib/socketAdmin');
|
|
|
2
2
|
const SocketCommon = require('./lib/socketCommon');
|
|
3
3
|
const SocketCommands = require('./lib/socketCommands');
|
|
4
4
|
const SocketCommandsAdmin = require('./lib/socketCommandsAdmin');
|
|
5
|
+
const passportSocket = require('./lib/passportSocket');
|
|
5
6
|
|
|
6
7
|
module.exports = {
|
|
7
8
|
SocketAdmin,
|
|
8
9
|
SocketCommon,
|
|
9
10
|
SocketCommands,
|
|
10
|
-
SocketCommandsAdmin
|
|
11
|
+
SocketCommandsAdmin,
|
|
12
|
+
passportSocket
|
|
11
13
|
};
|