camstreamerlib 4.0.0-beta.147 → 4.0.0-beta.149

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/VapixAPI.js CHANGED
@@ -141,7 +141,7 @@ class VapixAPI extends BasicAPI_1.BasicAPI {
141
141
  return Number(job.jobid);
142
142
  }
143
143
  async fetchSDCardJobProgress(jobId, options) {
144
- const res = await this._postUrlEncoded('/disks/job.cgi', {
144
+ const res = await this._postUrlEncoded('/axis-cgi/disks/job.cgi', {
145
145
  jobid: String(jobId),
146
146
  diskid: 'SD_DISK',
147
147
  }, options);
@@ -515,7 +515,7 @@ class VapixAPI extends BasicAPI_1.BasicAPI {
515
515
  headers: {
516
516
  contentType: 'application/octet-stream',
517
517
  },
518
- timeout: options?.timeout ?? 120000,
518
+ timeout: options?.timeout ?? 300000,
519
519
  });
520
520
  if (!res.ok) {
521
521
  throw new errors_1.ErrorWithResponse(res);
package/esm/VapixAPI.js CHANGED
@@ -138,7 +138,7 @@ export class VapixAPI extends BasicAPI {
138
138
  return Number(job.jobid);
139
139
  }
140
140
  async fetchSDCardJobProgress(jobId, options) {
141
- const res = await this._postUrlEncoded('/disks/job.cgi', {
141
+ const res = await this._postUrlEncoded('/axis-cgi/disks/job.cgi', {
142
142
  jobid: String(jobId),
143
143
  diskid: 'SD_DISK',
144
144
  }, options);
@@ -512,7 +512,7 @@ export class VapixAPI extends BasicAPI {
512
512
  headers: {
513
513
  contentType: 'application/octet-stream',
514
514
  },
515
- timeout: options?.timeout ?? 120000,
515
+ timeout: options?.timeout ?? 300000,
516
516
  });
517
517
  if (!res.ok) {
518
518
  throw new ErrorWithResponse(res);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.147",
3
+ "version": "4.0.0-beta.149",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {