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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "1.2.32",
3
+ "version": "1.2.33",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -129,7 +129,8 @@ export function unregisterGlobalClientHook(hook: SocketFunctionClientHook) {
129
129
  }
130
130
 
131
131
  let startupTime = Date.now();
132
- export const runClientHooks = measureWrap(async function runClientHooks(
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 },