Skip to content

Commit 50c2179

Browse files
TheBestMoshejverce
andauthored
fix: remove project ID override when using token provider (#281)
Pipedream JWT access tokens do not have the project ID encoded in it. Clients should use the project ID passed in during initialization. --------- Co-authored-by: Jay Vercellone <jay@pipedream.com>
1 parent 18a1329 commit 50c2179

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

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": "2.3.1",
3+
"version": "2.3.2",
44
"private": false,
55
"repository": "github:PipedreamHQ/pipedream-sdk-typescript",
66
"type": "commonjs",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "2.3.1";
1+
export const SDK_VERSION = "2.3.2";

src/wrapper/Pipedream.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export class Pipedream extends PipedreamClient {
7878

7979
if ("tokenProvider" in opts) {
8080
clientOpts.tokenProvider = opts.tokenProvider;
81-
clientOpts.projectId = "";
8281
} else {
8382
const { clientId = process.env.PIPEDREAM_CLIENT_ID, clientSecret = process.env.PIPEDREAM_CLIENT_SECRET } =
8483
opts || {};

0 commit comments

Comments
 (0)