From 4dc9d672b8b4bf71fb82848b43bf78dd60ab49a0 Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Thu, 17 Jul 2025 11:42:01 +0200 Subject: [PATCH] chore(): sorted imports --- examples/fasterHmacSign.ts | 1 + examples/ws-api-raw-events.ts | 2 +- examples/ws-api-raw-promises.ts | 2 +- examples/ws-private-v5.ts | 2 +- examples/ws-public-allLiquidations.ts | 2 +- examples/ws-public-v5.ts | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/fasterHmacSign.ts b/examples/fasterHmacSign.ts index 99b3f4f..443f361 100644 --- a/examples/fasterHmacSign.ts +++ b/examples/fasterHmacSign.ts @@ -1,4 +1,5 @@ import { createHmac } from 'crypto'; + import { DefaultLogger, RestClientV5, WebsocketClient } from '../src/index'; // or diff --git a/examples/ws-api-raw-events.ts b/examples/ws-api-raw-events.ts index 9e60a72..0f72ce6 100644 --- a/examples/ws-api-raw-events.ts +++ b/examples/ws-api-raw-events.ts @@ -1,4 +1,4 @@ -import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src'; +import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src'; // or // import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api'; diff --git a/examples/ws-api-raw-promises.ts b/examples/ws-api-raw-promises.ts index 4ccf41e..313449d 100644 --- a/examples/ws-api-raw-promises.ts +++ b/examples/ws-api-raw-promises.ts @@ -1,4 +1,4 @@ -import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src'; +import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src'; // or // import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api'; diff --git a/examples/ws-private-v5.ts b/examples/ws-private-v5.ts index e40b720..196ff28 100644 --- a/examples/ws-private-v5.ts +++ b/examples/ws-private-v5.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/no-empty-function */ -import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src'; +import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src'; // or // import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api'; diff --git a/examples/ws-public-allLiquidations.ts b/examples/ws-public-allLiquidations.ts index 98983ed..00b3ee4 100644 --- a/examples/ws-public-allLiquidations.ts +++ b/examples/ws-public-allLiquidations.ts @@ -1,4 +1,4 @@ -import { RestClientV5, WebsocketClient, isWsAllLiquidationEvent } from '../src'; +import { isWsAllLiquidationEvent, RestClientV5, WebsocketClient } from '../src'; // or // import { diff --git a/examples/ws-public-v5.ts b/examples/ws-public-v5.ts index 99d37db..54b6ddd 100644 --- a/examples/ws-public-v5.ts +++ b/examples/ws-public-v5.ts @@ -1,4 +1,4 @@ -import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src'; +import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src'; // or // import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';