@navios/navios-zod
Advanced tools
Comparing version 0.3.1 to 0.4.0-alpha.0
@@ -64,3 +64,3 @@ "use strict"; | ||
} | ||
if (error instanceof import_navios.NaviosError) { | ||
if (error instanceof import_navios.NaviosError && error.response) { | ||
if (config.useWholeResponse) { | ||
@@ -134,5 +134,2 @@ return responseSchema.parse(error.response); | ||
} | ||
// packages/navios-zod/src/types.mts | ||
var import_navios3 = require("navios"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -139,0 +136,0 @@ 0 && (module.exports = { |
{ | ||
"name": "@navios/navios-zod", | ||
"version": "0.3.1", | ||
"version": "0.4.0-alpha.0", | ||
"author": { | ||
@@ -13,3 +13,3 @@ "name": "Oleksandr Hanzha", | ||
"peerDependencies": { | ||
"navios": "0.3.0", | ||
"navios": "0.4.0-alpha.1", | ||
"zod": "^3.23.8" | ||
@@ -31,2 +31,3 @@ }, | ||
"devDependencies": { | ||
"navios": "0.4.0-alpha.1", | ||
"typescript": "^5.4.5", | ||
@@ -33,0 +34,0 @@ "zod": "^3.23.8" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
46664
13
353
3