@3dverse/api 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +7 -9
- package/dist/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -656,6 +656,7 @@ function getAssetThumbnail({
|
|
656
656
|
operationId: "getAssetThumbnail",
|
657
657
|
method: "get",
|
658
658
|
url: "/assets/" + asset_container + "/" + asset_id + "/thumbnail",
|
659
|
+
responseType: "arraybuffer",
|
659
660
|
params: {
|
660
661
|
size,
|
661
662
|
default_url
|
@@ -749,13 +750,13 @@ function getEntity({
|
|
749
750
|
function updateEntity({
|
750
751
|
scene_id,
|
751
752
|
entity_id,
|
752
|
-
|
753
|
+
entityComponents
|
753
754
|
}) {
|
754
755
|
return axiosInstance({
|
755
756
|
operationId: "updateEntity",
|
756
757
|
method: "patch",
|
757
758
|
url: "/assets/scenes/" + scene_id + "/entities/" + entity_id,
|
758
|
-
data:
|
759
|
+
data: entityComponents
|
759
760
|
});
|
760
761
|
}
|
761
762
|
function deleteEntity({
|