waibu-db 2.2.1 → 2.2.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.
@@ -33,7 +33,6 @@ async function addHandler ({ req, reply, model, params = {}, template, addOnsHan
33
33
  form._addmore = req.session[`wdb${model}AddMore`]
34
34
  form._cloneprev = req.session[`wdb${model}ClonePrev`]
35
35
  }
36
- console.log(form)
37
36
  const addOns = addOnsHandler ? await addOnsHandler.call(this.app[req.ns], { req, reply, params, data: resp, schema, error, options }) : undefined
38
37
  merge(params, { form, schema, error, addOns })
39
38
  if (schema.template) template = schema.template
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-db",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "DB Helper",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 2026-01-24
4
4
 
5
+ - [2.2.2] Remove annoying console.log trap
6
+
7
+ ## 2026-01-24
8
+
5
9
  - [2.2.0] Model's option can now be sent through ```modelOpts``` object in ```options``` handler
6
10
  - [2.2.0] ```prepCrud()``` now accept model instance or model name only
7
11
  - [2.2.0] ```getSchemaExt``` now accept model instance or model name only