timelock-sdk 0.0.71 → 0.0.72

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/client.cjs CHANGED
@@ -319,7 +319,7 @@ const useExerciseOption = (marketAddr) => {
319
319
  ]
320
320
  });
321
321
  await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
322
- await queryClient.invalidateQueries({ queryKey: ["userOptions", address.toLowerCase()] });
322
+ queryClient.invalidateQueries({ queryKey: ["userOptions", address.toLowerCase()] });
323
323
  return hash;
324
324
  };
325
325
  return (0, __tanstack_react_query.useMutation)({ mutationFn: exerciseOption });
@@ -451,7 +451,7 @@ const useMintOption = (marketAddr) => {
451
451
  ]
452
452
  });
453
453
  await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
454
- await queryClient.invalidateQueries({ queryKey: ["userOptions", address.toLowerCase()] });
454
+ queryClient.invalidateQueries({ queryKey: ["userOptions", address.toLowerCase()] });
455
455
  return hash;
456
456
  };
457
457
  return (0, __tanstack_react_query.useMutation)({ mutationFn: mintOption });
@@ -616,7 +616,7 @@ const useExtendOption = (marketAddr) => {
616
616
  ]
617
617
  });
618
618
  await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
619
- await queryClient.invalidateQueries({ queryKey: ["userOptions", address.toLowerCase()] });
619
+ queryClient.invalidateQueries({ queryKey: ["userOptions", address.toLowerCase()] });
620
620
  return hash;
621
621
  };
622
622
  return (0, __tanstack_react_query.useMutation)({ mutationFn: extendOption });
@@ -675,7 +675,7 @@ const useSetOperatorPerms = (marketAddr) => {
675
675
  ]
676
676
  });
677
677
  await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
678
- await queryClient.invalidateQueries({ queryKey: [
678
+ queryClient.invalidateQueries({ queryKey: [
679
679
  "userOperators",
680
680
  address.toLowerCase(),
681
681
  marketAddr.toLowerCase()