@go-avro/avro-js 0.0.2-beta.122 → 0.0.2-beta.124

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.
@@ -17,7 +17,7 @@ AvroQueryClient.prototype.useGetJobs = function (onProgress) {
17
17
  onProgress?.(0);
18
18
  const pageCount = amt ? Math.ceil((this.company?.num_jobs ?? 0) / amt) : 0;
19
19
  let completed = 0;
20
- const promises = Array.from({ length: pageCount }, (_, i) => this.fetchJobs({ offset: i * amt }));
20
+ const promises = Array.from({ length: pageCount }, (_, i) => this.fetchJobs({ offset: i * amt, amt }));
21
21
  const trackedPromises = promises.map((promise) => promise.then((result) => {
22
22
  completed++;
23
23
  const fraction = completed / pageCount;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.2-beta.122",
3
+ "version": "0.0.2-beta.124",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",