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

Generator SDK #86

Open
dfarr opened this issue Mar 25, 2024 · 0 comments
Open

Generator SDK #86

dfarr opened this issue Mar 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dfarr
Copy link
Member

dfarr commented Mar 25, 2024

This is the minimal import requirements to use Resonate.

import { Resonate, Context, Info } from "@resonatehq/sdk";

You can choose to import either the "async" or "generator" flavour of these objects. Although there is some support for exports in package.json, this support is conditional on what the client specifies in the module field. To avoid confusion, we feel it would be better to expose our generator flavour as a standalone package.

@resonatehq/sdk: async flavour
@resonatehq/gen: generator flavour

Both packages should be defined in this repo and share much of the same underlying code. For the time being, we will only expose async.

@dfarr dfarr added the enhancement New feature or request label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant