Vivian Plasencia
1fb6e99cd0
chore: v4.0.0-beta.5
...
Former-commit-id: 821735aae0
v4.0.0-beta.5
2024-03-26 18:39:03 +01:00
Cedoor
a3f86d9ad3
Merge pull request #728 from semaphore-protocol/chore/es2020-target
...
Update TypeScript target to `ES2020`
Former-commit-id: 02cd18f457
2024-03-26 17:26:11 +00:00
Cedoor
832b0d6887
Merge pull request #727 from semaphore-protocol/chore/update-template-contracts
...
Update CLI template contracts
Former-commit-id: 8da28a5a5d
2024-03-26 17:25:24 +00:00
cedoor
a159c23b91
chore: build libraries first
...
Former-commit-id: 6239919f9a
2024-03-26 17:03:33 +00:00
cedoor
825a52cc4d
chore: build libraries before generating subgraph files
...
Former-commit-id: d55810d169
2024-03-25 19:11:12 +00:00
cedoor
e0057a56af
chore: add pre-build script to subgraph
...
Former-commit-id: ce2ef1e87d
2024-03-25 19:06:15 +00:00
Cedoor
7afcd53649
Merge pull request #719 from semaphore-protocol/feat/deployed-contracts
...
Add deployed contracts to utils package
Former-commit-id: bc2bc37991
2024-03-25 18:55:09 +00:00
cedoor
f569b2fc70
chore: update ts target to es2020
...
Targeting ES2020 looks like it's generally fine today. It's widely supported across modern browsers
and environments and it would allow Semaphore bundles to use new ES features natively, like arrow
functions, promises, and classes, which can improve code readability and efficiency.
re #688
Former-commit-id: 9f49d91197
2024-03-25 13:04:21 +00:00
cedoor
aa0c9ceba2
chore(cli): update template contracts
...
re #722
Former-commit-id: 895f9e1e9e
2024-03-25 12:58:42 +00:00
Cedoor
4a68eb5e03
Merge pull request #721 from xiaoxianBoy/fix-typos
...
chore: fix typos
Former-commit-id: 87e94afeac
2024-03-25 11:50:35 +00:00
Cedoor
32944c412b
Merge pull request #726 from semaphore-protocol/docs/add-social-media-card
...
Docs: Add social media card
Former-commit-id: f1441fd0c8
2024-03-25 11:47:47 +00:00
cedoor
8d8fb82407
refactor(utils): re-organize 'networks' module structure and add tests
...
re #715
Former-commit-id: ff3263d166
2024-03-25 11:43:17 +00:00
Cedoor
73a306241b
Merge pull request #725 from patitonar/patch-1
...
chore(circuits): fix groth16 malleability broken link
Former-commit-id: 95cb7dd74d
2024-03-25 10:37:22 +00:00
Vivian Plasencia
9b023041e8
docs: update parameter order in generateProof function
...
Now the order of parameters in the generateProof function docs is correct.
re #686
Former-commit-id: 3e3c3f4f05
2024-03-23 12:07:50 +01:00
Vivian Plasencia
b6ffad5b8c
chore(docs): add social media card to docs
...
Now when the documentation link is shared on social media, the Semaphore card for social media will
be displayed.
re #712
Former-commit-id: e981583172
2024-03-23 11:51:43 +01:00
cedoor
8abfb93b4c
style(utils): format code with prettier
...
Former-commit-id: 7cfe752f4c
2024-03-22 18:17:38 +00:00
cedoor
138e5339bd
chore: remove oz and add more networks
...
Former-commit-id: 92e189e17c
2024-03-22 18:08:27 +00:00
cedoor
784cddb483
chore: add pre-build script for building local packages
...
re #715
Former-commit-id: 042759b10e
2024-03-22 15:02:37 +00:00
cedoor
5898a175b0
chore(utils): move json of deployed contracts to utils pkg
...
re #715
Former-commit-id: 8caad14e3f
2024-03-22 14:53:20 +00:00
Gerardo Nardelli
6e8f84025f
chore(circuits): fix groth16 malleability broken link
...
Former-commit-id: d5477644e0
2024-03-22 11:46:04 -03:00
cedoor
6b659a80d0
chore(utils): reduce number of supported networks
...
re #715
Former-commit-id: 095147afb3
2024-03-22 13:19:57 +00:00
cedoor
5caa3c7fd8
ci: build libraries first
...
re #715
Former-commit-id: 17d716f632
2024-03-22 11:18:22 +00:00
cedoor
619459e64b
feat(utils): add deployed contracts to utils package
...
re #715
Former-commit-id: 1647ecaba5
2024-03-22 11:18:20 +00:00
Vivian Plasencia
11eff59b3b
docs: fix whitepaper v1 link
...
re #723
Former-commit-id: ba3f7fb139
2024-03-22 12:17:12 +01:00
snoppy
0e2e6dfd0e
chore: fix typos
...
Former-commit-id: ad43b8ab62
2024-03-22 18:43:24 +08:00
Cedoor
ecfcda70cc
Merge pull request #718 from semaphore-protocol/feature/two-step-admin
...
Create a two-step mechanism to update group admins
Former-commit-id: 00f05510d6
2024-03-21 17:25:48 +00:00
cedoor
601a339d9b
feat(contracts)!: create a two-step mechanism to update group admins
...
The best practice to update a group admin is through a two-step update. The existing admin assigns
the new potential admin, and the new admin accepts in a separate transaction. This prevents existing
admins from making mistakes and assigning wrong addresses.
re #690
Former-commit-id: 255bccf2eb
2024-03-21 15:54:46 +00:00
cedoor
6d0d7444b6
docs: fix variable name
...
Former-commit-id: d147958c67
2024-03-20 09:48:45 +00:00
cedoor
b441be91a4
revert(proof): remove resolutions and overrides fields
...
overrides only works with NPM and both overrides and resolutions works if they are in the project
root package.json. So they don't solve #713 .
re #713
Former-commit-id: b77feebdea
2024-03-19 16:49:53 +00:00
cedoor
0d4d8508fc
chore: v4.0.0-beta.4
...
Former-commit-id: 7102d0a084
v4.0.0-beta.4
2024-03-19 15:39:58 +00:00
cedoor
b215c6cbde
chore(proof): add override version for web-worker
...
Former-commit-id: e2ad68d6da
2024-03-19 15:38:25 +00:00
cedoor
27956f1676
chore(cli): make contract packages in templates private
...
Former-commit-id: 63904fb678
2024-03-19 15:37:59 +00:00
cedoor
9c7afa888f
chore: v4.0.0-beta.3
...
Former-commit-id: 9c6f9006e0
v4.0.0-beta.3
2024-03-19 15:16:21 +00:00
Cedoor
96cb583861
Merge pull request #716 from semaphore-protocol/fix/web-worker
...
Add temporary fixed resolution for `web-worker` dependency
Former-commit-id: 55eaa31dfb
2024-03-19 15:00:17 +00:00
cedoor
b603dbaf81
fix(proof): add temporary fixed resolution for web-worker dep
...
Adding the 'resolutions' field with the static version of web-worker solves the problem described in
issue #713 . To be regarded as a temporary solution.
re #713
Former-commit-id: ca36ed5488
2024-03-19 12:54:43 +00:00
Cedoor
4fc4675678
Merge pull request #714 from semaphore-protocol/fix/deployed-contracts
...
Update link to fetch deployed contracts on docs
Former-commit-id: 65d3a41fa9
2024-03-18 20:08:37 +00:00
cedoor
6f0fdddae5
chore(contracts): update zk-kit imt.sol dependency
...
Former-commit-id: 4b074a443f
2024-03-18 20:04:10 +00:00
cedoor
31b05dba43
fix: update link to fetch deployed contracts on docs
...
Former-commit-id: a875e07ec2
2024-03-18 19:49:52 +00:00
Cedoor
94bdb44a45
Merge pull request #707 from semaphore-protocol/feat/create-group-contracts
...
Add a new `createGroup` function in the contracts
Former-commit-id: b55693948c
2024-03-18 10:30:49 +00:00
Cedoor
2bc10b0d5e
Merge pull request #701 from semaphore-protocol/refactor/update-zk-kit
...
Update `utils` package and identity private key types.
Former-commit-id: 3b167fb46c
2024-03-15 23:13:54 +00:00
Cedoor
7ab9898beb
Merge pull request #709 from semaphore-protocol/ref/remove-groupid-check
...
Remove existence check for `groupId `
Former-commit-id: d045bf9beb
2024-03-15 23:13:30 +00:00
cedoor
9e5f8351cc
fix(utils): add missing exports to index.ts
...
re #642
Former-commit-id: 0987dee8db
2024-03-15 23:08:47 +00:00
cedoor
b6e6a8db03
fix(identity): update zk-kit packages with fixes
...
re #700
Former-commit-id: a2ec3013c8
2024-03-15 23:07:56 +00:00
cedoor
9eebaf4967
chore(identity): fix main path in package.json
...
re #700
Former-commit-id: e01ffb80b6
2024-03-15 23:07:52 +00:00
cedoor
9e5c464237
feat(utils): new semaphore utilities + zk-kit replacements
...
The utils package will no longer provide errors and types utilities as those functions have been
moved to zk-kit. The utils package now provides a list of supported networks and a function to
decode messages instead.
re #642 , #641
Former-commit-id: d2ce1070f0
2024-03-15 23:07:44 +00:00
cedoor
2ea5d5c1cf
refactor(identity)!: new private key types
...
The type of the identities' private key will always be a string type, either text or hexadecimal
strings. This will allow devs to store private keys more easily and avoid confusion with types.
re #700
Former-commit-id: eead04e45d
2024-03-15 23:02:51 +00:00
Cedoor
e9e24b04d1
Merge pull request #711 from semaphore-protocol/ref/add-tree-depth-constants
...
Add tree depth constants to JavaScript libraries and Solidity contracts
Former-commit-id: d256905c0c
2024-03-15 17:20:29 +00:00
Vivian Plasencia
2c5b0641c7
docs: update code comments related to supported tree depths
...
re #683
Former-commit-id: c3b9b98370
2024-03-15 17:39:42 +01:00
Vivian Plasencia
9e6d386748
refactor(contracts): add a constants sol file to store the constants
...
re #683
Former-commit-id: 969f1ed809
2024-03-15 17:27:37 +01:00
Vivian Plasencia
546d9f9dd6
refactor(contracts): add constants for the supported tree depths in contracts
...
the semaphore contract has new constants to save the min and max supported tree depth
re #683
Former-commit-id: 8793958d75
2024-03-15 13:44:38 +01:00