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.21 to 0.0.22

7

CHANGELOG.md

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

### 0.0.22 (2023-03-03)
### Features
* add extraHTTPSOptions ([#32](https://github.com/samuraitruong/coingecko-api-v3/issues/32)) ([75c42cf](https://github.com/samuraitruong/coingecko-api-v3/commit/75c42cf42938140657f3593478e1752b23332045))
### 0.0.21 (2023-03-02)

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

10

dist/CoinGeckoClient.js

@@ -56,12 +56,6 @@ "use strict";

const { host, pathname, search } = new URL(url);
const options = {
host,
path: pathname + search,
method: "GET",
headers: {
const options = Object.assign({ host, path: pathname + search, method: "GET", headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
timeout: this.options.timeout, // in ms
};
}, timeout: this.options.timeout }, this.options.extraHTTPSOptions);
const parseJson = (input) => {

@@ -68,0 +62,0 @@ try {

3

dist/Interface.d.ts

@@ -0,1 +1,3 @@

/// <reference types="node" />
import { RequestOptions } from 'https';
import { PLATFORMS } from './Enum';

@@ -550,2 +552,3 @@ export interface PingResponse {

autoRetry?: boolean;
extraHTTPSOptions?: RequestOptions;
}

@@ -552,0 +555,0 @@ export interface HttpResponse<T> {

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

@@ -58,6 +58,6 @@ "main": "dist/index.js",

},
"packageManager": "yarn@3.2.4",
"dependencies": {
"https": "^1.0.0"
},
"packageManager": "yarn@3.2.4"
}
}
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