@loopback/socketio 0.4.0 → 0.5.1

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/dist/keys.d.ts CHANGED
@@ -5,13 +5,13 @@ import { SocketIoServer, SocketIoServerOptions } from './socketio.server';
5
5
  import { SocketIoInvokeMethod, SocketIoRejectMethod, SocketIoSendMethod, SocketIoSequence } from './types';
6
6
  export declare namespace SocketIoBindings {
7
7
  const CONFIG: BindingKey<SocketIoServerOptions>;
8
- const IO: BindingKey<Server<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap>>;
8
+ const IO: BindingKey<Server<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, any>>;
9
9
  const REQUEST_LISTENER: BindingKey<RequestListener>;
10
10
  /**
11
11
  * Binding key for the server itself
12
12
  */
13
13
  const SERVER: BindingKey<SocketIoServer>;
14
- const SOCKET: BindingKey<Socket<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap>>;
14
+ const SOCKET: BindingKey<Socket<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, any>>;
15
15
  const MESSAGE: BindingKey<unknown[]>;
16
16
  const SEQUENCE: BindingKey<SocketIoSequence>;
17
17
  const INVOKE_METHOD: BindingKey<SocketIoInvokeMethod>;
@@ -29,14 +29,14 @@ export declare class SocketIoServer extends Context {
29
29
  * Register a sock.io middleware function
30
30
  * @param fn
31
31
  */
32
- use(fn: SockIOMiddleware): Server<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap>;
32
+ use(fn: SockIOMiddleware): Server<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, any>;
33
33
  get url(): string;
34
34
  /**
35
35
  * Register a socketio controller
36
36
  * @param controllerClass
37
37
  * @param meta
38
38
  */
39
- route(controllerClass: Constructor<object>, meta?: SocketIoMetadata | string | RegExp): Server<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap> | import("socket.io").Namespace<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap>;
39
+ route(controllerClass: Constructor<object>, meta?: SocketIoMetadata | string | RegExp): Server<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, any> | import("socket.io").Namespace<import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, import("socket.io/dist/typed-events").DefaultEventsMap, any>;
40
40
  /**
41
41
  * Create socket handler from the controller class
42
42
  * @param controllerClass
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/socketio",
3
3
  "description": "LoopBack's WebSocket server based on socket.io",
4
- "version": "0.4.0",
4
+ "version": "0.5.1",
5
5
  "keywords": [
6
6
  "LoopBack",
7
7
  "Socket.IO",
@@ -42,27 +42,27 @@
42
42
  "!*/__tests__"
43
43
  ],
44
44
  "peerDependencies": {
45
- "@loopback/boot": "^4.0.0",
46
- "@loopback/core": "^3.0.0"
45
+ "@loopback/boot": "^4.1.1",
46
+ "@loopback/core": "^3.1.1"
47
47
  },
48
48
  "dependencies": {
49
- "@loopback/http-server": "^3.0.0",
49
+ "@loopback/http-server": "^3.1.1",
50
50
  "@types/cors": "^2.8.12",
51
- "@types/lodash": "^4.14.176",
51
+ "@types/lodash": "^4.14.179",
52
52
  "cors": "^2.8.5",
53
- "debug": "^4.3.2",
53
+ "debug": "^4.3.3",
54
54
  "lodash": "^4.17.21",
55
- "socket.io": "^4.3.1"
55
+ "socket.io": "^4.4.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@loopback/boot": "^4.0.0",
59
- "@loopback/build": "^8.0.0",
60
- "@loopback/core": "^3.0.0",
61
- "@loopback/eslint-config": "^12.0.0",
62
- "@loopback/testlab": "^4.0.0",
58
+ "@loopback/boot": "^4.1.1",
59
+ "@loopback/build": "^8.1.1",
60
+ "@loopback/core": "^3.1.1",
61
+ "@loopback/eslint-config": "^12.0.3",
62
+ "@loopback/testlab": "^4.1.1",
63
63
  "@types/debug": "^4.1.7",
64
64
  "p-event": "^4.2.0",
65
- "socket.io-client": "^4.3.2"
65
+ "socket.io-client": "^4.4.1"
66
66
  },
67
- "gitHead": "00a62f630c19341ce399cec3a45563b1ead6e3b8"
67
+ "gitHead": "8aff2ce33aad3daa53b05fa0fbe8a1b2c7ad0bdf"
68
68
  }