resonate-sdk-ts
resonate-sdk-ts copied to clipboard
Generator SDK
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.