@3dverse/api 0.2.2 → 0.2.3

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.
@@ -1306,7 +1306,7 @@ export declare function getAssetThumbnail({ asset_container, asset_id, size, def
1306
1306
  asset_id: string;
1307
1307
  size: "large" | "medium" | "small" | "tiny";
1308
1308
  default_url?: string;
1309
- }): Promise<import("axios").AxiosResponse<any, any>>;
1309
+ }): AxiosPromise<ArrayBuffer>;
1310
1310
  export declare function setAssetThumbnail({ asset_container, asset_id, body }: {
1311
1311
  asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
1312
1312
  asset_id: string;
package/dist/index.js CHANGED
@@ -768,6 +768,7 @@ function getAssetThumbnail({
768
768
  operationId: "getAssetThumbnail",
769
769
  method: "get",
770
770
  url: "/assets/" + asset_container + "/" + asset_id + "/thumbnail",
771
+ responseType: "arraybuffer",
771
772
  params: {
772
773
  size,
773
774
  default_url