2.1.0 • Published 23 days ago

@io-orkes/conductor-javascript v2.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
23 days ago

Conductor OSS Javascript/Typescript SDK

The conductor-javascript repository provides the client SDKs to build task workers in javascript/typescript.

Building the task workers in javascript mainly consists of the following steps:

  1. Setup conductor-javascript package
  2. Create and run task workers
  3. Create workflows using code

Setup Conductor Javascript Package

  • Get the package from npm
npm i @io-orkes/conductor-javascript

or

yarn add @io-orkes/conductor-javascript

Configurations

Authentication Settings (Optional)

Configure the authentication settings if your Conductor server requires authentication.

  • keyId: Key for authentication.
  • keySecret: Secret for the key.

Access Control Setup

See Access Control for more details on role-based access control with Conductor and generating API keys for your environment.

Configure API Client

/**
 * Application keys generated from the Application menu > Create Application
 * then edit and create Access Keys
 *
 */
import { OrkesApiConfig, orkesConductorClient } from "@io-orkes/conductor-javascript";

const config: Partial<OrkesApiConfig> = {
  keyId: "XXX", // optional
  keySecret: "XXXX", // optional
  refreshTokenInterval: 0, // optional (in milliseconds) defaults to 30 minutes (30 * 60 * 1000). 0 no refresh
  serverUrl: "https://play.orkes.io/api",
};

orkesConductorClient(config).then(client => ..... );

Next: Create and run task workers

2.1.0

23 days ago

2.0.1-alpha

2 months ago

2.0.0-rc3

4 months ago

2.0.0-rc2

4 months ago

2.0.0-rc1

4 months ago

2.0.0

4 months ago

1.2.0

10 months ago

1.2.2-rc.2

9 months ago

1.2.3

8 months ago

1.2.2

9 months ago

1.2.1

9 months ago

1.2.1-rc.4

10 months ago

1.2.1-rc.3

10 months ago

1.2.1-rc.2

10 months ago

1.2.1-rc.1

10 months ago

1.2.0-rc.9

10 months ago

1.2.0-rc.8

10 months ago

1.2.0-rc.7

10 months ago

1.2.0-rc.2

10 months ago

1.2.0-rc.1

10 months ago

1.2.0-rc.6

10 months ago

1.2.0-rc.5

10 months ago

1.2.0-rc.4

10 months ago

1.2.0-rc.3

10 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

1 year ago

0.0.12

1 year ago

0.9.0

1 year ago

0.9.1

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

2 years ago