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

bitstore

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitstore - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

<a name="2.3.0"></a>
# [2.3.0](https://github.com/blockai/bitstore-client/compare/v2.3.0...v2.3.0) (2015-11-04)
<a name="2.2.0"></a>

@@ -2,0 +8,0 @@ # [2.2.0](https://github.com/blockai/bitstore-client/compare/v2.2.0...v2.2.0) (2015-10-23)

10

lib/cli.js

@@ -56,4 +56,8 @@ #!/usr/bin/env node

var defaultConfigPath = _path2['default'].join(process.env.HOME, '.bitstore');
var initConfig = function initConfig() {
var config = _nconf2['default'].file(_path2['default'].join(process.env.HOME, '.bitstore')).defaults({
var configPath = arguments.length <= 0 || arguments[0] === undefined ? _commander2['default'].config : arguments[0];
var config = _nconf2['default'].file(configPath).defaults({
network: 'livenet'

@@ -72,3 +76,3 @@ }).get();

if (!config.privateKey) {
exit('Configure { privateKey: "" } in ' + process.env.HOME + '/.bitstore');
exit('Configure { privateKey: "" } in ' + configPath);
}

@@ -88,3 +92,3 @@

_commander2['default'].version('bitstore version: ' + _packageJson2['default'].version + '\n');
_commander2['default'].version('bitstore version: ' + _packageJson2['default'].version + '\n').option('-c, --config [path]', 'location of config file', defaultConfigPath);

@@ -91,0 +95,0 @@ _commander2['default'].command('files').description('list uploaded files').action(function () {

@@ -301,2 +301,5 @@ 'use strict';

return req.get('/' + addressPath + '/wallet/transactions').result().nodeify(cb);
},
sendRaw: function sendRaw(txHex, cb) {
return req.post('/' + addressPath + '/wallet/transactions/sendRaw').send({ txHex: txHex }).result().nodeify(cb);
}

@@ -303,0 +306,0 @@ }

@@ -9,2 +9,3 @@ {

"build": "babel ./src --out-dir ./lib --copy-files",
"bundle": "npm run build && browserify ./lib/index.js -s bitstore > browser/bundle.js",
"pretest": "npm run lint",

@@ -63,3 +64,3 @@ "cli": "babel-node -- ./src/cli.js",

},
"version": "2.2.0"
"version": "2.3.0"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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