chore: update dependencies + migrate to @iden3/react-native-rapidsnark 0.0.1-beta.2 (npm)#5
Draft
chore: update dependencies + migrate to @iden3/react-native-rapidsnark 0.0.1-beta.2 (npm)#5
Conversation
…beta.2 Co-authored-by: vmidyllic <74898029+vmidyllic@users.noreply.github.com> Agent-Logs-Url: https://github.com/0xPolygonID/js-sdk-react-native-tools/sessions/b294ddb0-959b-4199-bd50-d7c9010e2342
Co-authored-by: vmidyllic <74898029+vmidyllic@users.noreply.github.com> Agent-Logs-Url: https://github.com/0xPolygonID/js-sdk-react-native-tools/sessions/b294ddb0-959b-4199-bd50-d7c9010e2342
Copilot created this pull request from a session on behalf of
vmidyllic
March 23, 2026 11:35
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates from a local path reference to the published
@iden3/react-native-rapidsnark@0.0.1-beta.2npm package and updates all iden3/polygonid dependencies to their latest compatible versions.API Migration
The new rapidsnark package changed its native interface:
groth16_prover(byte array in-memory) →groth16Prove(zkey file path + base64 witness), andgroth16_verifyargument order changed.share/proof/prove.ts— writes proving key to a UUID-named temp file, calls new API, cleans up infinally:share/proof/verify.ts— swapped argument order to match new signature(proof, inputs, vk):Breaking API changes from updated packages
@iden3/js-jwz@1.13.1—ProvingMethodinterface now requiresget supportedCircuits(): string[]; added toProvingMethodGroth16AuthV2@0xpolygonid/js-sdk@1.43.0—AbstractPrivateKeyStorenow requireslist(): Promise<{alias, key}[]>; added toAppStoragePrivateKeyStoreDependency updates
@iden3/react-native-rapidsnark../react-native-rapidsnark(local)0.0.1-beta.2@0xpolygonid/js-sdk^1.7.5^1.43.0@iden3/js-jwz^1.1.2^1.13.1@iden3/js-iden3-core^1.1.0^1.8.0@iden3/js-jsonld-merklization^1.1.2^1.7.2@iden3/js-merkletree^1.1.2^1.5.1@iden3/js-crypto^1.0.3^1.3.2react-native0.72.60.72.17snarkjs^0.7.2^0.7.5rfc4648^1.5.3^1.5.4react-native-fs^2.20.0(new, required for zkey temp file I/O)iOS note
Podfile.lockneeds regeneration viapod installafter merge — the newreact-native-rapidsnarkpodspec adds a dependency on therapidsnarkCocoaPod (0.0.1-beta.2).