@openaddresses/batch-schema 9.1.0 → 9.2.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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v9.2.0
14
+
15
+ - :rocket: Use Defaults in response middleware
16
+
13
17
  ### v9.1.0
14
18
 
15
19
  - :rocket: Only attempt to load js and ts files
package/lib/middleware.js CHANGED
@@ -8,6 +8,7 @@ import Generic from '@openaddresses/batch-generic';
8
8
  const ajv = addFormats(new Ajv({
9
9
  strict: false,
10
10
  allErrors: true,
11
+ useDefaults: true,
11
12
  removeAdditional: true
12
13
  }));
13
14
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "root": true,
5
5
  "main": "index.js",
6
- "version": "9.1.0",
6
+ "version": "9.2.0",
7
7
  "description": "Strongly Validated JSON Schema support for address",
8
8
  "repository": "git@github.com:openaddresses/batch-schema",
9
9
  "author": "ingalls <nick@ingalls.ca>",