'use strict';

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

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

exports.useGetNetworkActivities = useGetNetworkActivities;
//# sourceMappingURL=use-get-network-activities.cjs.map
//# sourceMappingURL=use-get-network-activities.cjs.map