Skip to content

Commit 5b8ea6f

Browse files
authored
Je/dj 3281 update get components return type add ctok getter (#16723)
* change GetComponentsResponse type add rawToken() to BrowserClient * lockfile
1 parent ab2aa4f commit 5b8ea6f

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

packages/sdk/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
# Changelog
44

5+
## [1.6.1] - 2025-05-20
6+
7+
### Added
8+
9+
- Added `rawToken` getter to `BrowserClient`
10+
11+
### Changed
12+
13+
- changed `GetComponentsResponse` type to include `configurable_props`
14+
515
## [1.6.0] - 2025-04-30
616

717
### Added

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pipedream/sdk",
33
"type": "module",
4-
"version": "1.6.0",
4+
"version": "1.6.1",
55
"description": "Pipedream SDK",
66
"main": "./dist/server.js",
77
"module": "./dist/server.js",

packages/sdk/src/browser/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,15 @@ export class BrowserClient extends BaseClient {
198198
this._token = undefined;
199199
}
200200

201+
/**
202+
* Retrieves the raw token string.
203+
*
204+
* @return {string} The raw token value.
205+
*/
206+
public rawToken(): string | undefined {
207+
return this._token;
208+
}
209+
201210
/**
202211
* Initiates the process of connecting an account.
203212
*

packages/sdk/src/shared/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ export type AppRequestResponse = GetAppResponse;
528528
* The response received when retrieving a list of components.
529529
*/
530530
export type GetComponentsResponse = {
531-
data: Omit<V1Component, "configurable_props">[];
531+
data: V1Component[];
532532
};
533533

534534
/**

pnpm-lock.yaml

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)