@deeptrekker/api-domain 1.0.2 → 1.0.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.
@@ -1 +1 @@
1
- export declare const API_VERSION = "1.0.2";
1
+ export declare const API_VERSION = "1.0.3";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_VERSION = void 0;
4
4
  /* AUTO GENERATED FILE */
5
- exports.API_VERSION = "1.0.2";
5
+ exports.API_VERSION = "1.0.3";
@@ -20,7 +20,7 @@ exports.payload = payload;
20
20
  var ajv_1 = __importDefault(require("ajv"));
21
21
  var ts_pattern_1 = require("ts-pattern");
22
22
  var types_1 = require("../types");
23
- exports.ajv = new ajv_1.default();
23
+ exports.ajv = new ajv_1.default({ allowUnionTypes: true });
24
24
  /** Compiled JSON schema Validator */
25
25
  var schema_json_1 = __importDefault(require("../constants/schema/schema.json"));
26
26
  var Validator = exports.ajv.compile(schema_json_1.default);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A business domain of types and schemas that the Deep Trekker topside communicates with via an API.",
5
5
  "main": "dist/index.js",
6
6
  "engines": {