@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.
|
|
1
|
+
export declare const API_VERSION = "1.0.3";
|
package/dist/utils/index.js
CHANGED
|
@@ -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