8 Commits

Author SHA1 Message Date
weboko
a50cf9ce8e
allow to configure fetch params 2023-04-28 01:04:41 +02:00
weboko
b88259522f
Merge branch 'master' of github.com:waku-org/js-rln into weboko/fetcher 2023-04-25 23:20:38 +02:00
weboko
b819f4d6ab
fetch in portions of 5 2023-04-25 23:06:00 +02:00
weboko
113de6ed08
remove comment 2023-04-25 22:23:30 +02:00
weboko
ea74b44651
improve fetch in chunks 2023-04-25 22:22:42 +02:00
weboko
b4a5990a2d
add custom fetcher 2023-04-25 12:15:19 +02:00
Sasha
88a28a11e3
feat!: add registerMemberFromMembershipKey (#56)
* add registerMemberFromMembershipKey
* make better naming
2023-04-19 23:28:04 +02:00
Sasha
d77370fbec
Add RLN Contract abstraction (#43)
* implement rln contract abstraction, add basic tests, add usefull constants

* remove test command

* resolve simple comments

* move to getter for members, add init method

* fix naming

* remove default signature message

* use direct path to js file

* try different karma config

* try generic import

* update test

* address comments: rename const file, return prev regexp

* remove test

* bring back test file

* fix mock approach

* use any for type casting

* use another approach for typecasting

* update mocks

* update mocked event

* use correct value for mock

* fix spy definition

* add BigInt to MembershipKey

* fix joining

* use slice

* remove accidentally commited junk

* fix typo, use DataView for conversion, use BigInt directly

Co-authored-by: weboko <anon@mail.com>
2023-01-26 18:58:18 +01:00