Skip to content

Provide libdom free api package #154

@robert3005

Description

@robert3005

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions