Skip to content

Commit

Permalink
fix(api): response types (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk authored Apr 12, 2024
1 parent 47c64f3 commit 4d5550e
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 62 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"changelog:generate": "changelog generate -a"
},
"dependencies": {
"@1inch/byte-utils": "2.2.0",
"@1inch/limit-order-sdk": "^4.8.2",
"@1inch/byte-utils": "2.2.1",
"@1inch/limit-order-sdk": "^4.8.3",
"@metamask/eth-sig-util": "^5.1.0",
"bn.js": "^5.2.1",
"ethers": "6.11.0",
Expand Down
101 changes: 48 additions & 53 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions src/api/orders/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export type ActiveOrder = {
auctionEndDate: string
remainingMakerAmount: string
order: LimitOrderV4Struct
extension: string
}

export type ActiveOrdersResponse = PaginationOutput<ActiveOrder>
Expand Down Expand Up @@ -50,6 +51,7 @@ export type Fill = {
export type OrderStatusResponse = {
status: OrderStatus
order: LimitOrderV4Struct
extension: string
points: AuctionPoint[] | null
fills: Fill[]
auctionStartDate: number
Expand Down
Loading

0 comments on commit 4d5550e

Please sign in to comment.