waibu-rest-api 2.14.2 → 2.15.0

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/lib/helper.js CHANGED
@@ -9,6 +9,7 @@ export function extractHeaders (req, options) {
9
9
  if (typeof options.refs === 'string' && !['*', 'all'].includes(options.refs)) options.refs = [options.refs]
10
10
  if (headers['x-warnings']) options.showWarnings = true
11
11
  if (headers['x-formatted'] || headers['x-fmt']) options.fmt = true
12
+ options.attachments = headers['x-attachments']
12
13
  }
13
14
 
14
15
  export async function handleResponseXml (req, reply, payload) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-rest-api",
3
- "version": "2.14.2",
3
+ "version": "2.15.0",
4
4
  "description": "REST API for Waibu",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-10-21
4
+
5
+ - [2.15.0] Add support for `_attachments`
6
+
3
7
  ## 2026-09-05
4
8
 
5
9
  - [2.14.2] Bug fix in `_routeByModelBuilder()` for aggregate/histogram endpoint