@myxtra/microservice 0.1.2 → 0.2.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.mjs +4 -4
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
@@ -5053,7 +5053,7 @@ var require_parseDef = __commonJS({
|
|
5053
5053
|
case zod_1.ZodFirstPartyTypeKind.ZodSymbol:
|
5054
5054
|
return void 0;
|
5055
5055
|
default:
|
5056
|
-
return ((_) => void 0)(typeName);
|
5056
|
+
return /* @__PURE__ */ ((_) => void 0)(typeName);
|
5057
5057
|
}
|
5058
5058
|
};
|
5059
5059
|
var addMeta = (def, refs, jsonSchema) => {
|
@@ -5172,7 +5172,7 @@ var require_zod_to_json_schema = __commonJS({
|
|
5172
5172
|
var require_dist = __commonJS({
|
5173
5173
|
"../../node_modules/fastify-type-provider-zod/dist/index.js"(exports) {
|
5174
5174
|
"use strict";
|
5175
|
-
var __extends = exports && exports.__extends || function() {
|
5175
|
+
var __extends = exports && exports.__extends || /* @__PURE__ */ function() {
|
5176
5176
|
var extendStatics = function(d, b) {
|
5177
5177
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
5178
5178
|
d2.__proto__ = b2;
|
@@ -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 {
|
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 =
|
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.1
|
3
|
+
"version": "0.2.1",
|
4
4
|
"main": "./dist/index.mjs",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"publishConfig": {
|
@@ -20,15 +20,15 @@
|
|
20
20
|
"typecheck": "tsc --noEmit"
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
|
-
"@myxtra/api": "0.1
|
23
|
+
"@myxtra/api": "0.2.1"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
|
-
"@myxtra/eslint-config": "1.
|
26
|
+
"@myxtra/eslint-config": "1.13.0",
|
27
27
|
"@tsconfig/node18": "^18.2.2",
|
28
|
-
"eslint": "^8.
|
28
|
+
"eslint": "^8.54.0",
|
29
29
|
"fastify-type-provider-zod": "^1.1.9",
|
30
|
-
"tsup": "^
|
31
|
-
"typescript": "^5.
|
30
|
+
"tsup": "^8.0.1",
|
31
|
+
"typescript": "^5.3.2"
|
32
32
|
},
|
33
33
|
"peerDependencies": {
|
34
34
|
"@fastify/swagger": ">=8.0.0",
|