Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coingecko-api-v3

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coingecko-api-v3 - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### 0.0.26 (2023-05-25)
### Bug Fixes
* missing user-agent cause 403 error ([6a62c30](https://github.com/samuraitruong/coingecko-api-v3/commit/6a62c303ec95ac8e9adc2af2ccd96ef75e224181))
### 0.0.25 (2023-05-23)

@@ -7,0 +14,0 @@

3

dist/CoinGeckoClient.js

@@ -59,2 +59,3 @@ "use strict";

Accept: "application/json",
"User-Agent": "coingeckoclient/0.0.1",
}, timeout: this.options.timeout }, this.options.extraHTTPSOptions);

@@ -126,3 +127,3 @@ const parseJson = (input) => {

}
if (res.statusCode.toString().slice(0, 1) !== '2') {
if (res.statusCode.toString().slice(0, 1) !== "2") {
throw new Error(`got error from coin gecko. status code: ${res.statusCode}`);

@@ -129,0 +130,0 @@ }

{
"name": "coingecko-api-v3",
"version": "0.0.25",
"version": "0.0.26",
"description": "The nodejs api library for accessing coingecko api v3 , develop with typescript",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc