bajo 2.3.1 → 2.3.2

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/class/bajo.js CHANGED
@@ -970,11 +970,14 @@ class Bajo extends Plugin {
970
970
  for (const i in fns) {
971
971
  const fn = fns[i]
972
972
  const scope = this.app[fn.src]
973
- const res = await fn.handler.call(scope, ...args)
974
- results.push({
975
- hook: hookName,
976
- resp: res
977
- })
973
+ if (fn.noWait) fn.handler.call(scope, ...args)
974
+ else {
975
+ const res = await fn.handler.call(scope, ...args)
976
+ results.push({
977
+ hook: hookName,
978
+ resp: res
979
+ })
980
+ }
978
981
  if (this.config.log.traceHook) scope.log.trace('hookExecuted%s', hookName)
979
982
  }
980
983
  return results
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "The ultimate framework for whipping up massive apps in no time",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-01-24
4
+
5
+ - [2.3.2] Hook now can be executed without waiting if property ```noWait``` is ```true```
6
+
3
7
  ## 2026-01-21
4
8
 
5
9
  - [2.3.1] Bug fix on keys that needs to be used while reading plugin's config files