Skip to content

feat: rename FND constants to match web @toruslabs/constants - #13

Open
grvgoel81 wants to merge 1 commit into
masterfrom
feat/EMBED-405-rename-fnd-constants
Open

feat: rename FND constants to match web @toruslabs/constants#13
grvgoel81 wants to merge 1 commit into
masterfrom
feat/EMBED-405-rename-fnd-constants

Conversation

@grvgoel81

@grvgoel81 grvgoel81 commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Aligns fetch-node-details-java constants with @toruslabs/constants 16.x (EMBED-405).
  • Replaces FND_SERVER, SESSION_SERVER, METADATA_MAP, SIGNER_MAP, and NETWORK_MAP with the web maps: FND_SERVER_MAP, STORAGE_SERVER_MAP, STORAGE_SERVER_SOCKET_URL_MAP, LEGACY_METADATA_MAP, DASHBOARD_PUBLIC_API_MAP, and CITADEL_SERVER_MAP (keyed by BuildEnv).
  • Adds BuildEnv, KeyType, SigType, LegacyNetwork, and SapphireNetwork. FetchNodeDetails now calls ${FND_SERVER_MAP[buildEnv]}/node-details with keyType and sigType (defaults unchanged: sapphire mainnet, production, secp256k1).

Breaking changes

  • callers of Utils.FND_SERVER, SESSION_SERVER, METADATA_MAP, SIGNER_MAP, or NETWORK_MAP must switch to the new maps. Legacy metadata host is now https://api.web3auth.io/metadata-service.

@grvgoel81 grvgoel81 self-assigned this Sep 2, 2026
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