Skip to content

Commit

Permalink
fix(client): add webhookUrl to subscribe options (#67)
Browse files Browse the repository at this point in the history
* fix(client): add webhookUrl to subscribe options

* chore(client): bump version for release
  • Loading branch information
drochetti authored Jun 4, 2024
1 parent cd20897 commit 8fc0b72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fal-ai/serverless-client",
"description": "The fal serverless JS/TS client",
"version": "0.10.2",
"version": "0.10.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions libs/client/src/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ type QueueSubscribeOptions = {
* Defaults to `false`.
*/
logs?: boolean;

/**
* The URL to send a webhook notification to when the request is completed.
* @see WebHookResponse
*/
webhookUrl?: string;
};

/**
Expand Down

0 comments on commit 8fc0b72

Please sign in to comment.