Skip to content

fix(data): strengthen event argument checks and add explicit type annotations - #1036

Open
MozirDmitriy wants to merge 1 commit into
semaphore-protocol:mainfrom
MozirDmitriy:spensome
Open

MozirDmitriy wants to merge 1 commit into
semaphore-protocol:mainfrom
MozirDmitriy:spensome

Conversation

@MozirDmitriy

Copy link
Copy Markdown
  • Replaced truthy checks with explicit guards against undefined/null for index, startIndex, blockNumber, newIdentityCommitment, and identityCommitment.
  • Added explicit type annotation in .map((i) => i.toString()) to remove implicit any.

This branch was successfully deployed

2 active deployments
Preview – semaphore-docs — 22953ab2 Deployed Aug 25, 2025 by vercel[bot]
Preview – semaphore-website — 22953ab2 Deployed Aug 25, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant