Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JS API client #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ristomcgehee
Copy link
Collaborator

I realized that in #90, I left the javascript-sdk in a state where it doesn't compile. My reasoning for not including javascript-sdk/src/api.ts in that PR was because the server API had not been updated yet, so the interface would be wrong if I included these changes in api.ts. I forgot to take into account that the types wouldn't match and would cause a compile error. I'm including those changes now because I think it's better to have the API client not match than to have the whole project not compile. Really I just need to stop submitting breaking changes 😬

I also added npm run build to the CI checks to prevent this sort of thing in the future.

@ristomcgehee
Copy link
Collaborator Author

@seanpmorgan friendly bump

@ristomcgehee ristomcgehee requested review from cherbel and removed request for seanpmorgan March 12, 2024 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant