apacuana-sdk-core 0.17.0 → 1.1.0

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.mjs CHANGED
@@ -34304,7 +34304,8 @@ var createApacuanaUser = /*#__PURE__*/function () {
34304
34304
  formData = new FormData();
34305
34305
  Object.keys(userData).forEach(function (key) {
34306
34306
  var value = userData[key];
34307
- if (value instanceof File) {
34307
+ var isRNFile = value && _typeof(value) === "object" && value.uri && value.name && value.type;
34308
+ if (value instanceof File || isRNFile) {
34308
34309
  formData.append(key, value);
34309
34310
  } else if (value !== null && value !== undefined) {
34310
34311
  formData.append(key, String(value));