@liberfi.io/react-predict 0.1.1 → 0.1.2

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.mjs CHANGED
@@ -838,12 +838,16 @@ function useSimilarEvents(params, queryOptions = {}) {
838
838
  ...queryOptions
839
839
  });
840
840
  }
841
+
842
+ // src/hooks/predict/market.params.ts
841
843
  function marketQueryKey(slug, source) {
842
844
  return ["predict", "market", slug, source];
843
845
  }
844
846
  async function fetchMarket(client, slug, source) {
845
847
  return client.getMarket(slug, source);
846
848
  }
849
+
850
+ // src/hooks/predict/useMarket.ts
847
851
  function useMarket(params, queryOptions = {}) {
848
852
  const client = usePredictClient();
849
853
  return useQuery({