camstreamerlib 4.0.0-beta.45 → 4.0.0-beta.46

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.
@@ -158,7 +158,7 @@ class PlaneTrackerAPI {
158
158
  }
159
159
  async getGenetecCameraList(params, options) {
160
160
  const res = await this._postUrlEncoded(`${BASE_PATH}/package/getGenetecCameraList.cgi`, params, options);
161
- return GenetecAgent_1.cameraListSchema.parse(res);
161
+ return GenetecAgent_1.cameraListSchema.parse(await res.json());
162
162
  }
163
163
  async _getJson(path, parameters, options, headers) {
164
164
  const agent = this.getClient(options?.proxyParams);
@@ -155,7 +155,7 @@ export class PlaneTrackerAPI {
155
155
  }
156
156
  async getGenetecCameraList(params, options) {
157
157
  const res = await this._postUrlEncoded(`${BASE_PATH}/package/getGenetecCameraList.cgi`, params, options);
158
- return cameraListSchema.parse(res);
158
+ return cameraListSchema.parse(await res.json());
159
159
  }
160
160
  async _getJson(path, parameters, options, headers) {
161
161
  const agent = this.getClient(options?.proxyParams);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.45",
3
+ "version": "4.0.0-beta.46",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {