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
6 changes: 6 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Changelog

## [1.2.0] - 2025-01-23

### Added

- New methods and types to interact with the deployed triggers API

## [1.1.6] - 2025-01-21

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

export type V1EmittedEvent = {
/**
* The event's payload.
*/
e: Record<string, any>; // eslint-disable-line @typescript-eslint/no-explicit-any

/**
* The event's type (set to "emit" currently).
*/
k: string;

/**
* The event's timestamp in epoch milliseconds.
*/
ts: number;

/**
* The event's unique ID.
*/
id: string;
}
Loading
Loading