socket-function 0.47.0 → 0.49.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 +1 -1
- package/package.json +2 -2
- package/src/callManager.ts +1 -0
package/SocketFunction.ts
CHANGED
|
@@ -197,7 +197,7 @@ export class SocketFunction {
|
|
|
197
197
|
if (!config?.noAutoExpose) {
|
|
198
198
|
this.expose(socketCaller);
|
|
199
199
|
}
|
|
200
|
-
return Object.assign(socketCaller, config?.statics);
|
|
200
|
+
return Object.assign(socketCaller, config?.statics) as any;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
private static socketCache = new Map<string, SocketRegistered>();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "socket-function",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"node-forge": "https://github.com/sliftist/forge#name",
|
|
13
13
|
"pako": "^2.1.0",
|
|
14
14
|
"preact": "10.24.3",
|
|
15
|
-
"typenode": "^5.
|
|
15
|
+
"typenode": "^5.7.0",
|
|
16
16
|
"ws": "^8.17.1"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
package/src/callManager.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../hot/HotReloadController.ts" />
|
|
1
2
|
import { CallerContext, CallType, ClientHookContext, FullCallType, FunctionFlags, HookContext, SocketExposedInterface, SocketExposedInterfaceClass, SocketExposedShape, SocketFunctionClientHook, SocketFunctionHook, SocketRegistered } from "../SocketFunctionTypes";
|
|
2
3
|
import { _setSocketContext } from "../SocketFunction";
|
|
3
4
|
import { entries, isNode } from "./misc";
|