Browse Source

add "real" 0.1.24 and 0.1.25, and...

In this commit I have added the 'official' versions 0.1.24 and 0.1.25 to the
repo, and also created a new bitcore-dev.js that is not included in the repo.
bitcoin-dev.js is what we will use for development. When we define a new
version, we create a new bitcore-x.x.x.js file, and point bitcore-latest.js to
that. Note that the bitcore-x.x.x.js files should always be the "main" bundle,
which does not include BIP39 or BIP70, or other large packages.
patch-2
Ryan X. Charles 11 years ago
parent
commit
153cb7ad50
  1. 1
      .gitignore
  2. 258
      browser/bitcore-0.1.24.js
  3. 351
      browser/bitcore-0.1.25.js
  4. 2
      browser/build.js
  5. 7
      browser/testdata.js
  6. 2
      test/index.html

1
.gitignore

@ -10,3 +10,4 @@ tags
coverage
.DS_Store
docs
browser/bitcore-dev.js

258
browser/bitcore-0.1.24.js

File diff suppressed because one or more lines are too long

351
browser/bitcore-0.1.25.js

File diff suppressed because one or more lines are too long

2
browser/build.js

@ -184,7 +184,7 @@ if (require.main === module) {
var pjson = require('../package.json');
bitcoreBundle.pipe(
program.stdout ? process.stdout :
fs.createWriteStream('browser/bitcore-'+pjson.version+'.js'));
fs.createWriteStream('browser/bitcore-dev.js'));
}
module.exports.createBitcore = createBitcore;

7
browser/testdata.js

@ -1174,7 +1174,6 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
? Uint8Array
: Array
var ZERO = '0'.charCodeAt(0)
var PLUS = '+'.charCodeAt(0)
var SLASH = '/'.charCodeAt(0)
var NUMBER = '0'.charCodeAt(0)
@ -1283,9 +1282,9 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
return output
}
module.exports.toByteArray = b64ToByteArray
module.exports.fromByteArray = uint8ToBase64
}())
exports.toByteArray = b64ToByteArray
exports.fromByteArray = uint8ToBase64
}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))
},{}],4:[function(require,module,exports){
exports.read = function(buffer, offset, isLE, mLen, nBytes) {

2
test/index.html

@ -11,7 +11,7 @@
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>mocha.setup('bdd')</script>
<script src="../browser/bitcore-latest.js"></script>
<script src="../browser/bitcore-dev.js"></script>
<script src="../browser/testdata.js"></script>
<script src="adapter.js"></script>

Loading…
Cancel
Save