-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add register font to ts-sdk
#934
Conversation
9c6a6bd
to
7e80ef4
Compare
cc892cc
to
10aff0d
Compare
10aff0d
to
0c9b355
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging it for now, but in follow up PR
- please address error handling in sendRequest
- make sure passing assets works in vite example
- modify vite examples to not use the url directlly
if (response.status >= 400) { | ||
const err: any = new Error(`Request to compositor failed.`); | ||
err.response = response; | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we talked about it already, if json() failes then text()
will also fail because body was already read. This implementation and sendRequest
is incorrect
No description provided.