Commit graph

2578 commits

Author SHA1 Message Date
Jonathan Underwood
8bbe7c7178
Merge pull request #1416 from bitcoinjs/signTxb
Migrate to stricter type checks during sign
2019-06-20 23:02:15 +09:00
junderw
1b39d9caf4
Make errors clearer and increase coverage 2019-06-17 13:34:20 +09:00
junderw
071e201a75
Silence console.warn during old arg tests 2019-06-17 13:02:09 +09:00
junderw
691e4d15d1
Create Signer interface and use it 2019-06-14 15:25:07 +09:00
junderw
1cc7205e9c
Remove @ts-ignore 2019-06-14 14:48:22 +09:00
junderw
d814c21466
Condense sign parts work directly 2019-06-14 14:23:51 +09:00
junderw
84d5e67e38
Use for loop instead of some to allow for future await usage 2019-06-14 12:20:12 +09:00
junderw
4bed585f6a
Test old args as well 2019-06-14 11:55:34 +09:00
junderw
ee3150d7c7
Refactor sign for clarity 2019-06-14 11:47:40 +09:00
junderw
7c454e5f44
TIL: destructuring objects without let or const is a thing 2019-06-13 17:08:43 +09:00
junderw
2e4c9f6b7a
Remove checks to outer function 2019-06-13 15:04:11 +09:00
junderw
053d282e9d
Add stricter Signer interface check 2019-06-13 13:32:21 +09:00
junderw
969b3a5e18
Fix tests to use new sign method 2019-06-13 13:07:00 +09:00
junderw
17f5f35569
Migrate to stricter type checks during sign 2019-06-12 19:33:18 +09:00
Jonathan Underwood
b3def6b400
Merge pull request #1404 from bitcoinjs/fixExports
Expose more interfaces to top level
2019-05-27 16:34:04 +09:00
junderw
73b6f55850
5.0.5 2019-05-23 07:23:16 +09:00
junderw
c6c59c7c68
Expose more interfaces to top level 2019-05-23 07:22:21 +09:00
Jonathan Underwood
f9f4707b34
Merge pull request #1402 from bitcoinjs/bump504
5.0.4
2019-05-21 17:20:07 +09:00
Jonathan Underwood
be942f07a3
Merge pull request #1401 from bitcoinjs/fixRimraf
Fix rimraf to delete types folder as well
2019-05-21 17:19:39 +09:00
Jonathan Underwood
f2ce2ba88f
Merge pull request #1400 from bitcoinjs/updateChangelog
Update changelog
2019-05-21 17:19:12 +09:00
Jonathan Underwood
6808dc69a2
Merge pull request #1185 from bitcoinjs/addComplexScript
Add complex script example in integration tests.
2019-05-21 17:18:42 +09:00
junderw
119e8397f9
5.0.4 2019-05-21 16:45:18 +09:00
junderw
dfd25045ef
Fix rimraf to delete types folder as well 2019-05-21 16:41:47 +09:00
junderw
0b37eaa19b
Update changelog 2019-05-21 16:40:00 +09:00
junderw
3145d3f9ec
Fix comments 2019-05-21 16:27:42 +09:00
junderw
267b0c5d00
Easier var names 2019-05-21 16:26:00 +09:00
junderw
9f96fd097b
Merge branch 'master' into addComplexScript 2019-05-21 16:11:45 +09:00
Jonathan Underwood
94872f9bfe
Merge pull request #1387 from bitcoinjs/trimSpace
Use Prettier to make JS easier to read/audit
2019-05-21 15:50:03 +09:00
junderw
9aa2842123
Merge branch 'master' into trimSpace 2019-05-21 15:42:43 +09:00
Jonathan Underwood
39bd08002b
Merge pull request #1385 from bitcoinjs/lowR
Add low R value signing as option to ECPair.sign
2019-05-21 15:40:35 +09:00
junderw
04b1f50a2f
Add js format check to CI 2019-05-21 15:23:18 +09:00
junderw
4d9c1b81bd
Update packages npm audit 2019-05-21 15:13:38 +09:00
Jonathan Underwood
cbc189ca8d
Merge pull request #1397 from bitcoinjs/fixECPair
Fix publicKey type on ECPairInterface
2019-05-21 15:03:21 +09:00
junderw
41d88f8baf
Merge branch 'master' into trimSpace 2019-05-21 11:17:07 +09:00
junderw
6c3e30e948
Merge branch 'master' into lowR 2019-05-21 11:14:10 +09:00
Jonathan Underwood
88cfdcc0f1
Merge pull request #1398 from agentofuser/node-12
Support node 12
2019-05-18 15:45:55 +09:00
Agent of User
5a381ba582 Bump tiny-secp256k1 to version supporting node 12 2019-05-17 08:02:53 -04:00
junderw
1c75c02038
Fix publicKey type on ECPairInterface 2019-05-16 16:29:23 +09:00
Jonathan Underwood
ea4fd58e87
Merge pull request #1396 from lukechilds/clean-before-build
Remove source files before rebuilding
2019-05-13 18:49:59 +09:00
Luke Childs
5ef135f9e4 Ensure build scripts are in alphabetical order 2019-05-13 16:39:08 +07:00
Luke Childs
68339fda4d Remove source files before rebuilding 2019-05-13 16:35:02 +07:00
Jonathan Underwood
3bee658bec
Merge pull request #1391 from bitcoinjs/bumpver
5.0.3
2019-04-25 19:17:17 +09:00
junderw
56c876e979
5.0.3 2019-04-25 19:07:46 +09:00
Jonathan Underwood
4e7e364092
Merge pull request #1388 from jolestar/patch-1
fix bug:ECPair.verify should return boolean
2019-04-23 17:52:03 +09:00
Jonathan Underwood
00ca4c2ec7
Fix ts files from Buffer to boolean 2019-04-23 15:10:01 +09:00
jolestar
67aa87e28d
fix bug:ECPair.verify should return boolean
fECPair.verify should return boolean, and js implements indeed return boolean.
2019-04-23 13:55:51 +08:00
junderw
e28e04427e
Use Prettier to make JS easier to read/audit 2019-04-21 21:30:21 +09:00
junderw
352e9ef0a3
Add low R signing to TransactionBuilder 2019-04-15 17:27:28 +09:00
junderw
b5577607d4
Add tests for low R signing 2019-04-15 15:28:01 +09:00
junderw
ccd439b805
Modify interface 2019-04-12 17:55:45 +09:00