Skip to content

Commit

Permalink
feat: making interact property optional for grant requests (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurapov authored Sep 17, 2023
1 parent be671c1 commit 25cf507
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rare-dragons-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@interledger/open-payments': minor
---

Making interact property optional for grant requests
2 changes: 1 addition & 1 deletion packages/open-payments/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export type Grant = {
export type GrantRequest = {
access_token: ASOperations['post-request']['requestBody']['content']['application/json']['access_token']
client: ASOperations['post-request']['requestBody']['content']['application/json']['client']
interact: ASOperations['post-request']['requestBody']['content']['application/json']['interact']
interact?: ASOperations['post-request']['requestBody']['content']['application/json']['interact']
}
export type GrantContinuationRequest = {
interact_ref: ASOperations['post-continue']['requestBody']['content']['application/json']['interact_ref']
Expand Down

0 comments on commit 25cf507

Please sign in to comment.