socket-function 0.133.0 → 0.134.0

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/SocketFunction.ts CHANGED
@@ -36,8 +36,8 @@ if (isNode()) {
36
36
  module.allowclient = true;
37
37
 
38
38
  type ExtractShape<ClassType, Shape> = {
39
- [key in keyof Shape]: (
40
- key extends keyof ClassType
39
+ [key in keyof ClassType]: (
40
+ key extends keyof Shape
41
41
  ? ClassType[key] extends SocketExposedInterface[""]
42
42
  ? ClassType[key]
43
43
  : ClassType[key] extends Function ? "All exposed function must be async (or return a Promise)" : never
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "0.133.0",
3
+ "version": "0.134.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {