socket-function 1.2.15 → 1.2.16

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
@@ -200,6 +200,8 @@ export class SocketFunction {
200
200
 
201
201
  for (let value of Object.values(shape)) {
202
202
  if (!value) continue;
203
+ value.noClientHooks = value.noClientHooks ?? defaultHooks?.noClientHooks;
204
+ value.noDefaultHooks = value.noDefaultHooks ?? defaultHooks?.noDefaultHooks;
203
205
  if (!value.noClientHooks) {
204
206
  value.clientHooks = [...(defaultHooks?.clientHooks || []), ...(value.clientHooks || [])];
205
207
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {