File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pipedream/sdk" ,
3
- "version" : " 2.0.0-rc.1 " ,
3
+ "version" : " 2.0.0-rc.2 " ,
4
4
"private" : false ,
5
5
"repository" : " github:PipedreamHQ/pipedream-sdk-typescript" ,
6
6
"type" : " commonjs" ,
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ export class PipedreamClient {
73
73
"x-pd-environment" : _options ?. projectEnvironment ,
74
74
"X-Fern-Language" : "JavaScript" ,
75
75
"X-Fern-SDK-Name" : "@pipedream/sdk" ,
76
- "X-Fern-SDK-Version" : "1.7.1 " ,
77
- "User-Agent" : "@pipedream/sdk/1.7.1 " ,
76
+ "X-Fern-SDK-Version" : "2.0.0-rc.2 " ,
77
+ "User-Agent" : "@pipedream/sdk/2.0.0-rc.2 " ,
78
78
"X-Fern-Runtime" : core . RUNTIME . type ,
79
79
"X-Fern-Runtime-Version" : core . RUNTIME . version ,
80
80
} ,
Original file line number Diff line number Diff line change @@ -60,6 +60,15 @@ export class Pipedream extends PipedreamClient {
60
60
this . _workflowDomain = workflowDomain ;
61
61
}
62
62
63
+ /**
64
+ * Returns an access token that can be used to authenticate API requests
65
+ *
66
+ * @returns A promise that resolves to the access token string.
67
+ */
68
+ public get rawAccessToken ( ) : Promise < string > {
69
+ return this . _oauthTokenProvider . getToken ( ) ;
70
+ }
71
+
63
72
public get workflows ( ) : Workflows {
64
73
return ( this . _workflows ??= new Workflows ( {
65
74
...this . _options ,
You can’t perform that action at this time.
0 commit comments