0.37.0 • Published 1 year ago

@cyware/sdk-workflow v0.37.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

👋 Workflow SDK

NPM Version

This is repository for the Cyware workflow SDK.

You usually don't need to use this package directly since typing is already included in the runtime.

But this can be useful if you want to write to code externally in Typescript and built it to JS.

import { PassiveInput, SDK, Data } from "./typing";

export async function run(
  input: PassiveInput,
  sdk: SDK,
): Promise<Data | undefined> {
  if (input.request) {
    sdk.console.log(input.request.getMethod());
  }
  return;
}

💚 Community

Come join our Discord community and connect with other Cyware users! We'd love to have you as part of the conversation and help with any questions you may have.

0.37.0

1 year ago