feat: add allow, deny, featured lists for wallet discovery#39
feat: add allow, deny, featured lists for wallet discovery#39stevesarmiento merged 3 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📊 Coverage ReportConnectorKit Packages Test Results Coverage reports have been generated for all packages. 📁 View Coverage ArtifactsCoverage reports have been generated for all packages:
|
Greptile SummaryAdds wallet filtering and prioritization controls to the Wallet Standard auto-discovery system. Developers can now configure Key Changes:
Implementation Quality:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant ConnectorClient
participant WalletDetector
participant WalletStandardRegistry
participant Config
User->>ConnectorClient: initialize(config)
ConnectorClient->>Config: wallets: { allowList, denyList, featured }
ConnectorClient->>WalletDetector: setAdditionalWallets(additionalWallets)
ConnectorClient->>WalletDetector: setWalletDisplayConfig(config.wallets)
ConnectorClient->>WalletDetector: initialize()
WalletDetector->>WalletStandardRegistry: get()
WalletStandardRegistry-->>WalletDetector: [all registered wallets]
WalletDetector->>WalletDetector: filter(isSolanaWallet)
WalletDetector->>WalletDetector: deduplicateWallets()
WalletDetector->>WalletDetector: applyWalletDisplayConfig()
Note over WalletDetector: 1. Normalize wallet names (trim, lowercase)<br/>2. Apply denyList filter<br/>3. Apply allowList filter (if provided)<br/>4. Apply featured ordering
WalletDetector->>WalletDetector: updateConnectorRegistry(filtered)
WalletDetector->>ConnectorClient: updateState({ connectors, wallets })
ConnectorClient-->>User: initialized with filtered wallets
WalletStandardRegistry->>WalletDetector: on('register', newWallet)
WalletDetector->>WalletDetector: applyWalletDisplayConfig()
WalletDetector->>ConnectorClient: updateState()
|
Greptile's behavior is changing!From now on, if a review finishes with no comments, we will not post an additional "statistics" comment to confirm that our review found nothing to comment on. However, you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
|
Amazing work @stevesarmiento. I'll surely test this out and happy to contribute more to make Connector Kit better |
No description provided.