Skip to content

Commit 4a52795

Browse files
add deprecated warnings
1 parent efe8bfa commit 4a52795

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/orkes/OrkesConductorClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { REFRESH_TOKEN_IN_MILLISECONDS } from "./constants";
99
*
1010
* @param config (optional) OrkesApiConfig with keyId and keySecret
1111
* @param customFetch (optional) custom fetch function
12+
* @param requestHandler DEPRECATED! (optional) ConductorHttpRequest handler, replaced with customFetch
1213
* @returns
1314
*/
1415
export const orkesConductorClient = async (

src/orkes/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ export type FetchFn<
88
export interface OrkesApiConfig extends GenerateTokenRequest, OpenAPIConfig {
99
serverUrl: string;
1010
refreshTokenInterval: number;
11+
useEnvVars?: boolean; // DEPRECATED, has no effect
1112
}

0 commit comments

Comments
 (0)