Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v24.18.0
v24.22.3
108 changes: 54 additions & 54 deletions llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7625,11 +7625,6 @@ File: .npmrc
min-release-age=30
save-exact=true

================
File: .nvmrc
================
v24.18.0

================
File: jest.config.ts
================
Expand Down Expand Up @@ -10216,6 +10211,11 @@ preMmrE4: number; // Maintenance margin rate before checking (in basis points)
postImrE4: number; // Initial margin rate after checking (in basis points)
postMmrE4: number; // Maintenance margin rate after checking (in basis points)

================
File: .nvmrc
================
v24.22.3

================
File: src/types/request/v5-crypto-loan.ts
================
Expand Down Expand Up @@ -12134,6 +12134,51 @@ protected resolveEmittableEvents(
⋮----
// In case of catastrophic failure, fallback to noisy emit update

================
File: .gitignore
================
!.gitkeep
.DS_STORE
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
pids
*.pid
*.seed
*.pid.lock
node_modules/
.npm
.eslintcache
.node_repl_history
*.tgz
.yarn-integrity
.env
.env.test
.cache
lib
dist
doc
bundleReport.html
.history/
rawReq.ts
localtest.sh
localtest.ts
privaterepotracker
restClientRegex.ts
repomix.sh

examples/ignored
examples/ts-testnet-private.ts
examples/ts-testnet-trade.ts
examples/ts-testnet.ts
*.pem
.issue*
docs/research
tmp

================
File: src/types/response/v5-earn.ts
================
Expand Down Expand Up @@ -13753,51 +13798,6 @@ export interface WebsocketClientOptions extends WSClientConfigurableOptions {
⋮----
export type WsEventInternalSrc = 'event' | 'function' | 'frame';

================
File: .gitignore
================
!.gitkeep
.DS_STORE
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
pids
*.pid
*.seed
*.pid.lock
node_modules/
.npm
.eslintcache
.node_repl_history
*.tgz
.yarn-integrity
.env
.env.test
.cache
lib
dist
doc
bundleReport.html
.history/
rawReq.ts
localtest.sh
localtest.ts
privaterepotracker
restClientRegex.ts
repomix.sh

examples/ignored
examples/ts-testnet-private.ts
examples/ts-testnet-trade.ts
examples/ts-testnet.ts
*.pem
.issue*
docs/research
tmp

================
File: examples/Rest/rest-v5-custom-url.ts
================
Expand Down Expand Up @@ -17945,15 +17945,15 @@ setDisconnectCancelAllWindow(
): Promise<APIResponseV3<undefined>>
⋮----
/**
* This endpoint allows you to set the disconnection protect time window. Covers: option (unified account).
* This endpoint allows you to set the disconnection protect time window. Covers: options, spot and derivatives.
*
* If you need to turn it on/off, you can contact your client manager for consultation and application.
* The default time window is 10 seconds.
* The default time window is 10 seconds. The default product is OPTIONS.
*
* Only for institutional clients!
*/
setDisconnectCancelAllWindowV2(params: {
product?: 'OPTION' | 'SPOT' | 'DERIVATIVES';
product?: 'OPTIONS' | 'SPOT' | 'DERIVATIVES';
timeWindow: number;
}): Promise<APIResponseV3<undefined>>
⋮----
Expand Down Expand Up @@ -24594,7 +24594,7 @@ File: package.json
================
{
"name": "bybit-api",
"version": "4.8.5",
"version": "4.8.6",
"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",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bybit-api",
"version": "4.8.5",
"version": "4.8.6",
"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",
Expand Down
6 changes: 3 additions & 3 deletions src/rest-client-v5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1489,15 +1489,15 @@ export class RestClientV5 extends BaseRestClient {
}

/**
* This endpoint allows you to set the disconnection protect time window. Covers: option (unified account).
* This endpoint allows you to set the disconnection protect time window. Covers: options, spot and derivatives.
*
* If you need to turn it on/off, you can contact your client manager for consultation and application.
* The default time window is 10 seconds.
* The default time window is 10 seconds. The default product is OPTIONS.
*
* Only for institutional clients!
*/
setDisconnectCancelAllWindowV2(params: {
product?: 'OPTION' | 'SPOT' | 'DERIVATIVES';
product?: 'OPTIONS' | 'SPOT' | 'DERIVATIVES';
timeWindow: number;
}): Promise<APIResponseV3<undefined>> {
return this.postPrivate('/v5/order/disconnected-cancel-all', params);
Expand Down
Loading