'use strict';

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

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

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