Commit Graph

38 Commits

Author SHA1 Message Date
Derrick Hammer d58fc82e08
*Make bls export an async wrapper to prevent top-level await 2023-04-08 22:20:32 -04:00
Cayman 7c2e883527
Tweaks and upgrade karma/webpack 2022-04-14 12:16:06 -05:00
Cayman 269c96832b
Simplify exports 2022-04-13 14:36:07 -05:00
Cayman 0056e13ee5
feat: use esm
BREAKING CHANGE:
Only esm is exported, no commonjs
Named exports (excluding `bls`) are no longer exported from the root.
`browser` and `node` exports are removed in favor of
implementation-specific naming.
2022-04-11 10:15:43 -05:00
g11tech 40fc4b33a2 herumi fromBytes explicit signature 2021-09-22 20:51:31 +05:30
g11tech 5731f49454 ignoring the validate flag on herumi signature impl 2021-09-22 15:19:58 +05:30
g11tech 6854661b29 bls-eth-wasm package update for invalidating signature not in g2, validation on by default 2021-09-22 11:05:53 +05:30
dapplion 69c3408964 Enable multi-threading for all implementations 2021-04-05 17:49:18 +02:00
dapplion 7ef455157a Allow window to not be prefixed 2020-12-04 09:31:35 +00:00
dapplion c8798707d9 Remove 2 tsconfig-ignore 2020-12-03 19:09:15 +00:00
dapplion 84488456de Patch herumi's multiVerify() on browsers 2020-12-03 00:24:30 +00:00
dapplion 7f76672a40 Use browser friendly concatUint8Arrays instead of Buffer.concat 2020-12-03 00:06:36 +00:00
dapplion a8f7256fcd Add verifyMultipleSignatures method 2020-12-02 23:19:12 +00:00
dapplion a51022f802 De-duplicate interface 2020-11-30 23:54:03 +00:00
Cayman b5b2e6dfc7
Consistent naming 2020-11-30 12:03:49 -06:00
dapplion c557db4a78 Make errors consistent 2020-11-30 00:20:55 +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 2208922aa6 Clean methods not in the interface 2020-11-29 22:30:47 +00:00
dapplion 2245559e0e Prevent "BLS not initialized" error from causing a false negative 2020-11-29 14:28:30 +00:00
dapplion 70574b45c1 Fix herumi's bytes length checks 2020-11-29 13:57:08 +00:00
dapplion 8055f73afb Use browser friendly hexToBytes, bytesToHex methods 2020-11-28 19:52:32 +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 ca5cac64b3 Fix lint warnings and errors 2020-11-25 16:23:53 +00:00
dapplion 49d509aca4 Clean interface 2020-11-25 16:09:47 +00:00
dapplion 021e741d17 Move bls-eth-wasm to the root dir 2020-11-25 15:35:53 +00:00
dapplion cd5b7cba47 Update bls-eth-wasm types 2020-11-25 14:00:18 +00:00
dapplion ec859a1c32 Fix backing dependencies 2020-11-25 11:39:49 +00:00
dapplion c59cf98695 Merge 'dev' into 'blst' 2020-11-25 11:10:06 +00:00
dapplion 84c95ba069 Remove Keypair class 2020-11-25 10:45:19 +00:00
dapplion 4da10180d9 Remove code duplication in the functional interface 2020-11-25 10:41:52 +00:00
dapplion 4424bed87d Define common implementation 2020-11-20 19:03:17 +00:00
dapplion c354386dab Fix lint errors 2020-11-20 12:27:35 +00:00
dapplion 1e9f778846 Use isEqualBytes helper 2020-11-20 09:37:44 +00:00
dapplion 523d547171 Add Keypair test 2020-11-19 14:50:18 +00:00
dapplion f8cd6e7afa Update tests to run both implementations 2020-11-19 14:41:45 +00:00
dapplion 57694c2e54 Co-exist implementations 2020-11-19 13:22:41 +00:00