@go-avro/avro-js 0.0.4-beta.32 → 0.0.4-beta.33
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.
|
@@ -550,7 +550,7 @@ export declare class AvroQueryClient {
|
|
|
550
550
|
unbilled?: boolean;
|
|
551
551
|
billed?: boolean;
|
|
552
552
|
paid?: boolean;
|
|
553
|
-
|
|
553
|
+
job_id?: string | null;
|
|
554
554
|
}, cancelToken?: CancelToken, headers?: Record<string, string>): Promise<any>;
|
|
555
555
|
fetchMonths(body?: {
|
|
556
556
|
amt?: number;
|
|
@@ -23,7 +23,7 @@ AvroQueryClient.prototype.useGetEvents = function (body) {
|
|
|
23
23
|
return undefined;
|
|
24
24
|
return allPages.flat().length; // next offset
|
|
25
25
|
},
|
|
26
|
-
queryFn: ({ pageParam = 0 }) => this.fetchEvents({ ...body, offset: pageParam }),
|
|
26
|
+
queryFn: ({ pageParam = 0 }) => this.fetchEvents({ ...body, job_id: body.jobId, offset: pageParam }),
|
|
27
27
|
enabled: body.enabled ?? true,
|
|
28
28
|
});
|
|
29
29
|
if (result.data) {
|