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.
- package/cjs/PlaneTrackerAPI.js +1 -1
- package/esm/PlaneTrackerAPI.js +1 -1
- package/package.json +1 -1
package/cjs/PlaneTrackerAPI.js
CHANGED
|
@@ -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);
|
package/esm/PlaneTrackerAPI.js
CHANGED
|
@@ -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);
|