Skip to content

Commit

Permalink
feat: support for cast action postUrl property
Browse files Browse the repository at this point in the history
  • Loading branch information
stephancill committed Sep 18, 2024
1 parent f593fb7 commit 883837c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-carrots-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frames.js": patch
---

feat: support for cast action postUrl property
2 changes: 2 additions & 0 deletions packages/frames.js/src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ export type CastActionResponse = {
/** The action type. (Same type options as frame buttons). Only post is accepted in V1. */
action: {
type: "post";
/** Optional action handler URL. If not provided, clients will POST to the same URL as the action metadata route. */
postUrl?: string;
};
};

Expand Down

0 comments on commit 883837c

Please sign in to comment.