v2.0.0: 1) feat!: napi-rs binding (#149)
* chore: add node 22 support
* chore: release v0.2.11
* feat: explore napi-rs binding
* feat: use signature sets in verifyMultipleAggregateSignatures
* chore: fix batchVerify benchmark
* feat: simplify signature set handling, async functions
* wip
* err handling
* chore: more cleanup
* chore: use threads in blst crate
* chore: add multithread benchmarks
* feat rough out sigVerify and perf test
* chore: more cleanup
* feat: add keyValidate
* chore: refresh index.d.ts
* feat: add eip 2333 fns
* feat: add aggregateSerialized fns
* feat: add validation to from_bytes
* chore: refresh index.d.ts
* chore: more cleanup
* chore: fix blstOpts benchmark
* chore: more cleanup
* feat: add hex helpers
* fix: validation in factories
* fix: default to sig_infcheck if sig_validate
* chore: fmt
* feat: stringify BLST_ERROR
* feat: async aggregate* fns
* chore: remove stray comment
* feat: switch blst to matthewkeil fork for multiply_by
* chore: update blst
* chore: add settings.json so rust displays correctly
* feat: add aggregate_with_randomness
* chore: update blst
* refactor: change aggregate_with_randomness implementation
* chore: use MultiPoint ops to do aggregate_with_randomness
* chore: bench aggregation vs aggregate_with_randomness
* chore: add test aggregateWithMsm fn
* chore: update blst
* chore: use blst bindings
* feat: implement to/from affine
* feat: add verify_multiple_aggregate_signatures_same_message
* chore: cleanup
* chore: sig to Uint8Array everywhere
* chore: update napi-rs deps
* feat: add verify_multiple_signatures_same_message_with_retries
* fix: fix struct definition
* feat: add verify_multiple_signatures_same_messages_with_retries
* chore: change the shape of same message set
* fix: stray ref
* chore: tweak shape of same msg set
* chore: add index.d.ts
* chore: update same msg shape
* chore: use Signature instead of Uint8Array
* chore: optimize aggregate fns
* chore: update submodule
* Revert "chore: optimize aggregate fns"
This reverts commit 0beec3833284141bee6c74049d670a877112fe24.
* chore: fmt
* chore: move napi-rs bindings to root
* chore: replace tests
* chore: start package.json cleanup
* chore: start fixing CI
* chore: fix blst path
* chore: get spec tests passing
* chore: remove experimental fns
* chore: better error codes
* chore: cleanup
* chore: rebuild bindings
* chore: simplify spec tests
* chore: comments
* chore: simplify
* chore: start fixing tests
* chore: more test updates
* chore: pass unit tests
* chore: fix lint
* chore: fix perf test
* chore: fix up package.json and CI
* chore: more CI work
* chore: more ci
* chore: more ci
* chore: add test console.log
* chore: update test
* chore: tweak test
* chore: remove unused files
* feat: add compress for to_bytes and to_hex
* test: add back tests for compressed/uncompressed
* test: add bindings.test
* test: add case for showing which aggregate index is invalid
* chore: wip spec tests
* feat: build to_vec and fix to_hex
* chore: fix spec test functions
* chore: fix spec tests
* chore: fix some unit tests
* chore: remove stray import
* test: check aggregateWithRandomness
* test: add invalid test case to verifyMultipleAggregateSignatures.test
* test: fix fuzz tests to get working
* test: fix perf tests
* fix: remove Promise.all from runWorkRequest
* chore: some cleanup
* chore: add separate invalid hex error status
* chore: move fns
* chore: remove verify_multiple_signatures_same_message
* chore: better hex error msgs
* fix: create_rand_slice
* fix: bindings test
* chore: revert license change
* fix: add compress false in __fixtures__
* Apply suggestions from code review
Co-authored-by: Matthew Keil <[email protected]>
* chore: remove yarn files
* chore: use napi8
* chore: update yarn lock
* chore: remove unused scripts
* chore: remove todo
* chore: refactor blst_error_to_reason
* chore: cleanup spec test compatibility layer
* chore: remove default
* chore: add check for unstaged changes
* chore: pin node 22.4
* chore: tweak workflow
* chore: use to_le_bytes
* chore: remove aggregate_with_randomness_native
* chore: update release workflow
* chore: tweak workflow job names
* fix: package.json engines node16+
* chore: remove root utils folder
* chore: cleanup .eslintrc.js
* chore: touch up tsconfig.json
* docs: update CONTRIBUTING.md
* Update README.md
Co-authored-by: Matthew Keil <[email protected]>
* Update src/lib.rs
Co-authored-by: Matthew Keil <[email protected]>
* chore: tweak aggregate_with
* chore: use to_ne_bytes
* Update src/lib.rs
Co-authored-by: Matthew Keil <[email protected]>
* chore: tweak comment
* chore: remove multithreading tests
* chore: update index.d.ts
* chore: fix lint error
* chore: update comment
---------
Co-authored-by: Eric Tu <[email protected]>
Co-authored-by: matthewkeil <[email protected]> (wemeetagain)
(SHA: d37e110f632d017bafb374d336fb87398b3ff653)