Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

# Changelog

## [1.6.8] - 2025-06-07

### Added

- Added `endpoint_url` field to the component metadata, providing the URL to the
HTTP interface of the component.
- Added missing pagination fields to the `GetComponentsResponse` and
`GetAccountsResponse` types.

## [1.6.7] - 2025-06-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pipedream/sdk",
"type": "module",
"version": "1.6.7",
"version": "1.6.8",
"description": "Pipedream SDK",
"main": "./dist/server.js",
"module": "./dist/server.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/sdk/src/shared/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ export type V1DeployedComponent<T extends ConfigurableProps = any> = { // eslint
name: string;
name_slug: string;
callback_observations?: unknown;

/**
* The URL to the HTTP interface of this component, if it has one.
*/
endpoint_url?: string;
};

export type V1EmittedEvent = {
Expand Down
6 changes: 4 additions & 2 deletions packages/sdk/src/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ export type ConnectTokenResponse = {
/**
* The response received when retrieving a list of accounts.
*/
export type GetAccountsResponse = { data: Account[]; };
export type GetAccountsResponse = PaginationResponse & {
data: Account[];
};

/**
* @deprecated Use `GetAccountsResponse` instead.
Expand Down Expand Up @@ -527,7 +529,7 @@ export type AppRequestResponse = GetAppResponse;
/**
* The response received when retrieving a list of components.
*/
export type GetComponentsResponse = {
export type GetComponentsResponse = PaginationResponse & {
data: V1Component[];
};

Expand Down
9 changes: 3 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading