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

Provide libdom free api package #154

Open
robert3005 opened this issue Feb 2, 2021 · 0 comments
Open

Provide libdom free api package #154

robert3005 opened this issue Feb 2, 2021 · 0 comments

Comments

@robert3005
Copy link
Contributor

What happened?

Current conjure-typescript is tied to libdom by relying on Fetch, ReadableStream and Blob. As a result it's hard to use conjure-typescript in environments that don't have DOM available, i.e. graaljs.

What did you want to happen?

We should split conjure-typescript into 2 dependencies where one of them only has necessary api bindings and the other containing implementation such that you can provide alternatives to fetch. Potentially also would require generating different api to get rid of the other two libdom references but ArrayBuffer is part of ES5 and also included in signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant