Skip to content

Commit 72f8199

Browse files
committed
feat: add examples for RSA authentication and faster HMAC signing in Bybit API client; enhance demo trading functionality with WebSocket and REST examples
1 parent 93d6241 commit 72f8199

18 files changed

Lines changed: 22 additions & 18 deletions
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* - RSA keys (PEM format): RSA-SHA256 with base64 encoding
88
*/
99

10-
import { RestClientV5 } from '../src/index';
10+
import { RestClientV5 } from '../../src/index';
1111

1212
// or
1313
// import { RestClientV5 } from 'bybit-api';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createHmac } from 'crypto';
22

3-
import { DefaultLogger, RestClientV5, WebsocketClient } from '../src/index';
3+
import { DefaultLogger, RestClientV5, WebsocketClient } from '../../src/index';
44

55
// or
66
// import { createHmac } from 'crypto';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DefaultLogger, RestClientV5, WebsocketClient } from '../src/index';
1+
import { DefaultLogger, RestClientV5, WebsocketClient } from '../../src/index';
22

33
// or
44
// import { RestClientV5 } from 'bybit-api';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RestClientV5 } from '../src/index';
1+
import { RestClientV5 } from '../../src/index';
22

33
// or
44
// import { RestClientV5 } from 'bybit-api';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RestClientV5 } from '../src/index';
1+
import { RestClientV5 } from '../../src/index';
22

33
// or
44
// import { RestClientV5 } from 'bybit-api';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RestClientV5, UniversalTransferRecordV5 } from '../src/index';
1+
import { RestClientV5, UniversalTransferRecordV5 } from '../../src/index';
22

33
// or
44
// import { RestClientV5 } from 'bybit-api';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs';
22
import path from 'path';
33

4-
import { RestClientV5 } from '../src';
4+
import { RestClientV5 } from '../../src';
55

66
// ENDPOINT: /v5/p2p/oss/upload_file
77
// METHOD: POST
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RestClientV5 } from '../src/index';
1+
import { RestClientV5 } from '../../src/index';
22

33
// or
44
// import { RestClientV5 } from 'bybit-api';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RestClientV5 } from '../src/index';
1+
import { RestClientV5 } from '../../src/index';
22

33
// or
44
// import { RestClientV5 } from 'bybit-api';

0 commit comments

Comments
 (0)