@3dverse/api 0.8.5 → 0.8.7
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 +23 -9
- package/dist/index.js +16 -2
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +15 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -910,7 +910,8 @@ function getRunningSessions({
|
|
910
910
|
function createSession({
|
911
911
|
scene_id,
|
912
912
|
renderer_version,
|
913
|
-
is_transient = false
|
913
|
+
is_transient = false,
|
914
|
+
options
|
914
915
|
}, headers) {
|
915
916
|
return axiosInstance({
|
916
917
|
method: "post",
|
@@ -918,7 +919,8 @@ function createSession({
|
|
918
919
|
data: {
|
919
920
|
scene_id,
|
920
921
|
renderer_version,
|
921
|
-
is_transient
|
922
|
+
is_transient,
|
923
|
+
options
|
922
924
|
},
|
923
925
|
headers
|
924
926
|
});
|
@@ -950,6 +952,16 @@ function joinSession({
|
|
950
952
|
headers
|
951
953
|
});
|
952
954
|
}
|
955
|
+
function getClient({
|
956
|
+
session_id,
|
957
|
+
client_id
|
958
|
+
}, headers) {
|
959
|
+
return axiosInstance({
|
960
|
+
method: "get",
|
961
|
+
url: "/sessions/" + session_id + "/clients/" + client_id,
|
962
|
+
headers
|
963
|
+
});
|
964
|
+
}
|
953
965
|
function kickClientFromSession({
|
954
966
|
session_id,
|
955
967
|
client_id
|
@@ -1106,6 +1118,7 @@ export {
|
|
1106
1118
|
getAssetReferences,
|
1107
1119
|
getAssetSourceFile,
|
1108
1120
|
getAssetThumbnail,
|
1121
|
+
getClient,
|
1109
1122
|
getConversionTaskMetadata,
|
1110
1123
|
getEntity,
|
1111
1124
|
getFolderAssets,
|