Small type fix

package.json version was updated to 0.16.7-rc.0
This commit is contained in:
Mikhail Gladchenko
2023-02-02 14:59:42 +00:00
parent d8b94fec7d
commit bf937abad1
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.16.6",
"version": "0.16.7-rc.0",
"description": "Orion Protocol SDK",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",

View File

@@ -1,6 +1,7 @@
import BigNumber from 'bignumber.js';
import exchanges from './constants/exchanges';
import subOrderStatuses from './constants/subOrderStatuses';
import positionStatuses from './constants/positionStatuses';
export type AssetPairUpdate = {
minQty: number,
@@ -26,7 +27,7 @@ export type Balance = {
allowance: string,
}
export type PositionStatus = 'SHORT' | 'LONG' | 'CLOSING' | 'LIQUIDATION' | 'ZERO';
export type PositionStatus = typeof positionStatuses[number];
export type CFDBalance = {
instrument: string,