-
Notifications
You must be signed in to change notification settings - Fork 0
feat: replaced siwe to complete remove ethers #150
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
Changes from all commits
04de549
4ab6cc6
2498d63
586309a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,9 @@ node_modules | |
| !.vscode/extensions.json | ||
| .cursor | ||
|
|
||
| /.env | ||
| /.env.local | ||
|
|
||
| # misc | ||
| /.sass-cache | ||
| /connect.lock | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| export const ENS_BY_API_KEY_CALLED = 'ENS_BY_API_KEY_CALLED'; | ||
|
|
||
| export interface EnsByApiKeyCalledPayload {} | ||
| export interface EnsByApiKeyCalledPayload { | ||
| /** Where in the UI the lookup was triggered (e.g. 'claim_section'). */ | ||
| location: string; | ||
| /** Number of domains returned for the supplied API key. */ | ||
| domainCount: number; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,10 @@ | ||
| export const CODE_COPIED = 'CODE_COPIED'; | ||
|
|
||
| export interface CodeCopiedPayload {} | ||
| export type CodeSnippet = 'integration' | 'dependencies'; | ||
|
|
||
| export interface CodeCopiedPayload { | ||
| /** Where in the UI the copy happened (e.g. 'code_section'). */ | ||
| location: string; | ||
| /** Which snippet was copied: the integration code or the install command. */ | ||
| snippet: CodeSnippet; | ||
| } |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,12 @@ | ||
| import { | ||
| DASHBOARD_LINK_CLICKED, | ||
| DashboardLinkClickedPayload, | ||
| } from './dashboard-link-clicked'; | ||
| import { DOCS_LINK_CLICKED, DocsLinkClickedPayload } from './docs-link-clicked'; | ||
| import { LINK_CLICKED, LinkClickedPayload } from './link-clicked'; | ||
| import { PROFILE_VIEWED, ProfileViewedPayload } from './profile-viewed'; | ||
|
|
||
| export const NAVIGATION_EVENTS = { | ||
| DOCS_LINK_CLICKED, | ||
| LINK_CLICKED, | ||
| PROFILE_VIEWED, | ||
| DASHBOARD_LINK_CLICKED, | ||
| } as const; | ||
|
|
||
| export interface NavigationEventPayload { | ||
| [DOCS_LINK_CLICKED]: DocsLinkClickedPayload; | ||
| [LINK_CLICKED]: LinkClickedPayload; | ||
| [PROFILE_VIEWED]: ProfileViewedPayload; | ||
| [DASHBOARD_LINK_CLICKED]: DashboardLinkClickedPayload; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| export const LINK_CLICKED = 'LINK_CLICKED'; | ||
|
|
||
| export type LinkTarget = 'docs' | 'dashboard'; | ||
|
|
||
| export interface LinkClickedPayload { | ||
| /** Which external destination the user navigated to. */ | ||
| target: LinkTarget; | ||
| /** Where in the UI the link lives (e.g. 'navbar', 'claim_section'). */ | ||
| location: string; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,9 @@ | ||
| export const NETWORK_CHANGED = 'NETWORK_CHANGED'; | ||
|
|
||
| export type NetworkName = 'mainnet' | 'sepolia'; | ||
|
|
||
| export interface NetworkChangedPayload { | ||
| chainId: number; | ||
| /** Human-readable network the user switched to. */ | ||
| network: NetworkName; | ||
| } |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,15 @@ | ||
| import { DENTITY_ENABLED, DentityEnabledPayload } from './dentity-enabled'; | ||
| import { DENTITY_DISABLED, DentityDisabledPayload } from './dentity-disabled'; | ||
| import { EFP_DISABLED, EfpDisabledPayload } from './efp-disabled'; | ||
| import { EFP_ENABLED, EfpEnabledPayload } from './efp-enabled'; | ||
| import { PLUGIN_TOGGLED, PluginToggledPayload } from './plugin-toggled'; | ||
| import { | ||
| JUST_VERIFIED_DISABLED, | ||
| JustVerifiedDisabledPayload, | ||
| } from './just-verified-disabled'; | ||
| import { | ||
| JUST_VERIFIED_ENABLED, | ||
| JustVerifiedEnabledPayload, | ||
| } from './just-verified-enabled'; | ||
| import { | ||
| JUST_VERIFIED_EVENTS, | ||
| JustVerifiedEventsPayload, | ||
| } from './justVerified'; | ||
| import { POAP_DISABLED, PoapDisabledPayload } from './poap-disabled'; | ||
| import { POAP_ENABLED, PoapEnabledPayload } from './poap-enabled'; | ||
| import { XMTP_DISABLED, XmtpDisabledPayload } from './xmtp-disabled'; | ||
| import { XMTP_ENABLED, XmtpEnabledPayload } from './xmtp-enabled'; | ||
| VERIFICATION_TOGGLED, | ||
| VerificationToggledPayload, | ||
| } from './verification-toggled'; | ||
|
|
||
| export const PLUGINS_EVENTS = { | ||
| JUST_VERIFIED_DISABLED, | ||
| JUST_VERIFIED_ENABLED, | ||
| EFP_DISABLED, | ||
| EFP_ENABLED, | ||
| POAP_DISABLED, | ||
| POAP_ENABLED, | ||
| XMTP_DISABLED, | ||
| XMTP_ENABLED, | ||
| DENTITY_DISABLED, | ||
| DENTITY_ENABLED, | ||
| ...JUST_VERIFIED_EVENTS, | ||
| PLUGIN_TOGGLED, | ||
| VERIFICATION_TOGGLED, | ||
| } as const; | ||
|
|
||
| export interface PluginsEventPayload extends JustVerifiedEventsPayload { | ||
| [JUST_VERIFIED_DISABLED]: JustVerifiedDisabledPayload; | ||
| [JUST_VERIFIED_ENABLED]: JustVerifiedEnabledPayload; | ||
| [EFP_DISABLED]: EfpDisabledPayload; | ||
| [EFP_ENABLED]: EfpEnabledPayload; | ||
| [POAP_DISABLED]: PoapDisabledPayload; | ||
| [POAP_ENABLED]: PoapEnabledPayload; | ||
| [XMTP_DISABLED]: XmtpDisabledPayload; | ||
| [XMTP_ENABLED]: XmtpEnabledPayload; | ||
| [DENTITY_DISABLED]: DentityDisabledPayload; | ||
| [DENTITY_ENABLED]: DentityEnabledPayload; | ||
| export interface PluginsEventPayload { | ||
| [PLUGIN_TOGGLED]: PluginToggledPayload; | ||
| [VERIFICATION_TOGGLED]: VerificationToggledPayload; | ||
| } |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| export const PLUGIN_TOGGLED = 'PLUGIN_TOGGLED'; | ||
|
|
||
| export type PluginName = | ||
| | 'efp' | ||
| | 'poap' | ||
| | 'xmtp' | ||
| | 'dentity' | ||
| | 'just_verified'; | ||
|
|
||
| export interface PluginToggledPayload { | ||
| plugin: PluginName; | ||
| enabled: boolean; | ||
| } |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| export const VERIFICATION_TOGGLED = 'VERIFICATION_TOGGLED'; | ||
|
|
||
| export type VerificationProvider = | ||
| | 'twitter' | ||
| | 'telegram' | ||
| | 'github' | ||
| | 'discord' | ||
| | 'email'; | ||
|
|
||
| export interface VerificationToggledPayload { | ||
| provider: VerificationProvider; | ||
| enabled: boolean; | ||
| } |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[WARNING] agentic/bug
The regex for
featcommits uses!?after the optional scope, meaning a breaking-change commit (feat!: ...orfeat(scope)!: ...) is classified asminorinstead ofmajor. The conventional-commit spec states that a!suffix denotes a breaking change which should bump the major version. The!should be detected as a separate case that setsSPECIFIER=majorbefore thefeatbranch, or the regex should differentiate it. Additionally,perf:andrefactor:types (commonly treated aspatch) andchore:are all silently treated aspatchby the fallback, which may or may not be intentional — worth documenting.Suggested fix: