Comparing version 2.3.0 to 2.4.0
@@ -0,1 +1,7 @@ | ||
<a name="2.4.0"></a> | ||
# [2.4.0](https://github.com/blockai/bitstore-client/compare/v2.4.0...v2.4.0) (2015-11-16) | ||
<a name="2.3.0"></a> | ||
@@ -2,0 +8,0 @@ # [2.3.0](https://github.com/blockai/bitstore-client/compare/v2.3.0...v2.3.0) (2015-11-04) |
@@ -305,2 +305,21 @@ 'use strict'; | ||
} | ||
}, | ||
keys: { | ||
get: function get(key, cb) { | ||
if (key === undefined) key = '/'; | ||
return req.get('/' + addressPath + '/keys' + key).result().nodeify(cb); | ||
}, | ||
put: function put(key, value, cb) { | ||
if (key === undefined || value === undefined) { | ||
throw new Error('missing key or value arguments'); | ||
} | ||
return req.put('/' + addressPath + '/keys' + key).send({ value: value }).result().nodeify(cb); | ||
}, | ||
'delete': function _delete(key, cb) { | ||
if (key === undefined) { | ||
throw new Error('missing key argument'); | ||
} | ||
return req['delete']('/' + addressPath + '/keys' + key).result().nodeify(cb); | ||
} | ||
} | ||
@@ -307,0 +326,0 @@ }; |
@@ -16,3 +16,3 @@ { | ||
"version:auto": "npm version $(npm run --silent version:recommended) && npm run version:changelog && git push --tags && git push", | ||
"publish:auto": "npm run version:auto && npm publish", | ||
"release": "npm run version:auto && npm publish", | ||
"prepublish": "npm run build" | ||
@@ -64,3 +64,8 @@ }, | ||
}, | ||
"version": "2.3.0" | ||
"version": "2.4.0", | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog/" | ||
} | ||
} | ||
} |
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
614645
18506
5