chore: bump world-id-protocol to v0.11.0#406
Merged
Merged
Conversation
Kemperino
previously approved these changes
May 18, 2026
c24ae3a to
23a7f77
Compare
This was referenced May 18, 2026
Merged
Kemperino
approved these changes
May 18, 2026
chipp
approved these changes
May 18, 2026
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.
Bumps
world-id-coreandworld-id-prooffrom0.10.2to0.11.0, adapting to the breakingConfigAPI from worldcoin/world-id-protocol#729.What changes
Cargo.toml: bumpworld-id-coreandworld-id-proofto0.11.0.walletkit-core/src/defaults.rs: drop theAuthenticatorConfigimpl (the type was removed upstream) and rewriteimpl DefaultConfig for Configto build aConfigdirectly withServiceEndpoint::Ohttp { url, relay_url, key_config_base64 }for both indexer (per-region) and gateway (US-pinned).walletkit-core/src/authenticator/mod.rs: passConfigdirectly intoCoreAuthenticator::{init, register}; replaceAuthenticatorConfig::{from_environment, from_json}withConfig::{from_environment, from_json}in the four affected constructors.ServiceEndpointandProofTypethrough fixtures that constructConfig/ProofRequestdirectly.Notable side effect: OHTTP regression fix
Walletkit
0.17.0regressedAuthenticator::init_with_defaultsso that OHTTP was silently dropped from the default config (From<Config> for AuthenticatorConfigsetohttp_indexer/ohttp_gatewaytoNone). The upstream refactor removesAuthenticatorConfigand the lossyFrom<Config>seam outright, soinit_with_defaultsonce again ships OHTTP for the default config.Wire-level break for JSON-init callers
Authenticator::init(seed, config: &str, ...)andregister(seed, config: &str, ...)consume JSON. The upstreamConfig::from_jsonshape differs from the oldAuthenticatorConfig::from_json:indexer_url/gateway_urlflat strings + optionalohttp_indexer/ohttp_gatewayobjects.indexer/gatewayas internally-tagged enum objects:{"type":"direct","url":...}or{"type":"ohttp","url":...,"relay_url":...,"key_config_base64":...}.Consumer impact:
init_with_defaults/register_with_defaultsexclusively — no impact.ProofType (no walletkit work needed)
world-id-protocol v0.11.0 also adds a
proof_type: ProofTypefield onProofRequest(PRs #711 / #712). The field has#[serde(default)]withProofType::Uniquenessas the default, so existing RP JSON payloads deserialise unchanged. Walletkit'sAuthenticator::generate_proofalready delegates to the core authenticator, which now branches onproof_typeinternally — for uniqueness requests behaviour is identical. Tests that constructProofRequestdirectly (not via JSON) are updated to set the field explicitly.Supress deprecation warnings for recovery agent update flow authenticator methods
#[allow(deprecated)]to recovery agent update methodsOut of scope