@3dverse/api 0.15.0 → 0.16.0

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
@@ -934,16 +934,18 @@ function deleteAsset({
934
934
  headers
935
935
  });
936
936
  }
937
- function renameAsset({
937
+ function updateAsset({
938
938
  asset_container,
939
939
  asset_id,
940
- name
940
+ name,
941
+ meta
941
942
  }, headers) {
942
943
  return axiosInstance({
943
944
  method: "patch",
944
945
  url: "/assets/" + encodeURIComponent(asset_container) + "/" + encodeURIComponent(asset_id),
945
946
  data: {
946
- name
947
+ name,
948
+ meta
947
949
  },
948
950
  headers
949
951
  });
@@ -1707,7 +1709,6 @@ export {
1707
1709
  moveSourceFiles,
1708
1710
  packageAsset,
1709
1711
  registerUser,
1710
- renameAsset,
1711
1712
  replaceAssetCode,
1712
1713
  revokeMemberAccessToFolder,
1713
1714
  revokeMemberAccessToGroup,
@@ -1715,6 +1716,7 @@ export {
1715
1716
  setAssetThumbnail,
1716
1717
  setBaseURL,
1717
1718
  setUserToken,
1719
+ updateAsset,
1718
1720
  updateAssetDescription,
1719
1721
  updateAssetGraph,
1720
1722
  updateEntity,