@openaddresses/batch-schema 9.2.0 → 9.3.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.3.0
14
+
15
+ - :rocket: Coerce types on output
16
+
13
17
  ### v9.2.0
14
18
 
15
19
  - :rocket: Use Defaults in response middleware
package/lib/middleware.js CHANGED
@@ -9,7 +9,8 @@ const ajv = addFormats(new Ajv({
9
9
  strict: false,
10
10
  allErrors: true,
11
11
  useDefaults: true,
12
- removeAdditional: true
12
+ removeAdditional: true,
13
+ coerceTypes: true
13
14
  }));
14
15
 
15
16
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "root": true,
5
5
  "main": "index.js",
6
- "version": "9.2.0",
6
+ "version": "9.3.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>",