Commit Graph

51 Commits

Author SHA1 Message Date
2aef7aade8
Support commonjs as well
Full compare: bfa4ce1366...tornadocontrib:circomlibjs:main
2024-12-18 17:32:18 +00:00
Micah Zoltu
fc0c01e400 Removes many dependencies and bundles to ES Module.
* NodeJS has built-in testing tools now, so no need to include Mocha/Chai which bring in a lot of transitive dependencies.
* Removes ethers, as it was only being used for a few utility functions (which are now in `utils.js` and `keccak256`, whiche is better sourced from @noble/hashes.
* Adds @noble/hashes for `keccak256`.
* Removes hardhat, since it was brought in only to test one thing, and it is huge.
* Switches to esbuild for simple ESM targeted bundling with inlnined NodeJS dependencies.
* Pinned all JS dependencies to fixed versions.
* Adds a Dockerfile for generating reproducible builds.
* Commented out two tests that had a dependency on Hardhat.
2024-12-06 13:17:31 +08:00
Oleksandr Brezhniev
bfa4ce1366
Merge pull request #29 from iden3/test/more-poseidon-tests-2
test: add even more poseidon tests
2024-09-10 01:49:08 +01:00
Oleksandr Brezhniev
ad7627a4c0 test: add even more poseidon tests 2024-09-10 01:47:36 +01:00
Oleksandr Brezhniev
43cc582b10
test: add more poseidon tests (#28)
* test: add more poseidon tests
2024-04-26 15:37:02 +01:00
Dimasik Kolezhniuk
e9531e2e02
Merge pull request #27 from iden3/feat/add-npm-publish-ci
Add workflow of publishing package to NPM
2024-04-15 18:22:46 +02:00
Dimasik Kolezhniuk
ed85481012 0.1.8 2024-04-15 18:18:09 +02:00
Dimasik Kolezhniuk
bb3c1ddc95 Bump ffjavascript 2024-04-15 18:17:56 +02:00
Dimasik Kolezhniuk
3dc399d5d3
remove nvmrc 2024-04-15 16:16:46 +02:00
Dimasik Kolezhniuk
f0e5e7cd18 Add workflow of publishing package to NPM 2024-04-15 13:44:36 +02:00
Jordi Baylina
4f094c5be0
0.1.7 2022-07-15 21:44:19 +02:00
Jordi Baylina
b843be289a
Fix tests 2022-07-15 21:44:10 +02:00
Jordi Baylina
cc7ff9aa93
publis buildPoseidonWasm 2022-07-15 21:38:09 +02:00
Jordi Baylina
2e18e63b75
0.1.6 2022-06-19 09:55:15 +02:00
Jordi Baylina
d391be72ba
build 2022-06-19 09:55:10 +02:00
Jordi Baylina
db4a6c5769
0.1.5 2022-06-19 09:40:29 +02:00
Jordi Baylina
e2223af624
0.1.4 2022-06-17 13:15:46 +02:00
Jordi Baylina
7da82e6e39
Fix dependencies 2022-06-17 13:15:36 +02:00
Jordi Baylina
a19d4506ff
Merge branch 'main' of https://github.com/iden3/circomlibjs 2022-06-17 13:07:13 +02:00
Jordi Baylina
9406985278
0.1.3 2022-06-17 13:07:04 +02:00
Jordi Baylina
ad9d2f8774
Poseidon access to the stat and al the inputs 2022-06-17 13:06:56 +02:00
xavi
9300d3f820 FIX readme.md 2022-05-02 10:14:53 +02:00
Jordi Baylina
5164544558
0.1.2 2022-03-17 13:31:07 +01:00
Jordi Baylina
ee8ec2fca2
Merge branch 'main' of https://github.com/iden3/circomlibjs 2022-03-17 13:29:35 +01:00
Jordi Baylina
3091d20275
Merge pull request #5 from tornadocash/main
fix ethers import
2022-03-17 06:22:59 -06:00
Danil Kovtonyuk
fdaafd32eb
fix ethers import 2022-03-17 19:55:47 +10:00
Jordi Baylina
6c55e91e01
0.1.1 2021-11-23 13:23:00 +01:00
Jordi Baylina
0872b77f93
Poseidon in wasm 2021-11-23 13:22:47 +01:00
Jordi Baylina
3f84f4fbf7
0.1.0 2021-10-30 13:58:00 +02:00
Jordi Baylina
fe43791f41
Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
Jordi Baylina
c71c8c1daf
0.0.8 2021-10-06 18:30:06 +02:00
Jordi Baylina
cdc7840287
Fixes 2021-10-06 18:29:56 +02:00
Jordi Baylina
0e8f731736
0.0.7 2021-10-06 17:43:06 +02:00
Jordi Baylina
da3a6321f7
Fixes 2021-10-06 17:42:49 +02:00
Jordi Baylina
13e981b307
0.0.6 2021-10-06 17:29:34 +02:00
Jordi Baylina
913cd86ff3
Remove mimc7_g2 2021-10-06 17:29:25 +02:00
Jordi Baylina
b64db03425
0.0.5 2021-10-06 17:14:32 +02:00
Jordi Baylina
044f7945fc
Fix typo mimc7 2021-10-06 17:14:22 +02:00
Jordi Baylina
135a71daeb
0.0.4 2021-10-06 17:08:32 +02:00
Jordi Baylina
13f51a9261
0.0.3 2021-10-06 17:07:24 +02:00
alrubio
bb5cd3da6d Merge branch 'main' of github.com:iden3/circomlibjs into main 2021-10-06 16:21:47 +02:00
alrubio
00c96cda62 index added 2021-10-06 16:21:14 +02:00
jose
dd644dd8a9 fixing a small conflict in package.json 2021-10-06 16:13:55 +02:00
jose
de7819b045 minor change in description of package.json 2021-10-06 16:12:34 +02:00
Jordi Baylina
660ee70352
0.0.3 2021-10-06 14:52:39 +02:00
Jordi Baylina
f50bf95a1b
Merge branch 'main' of https://github.com/iden3/circomlibjs into main 2021-10-06 14:52:27 +02:00
Jordi Baylina
7c16ea34c7
Fix limit in poseidon 2021-10-06 14:52:16 +02:00
jose
bffa5e7952 modified README 2021-10-06 12:39:27 +02:00
Jordi Baylina
54847b37fd
0.0.2 2021-10-06 11:41:07 +02:00
Jordi Baylina
9a46d3b95a
Move preprocession tools to tools 2021-10-06 11:40:45 +02:00