bybit-api
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -187,5 +187,8 @@ const assert = require('assert'); | ||
assert(params, 'No params passed'); | ||
assert(params.leverage, 'Parameter leverage is required'); | ||
assert(params.symbol, 'Parameter symbol is required'); | ||
if (typeof params.leverage === 'undefined') { | ||
throw new Error('Parameter leverage is required'); | ||
} | ||
return await this.request.post('user/leverage/save', params); | ||
@@ -192,0 +195,0 @@ } |
{ | ||
"name": "bybit-api", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "A production-ready Node.js connector for the Bybit APIs and WebSockets", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47556
683