Commit Graph

47 Commits

Author SHA1 Message Date
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
dapplion a51022f802 De-duplicate interface 2020-11-30 23:54:03 +00:00
dapplion 4f11731ed8 Remove foreign property breaking types 2020-11-30 23:49:39 +00:00
Cayman 021fc7111e
Add secretKeyToPublicKey declaration 2020-11-30 13:45:23 -06:00
Cayman b5b2e6dfc7
Consistent naming 2020-11-30 12:03:49 -06:00
dapplion 2df6743c6c Make PublicKey type != Signature type 2020-11-30 16:28:52 +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 203122ee10
Export types 2020-11-29 12:54:33 -06:00
dapplion 61c1baea3f Use const in main bls export 2020-11-29 17:10:20 +00: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
dapplion d9c83feb10 Remove unnecessary eslint-disable 2020-11-29 12:19:52 +00:00
dapplion 406419cac7 Set default value for implementation 2020-11-25 17:58:03 +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 530e86d98f Export strategies 2020-11-25 15:03:15 +00:00
dapplion 57694c2e54 Co-exist implementations 2020-11-19 13:22:41 +00:00
dapplion 5b06e4f61e Replace herumi src with BLST 2020-11-19 00:23:34 +00:00
Cayman 49d6d9f62c
Run prettier 2020-11-05 14:55:25 -06:00
Cayman c22069335f
Run prettier 2020-11-04 11:40:36 -06:00
Marin Petrunić 4a74e1ff44
allow passing decompressed keys 2020-08-29 16:18:33 +02:00
Marin Petrunić 20121c330b
update tests 2020-05-21 12:52:11 +02:00
Marin Petrunić dcf6551372
update bls methods and wasm usage 2020-02-24 16:32:14 -06:00
Marin Petrunić c1a6c41dd4
remove domain param from every method in bls 2020-02-24 16:26:48 -06:00
Cayman 9a52ed5672 Simplify bls functional interface 2020-02-12 09:39:40 -06:00
Cayman fa1f393e79 Make bls types more strict 2020-02-10 22:25:23 -06:00
Cayman c5cecec09b Fix w new vector types 2020-02-04 16:30:10 -06:00
Cayman 825726b5cc Update bls 2020-01-21 10:46:21 -06:00
Cayman f8b1cb3cc7 Merge branch 'master' into 0.9.x 2020-01-10 14:07:22 -06:00
pushcodeveryday 645f88ffec fixing typos 2020-01-09 12:25:26 +05:30
ayush.kaul 529b36d4d4 [BLS] function arguments 2020-01-08 12:19:51 +05:30
Tuyen 1cf1c27b94 Refactor Hash to Root/bytes32 2020-01-07 06:27:18 +07:00
Marin Petrunić 72f95898a8 address Pr comments 2019-12-02 13:44:45 +01:00
Marin Petrunić 8c10a06d79 fix tests 2019-11-28 12:13:20 +01:00
Marin Petrunić 2d0725a5cc rewritten bls to use wasm 2019-11-27 21:58:41 +01:00
Marin Petrunić fe31dbc974 fix bls lint 2019-09-17 21:05:13 +02:00
Marin Petrunić b8c262791a fix ts errors 2019-09-17 21:02:32 +02:00
Austin Abell 359cc185e4 Merge branch 'master' into austin/typesusage 2019-09-03 18:46:29 -04:00
austinabell 6f17cc349e replace byte32 type on hashes to Hash 2019-09-03 14:17:55 -04:00
Marin Petrunić 528a5ca611 addess PR issues 2019-08-29 14:14:46 +02:00
Marin Petrunić 84bf46cb58 add faster signature verification 2019-08-28 15:57:26 +02:00
Marin Petrunić 2b38c87501 add proper bls exports 2019-08-16 11:55:13 +02:00
Marin Petrunić 0c0bfd5324 add proper bls exports 2019-08-12 09:51:18 +02:00
Cayman b651b83acc Move to packages/bls 2019-08-05 10:48:26 -05:00