Commit Graph

285 Commits

Author SHA1 Message Date
Cayman cb3bf183d2
Merge pull request #44 from ChainSafe/dapplion/proxy-named-exports
Proxy named exports in root index
2020-11-30 09:13:03 -07:00
Cayman a44d1bf2d0
Add named export test to browser test cases 2020-11-30 10:12:18 -06:00
Cayman dacb875007
Merge pull request #45 from ChainSafe/mpetrunic/release-flow
Add release flow
2020-11-30 08:38:04 -07:00
Marin Petrunić d225aaff04
add release flow 2020-11-30 14:15:05 +01:00
dapplion 3004076a4a Remove console.log 2020-11-30 11:49:47 +00:00
dapplion 2c938ddeed Test named exports 2020-11-30 11:49:37 +00:00
dapplion 9b7e5f5f95 Export class interfaces too 2020-11-30 11:43:47 +00:00
dapplion 0a3f6f5659 Use declare only 2020-11-30 11:32:36 +00:00
dapplion 999a5d5e22 Proxy named exports in root index 2020-11-30 11:29:24 +00:00
Cayman c8ddfcaa3b
Merge pull request #43 from ChainSafe/fix-tests
Fix v1.0.0 spec tests and error conditions
2020-11-29 19:59:57 -07:00
Cayman 21b319711f
Fix linter error 2020-11-29 20:43:57 -06:00
dapplion c557db4a78 Make errors consistent 2020-11-30 00:20:55 +00:00
dapplion 60d795c694 Fix blst tests 2020-11-30 00:01:48 +00:00
dapplion 32266dae20 Use isZeroUint8Array to check for empty bytes 2020-11-29 23:56:31 +00:00
dapplion 6fe9b09a92 Fix herumi tests 2020-11-29 23:55:45 +00:00
dapplion d3616e50f6 Remove async from runForAllImplementations 2020-11-29 23:55:45 +00:00
Cayman 46b317b528
Merge pull request #42 from ChainSafe/clean-methods
Clean methods not in the interface
2020-11-29 15:35:50 -07:00
dapplion 2208922aa6 Clean methods not in the interface 2020-11-29 22:30:47 +00:00
Cayman 3bb136cfcc
Merge pull request #41 from ChainSafe/cayman/fromKeygen-ikm
Optional ikm param for bls.PrivateKey.fromKeygen
2020-11-29 14:32:11 -07:00
Cayman d743d95487
Optional ikm param for bls.PrivateKey.fromKeygen 2020-11-29 15:25:18 -06:00
Cayman 138b6de063
Merge pull request #40 from ChainSafe/cayman/export-types
Export types
2020-11-29 11:59:23 -07:00
Cayman 203122ee10
Export types 2020-11-29 12:54:33 -06:00
Cayman c0723488d3
Merge pull request #39 from ChainSafe/dapplion/fix-default-export
Use Object.assign to fix default import
2020-11-29 10:21:01 -07:00
dapplion 61c1baea3f Use const in main bls export 2020-11-29 17:10:20 +00:00
Cayman 06dc0e47b0
Merge pull request #38 from ChainSafe/dependabot/npm_and_yarn/yargs-parser-13.1.2
Bump yargs-parser from 13.1.1 to 13.1.2
2020-11-29 10:04:43 -07:00
Cayman 326842465c
Merge pull request #25 from ChainSafe/dependabot/npm_and_yarn/http-proxy-1.18.1
Bump http-proxy from 1.18.0 to 1.18.1
2020-11-29 10:04:21 -07:00
dapplion e51c1784a7 Document lazy import 2020-11-29 16:59:24 +00:00
dapplion 2235e7be89 Import named export from blst 2020-11-29 16:59:16 +00:00
dapplion ef98683424 Use Object.assign to fix default import 2020-11-29 16:52:29 +00:00
Cayman 3a34ccbacc
Merge pull request #37 from ChainSafe/expected-errors
Prevent "BLS not initialized" error from causing a false negative
2020-11-29 09:51:06 -07:00
dependabot[bot] d60ac317b7
Bump http-proxy from 1.18.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-29 16:02:20 +00:00
dependabot[bot] f718b9d9e0
Bump yargs-parser from 13.1.1 to 13.1.2
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-29 16:01:59 +00:00
Cayman 804ed42354
Merge pull request #31 from ChainSafe/blst
Add BLST  🚀
2020-11-29 09:01:17 -07:00
dapplion a379898589 Bump @chainsafe/blst 2020-11-29 15:08:17 +00:00
dapplion 2245559e0e Prevent "BLS not initialized" error from causing a false negative 2020-11-29 14:28:30 +00:00
dapplion 5db911d470 Use validateBytes instead of generic assert 2020-11-29 14:06:09 +00:00
dapplion 70574b45c1 Fix herumi's bytes length checks 2020-11-29 13:57:08 +00:00
dapplion 78f66280de Add note in README to install blst 2020-11-29 12:21:31 +00:00
dapplion d9c83feb10 Remove unnecessary eslint-disable 2020-11-29 12:19:52 +00:00
dapplion 8055f73afb Use browser friendly hexToBytes, bytesToHex methods 2020-11-28 19:52:32 +00:00
dapplion 2c34db8b8e Remove unnecessary casting of Buffer to Unit8Array 2020-11-28 19:30:56 +00:00
dapplion b507ed28c0 Use randombytes instead of node's crypto 2020-11-28 19:27:59 +00:00
dapplion 9194769d62 Export constants consistently 2020-11-28 19:14:08 +00:00
dapplion bd17160713 Use 'message' arg name consistently 2020-11-28 19:11:21 +00:00
dapplion b0ed0e8cb5 Include root import files in package.json 2020-11-28 19:06:29 +00:00
dapplion 104d6dd269 Use upstream types for bls-eth-wasm 2020-11-28 19:05:34 +00:00
dapplion 406419cac7 Set default value for implementation 2020-11-25 17:58:03 +00:00
dapplion 4ca6532171 Use toBuffer to prevent allocation 2020-11-25 17:57:33 +00:00
dapplion e32ea6d7a5 Buffer is subclass of Uint8Array 2020-11-25 17:56:33 +00:00
dapplion ca5cac64b3 Fix lint warnings and errors 2020-11-25 16:23:53 +00:00