@3dverse/api 0.8.8 → 0.8.10

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.js CHANGED
@@ -27,8 +27,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
29
  // index.ts
30
- var library_exports = {};
31
- __export(library_exports, {
30
+ var index_exports = {};
31
+ __export(index_exports, {
32
32
  ApiError: () => ApiError,
33
33
  UnexpectedServiceError: () => UnexpectedServiceError,
34
34
  axiosInstance: () => axiosInstance,
@@ -116,7 +116,7 @@ __export(library_exports, {
116
116
  updateUser: () => updateUser,
117
117
  uploadSourceFiles: () => uploadSourceFiles
118
118
  });
119
- module.exports = __toCommonJS(library_exports);
119
+ module.exports = __toCommonJS(index_exports);
120
120
  var import_axios_retry = __toESM(require("axios-retry"));
121
121
 
122
122
  // _prebuild/wrapper.ts
@@ -1078,11 +1078,15 @@ function killSession({
1078
1078
  });
1079
1079
  }
1080
1080
  function joinSession({
1081
- session_id
1081
+ session_id,
1082
+ is_headless = false
1082
1083
  }, headers) {
1083
1084
  return axiosInstance({
1084
1085
  method: "post",
1085
1086
  url: "/sessions/" + session_id + "/clients",
1087
+ data: {
1088
+ is_headless
1089
+ },
1086
1090
  headers
1087
1091
  });
1088
1092
  }