@overmap-ai/forms 1.0.32-react-flow-david-fixes.37 → 1.0.32-react-flow-david-fixes.38
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/forms.js +1 -1
- package/dist/forms.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/forms.js
CHANGED
|
@@ -36278,7 +36278,7 @@ const separateFilesFromFields = async (fields) => {
|
|
|
36278
36278
|
async function awaitPromisesFromFieldValues(values) {
|
|
36279
36279
|
const valuesWithoutFiles = {};
|
|
36280
36280
|
for (const [key, value] of Object.entries(values)) {
|
|
36281
|
-
if (Array.isArray(value) && value.
|
|
36281
|
+
if (Array.isArray(value) && value.some((item) => item instanceof UUIDPromise)) {
|
|
36282
36282
|
valuesWithoutFiles[key] = await Promise.all(value);
|
|
36283
36283
|
} else {
|
|
36284
36284
|
valuesWithoutFiles[key] = value;
|
package/dist/forms.umd.cjs
CHANGED
|
@@ -36280,7 +36280,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
36280
36280
|
async function awaitPromisesFromFieldValues(values) {
|
|
36281
36281
|
const valuesWithoutFiles = {};
|
|
36282
36282
|
for (const [key, value] of Object.entries(values)) {
|
|
36283
|
-
if (Array.isArray(value) && value.
|
|
36283
|
+
if (Array.isArray(value) && value.some((item) => item instanceof UUIDPromise)) {
|
|
36284
36284
|
valuesWithoutFiles[key] = await Promise.all(value);
|
|
36285
36285
|
} else {
|
|
36286
36286
|
valuesWithoutFiles[key] = value;
|