@3dverse/api 0.8.1 → 0.8.2
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/_prebuild/wrapper.d.ts +8 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -516,6 +516,16 @@ function getUploadTask({
|
|
516
516
|
url: "/upload-tasks/" + upload_task_id
|
517
517
|
});
|
518
518
|
}
|
519
|
+
function getConversionTaskMetadata({
|
520
|
+
asset_id,
|
521
|
+
filename
|
522
|
+
}) {
|
523
|
+
return axiosInstance({
|
524
|
+
method: "get",
|
525
|
+
url: "/conversion_tasks/" + asset_id + "/metadata/" + filename,
|
526
|
+
responseType: "arraybuffer"
|
527
|
+
});
|
528
|
+
}
|
519
529
|
function listAssets({
|
520
530
|
offset = 0,
|
521
531
|
limit = 10,
|
@@ -1013,6 +1023,7 @@ export {
|
|
1013
1023
|
getAssetReferences,
|
1014
1024
|
getAssetSourceFile,
|
1015
1025
|
getAssetThumbnail,
|
1026
|
+
getConversionTaskMetadata,
|
1016
1027
|
getEntity,
|
1017
1028
|
getFolderAssets,
|
1018
1029
|
getFolderInfo,
|