Skip to content

Commit

Permalink
Add user to PlaceOrderEvent (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipzeta authored Dec 22, 2023
1 parent 9369f99 commit a0214ef
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Version changes are pinned to SDK releases.

## Unreleased

## [1.16.8]

- Add user to placeOrderEvent ([#328](https://github.com/zetamarkets/sdk/pull/328))

## [1.16.7]

- Return undefined from getMaxTradeSize if price is 0 ([#327](https://github.com/zetamarkets/sdk/pull/327))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zetamarkets/sdk",
"repository": "https://github.com/zetamarkets/sdk/",
"version": "1.16.7",
"version": "1.16.8",
"description": "Zeta SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
5 changes: 5 additions & 0 deletions src/idl/zeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -9709,6 +9709,11 @@
"name": "clientOrderId",
"type": "u64",
"index": false
},
{
"name": "user",
"type": "publicKey",
"index": false
}
]
},
Expand Down
1 change: 1 addition & 0 deletions src/program-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ export interface PlaceOrderEvent {
asset: any;
marginAccount: PublicKey;
clientOrderId: anchor.BN;
user: PublicKey;
}

/**
Expand Down
10 changes: 10 additions & 0 deletions src/types/zeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9709,6 +9709,11 @@ export type Zeta = {
"name": "clientOrderId",
"type": "u64",
"index": false
},
{
"name": "user",
"type": "publicKey",
"index": false
}
]
},
Expand Down Expand Up @@ -20398,6 +20403,11 @@ export const IDL: Zeta = {
"name": "clientOrderId",
"type": "u64",
"index": false
},
{
"name": "user",
"type": "publicKey",
"index": false
}
]
},
Expand Down

0 comments on commit a0214ef

Please sign in to comment.