@3dverse/api 0.8.18 → 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.mjs CHANGED
@@ -329,7 +329,7 @@ function uploadSourceFiles({
329
329
  onUploadProgress,
330
330
  headers: {
331
331
  "Content-Type": "multipart/form-data",
332
- ...headers
332
+ ...headers?.toJSON()
333
333
  }
334
334
  });
335
335
  }
@@ -475,7 +475,7 @@ function importAssets({
475
475
  onUploadProgress,
476
476
  headers: {
477
477
  "Content-Type": "application/zip",
478
- ...headers
478
+ ...headers?.toJSON()
479
479
  }
480
480
  });
481
481
  }
@@ -864,7 +864,7 @@ function setAssetThumbnail({
864
864
  maxRedirects: 0,
865
865
  headers: {
866
866
  "Content-Type": contentType,
867
- ...headers
867
+ ...headers?.toJSON()
868
868
  }
869
869
  });
870
870
  }