@3dverse/api 0.8.6 → 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 +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
@@ -2497,10 +2497,11 @@ export type CreateSession_Object = {
|
|
2497
2497
|
/**
|
2498
2498
|
* Create a new rendering session.
|
2499
2499
|
*/
|
2500
|
-
export declare function createSession({ scene_id, renderer_version, is_transient, }: {
|
2500
|
+
export declare function createSession({ scene_id, renderer_version, is_transient, options, }: {
|
2501
2501
|
scene_id: string;
|
2502
2502
|
renderer_version?: string;
|
2503
2503
|
is_transient?: boolean;
|
2504
|
+
options?: object;
|
2504
2505
|
}, headers?: AxiosHeaders): AxiosPromise<CreateSession_Object>;
|
2505
2506
|
export type GetSession_Session = {
|
2506
2507
|
session_id: string;
|
package/dist/index.js
CHANGED
@@ -1028,7 +1028,8 @@ function getRunningSessions({
|
|
1028
1028
|
function createSession({
|
1029
1029
|
scene_id,
|
1030
1030
|
renderer_version,
|
1031
|
-
is_transient = false
|
1031
|
+
is_transient = false,
|
1032
|
+
options
|
1032
1033
|
}, headers) {
|
1033
1034
|
return axiosInstance({
|
1034
1035
|
method: "post",
|
@@ -1036,7 +1037,8 @@ function createSession({
|
|
1036
1037
|
data: {
|
1037
1038
|
scene_id,
|
1038
1039
|
renderer_version,
|
1039
|
-
is_transient
|
1040
|
+
is_transient,
|
1041
|
+
options
|
1040
1042
|
},
|
1041
1043
|
headers
|
1042
1044
|
});
|