@pathscale/wss-adapter 1.0.5 → 1.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.
@@ -38,7 +38,7 @@ interface IWssAdapter {
38
38
  [serviceName: string]: IServiceConnect;
39
39
  };
40
40
  sessions: {
41
- [serviceName: string]: any;
41
+ [serviceName: string]: Record<string, <Response, Params = {}>(payload?: Params) => Promise<Response>>;
42
42
  };
43
43
  configure: (configuration: IConfiguration) => void;
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/wss-adapter",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Websocket adapter for the Pathscale WSS",
5
5
  "main": "dist/wssAdapter.js",
6
6
  "types": "dist/wssAdapter.d.ts",
package/types/index.ts CHANGED
@@ -38,7 +38,10 @@ interface IWssAdapter {
38
38
  [serviceName: string]: IServiceConnect
39
39
  }
40
40
  sessions: {
41
- [serviceName: string]: any
41
+ [serviceName: string]: Record<
42
+ string,
43
+ <Response, Params = {}>(payload?: Params) => Promise<Response>
44
+ >
42
45
  }
43
46
  configure: (configuration: IConfiguration) => void
44
47
  }