@awarevue/api-types 1.1.1 → 1.1.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.
|
@@ -408,7 +408,7 @@ const getAgentMessageIssues = (message) => {
|
|
|
408
408
|
}
|
|
409
409
|
const result2 = schema.safeParse(message);
|
|
410
410
|
if (!result2.success) {
|
|
411
|
-
return result2.error.errors.map((e) => e.message);
|
|
411
|
+
return result2.error.errors.map((e) => `${e.path.map((p) => p.toString()).join('.')} - ${e.message}`);
|
|
412
412
|
}
|
|
413
413
|
return [];
|
|
414
414
|
};
|
package/dist/package.json
CHANGED