Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: use capabilities instead of connector.id for feature detection #1069

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

kirkas
Copy link
Collaborator

@kirkas kirkas commented Oct 14, 2024

No description provided.

Copy link

vercel bot commented Oct 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
base-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 2:41pm
web-base-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2024 2:41pm

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Oct 14, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

chain: Chain;
};

export default function useCapabilitiesSafe({ chain }: UseCapabilitiesSafeProps) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment about what makes this "safe"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(as opposed to some other mechanism of checking that wouldn't be safe)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's in the comment above !

@kirkas kirkas merged commit 2e1c887 into master Oct 14, 2024
8 checks passed
@kirkas kirkas deleted the fix/use-capabilities-safe branch October 14, 2024 15:20
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.

4 participants