change bundle name
This commit is contained in:
parent
e48561302b
commit
7b3c074900
|
@ -181,7 +181,10 @@ if (require.main === module) {
|
||||||
testBundle.pipe(fs.createWriteStream('browser/testdata.js'));
|
testBundle.pipe(fs.createWriteStream('browser/testdata.js'));
|
||||||
}
|
}
|
||||||
var bitcoreBundle = createBitcore(program);
|
var bitcoreBundle = createBitcore(program);
|
||||||
bitcoreBundle.pipe(program.stdout ? process.stdout : fs.createWriteStream('browser/bundle.js'));
|
var pjson = require('../package.json');
|
||||||
|
bitcoreBundle.pipe(
|
||||||
|
program.stdout ? process.stdout :
|
||||||
|
fs.createWriteStream('browser/bitcore-'+pjson.version+'.js'));
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.createBitcore = createBitcore;
|
module.exports.createBitcore = createBitcore;
|
||||||
|
|
|
@ -1174,6 +1174,7 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
||||||
? Uint8Array
|
? Uint8Array
|
||||||
: Array
|
: Array
|
||||||
|
|
||||||
|
var ZERO = '0'.charCodeAt(0)
|
||||||
var PLUS = '+'.charCodeAt(0)
|
var PLUS = '+'.charCodeAt(0)
|
||||||
var SLASH = '/'.charCodeAt(0)
|
var SLASH = '/'.charCodeAt(0)
|
||||||
var NUMBER = '0'.charCodeAt(0)
|
var NUMBER = '0'.charCodeAt(0)
|
||||||
|
@ -1282,9 +1283,9 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
||||||
return output
|
return output
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.toByteArray = b64ToByteArray
|
module.exports.toByteArray = b64ToByteArray
|
||||||
exports.fromByteArray = uint8ToBase64
|
module.exports.fromByteArray = uint8ToBase64
|
||||||
}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))
|
}())
|
||||||
|
|
||||||
},{}],4:[function(require,module,exports){
|
},{}],4:[function(require,module,exports){
|
||||||
exports.read = function(buffer, offset, isLE, mLen, nBytes) {
|
exports.read = function(buffer, offset, isLE, mLen, nBytes) {
|
||||||
|
|
Loading…
Reference in New Issue