@myxtra/microservice 0.2.0 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -5357,7 +5357,7 @@ var swagger_default = fp(swaggerPlugin);
5357
5357
 
5358
5358
  // src/plugins/zod.ts
5359
5359
  var import_fastify_type_provider_zod2 = __toESM(require_dist());
5360
- import { beesError } from "@myxtra/api";
5360
+ import { baseError } from "@myxtra/api";
5361
5361
  import "fastify";
5362
5362
  import fp2 from "fastify-plugin";
5363
5363
 
@@ -9095,7 +9095,7 @@ var z = /* @__PURE__ */ Object.freeze({
9095
9095
  });
9096
9096
 
9097
9097
  // src/plugins/zod.ts
9098
- var validationError = beesError.extend({
9098
+ var validationError = baseError.extend({
9099
9099
  problemJson: z.object({
9100
9100
  formErrors: z.array(z.string()),
9101
9101
  fieldErrors: z.record(z.array(z.string()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myxtra/microservice",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "main": "./dist/index.mjs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -20,7 +20,7 @@
20
20
  "typecheck": "tsc --noEmit"
21
21
  },
22
22
  "dependencies": {
23
- "@myxtra/api": "0.2.0"
23
+ "@myxtra/api": "0.2.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@myxtra/eslint-config": "1.13.0",