@turtleclub/hooks 0.5.0-beta.26 → 0.5.0-beta.28

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 CHANGED
@@ -2580,21 +2580,35 @@ function useGeocheck(options = {}) {
2580
2580
 
2581
2581
  // src/v2/streams/hooks.ts
2582
2582
  var import_react_query14 = require("@tanstack/react-query");
2583
- function useStreams(query, options) {
2583
+ function useStreams({
2584
+ query,
2585
+ options
2586
+ } = {}) {
2584
2587
  return (0, import_react_query14.useQuery)(createQueryOptions(streamsQueries.list(query), options));
2585
2588
  }
2586
- function useStreamWallets(streamId, options) {
2589
+ function useStreamWallets({
2590
+ streamId,
2591
+ options
2592
+ }) {
2587
2593
  return (0, import_react_query14.useQuery)(createQueryOptions(streamsQueries.wallets(streamId), options));
2588
2594
  }
2589
- function useStreamWalletDetails(streamId, userAddress, options) {
2595
+ function useStreamWalletDetails({
2596
+ streamId,
2597
+ userAddress,
2598
+ options
2599
+ }) {
2590
2600
  return (0, import_react_query14.useQuery)(
2591
2601
  createQueryOptions(streamsQueries.walletDetails({ streamId, userAddress }), options)
2592
2602
  );
2593
2603
  }
2594
- function useStreamSupportedChains(options) {
2604
+ function useStreamSupportedChains({
2605
+ options
2606
+ } = {}) {
2595
2607
  return (0, import_react_query14.useQuery)(createQueryOptions(streamsQueries.supportedChains, options));
2596
2608
  }
2597
- function useRequestStreamSignature(options) {
2609
+ function useRequestStreamSignature({
2610
+ options
2611
+ } = {}) {
2598
2612
  return (0, import_react_query14.useMutation)({
2599
2613
  mutationFn: ({ organizationId, data }) => requestStreamSignature(organizationId, data),
2600
2614
  ...options