'use strict';

var apiCore = require('@rss3/api-core');
var reactQuery = require('@tanstack/react-query');

function useGetRSSActivity(params, options) {
  const queryKey = ["useGetRSSActivity", params];
  const query = reactQuery.useQuery({
    queryKey,
    queryFn: () => {
      const args = Array.isArray(params) ? params : [params];
      return apiCore.getRSSActivity(...args);
    },
    ...options
  });
  return {
    ...query,
    queryKey
  };
}

exports.useGetRSSActivity = useGetRSSActivity;
//# sourceMappingURL=use-get-rssactivity.cjs.map
//# sourceMappingURL=use-get-rssactivity.cjs.map