@dev-fastn-ai/react-core 2.0.2 → 2.0.3

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/index.cjs.js CHANGED
@@ -2445,7 +2445,7 @@ function useFieldOptions(field) {
2445
2445
  type: "OFFSET",
2446
2446
  hasNextPage: false,
2447
2447
  };
2448
- return await field.optionsSource.getOptions(pagination, {});
2448
+ return await field.optionsSource.getOptions(pagination, {}, searchQuery);
2449
2449
  },
2450
2450
  enabled: !!((_a = field.optionsSource) === null || _a === void 0 ? void 0 : _a.getOptions),
2451
2451
  staleTime: 1000 * 60 * 5, // 5 minutes
package/dist/index.esm.js CHANGED
@@ -2443,7 +2443,7 @@ function useFieldOptions(field) {
2443
2443
  type: "OFFSET",
2444
2444
  hasNextPage: false,
2445
2445
  };
2446
- return await field.optionsSource.getOptions(pagination, {});
2446
+ return await field.optionsSource.getOptions(pagination, {}, searchQuery);
2447
2447
  },
2448
2448
  enabled: !!((_a = field.optionsSource) === null || _a === void 0 ? void 0 : _a.getOptions),
2449
2449
  staleTime: 1000 * 60 * 5, // 5 minutes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-fastn-ai/react-core",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "React hooks and components for integrating Fastn AI connector marketplace into your applications. Built on top of @fastn-ai/core with React Query for optimal performance.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",