Browse Source

Bump version to 0.1.10.

master v0.1.10
Emilio Almansi 7 years ago
parent
commit
f0f7c8b67d
  1. 2
      README.md
  2. 10
      dist/bitcoincash-0.1.10.js
  3. 2
      dist/bitcoincash-0.1.10.min.js
  4. 2
      package-lock.json
  5. 2
      package.json

2
README.md

@ -32,7 +32,7 @@ $ bower install --save bitcoincashjs
### Manually ### Manually
You may also download the distribution file manually and place it within your third-party scripts directory: [dist/bitcoincashjs.0.1.9.min.js](https://cdn.rawgit.com/bitcoincashjs/bitcoincashjs/master/dist/bitcoincashjs.0.1.9.min.js). You may also download the distribution file manually and place it within your third-party scripts directory: [dist/bitcoincashjs.0.1.10.min.js](https://cdn.rawgit.com/bitcoincashjs/bitcoincashjs/master/dist/bitcoincashjs.0.1.10.min.js).
## Examples ## Examples

10
dist/bitcoincash-0.1.9.js → dist/bitcoincash-0.1.10.js

@ -49374,7 +49374,7 @@ exports.createContext = Script.createContext = function (context) {
},{"indexof":144}],213:[function(require,module,exports){ },{"indexof":144}],213:[function(require,module,exports){
module.exports={ module.exports={
"name": "bitcoincashjs", "name": "bitcoincashjs",
"version": "0.1.9", "version": "0.1.10",
"description": "A simple, safe, and powerful JavaScript Bitcoin Cash library.", "description": "A simple, safe, and powerful JavaScript Bitcoin Cash library.",
"author": "Emilio Almansi <hi@ealmansi.com>", "author": "Emilio Almansi <hi@ealmansi.com>",
"main": "src/bitcoincash.js", "main": "src/bitcoincash.js",
@ -49392,8 +49392,9 @@ module.exports={
"lint": "node scripts/lint.js", "lint": "node scripts/lint.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls", "coveralls": "nyc report --reporter=text-lcov | coveralls",
"preversion": "npm test", "preversion": "npm test",
"version": "node scripts/version.js", "readme": "mustache package.json README.tpl.md > README.md",
"postversion": "node scripts/postversion.js", "version": "npm run build && npm run readme && git add -A dist README.md",
"postversion": "git push && git push --tags && npm publish",
"bump": "npm version patch -m 'Bump version to %s.'" "bump": "npm version patch -m 'Bump version to %s.'"
}, },
"keywords": [ "keywords": [
@ -50080,8 +50081,7 @@ Address.prototype._toStringBitpay = function() {
Address.prototype._toStringCashAddr = function() { Address.prototype._toStringCashAddr = function() {
var prefix = this.network.toString() === 'livenet' ? 'bitcoincash' : 'bchtest'; var prefix = this.network.toString() === 'livenet' ? 'bitcoincash' : 'bchtest';
var type = this.type === Address.PayToPublicKeyHash ? 'P2PKH' : 'P2SH'; var type = this.type === Address.PayToPublicKeyHash ? 'P2PKH' : 'P2SH';
var hash = Array.prototype.slice.call(this.hashBuffer, 0); return cashaddr.encode(prefix, type, this.hashBuffer);
return cashaddr.encode(prefix, type, hash);
} }
/** /**

2
dist/bitcoincash-0.1.9.min.js → dist/bitcoincash-0.1.10.min.js

File diff suppressed because one or more lines are too long

2
package-lock.json

@ -1,6 +1,6 @@
{ {
"name": "bitcoincashjs", "name": "bitcoincashjs",
"version": "0.1.9", "version": "0.1.10",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "bitcoincashjs", "name": "bitcoincashjs",
"version": "0.1.9", "version": "0.1.10",
"description": "A simple, safe, and powerful JavaScript Bitcoin Cash library.", "description": "A simple, safe, and powerful JavaScript Bitcoin Cash library.",
"author": "Emilio Almansi <hi@ealmansi.com>", "author": "Emilio Almansi <hi@ealmansi.com>",
"main": "src/bitcoincash.js", "main": "src/bitcoincash.js",

Loading…
Cancel
Save