quasar-ui-danx 0.3.39 → 0.3.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.3.39",
3
+ "version": "0.3.40",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -279,6 +279,8 @@ export class FileUpload {
279
279
  // Fetch presigned upload URL
280
280
  const fileResource = await fetch(presignedUrl).then(r => r.json());
281
281
 
282
+ console.log("loaded presignedUrl: fileResource", fileResource);
283
+
282
284
  if (!fileResource.url) {
283
285
  FlashMessages.error("Could not fetch presigned upload URL for file " + fileUpload.file.name);
284
286
  continue;
@@ -294,7 +296,9 @@ export class FileUpload {
294
296
 
295
297
  // The XHR request is different based on weather we're sending to S3 or the platform server
296
298
  if (isS3Upload) {
299
+ console.log("uploading S3", xhr);
297
300
  xhr.open("PUT", fileResource.url);
301
+ console.log("setting content type to", mimeType);
298
302
  xhr.setRequestHeader("Content-Type", mimeType);
299
303
  fileUpload.body = fileUpload.file;
300
304
  } else {