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

bitstamp

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitstamp - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

5

bitstamp.js

@@ -25,3 +25,3 @@ var querystring = require("querystring");

var Bitstamp = function(key, secret, client_id, timeout) {
var Bitstamp = function(key, secret, client_id, timeout, host) {
this.key = key;

@@ -31,2 +31,3 @@ this.secret = secret;

this.timeout = timeout || 5000;
this.host = host || 'www.bitstamp.net';

@@ -39,3 +40,3 @@ _.bindAll(this);

var options = {
host: 'www.bitstamp.net',
host: this.host,
path: path,

@@ -42,0 +43,0 @@ method: method,

3

example.js

@@ -15,3 +15,4 @@ var Bitstamp = require('./bitstamp.js');

var timeout = 10000;
var privateBitstamp = new Bitstamp(key, secret, client_id, timeout);
var host = 'www.your.bitstamp.net';
var privateBitstamp = new Bitstamp(key, secret, client_id, timeout, host);

@@ -18,0 +19,0 @@ // commented out for your protection

{
"name": "bitstamp",
"version": "1.0.4",
"version": "1.0.5",
"description": "Bitstamp REST API wrapper",

@@ -5,0 +5,0 @@ "keywords": [

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