cryptocompare
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -0,1 +1,6 @@ | ||
0.7.2 / 2019-01-25 | ||
------------------ | ||
- Fix bug with `newsList()` & `newsFeedsAndCategories()` ([#35](https://github.com/exodusmovement/cryptocompare/pull/35)) | ||
0.7.1 / 2018-12-24 | ||
@@ -2,0 +7,0 @@ ------------------ |
@@ -44,3 +44,3 @@ 'use strict' | ||
function newsFeedsAndCategories () { | ||
const url = `${baseUrl}data/news/feedsandcategories` | ||
const url = `${baseUrl}news/feedsandcategories` | ||
return fetchJSON(url).then(result => result.Data) | ||
@@ -51,3 +51,3 @@ } | ||
options = options || {} | ||
let url = `${baseUrl}data/v2/news/?lang=${lang}` | ||
let url = `${baseUrl}v2/news/?lang=${lang}` | ||
if (options.feeds) url += `&feeds=${options.feeds}` | ||
@@ -54,0 +54,0 @@ if (options.categories) url += `&categories=${options.categories}` |
{ | ||
"name": "cryptocompare", | ||
"description": "CryptoCompare JavaScript API", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"author": "JP Richardson <jprichardson@gmail.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
43784