@iobroker/socket-classes 2.0.4 → 2.0.6
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/index.d.ts +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/socketCommon.d.ts +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import passport from 'passport';
|
|
2
|
+
export { type SocketSubscribeTypes } from './types';
|
|
2
3
|
import cookieParser from 'cookie-parser';
|
|
3
4
|
export { SocketCommandsAdmin } from './lib/socketCommandsAdmin';
|
|
4
5
|
export { SocketCommands, type SupportedFeature } from './lib/socketCommands';
|
|
5
|
-
export { SocketCommon, type Server } from './lib/socketCommon';
|
|
6
|
+
export { SocketCommon, type Server, type SocketSettings, type SocketIoOptions, type WhiteListSettings, } from './lib/socketCommon';
|
|
6
7
|
export { SocketAdmin } from './lib/socketAdmin';
|
|
7
8
|
import { authorize as passportSocket, type PassportHttpRequest, type Store } from './lib/passportSocket';
|
|
8
9
|
export { passport, cookieParser, passportSocket, type PassportHttpRequest, type Store };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAcvB,mBAdF,kBAAQ,CAcE;AAZjB,kEAAyC;AAYtB,uBAZZ,uBAAY,CAYY;AAX/B,iEAAgE;AAAvD,0HAAA,mBAAmB,OAAA;AAC5B,uDAA6E;AAApE,gHAAA,cAAc,OAAA;AACvB,mDAM4B;AALxB,4GAAA,YAAY,OAAA;AAMhB,iDAAgD;AAAvC,0GAAA,WAAW,OAAA;AACpB,yDAAyG;AACxE,+FADX,0BAAc,OACW"}
|
|
@@ -13,7 +13,7 @@ import type { Store } from './passportSocket';
|
|
|
13
13
|
import type { PermissionCommands, SocketSubscribeTypes } from '../types';
|
|
14
14
|
import type { AddressInfo } from 'node:net';
|
|
15
15
|
import type { SocketCommandsAdmin } from './socketCommandsAdmin';
|
|
16
|
-
interface WhiteListSettings {
|
|
16
|
+
export interface WhiteListSettings {
|
|
17
17
|
/** Like "admin" or "user". No "system.user." prefix */
|
|
18
18
|
user: string;
|
|
19
19
|
object: {
|
|
@@ -133,4 +133,3 @@ export declare class SocketCommon {
|
|
|
133
133
|
publishInstanceMessageAll(sourceInstance: string, messageType: string, sid: string, data: any): void;
|
|
134
134
|
close(): void;
|
|
135
135
|
}
|
|
136
|
-
export {};
|