Rename KYC references to be platform agnostic#1947
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughRenames and re-exports migrate a Didit-centric KYC integration to KYC-branded APIs across mobile and web: hooks, service APIs, types, tests, logs, error-injection keys, docs, and manifest comments. Control flow and functionality remain unchanged. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: eb2de95b-edca-4c9e-a248-167f8c5fb448
📒 Files selected for processing (31)
.claude/skills/spec-from-audit/SKILL.mdCLAUDE.mdapp/android/app/src/debug/AndroidManifest.xmlapp/android/app/src/main/AndroidManifest.xmlapp/src/hooks/useKycLauncher.tsapp/src/hooks/useKycWebSocket.tsapp/src/hooks/usePendingKycRecovery.tsapp/src/integrations/kyc/index.tsapp/src/integrations/kyc/kycService.tsapp/src/integrations/kyc/types.tsapp/src/providers/selfClientProvider.tsxapp/src/screens/documents/aadhaar/AadhaarUploadErrorScreen.tsxapp/src/screens/documents/scanning/DocumentCameraTroubleScreen.tsxapp/src/screens/documents/scanning/DocumentNFCTroubleScreen.tsxapp/src/screens/documents/scanning/RegistrationFallbackMRZScreen.tsxapp/src/screens/documents/scanning/RegistrationFallbackNFCScreen.tsxapp/src/screens/documents/selection/LogoConfirmationScreen.tsxapp/src/screens/kyc/KycSuccessScreen.tsxapp/src/stores/errorInjectionStore.tsapp/tests/src/hooks/usePendingKycRecovery.test.tsapp/tests/src/navigation.test.tsxapp/tests/src/screens/kyc/KycSuccessScreen.test.tsxcommon/src/utils/types.tscontracts/contracts/constants/AttestationId.soldocs/maintenance/tech-debt-baseline.jsonpackages/webview-app/src/screens/onboarding/ProviderLaunchScreen.tsxpackages/webview-app/src/utils/kycAttestation.tspackages/webview-app/src/utils/kycProvider.tspurple/global/authentication.mdpurple/global/external-services.mdpurple/temp/codebase-analysis.md
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 04c0eaf6-4fd9-4af8-b116-726ca35e1267
📒 Files selected for processing (7)
app/src/hooks/useKycWebSocket.tsapp/src/providers/selfClientProvider.tsxpackages/webview-app/src/screens/onboarding/ProviderLaunchScreen.tsxpackages/webview-app/src/utils/kycAttestation.tspackages/webview-app/src/utils/kycProvider.tsspecs/projects/sdk/workstreams/kmp-revival/SPEC.mdspecs/projects/sdk/workstreams/sdk-distribution/SPEC.md
✅ Files skipped from review due to trivial changes (3)
- specs/projects/sdk/workstreams/kmp-revival/SPEC.md
- specs/projects/sdk/workstreams/sdk-distribution/SPEC.md
- packages/webview-app/src/screens/onboarding/ProviderLaunchScreen.tsx
🚧 Files skipped from review as they are similar to previous changes (3)
- packages/webview-app/src/utils/kycAttestation.ts
- app/src/providers/selfClientProvider.tsx
- app/src/hooks/useKycWebSocket.ts
Summary
kycnaming across the RN app and WebView, keeping Didit naming only where it directly wraps the vendor SDKkycinstead ofdidit/SumsubChanges
React Native app
app/src/integrations/didit/→kyc/(service, types, index)useDiditLauncher→useKycLauncher,useDiditWebSocket→useKycWebSocketdidit_*tokyc_*with updated labels and log prefixesWebView app
diditProvider.ts→kycProvider.ts,diditAttestation.ts→kycAttestation.tsCommon/shared
PendingKycStatuscomments incommon/src/utils/types.tsfrom "didit" to "KYC"Contracts
Docs/config
CLAUDE.mdandspec-from-audit/SKILL.mdexample file pathspurple/docs andtech-debt-baseline.jsonto reflect Didit providerLinear Issues
Test Plan
cd app && yarn typescd packages/webview-app && yarn buildcd packages/mobile-sdk-alpha && yarn testusePendingKycRecovery.test.ts,KycSuccessScreen.test.tsxdiditreferences outside vendor-specific code:rg -i '\bdidit\b' --type-not lock -g '*.{ts,tsx}' | grep -v '@didit-protocol\|verify\.didit\.me\|DIDIT_HOST\|DIDIT_TEE_URL\|DiditSdk\|provider.*didit\|didit-tee'Native Consolidation Checklist
cd app && yarn jest:run/yarn workspace @selfxyz/rn-sdk-test-app test)🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Chores