@treatwell/moleculer-essentials 1.3.0 → 1.3.1

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/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-CjPjJvVl.cjs');
4
- var _2019_ts = require('ajv/dist/2019.ts');
4
+ var _2019_js = require('ajv/dist/2019.js');
5
5
  var moleculer = require('moleculer');
6
6
  var addFormats = require('ajv-formats');
7
7
  var addKeywords = require('ajv-keywords');
@@ -744,7 +744,7 @@ class AjvValidator extends moleculer.Validators.Base {
744
744
  this.zodValidator = zodValidator;
745
745
  this.modes = /* @__PURE__ */ new Map();
746
746
  for (const [mode, ajvOpts] of Object.entries(opts)) {
747
- const validator = new _2019_ts.Ajv2019(ajvOpts);
747
+ const validator = new _2019_js.Ajv2019(ajvOpts);
748
748
  this.modes.set(mode, {
749
749
  validator,
750
750
  extractor: new AjvExtractor(validator)
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { S as SCHEMA_REF_NAME, i as isZodSchema, z as zodToOpenAPISchema, o as omitFields, G as GetOpenApiParamsSchema, V as ValidationErrorSchema, F as FileTooBigSchema, a as FileNotExistSchema, U as UnauthorizedErrorSchema, b as ServerErrorSchema, C as COERCE_ARRAY_ATTRIBUTE } from './index-B6AujuxZ.mjs';
2
2
  export { D as DATE_TYPE, E as EMPTY_OBJECT_SCHEMA, O as OBJECTID_TYPE, c as addFieldsToSchema, f as composeSchemas, k as createOpenAPIResponses, e as optionalExceptFields, d as optionalFields, p as pickFields, t as toPartialSchema, j as zodCoerceArray, g as zodDate, h as zodObjectId } from './index-B6AujuxZ.mjs';
3
- import { Ajv2019 } from 'ajv/dist/2019.ts';
3
+ import { Ajv2019 } from 'ajv/dist/2019.js';
4
4
  import { Validators, Errors, Context, ServiceBroker, Service, TracerExporters, MetricReporters } from 'moleculer';
5
5
  import addFormats from 'ajv-formats';
6
6
  import addKeywords from 'ajv-keywords';
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "type": "git",
7
7
  "url": "https://github.com/treatwell/moleculer-essentials"
8
8
  },
9
- "version": "1.3.0",
9
+ "version": "1.3.1",
10
10
  "main": "./dist/index.cjs",
11
11
  "module": "./dist/index.mjs",
12
12
  "types": "./dist/index.d.cts",
@@ -167,7 +167,7 @@
167
167
  "moleculer": "^0.14.35",
168
168
  "mongodb": "^6.21.0",
169
169
  "mongodb-memory-server": "^10.3.0",
170
- "pkgroll": "^2.21.3",
170
+ "pkgroll": "2.20.1",
171
171
  "prettier": "^3.6.2",
172
172
  "redlock": "^4.2.0",
173
173
  "semantic-release": "^25.0.2",