@3dverse/api 0.6.4 → 0.6.6

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
@@ -720,16 +720,29 @@ function deleteEntity({
720
720
  url: "/assets/scenes/" + scene_id + "/entities/" + entity_id
721
721
  });
722
722
  }
723
+ function getRunningSessions({
724
+ filters
725
+ }) {
726
+ return axiosInstance({
727
+ method: "get",
728
+ url: "/sessions",
729
+ params: {
730
+ filters
731
+ }
732
+ });
733
+ }
723
734
  function createSession({
724
735
  scene_id,
725
- renderer_version
736
+ renderer_version,
737
+ is_transient = false
726
738
  }) {
727
739
  return axiosInstance({
728
740
  method: "post",
729
741
  url: "/sessions",
730
742
  data: {
731
743
  scene_id,
732
- renderer_version
744
+ renderer_version,
745
+ is_transient
733
746
  }
734
747
  });
735
748
  }
@@ -911,6 +924,7 @@ export {
911
924
  getFolderAssets,
912
925
  getFolderInfo,
913
926
  getGroup,
927
+ getRunningSessions,
914
928
  getSceneAABB,
915
929
  getSceneSessions,
916
930
  getSession,