Closed fricoben closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app-starknet-id | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 28, 2024 9:21am |
sepolia-app-starknet-id | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 28, 2024 9:21am |
The pull request introduces several modifications across multiple components and utility functions, primarily focusing on changing the source URLs for identicon images from dynamic environment variables to hardcoded static URLs. This affects the ExternalDomainCard
, SelectIdentity
, IdentitiesGalleryV1
, and various utility functions, simplifying the URL construction process. Additionally, there are enhancements to error handling in the Identity
class. No other logic or control flow changes are made in the affected components.
File Path | Change Summary |
---|---|
components/domains/externalDomainCard.tsx | Changed image source URL from dynamic (process.env.NEXT_PUBLIC_STARKNET_ID ) to static (https://identicon.starknet.id/0 ). |
components/domains/selectIdentity.tsx | Updated identicon image URLs in MenuItem components from dynamic to static (https://identicon.starknet.id/${tokenId} ). |
components/identities/identitiesGalleryV1.tsx | Modified default image URL in getIdentityImage function from dynamic to static (https://identicon.starknet.id/0 ). |
tests/utils/userDataService.test.js | Altered defaultUrl in getPfpFromFullId function from dynamic (STARKNET_ID_URL ) to static (https://identicon.starknet.id/ ). |
utils/apiWrappers/identity.ts | Changed identiconsUrl construction from dynamic to static URL. Enhanced error handling in evmAddress getter. |
utils/userDataService.ts | Updated URL construction in getPfpFromFullId function from dynamic to static (https://identicon.starknet.id/${identity.id} ). |
IdentitiesGalleryV1
component in the main PR are related to the modifications in the IdentitiesGalleryV1
component in the retrieved PR, as both involve altering how URLs for identicons are constructed, transitioning from dynamic to static URLs.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Chores