@3dverse/api 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_prebuild/wrapper.d.ts +14 -13
- 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
@@ -1591,10 +1591,11 @@ export declare function deleteEntity({ scene_id, entity_id }: {
|
|
1591
1591
|
entity_id: string;
|
1592
1592
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
1593
1593
|
export type CreateSession_Object = {
|
1594
|
-
session_id
|
1594
|
+
session_id: string;
|
1595
1595
|
};
|
1596
|
-
export declare function createSession({ scene_id }: {
|
1597
|
-
scene_id
|
1596
|
+
export declare function createSession({ scene_id, renderer_version }: {
|
1597
|
+
scene_id: string;
|
1598
|
+
renderer_version?: string;
|
1598
1599
|
}): AxiosPromise<CreateSession_Object>;
|
1599
1600
|
export type GetSession_Session = {
|
1600
1601
|
session_id: string;
|
@@ -1621,13 +1622,13 @@ export declare function killSession({ session_id }: {
|
|
1621
1622
|
session_id: string;
|
1622
1623
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
1623
1624
|
export type JoinSession_SessionToken = {
|
1624
|
-
session_token
|
1625
|
-
endpoint_info
|
1625
|
+
session_token: string;
|
1626
|
+
endpoint_info: JoinSession_Object;
|
1626
1627
|
};
|
1627
1628
|
export type JoinSession_Object = {
|
1628
|
-
ip
|
1629
|
-
port
|
1630
|
-
ssl_port
|
1629
|
+
ip: string;
|
1630
|
+
port: number;
|
1631
|
+
ssl_port: number;
|
1631
1632
|
};
|
1632
1633
|
export declare function joinSession({ session_id }: {
|
1633
1634
|
session_id: string;
|
@@ -1637,13 +1638,13 @@ export declare function kickClientFromSession({ session_id, client_id }: {
|
|
1637
1638
|
client_id: string;
|
1638
1639
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
1639
1640
|
export type JoinSessionAsGuest_SessionToken = {
|
1640
|
-
session_token
|
1641
|
-
endpoint_info
|
1641
|
+
session_token: string;
|
1642
|
+
endpoint_info: JoinSessionAsGuest_Object;
|
1642
1643
|
};
|
1643
1644
|
export type JoinSessionAsGuest_Object = {
|
1644
|
-
ip
|
1645
|
-
port
|
1646
|
-
ssl_port
|
1645
|
+
ip: string;
|
1646
|
+
port: number;
|
1647
|
+
ssl_port: number;
|
1647
1648
|
};
|
1648
1649
|
export declare function joinSessionAsGuest(): AxiosPromise<JoinSessionAsGuest_SessionToken>;
|
1649
1650
|
export type GenerateGuestToken_GuestToken = {
|
package/dist/index.js
CHANGED
@@ -884,14 +884,16 @@ function deleteEntity({
|
|
884
884
|
});
|
885
885
|
}
|
886
886
|
function createSession({
|
887
|
-
scene_id
|
887
|
+
scene_id,
|
888
|
+
renderer_version
|
888
889
|
}) {
|
889
890
|
return axiosInstance({
|
890
891
|
operationId: "createSession",
|
891
892
|
method: "post",
|
892
893
|
url: "/sessions",
|
893
894
|
data: {
|
894
|
-
scene_id
|
895
|
+
scene_id,
|
896
|
+
renderer_version
|
895
897
|
}
|
896
898
|
});
|
897
899
|
}
|