node.liqui.io
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -113,3 +113,3 @@ 'use strict'; | ||
depth(pair) { | ||
depth(pair, limit) { | ||
if (!pair) { | ||
@@ -119,2 +119,3 @@ return Promise.reject('Liqui depth requires a pair such as btc_usd'); | ||
var url = this.urlGet + 'depth/' + pair.toLowerCase(); | ||
url += limit ? `?limit=${limit}` : ''; | ||
return this._getHTTPS(url); | ||
@@ -220,2 +221,2 @@ } | ||
module.exports = Liqui; | ||
module.exports = Liqui; |
{ | ||
"name": "node.liqui.io", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Node JS wrapper for the liqui.io crypto-currency exchange.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# node.liqui.io | ||
A unofficial Promise-based Node.js wrapper for the Liqui crypto-currency exchange. | ||
A unofficial Promise-based Node.js wrapper for the [Liqui](https://liqui.io/) crypto-currency exchange. | ||
@@ -295,2 +295,2 @@ ## Install | ||
`npm test` | ||
`npm test` |
Sorry, the diff of this file is not supported yet
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
64928
18
1713
296