@go-avro/avro-js 0.0.58 → 0.0.59

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.
@@ -111,6 +111,12 @@ declare module '../client/QueryClient' {
111
111
  unknown_ids?: string[];
112
112
  query?: string;
113
113
  paid?: boolean;
114
+ created_from?: number;
115
+ created_to?: number;
116
+ paid_from?: number;
117
+ paid_to?: number;
118
+ amount_min?: number;
119
+ amount_max?: number;
114
120
  }): UseInfiniteQueryResult<InfiniteData<Bill[], unknown>, StandardError>;
115
121
  useGetLabels(body: {
116
122
  amt?: number;
@@ -710,6 +716,12 @@ export declare class AvroQueryClient {
710
716
  query?: string;
711
717
  offset?: number;
712
718
  paid?: boolean;
719
+ created_from?: number;
720
+ created_to?: number;
721
+ paid_from?: number;
722
+ paid_to?: number;
723
+ amount_min?: number;
724
+ amount_max?: number;
713
725
  }, cancelToken?: CancelToken, headers?: Record<string, string>): Promise<any>;
714
726
  fetchRoutes(body?: {
715
727
  amt?: number;
@@ -10,6 +10,12 @@ AvroQueryClient.prototype.useGetBills = function (body) {
10
10
  body.known_ids ?? [],
11
11
  body.unknown_ids ?? [],
12
12
  body.paid ?? false,
13
+ body.created_from ?? null,
14
+ body.created_to ?? null,
15
+ body.paid_from ?? null,
16
+ body.paid_to ?? null,
17
+ body.amount_min ?? null,
18
+ body.amount_max ?? null,
13
19
  ],
14
20
  initialPageParam: 0,
15
21
  getNextPageParam: (lastPage, allPages) => {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AVRO_JS_VERSION = "0.0.58";
1
+ export declare const AVRO_JS_VERSION = "0.0.59";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED by scripts/gen-version.js — do not edit by hand.
2
2
  // Regenerated from package.json by the `prebuild` npm hook.
3
- export const AVRO_JS_VERSION = '0.0.58';
3
+ export const AVRO_JS_VERSION = '0.0.59';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",