diff --git a/docs/developer-guides/using-workers.md b/docs/developer-guides/using-workers.md index 84e3e25b..73938849 100644 --- a/docs/developer-guides/using-workers.md +++ b/docs/developer-guides/using-workers.md @@ -119,7 +119,7 @@ implementation 'io.orkes.conductor:orkes-conductor-client:4.0.1' 4.0.1 - io.orkes + io.orkes.conductor orkes-conductor-client 4.0.1 @@ -328,18 +328,19 @@ Import TaskRunner to run the JavaScript worker. ``` javascript import { - OrkesApiConfig, orkesConductorClient, - TaskRunner, + TaskManager, } from "@io-orkes/conductor-javascript"; -orkesConductorClient({ - keyId: process.env.CONDUCTOR_AUTH_KEY, - keySecret: process.env.CONDUCTOR_AUTH_SECRET, - serverUrl: process.env.CONDUCTOR_SERVER_URL, -}).then((client) => - new TaskManager(client, [ myWorker ]).startPolling() -); +const config = { + serverUrl: "https://developer.orkescloud.com/api", + keyId: "_CHANGE_ME_", + keySecret: "_CHANGE_ME_", +}; + +const client = await orkesConductorClient(config); +const manager = new TaskManager(client, [worker]); +manager.startPolling(); ``` diff --git a/docs/getting-started/quickstart-index.md b/docs/getting-started/quickstart-index.md index 61ff40ac..bb02a23e 100644 --- a/docs/getting-started/quickstart-index.md +++ b/docs/getting-started/quickstart-index.md @@ -98,8 +98,9 @@ In the `build.gradle` file, add the following dependencies. ``` java dependencies { - implementation 'org.conductoross:conductor-client:4.0.0' - implementation 'io.orkes:orkes-conductor-client:4.0.0' + implementation 'org.conductoross:conductor-client:4.0.1' + implementation 'org.conductoross:java-sdk:4.0.1' + implementation 'io.orkes.conductor:orkes-conductor-client:4.0.1' } ``` @@ -111,12 +112,17 @@ In the `pom.xml` file, add the following dependencies. org.conductoross conductor-client - 4.0.0 + 4.0.1 - io.orkes + org.conductoross + java-sdk + 4.0.1 + + + io.orkes.conductor orkes-conductor-client - 4.0.0 + 4.0.1 ``` diff --git a/docs/sdks/clojure.md b/docs/sdks/clojure.md index 3c034e10..59b1aecc 100644 --- a/docs/sdks/clojure.md +++ b/docs/sdks/clojure.md @@ -14,19 +14,19 @@ Orkes Conductor Clojure SDK is maintained here: https://github.com/conductor-sdk ### Leiningen/Boot ```clojure -[io.orkes/conductor-clojure "0.3.0"] +[io.orkes/conductor-clojure "0.3.1"] ``` ### Clojure CLI/deps.edn ```clojure -io.orkes/conductor-clojure {:mvn/version "0.3.0"} +io.orkes/conductor-clojure {:mvn/version "0.3.1"} ``` ### Gradle ```clojure -implementation("io.orkes:conductor-clojure:0.3.0") +implementation("io.orkes:conductor-clojure:0.3.1") ``` ### Maven @@ -35,7 +35,7 @@ implementation("io.orkes:conductor-clojure:0.3.0") io.orkes conductor-clojure - 0.3.0 + 0.3.1 ```