feat(v4.1.9): new ws topic, updated response and request types
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "4.1.8",
|
||||
"version": "4.1.9",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bybit-api",
|
||||
"version": "4.1.8",
|
||||
"version": "4.1.9",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^1.7.9",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "4.1.8",
|
||||
"version": "4.1.9",
|
||||
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -123,6 +123,7 @@ export interface GetDeliveryPriceParamsV5 {
|
||||
category: 'linear' | 'inverse' | 'option';
|
||||
symbol?: string;
|
||||
baseCoin?: string;
|
||||
settleCoin?: string;
|
||||
limit?: number;
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
@@ -110,6 +110,7 @@ export interface ExecutionV5 {
|
||||
blockTradeId?: string;
|
||||
closedSize?: string;
|
||||
seq: number;
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
export interface ClosedPnLV5 {
|
||||
|
||||
@@ -18,6 +18,7 @@ export interface PreUpgradeTransaction {
|
||||
tradeId: string;
|
||||
orderId: string;
|
||||
orderLinkId: string;
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
export interface PreUpgradeOptionsDelivery {
|
||||
|
||||
@@ -68,6 +68,7 @@ export interface AccountOrderV5 {
|
||||
smpOrderId: string;
|
||||
createdTime: string;
|
||||
updatedTime: string;
|
||||
extraFees: string;
|
||||
}
|
||||
|
||||
export interface BatchCreateOrderResultV5 {
|
||||
|
||||
@@ -449,3 +449,16 @@ export type WSSpreadExecutionEventV5 = WSPrivateTopicEventV5<
|
||||
'spread.execution',
|
||||
WSSpreadExecutionV5[]
|
||||
>;
|
||||
|
||||
export interface WSInsuranceV5 {
|
||||
coin: string;
|
||||
symbols: string;
|
||||
balance: string;
|
||||
updateTime: string;
|
||||
}
|
||||
|
||||
export type WSInsuranceEventV5 = WSPublicTopicEventV5<
|
||||
'insurance.USDT' | 'insurance.USDC' | 'insurance.inverse',
|
||||
'snapshot' | 'delta',
|
||||
WSInsuranceV5[]
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user