Merge pull request #20 from tiagosiebler/feat/requestOpts
feat: readme fix + serialize fn defaults
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# bybit-api
|
||||
[][1] [][1] [][1]
|
||||
[][1] [][1] [][1]
|
||||
[][1]
|
||||
[](https://www.codefactor.io/repository/github/tiagosiebler/bybit-api)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = {
|
||||
.update(message)
|
||||
.digest('hex');
|
||||
},
|
||||
serializeParams(params, strict_validation) {
|
||||
serializeParams(params = {}, strict_validation = false) {
|
||||
return Object.keys(params)
|
||||
.sort()
|
||||
.map(key => {
|
||||
|
||||
Reference in New Issue
Block a user