@openaddresses/batch-schema 2.3.2 → 2.3.3

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
+ ### v2.3.3
14
+
15
+ - :rocket: Name exports explicitly instead of returning object for ES module compat.
16
+
13
17
  ### v2.3.2
14
18
 
15
19
  - :bug: Fix a status code error handling bug which would crash express
package/index.js CHANGED
@@ -1,6 +1,4 @@
1
1
  'use strict';
2
2
 
3
- module.exports = {
4
- Schema: require('./lib/schema'),
5
- Err: require('./lib/error')
6
- };
3
+ module.exports.Schema = require('./lib/schema');
4
+ module.exports.Err = require('./lib/error')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openaddresses/batch-schema",
3
3
  "root": true,
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "Strongly Validated JSON Schema support for address",
6
6
  "repository": "git@github.com:openaddresses/batch",
7
7
  "author": "ingalls <nick@ingalls.ca>",