File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages/no-modal/src/base Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export const CONNECTOR_EVENTS = {
1515 CONNECTORS_UPDATED : "connectors_updated" ,
1616 MFA_ENABLED : "mfa_enabled" ,
1717 REHYDRATION_ERROR : "rehydration_error" ,
18+ AUTHORIZED : "authorized" ,
19+ AUTHORIZING : "authorizing" ,
1820} as const ;
1921
2022export const CONNECTOR_CATEGORY = {
Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ export interface UIConfig extends WhiteLabelData {
6262 uxMode ?: UX_MODE_TYPE ;
6363}
6464
65+ export type InitialAuthenticationModeType = "connect-only" | "connect-and-sign" ;
66+
6567export interface IWeb3AuthCoreOptions {
6668 /**
6769 * Client id for web3auth.
@@ -178,6 +180,12 @@ export interface IWeb3AuthCoreOptions {
178180 * MFA level for the auth connector
179181 */
180182 mfaLevel ?: MfaLevelType ;
183+
184+ /**
185+ * Initial authentication mode for the auth connector.
186+ * @defaultValue "connect-only"
187+ */
188+ initialAuthenticationMode ?: InitialAuthenticationModeType ;
181189}
182190
183191export type LoginParamMap = {
You can’t perform that action at this time.
0 commit comments