@inweb/client 25.3.18 → 25.3.19

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/client.js CHANGED
@@ -243,8 +243,8 @@
243
243
  * ="_blank">AbortSignal</a> object instance. Allows to communicate with a fetch request
244
244
  * and abort it if desired.
245
245
  */
246
- downloadResourceRange(dataId, ranges, requestId, onProgress, signal) {
247
- return this._file.downloadResourceRange(dataId, ranges, requestId, onProgress, signal);
246
+ downloadResourceRange(dataId, requestId, ranges, onProgress, signal) {
247
+ return this._file.downloadResourceRange(dataId, requestId, ranges, onProgress, signal);
248
248
  }
249
249
  /**
250
250
  * Deprecated since `25.3`. Use {@link Model.downloadResource()} instead.
@@ -274,7 +274,7 @@
274
274
  record.delete();
275
275
  }
276
276
  }
277
- await this.downloadResourceRange(dataId, ranges, requestId, onProgress, signal);
277
+ await this.downloadResourceRange(dataId, requestId, ranges, onProgress, signal);
278
278
  }
279
279
  /**
280
280
  * Returns a list of references to files used to extract geometry data.
@@ -1081,10 +1081,10 @@
1081
1081
  * ="_blank">AbortSignal</a> object instance. Allows to communicate with a fetch request
1082
1082
  * and abort it if desired.
1083
1083
  */
1084
- downloadResourceRange(dataId, ranges, requestId, onProgress, signal) {
1084
+ downloadResourceRange(dataId, requestId, ranges, onProgress, signal) {
1085
1085
  const relativePath = this.appendVersionParam(`/downloads/${dataId}?requestId=${requestId}`);
1086
1086
  return this.httpClient
1087
- .downloadFileRange(`${this.path}${relativePath}`, ranges, onProgress, signal)
1087
+ .downloadFileRange(`${this.path}${relativePath}`, requestId, ranges, onProgress, signal)
1088
1088
  .then((response) => response.arrayBuffer());
1089
1089
  }
1090
1090
  /**
@@ -1098,7 +1098,7 @@
1098
1098
  * Deprecated since `25.3`. Use {@link Assembly.downloadResourceRange()} instead.
1099
1099
  */
1100
1100
  async downloadFileRange(requestId, records, dataId, onProgress, signal) {
1101
- await this.downloadResourceRange(dataId, records, requestId, onProgress, signal);
1101
+ await this.downloadResourceRange(dataId, requestId, records, onProgress, signal);
1102
1102
  }
1103
1103
  // Reserved for future use
1104
1104
  getReferences(signal) {
@@ -1468,7 +1468,7 @@
1468
1468
  },
1469
1469
  }));
1470
1470
  }
1471
- async downloadFileRange(relativePath, ranges, onProgress, signal) {
1471
+ async downloadFileRange(relativePath, requestId, ranges, onProgress, signal) {
1472
1472
  const headers = { ...this.headers };
1473
1473
  headers["Range"] = "bytes=" + ranges.map((x) => `${x.begin}-${x.end}`).join(",");
1474
1474
  const response = await $fetch(`${this.serverUrl}${relativePath}`, { method: "GET", headers, signal });
@@ -2369,10 +2369,10 @@
2369
2369
  * ="_blank">AbortSignal</a> object instance. Allows to communicate with a fetch request
2370
2370
  * and abort it if desired.
2371
2371
  */
2372
- downloadResourceRange(dataId, ranges, requestId, onProgress, signal) {
2372
+ downloadResourceRange(dataId, requestId, ranges, onProgress, signal) {
2373
2373
  const relativePath = this.appendVersionParam(`/downloads/${dataId}?requestId=${requestId}`);
2374
2374
  return this.httpClient
2375
- .downloadFileRange(`${this.path}${relativePath}`, ranges, onProgress, signal)
2375
+ .downloadFileRange(`${this.path}${relativePath}`, requestId, ranges, onProgress, signal)
2376
2376
  .then((response) => response.arrayBuffer());
2377
2377
  }
2378
2378
  /**
@@ -2386,7 +2386,7 @@
2386
2386
  * Deprecated since `25.3`. Use {@link File.downloadResourceRange()} instead.
2387
2387
  */
2388
2388
  async downloadFileRange(requestId, records, dataId, onProgress, signal) {
2389
- await this.downloadResourceRange(dataId, records, requestId, onProgress, signal);
2389
+ await this.downloadResourceRange(dataId, requestId, records, onProgress, signal);
2390
2390
  }
2391
2391
  /**
2392
2392
  * Returns a list of references to files used to correct rendering of the current file.
@@ -3717,7 +3717,7 @@
3717
3717
  .then((data) => ({
3718
3718
  ...data,
3719
3719
  server: data.version,
3720
- client: "25.3.18",
3720
+ client: "25.3.19",
3721
3721
  }));
3722
3722
  }
3723
3723
  /**
@@ -4394,7 +4394,7 @@
4394
4394
  }
4395
4395
 
4396
4396
  ///////////////////////////////////////////////////////////////////////////////
4397
- const version = "25.3.18";
4397
+ const version = "25.3.19";
4398
4398
 
4399
4399
  exports.Assembly = Assembly;
4400
4400
  exports.ClashTest = ClashTest;