Commit Graph

20 Commits

Author SHA1 Message Date
github-actions[bot] 2c70b7a360 chore: Update version for release (next) 2023-07-27 10:00:21 +00:00
Matt Aitken 2398d60b1a Added noExternal for the @trigger.dev/internal package 2023-07-26 18:54:12 +01:00
Matt Aitken 6f670c8cc6 Use v5 react-query so we don’t need a QueryClientProvider. Improved the retrying behaviour 2023-07-25 16:36:09 +01:00
Matt Aitken 1fea5d7af3 React hooks are working in the example 2023-07-25 14:38:39 +01:00
Matt Aitken 74640b1a82 Custom react query context for the package 2023-07-25 13:38:32 +01:00
Matt Aitken 420e719db2 useEventRunDetails combines the two hooks 2023-07-24 17:23:32 +01:00
Matt Aitken c448f53964 Run hook fixes 2023-07-24 17:12:16 +01:00
Matt Aitken 72230f67d8 Improved the hook 2023-07-24 17:03:11 +01:00
Matt Aitken eb5195768b Moved the run query to runs/$runId, instead of /tasks 2023-07-24 13:28:33 +01:00
Matt Aitken b1b471cf63 Removed the optional stuff from react zodfetch function 2023-07-24 13:13:09 +01:00
Matt Aitken dda8be1fd0 Remove log 2023-07-23 19:26:25 +01:00
Matt Aitken ac4253a187 Only refetch the run if it’s not complete 2023-07-23 19:26:00 +01:00
Matt Aitken a6f79d77d1 Run hook 2023-07-23 19:18:19 +01:00
Matt Aitken 106843be09 Checks for the correct public key format 2023-07-23 18:42:20 +01:00
Matt Aitken 3dcd7743be Requests are happening but failing CORS 2023-07-23 18:03:39 +01:00
Matt Aitken b04852c98c useQueryEvent 2023-07-23 17:51:03 +01:00
Matt Aitken ad19bfa283 Added zod fetch function 2023-07-23 17:50:51 +01:00
Matt Aitken ee86910caa Pass in default api url 2023-07-23 17:50:36 +01:00
Matt Aitken 9a4daaf024 Better errors for api key 2023-07-23 17:40:04 +01:00
Matt Aitken 43c402ccae Initial React package with provider 2023-07-23 17:36:20 +01:00