pollination-react-io 1.97.0 → 1.98.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/build/index.js CHANGED
@@ -39000,6 +39000,10 @@ var useCreateStudy = function (accountName, projectName, client) {
39000
39000
  }
39001
39001
  });
39002
39002
  }
39003
+ // from Base64 to File. Use it for controlled values local machine to cloud
39004
+ if (typeof value.base64_string === 'string' && typeof value.file_name === 'string') {
39005
+ value = dataURLtoFile(value.base64_string, value.file_name);
39006
+ }
39003
39007
  // first download artifact and turn it into a blob
39004
39008
  // then save it to the users machine and provide
39005
39009
  // the name to the jobInfo object