@3dverse/api 0.8.17 → 0.8.19

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.js CHANGED
@@ -454,7 +454,7 @@ function uploadSourceFiles({
454
454
  onUploadProgress,
455
455
  headers: {
456
456
  "Content-Type": "multipart/form-data",
457
- ...headers
457
+ ...headers?.toJSON()
458
458
  }
459
459
  });
460
460
  }
@@ -600,7 +600,7 @@ function importAssets({
600
600
  onUploadProgress,
601
601
  headers: {
602
602
  "Content-Type": "application/zip",
603
- ...headers
603
+ ...headers?.toJSON()
604
604
  }
605
605
  });
606
606
  }
@@ -989,7 +989,7 @@ function setAssetThumbnail({
989
989
  maxRedirects: 0,
990
990
  headers: {
991
991
  "Content-Type": contentType,
992
- ...headers
992
+ ...headers?.toJSON()
993
993
  }
994
994
  });
995
995
  }