native-document 1.0.173 → 1.0.174

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "native-document",
3
- "version": "1.0.173",
3
+ "version": "1.0.174",
4
4
  "description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
5
5
  "author": "AfroCodeur <https://github.com/afrocodeur>",
6
6
  "license": "MIT",
@@ -110,7 +110,7 @@ const buildErrors = ($desc) => {
110
110
  return ShowIf($desc.hasErrors,
111
111
  () => Div({class: 'field-errors', ...($desc.elementsProps.error || {})},
112
112
  ForEachArray($desc.errors, (error) =>
113
- Span({class: 'field-error'}, (typeof error === 'string' ? error.resolve() : error)),
113
+ Span({class: 'field-error'}, (typeof error === 'string' ? error.toNdChildren() : error)),
114
114
  ),
115
115
  ),
116
116
  );