@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 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.every((item) => item instanceof UUIDPromise)) {
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;
@@ -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.every((item) => item instanceof UUIDPromise)) {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overmap-ai/forms",
3
- "version": "1.0.32-react-flow-david-fixes.37",
3
+ "version": "1.0.32-react-flow-david-fixes.38",
4
4
  "license": "UNLICENSED",
5
5
  "main": "dist/forms.umd.cjs",
6
6
  "module": "dist/forms.js",