Skip to content

Commit

Permalink
Fix withdrawonly enum (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipzeta authored Jun 26, 2024
1 parent de9fc4d commit a2d8d7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
Version changes are pinned to SDK releases.

## [1.39.0]

- Change enum u8 for withdraw_only account type. ([#409](https://github.com/zetamarkets/sdk/pull/409))

## [1.38.0]

### Breaking
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.38.0",
"version": "1.39.0",
"description": "Zeta SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export enum MarginAccountType {
NORMAL_T7 = 18,
NORMAL_T8 = 19,
NORMAL_T9 = 20,
WITHDRAW_ONLY = 100,
WITHDRAW_ONLY = 21,
}

export const ZETA_PID: {
Expand Down

0 comments on commit a2d8d7c

Please sign in to comment.