socket-function 1.2.32 → 1.2.33
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/package.json +1 -1
- package/src/callManager.ts +2 -1
package/package.json
CHANGED
package/src/callManager.ts
CHANGED
|
@@ -129,7 +129,8 @@ export function unregisterGlobalClientHook(hook: SocketFunctionClientHook) {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
let startupTime = Date.now();
|
|
132
|
-
|
|
132
|
+
// NOTE: We don't time run client hooks as some of the hooks want to be not measured. And if we time the parent function, then they can't be not measured.
|
|
133
|
+
export const runClientHooks = (async function runClientHooks(
|
|
133
134
|
callType: FullCallType,
|
|
134
135
|
hooks: Exclude<SocketExposedShape[""], undefined>,
|
|
135
136
|
connectionId: { nodeId: string },
|