diff --git a/README.md b/README.md index 6b77069..87b7a37 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,12 @@ const restClientOptions = { /** Default: true. whether to try and post-process request exceptions. */ parse_exceptions?: boolean; + + /** Default: false. Enable to parse/include per-API/endpoint rate limits in responses. */ + parseAPIRateLimits?: boolean; + + /** Default: false. Enable to throw error if rate limit parser fails */ + throwOnFailedRateLimitParse?: boolean; }; const API_KEY = 'xxx'; diff --git a/package-lock.json b/package-lock.json index 0d39227..5449efa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "3.7.3", + "version": "3.7.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "3.7.3", + "version": "3.7.4", "license": "MIT", "dependencies": { "axios": "^0.21.0", diff --git a/package.json b/package.json index c397e1c..ee96ea9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.7.3", + "version": "3.7.4", "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",