@supernova-studio/client 0.3.0 → 0.3.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.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/docs-editor/prosemirror-to-blocks.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -5745,6 +5745,8 @@ function parseItem(rawItem, definition) {
|
|
|
5745
5745
|
const validationResult = valueSchema.safeParse(value);
|
|
5746
5746
|
if (validationResult.success) {
|
|
5747
5747
|
sanitizedProps[property.id] = validationResult.data;
|
|
5748
|
+
} else {
|
|
5749
|
+
console.log(validationResult.error.flatten());
|
|
5748
5750
|
}
|
|
5749
5751
|
}
|
|
5750
5752
|
return {
|