Katriel Tsepelevish
7dcc55a083
Updated README
2023-07-25 19:33:16 +03:00
Matt Aitken
6989fec9d0
New API keys (public or private) now have 20 random characters
2023-07-25 17:06:01 +01:00
Matt Aitken
bba190e4e9
Use apiCors function for the event endpoint too
2023-07-25 16:36:19 +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
Katriel Tsepelevish
d8626c624f
Updated contributing README
2023-07-25 18:35:18 +03:00
D-K-P
454ad25b1d
Updated the ID question in the CLI
2023-07-25 16:30:28 +01:00
D-K-P
4dce703b20
Changed the create a job in code callout from Quick start to Create a Job
2023-07-25 16:17:57 +01:00
D-K-P
ce1e911c90
Fixed the github link on the examples job table
2023-07-25 16:13:08 +01:00
D-K-P
f84f4dcee6
Updated the blank jobs page instructions
2023-07-25 16:02:03 +01:00
D-K-P
bfa3757ee0
Updated the help & feedback copy
2023-07-25 15:16:33 +01:00
Matt Aitken
1fea5d7af3
React hooks are working in the example
2023-07-25 14:38:39 +01:00
Matt Aitken
dd33bbf6a8
Reworked the next-js project to just have the app directory
2023-07-25 13:38:46 +01:00
Matt Aitken
74640b1a82
Custom react query context for the package
2023-07-25 13:38:32 +01:00
Eric Allam
51e6a74eda
Lock turborepo to a specific version (1.10.10 breaks our Docker builds)
2023-07-25 13:37:40 +01:00
alubọsa
27a9812194
chore: use endpointId if it exists in package.json ( #200 )
...
* chore: use endpointId if package.json has it
* minor
* add changeset
* chore: include changeset
* chore: add proper summary to changeset
* chore: remove redundant changeset file
2023-07-25 13:27:35 +01:00
Eric Allam
ba03a9ed20
Merge pull request #207 from jemiluv8/js-support-for-init-command
...
feat: Add Javascript support for init command
2023-07-25 13:09:56 +01:00
Matt Aitken
f5c1c62a09
export SentEvent from the SDK
2023-07-24 17:48:07 +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
4bdc28d7fc
apiCors has 5 min maxAge
2023-07-24 17:03:02 +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
5b6539d799
Improved the display of the react hooks in the example
2023-07-24 13:13:19 +01:00
Matt Aitken
b1b471cf63
Removed the optional stuff from react zodfetch function
2023-07-24 13:13:09 +01:00
Matt Aitken
bcd80463f3
Removed the parentId from the RunTaskSchema
2023-07-24 13:12:34 +01:00
Matt Aitken
e2781cb090
Don’t return the task details unless they’re asked for, fix so the child tasks aren’t returned if they’re not asked for
2023-07-24 13:12:19 +01:00
D-K-P
09f906f7a1
Updated the invitation code page copy
2023-07-24 10:18:11 +01:00
Jemilu Mohammed
706ab20ced
add "patch" change set for feature to support nextjs projects using javascript
2023-07-23 19:04:18 +00:00
Jemilu Mohammed
1dde615686
add change set for feature to support nextjs projects using javascript
2023-07-23 18:49:14 +00:00
Matt Aitken
dda8be1fd0
Remove log
2023-07-23 19:26:25 +01:00
Matt Aitken
2888877463
Missed a cors response wrapper
2023-07-23 19:26:13 +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
4ca841a1d5
Query to get environment from either the apiKey or the pkApiKey
2023-07-23 19:06:34 +01:00
Matt Aitken
4d2a8728be
Getting events is allowed with allowPublicKey
2023-07-23 19:06:18 +01:00
Matt Aitken
ae3afdfc7e
Allow public key api requests, if the flag is passed
2023-07-23 19:05:30 +01:00
Matt Aitken
e135b06e2c
Show errors, not working properly yet
2023-07-23 18:42:36 +01:00
Matt Aitken
106843be09
Checks for the correct public key format
2023-07-23 18:42:20 +01:00
Matt Aitken
022021dc4b
Allow CORS for the GET events endpoint
2023-07-23 18:27:23 +01:00
Matt Aitken
8815b1608e
Set the api url to localhost:3030
2023-07-23 18:26:59 +01:00
Matt Aitken
3dcd7743be
Requests are happening but failing CORS
2023-07-23 18:03:39 +01:00
Matt Aitken
66fd838085
Setup the Nextjs example homepage with the TriggerProvider
2023-07-23 17:51:24 +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
fcf1202af3
Added React package to Next.js example project
2023-07-23 17:36:55 +01:00
Matt Aitken
43c402ccae
Initial React package with provider
2023-07-23 17:36:20 +01:00
Matt Aitken
24334a1e78
API client methods for getting event and run data
2023-07-23 16:25:13 +01:00
Matt Aitken
37e27510de
Return some run info as well
2023-07-23 16:24:11 +01:00