Skip to content

Commit 58a5845

Browse files
Adding environment_name to SDK (#14302)
1 parent fcde7cf commit 58a5845

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/sdk",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Pipedream SDK",
55
"main": "dist/server/index.js",
66
"module": "dist/server/index.js",

packages/sdk/src/server/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ export type ConnectTokenCreateOpts = {
6161
* An optional webhook uri that Pipedream can invoke on success or failure of connection requests.
6262
*/
6363
webhook_uri?: string;
64+
65+
/**
66+
* Specify the environment ('production' or 'development') to use for the account connection flow.
67+
* Defaults to 'production'.
68+
*/
69+
environment_name?: string;
6470
};
6571

6672
export type AppInfo = {

0 commit comments

Comments
 (0)