This commit is contained in:
junderw 2019-04-03 16:18:05 +09:00
parent 4acb7127f7
commit 981b0109f5
No known key found for this signature in database
GPG Key ID: B256185D3A971908
4 changed files with 24 additions and 2 deletions

10
CHANGELOG.md Normal file
View File

@ -0,0 +1,10 @@
# 3.0.0
__added__
- Added TypeScript support (#104)
- Added support for excluding wordlists from packages (#105)
__changed__
- Changed `mnemonicToSeed` to use async, sync version moved to `mnemonicToSeedSync` (#104)
__removed__
- Removed explicit hex methods (use `toString('hex')` on the Buffer) (#104)

12
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,12 @@
# Check the CONTRIBUTING doc on bitcoinjs-lib for info
[Contributing to BitcoinJS](https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/CONTRIBUTING.md)
# TypeScript
* `npm install`
* Modify TypeScript in ts_src folder
* Run `npm run format`
* Run `npm run lint` and make any necessary changes to remove errors
* Run `npm test` and make sure the tests pass
* Run `git diff` and make sure the diff in the JS files in the src folder match the changes you made to the TS files

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "bip39",
"version": "2.6.0",
"version": "3.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "bip39",
"version": "2.6.0",
"version": "3.0.0",
"description": "Bitcoin BIP39: Mnemonic code for generating deterministic keys",
"main": "src/index.js",
"types": "./types/index.d.ts",