@dynamic-labs/sdk-react-core 2.0.0-alpha.31 → 2.0.0-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +14 -14
- package/src/index.d.ts +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +21 -6
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +16 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +17 -3
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +15 -1
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.cjs +19 -4
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.js +16 -1
- package/src/lib/context/DynamicContext/DynamicContext.cjs +17 -17
- package/src/lib/context/DynamicContext/DynamicContext.js +3 -3
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +6 -6
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +5 -5
- package/src/lib/context/FundingContext/FundingContext.cjs +6 -6
- package/src/lib/context/FundingContext/FundingContext.js +5 -5
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +4 -4
- package/src/lib/context/PasskeyContext/PasskeyContext.js +3 -3
- package/src/lib/data/api/api.cjs +24 -0
- package/src/lib/data/api/api.d.ts +2 -0
- package/src/lib/data/api/api.js +20 -0
- package/src/lib/data/api/email/email.cjs +118 -0
- package/src/lib/data/api/email/email.d.ts +26 -0
- package/src/lib/data/api/email/email.js +110 -0
- package/src/lib/data/api/email/index.d.ts +1 -0
- package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +191 -0
- package/src/lib/data/api/embeddedWallets/embeddedWallets.d.ts +30 -0
- package/src/lib/data/api/embeddedWallets/embeddedWallets.js +177 -0
- package/src/lib/data/api/embeddedWallets/index.d.ts +2 -0
- package/src/lib/data/api/embeddedWallets/types.d.ts +39 -0
- package/src/lib/data/api/index.d.ts +10 -0
- package/src/lib/data/api/oauth/index.d.ts +1 -0
- package/src/lib/data/api/oauth/oauth.cjs +136 -0
- package/src/lib/data/api/oauth/oauth.d.ts +11 -0
- package/src/lib/data/api/oauth/oauth.js +128 -0
- package/src/lib/data/api/onramp/index.d.ts +1 -0
- package/src/lib/data/api/onramp/onramp.cjs +22 -0
- package/src/lib/data/api/onramp/onramp.d.ts +8 -0
- package/src/lib/data/api/onramp/onramp.js +18 -0
- package/src/lib/data/api/session/index.d.ts +1 -0
- package/src/lib/data/api/session/session.cjs +77 -0
- package/src/lib/data/api/session/session.d.ts +17 -0
- package/src/lib/data/api/session/session.js +69 -0
- package/src/lib/data/api/settings/index.d.ts +1 -0
- package/src/lib/data/api/settings/settings.cjs +58 -0
- package/src/lib/data/api/settings/settings.d.ts +7 -0
- package/src/lib/data/api/settings/settings.js +53 -0
- package/src/lib/data/api/sms/index.d.ts +1 -0
- package/src/lib/data/api/sms/sms.cjs +102 -0
- package/src/lib/data/api/sms/sms.d.ts +32 -0
- package/src/lib/data/api/sms/sms.js +95 -0
- package/src/lib/data/api/user/index.d.ts +1 -0
- package/src/lib/data/api/user/user.cjs +77 -0
- package/src/lib/data/api/user/user.d.ts +9 -0
- package/src/lib/data/api/user/user.js +71 -0
- package/src/lib/data/api/utils.cjs +20 -0
- package/src/lib/data/api/utils.d.ts +1 -0
- package/src/lib/data/api/utils.js +16 -0
- package/src/lib/data/api/wallets/index.d.ts +1 -0
- package/src/lib/data/api/wallets/wallets.cjs +137 -0
- package/src/lib/data/api/wallets/wallets.d.ts +10 -0
- package/src/lib/data/api/wallets/wallets.js +130 -0
- package/src/lib/data/index.d.ts +1 -0
- package/src/lib/shared/types/dynamicEventsCallbacks.d.ts +3 -4
- package/src/lib/shared/types/general.d.ts +1 -0
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +18 -4
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +15 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +6 -4
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +5 -3
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +4 -3
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.d.ts +3 -3
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +3 -2
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +4 -2
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +3 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +6 -6
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +3 -3
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +4 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +3 -3
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +4 -4
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +3 -3
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +6 -4
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +3 -1
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +6 -6
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +3 -3
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.d.ts +4 -4
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +8 -8
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +3 -3
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.cjs +9 -6
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +4 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +4 -4
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +3 -3
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +7 -7
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +3 -3
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +4 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +3 -3
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +5 -5
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +3 -3
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +4 -4
- package/src/lib/views/EmailUpdate/EmailUpdate.js +3 -3
- package/src/lib/views/EmailVerification/EmailVerification.cjs +11 -11
- package/src/lib/views/EmailVerification/EmailVerification.js +3 -3
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +4 -2
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +3 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +3 -3
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +2 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +7 -7
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +3 -3
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +4 -4
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +3 -3
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +4 -2
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +3 -1
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.cjs +4 -2
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.js +3 -1
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +11 -8
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +5 -2
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/index.d.ts +1 -0
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +4 -4
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +2 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +4 -4
- package/src/lib/views/WalletUsedView/WalletUsedView.js +3 -3
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +6 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +6 -2
- package/src/lib/data/api.cjs +0 -797
- package/src/lib/data/api.d.ts +0 -179
- package/src/lib/data/api.js +0 -753
package/src/lib/data/api.d.ts
DELETED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { ProjectSettings, UserFields, ChainEnum, UpdateSelfResponse, WalletProviderEnum, AuthModeEnum, EmailVerificationCreateResponse, VerifyResponse, OauthRequest, OauthResultRequest, ProviderEnum, OnrampConfiguration, EmailProviderResponse, OauthResultResponse, PasskeyRegistrationCredential, ExportEmbeddedWalletResponse, EmbeddedWalletAuthType, SmsVerificationCreateResponse, FarcasterSignInRequest, UpdateRecoveryEmailRequest } from '@dynamic-labs/sdk-api-core';
|
|
2
|
-
import { AuthenticatorType } from '@dynamic-labs/wallet-connector-core';
|
|
3
|
-
import { AuthModeType, VerifyWallet } from '../shared/types';
|
|
4
|
-
export declare const fetchNonce: (environmentId: string) => Promise<string | undefined>;
|
|
5
|
-
export declare const getEmailProvider: ({ email, environmentId, }: {
|
|
6
|
-
email: string;
|
|
7
|
-
environmentId: string;
|
|
8
|
-
}) => Promise<EmailProviderResponse>;
|
|
9
|
-
export declare const createEmailVerification: ({ email, environmentId, captchaToken, }: {
|
|
10
|
-
email: string;
|
|
11
|
-
environmentId: string;
|
|
12
|
-
captchaToken?: string | undefined;
|
|
13
|
-
}) => Promise<EmailVerificationCreateResponse>;
|
|
14
|
-
export declare const signInWithEmailVerification: ({ verificationToken, verificationUUID, environmentId, captchaToken, }: {
|
|
15
|
-
environmentId: string;
|
|
16
|
-
verificationToken: string;
|
|
17
|
-
verificationUUID: string;
|
|
18
|
-
captchaToken?: string | undefined;
|
|
19
|
-
}) => Promise<VerifyResponse>;
|
|
20
|
-
export declare const retryEmailVerification: ({ email, environmentId, verificationUUID, }: {
|
|
21
|
-
email: string;
|
|
22
|
-
environmentId: string;
|
|
23
|
-
verificationUUID: string;
|
|
24
|
-
}) => Promise<EmailVerificationCreateResponse>;
|
|
25
|
-
export declare const verifyEmail: ({ verificationToken, verificationUUID, environmentId, }: {
|
|
26
|
-
environmentId: string;
|
|
27
|
-
verificationToken: string;
|
|
28
|
-
verificationUUID: string;
|
|
29
|
-
}, userJwt: string) => Promise<UpdateSelfResponse>;
|
|
30
|
-
export declare const revokeSession: ({ environmentId, sessionId, }: {
|
|
31
|
-
environmentId: string;
|
|
32
|
-
sessionId: string;
|
|
33
|
-
}, userJwt: string) => Promise<void>;
|
|
34
|
-
export declare const linkWallet: (environmentId: string, { messageToSign, network, signedMessage, publicWalletAddress, chain, walletName, walletProvider, additionalWalletAddresses, backup, password, passwordSource, }: VerifyWallet, userJwt: string) => Promise<VerifyResponse | undefined>;
|
|
35
|
-
export declare const unlinkWallet: ({ environmentId, primaryWalletId, walletId, }: {
|
|
36
|
-
environmentId: string;
|
|
37
|
-
primaryWalletId: string | undefined;
|
|
38
|
-
walletId: string;
|
|
39
|
-
}, userJwt: string) => Promise<VerifyResponse | undefined>;
|
|
40
|
-
export declare const transferWallet: (environmentId: string, { network, messageToSign, signedMessage, publicWalletAddress, chain, walletName, walletProvider, skipEmptyAccountCheck, }: VerifyWallet, userJwt: string) => Promise<VerifyResponse | undefined>;
|
|
41
|
-
export declare const mapChainToChainEnum: (chain: string) => ChainEnum;
|
|
42
|
-
export declare const mapProviderToProviderEnum: (provider: string) => WalletProviderEnum;
|
|
43
|
-
export declare const mapAuthModeTypeToEnum: (authMode: string) => AuthModeEnum;
|
|
44
|
-
export declare const createVisit: ({ authMode, chain, environmentId, walletProvider, publicWalletAddress, walletName, }: {
|
|
45
|
-
authMode: AuthModeType;
|
|
46
|
-
chain: string;
|
|
47
|
-
environmentId: string;
|
|
48
|
-
publicWalletAddress: string;
|
|
49
|
-
walletName: string;
|
|
50
|
-
walletProvider: string;
|
|
51
|
-
}) => Promise<void | undefined>;
|
|
52
|
-
export declare const verifyWallet: (environmentId: string, { messageToSign, signedMessage, publicWalletAddress, chain, walletName, walletProvider, captchaToken, network, oauth, additionalWalletAddresses, }: VerifyWallet) => Promise<VerifyResponse | undefined>;
|
|
53
|
-
export declare const fetchProjectSettings: (environmentId: string) => Promise<ProjectSettings | undefined>;
|
|
54
|
-
export declare const updateUserProfileFields: (jwt: string | undefined, environmentId: string, fields: UserFields) => Promise<UpdateSelfResponse>;
|
|
55
|
-
export declare const getOauthLoginUrl: (environmentId: string, providerType: ProviderEnum, userJwt: string) => Promise<string | undefined>;
|
|
56
|
-
export declare const verifyOAuth: (environmentId: string, providerType: ProviderEnum, { code, codeVerifier, state }: OauthRequest, userJwt: string) => Promise<VerifyResponse | undefined>;
|
|
57
|
-
export declare const unlinkOAuth: ({ environmentId, primaryWalletId, verifiedCrentialId, }: {
|
|
58
|
-
environmentId: string;
|
|
59
|
-
primaryWalletId: string | undefined;
|
|
60
|
-
verifiedCrentialId: string;
|
|
61
|
-
}, userJwt: string) => Promise<VerifyResponse | undefined>;
|
|
62
|
-
export declare const signInOAuth: (environmentId: string, providerType: ProviderEnum, { code, codeVerifier, state, captchaToken }: OauthRequest) => Promise<VerifyResponse | undefined>;
|
|
63
|
-
export declare const getOAuthResult: (environmentId: string, providerType: ProviderEnum, { state }: OauthResultRequest) => Promise<OauthResultResponse | undefined>;
|
|
64
|
-
export declare const getOnrampProviders: ({ chain, environmentId, networkId, token, walletAddress, }: {
|
|
65
|
-
chain: string;
|
|
66
|
-
environmentId: string;
|
|
67
|
-
networkId?: string | number | undefined;
|
|
68
|
-
token?: string | undefined;
|
|
69
|
-
walletAddress: string;
|
|
70
|
-
}) => Promise<OnrampConfiguration[]>;
|
|
71
|
-
export declare const sendDynamicProps: (environmentId: string, settingsToSend: {
|
|
72
|
-
dynamicContextProps?: object;
|
|
73
|
-
dynamicWagmiSettings?: object;
|
|
74
|
-
frameworkSettings?: object;
|
|
75
|
-
}) => Promise<void>;
|
|
76
|
-
export declare const mergeUserAccounts: (userJwt: string, environmentId: string) => Promise<VerifyResponse | undefined>;
|
|
77
|
-
export type CreateTurnkeyEmbeddedWalletProps = {
|
|
78
|
-
userJwt: string;
|
|
79
|
-
environmentId: string;
|
|
80
|
-
attestation?: PasskeyRegistrationCredential;
|
|
81
|
-
challenge?: string;
|
|
82
|
-
chains?: ChainEnum[];
|
|
83
|
-
passkeyAlias?: string;
|
|
84
|
-
};
|
|
85
|
-
export declare const createTurnkeyEmbeddedWallet: ({ attestation, challenge, environmentId, userJwt, chains, passkeyAlias, }: CreateTurnkeyEmbeddedWalletProps) => Promise<VerifyResponse>;
|
|
86
|
-
export type InitPasskeyRecoveryProps = {
|
|
87
|
-
authenticatorType: AuthenticatorType;
|
|
88
|
-
userJwt: string;
|
|
89
|
-
environmentId: string;
|
|
90
|
-
walletId: string;
|
|
91
|
-
publicKey: string;
|
|
92
|
-
};
|
|
93
|
-
export declare const initEmbeddedWalletSession: ({ authenticatorType, walletId, publicKey, environmentId, userJwt, }: InitPasskeyRecoveryProps) => Promise<import("@dynamic-labs/sdk-api-core").InitPasskeyRecoveryResponse | import("@dynamic-labs/sdk-api-core").InitEmailAuthResponse>;
|
|
94
|
-
export type CompletePasskeyRecoveryProps = {
|
|
95
|
-
userJwt: string;
|
|
96
|
-
environmentId: string;
|
|
97
|
-
walletId: string;
|
|
98
|
-
attestation: PasskeyRegistrationCredential;
|
|
99
|
-
challenge: string;
|
|
100
|
-
};
|
|
101
|
-
export declare const completePasskeyRecovery: ({ walletId, attestation, challenge, environmentId, userJwt, }: CompletePasskeyRecoveryProps) => Promise<VerifyResponse>;
|
|
102
|
-
export type UpdatePasskeyRecoveryEmailProps = {
|
|
103
|
-
userJwt: string;
|
|
104
|
-
environmentId: string;
|
|
105
|
-
updateRecoveryEmailRequest: UpdateRecoveryEmailRequest;
|
|
106
|
-
};
|
|
107
|
-
export declare const updatePasskeyRecoveryEmail: ({ userJwt, environmentId, updateRecoveryEmailRequest, }: UpdatePasskeyRecoveryEmailProps) => Promise<void>;
|
|
108
|
-
export type GetUserPasskeysProps = {
|
|
109
|
-
userJwt: string;
|
|
110
|
-
environmentId: string;
|
|
111
|
-
};
|
|
112
|
-
export declare const getUserPasskeys: ({ userJwt, environmentId, }: GetUserPasskeysProps) => Promise<import("@dynamic-labs/sdk-api-core").GetUserPasskeysResponse>;
|
|
113
|
-
export type updateUserPasskeysProps = {
|
|
114
|
-
userJwt: string;
|
|
115
|
-
environmentId: string;
|
|
116
|
-
id: string;
|
|
117
|
-
alias: string;
|
|
118
|
-
};
|
|
119
|
-
export declare const updateUserPasskey: ({ userJwt, environmentId, id, alias, }: updateUserPasskeysProps) => Promise<import("@dynamic-labs/sdk-api-core").UserPasskey | undefined>;
|
|
120
|
-
export declare const exportEmbeddedWallet: ({ userJwt, environmentId, walletId, activityId, }: {
|
|
121
|
-
userJwt: string;
|
|
122
|
-
environmentId: string;
|
|
123
|
-
walletId: string;
|
|
124
|
-
activityId: string;
|
|
125
|
-
}) => Promise<ExportEmbeddedWalletResponse>;
|
|
126
|
-
export declare const getWalletAuthToken: ({ environmentId, type, }: {
|
|
127
|
-
environmentId: string;
|
|
128
|
-
type: EmbeddedWalletAuthType | undefined;
|
|
129
|
-
}, userJwt: string) => Promise<string | undefined>;
|
|
130
|
-
export declare const getEmbeddedWalletBackup: ({ environmentId, }: {
|
|
131
|
-
environmentId: string;
|
|
132
|
-
}, userJwt: string) => Promise<string | undefined>;
|
|
133
|
-
export declare const getEmbeddedWalletPasscode: ({ environmentId, }: {
|
|
134
|
-
environmentId: string;
|
|
135
|
-
}, userJwt: string) => Promise<string | undefined>;
|
|
136
|
-
export declare const claimEmbeddedWallet: ({ environmentId, walletId, }: {
|
|
137
|
-
environmentId: string;
|
|
138
|
-
walletId: string;
|
|
139
|
-
}, userJwt: string) => Promise<VerifyResponse | {
|
|
140
|
-
code: string;
|
|
141
|
-
}>;
|
|
142
|
-
export declare const refreshUserJwt: ({ environmentId, }: {
|
|
143
|
-
environmentId: string;
|
|
144
|
-
}, userJwt: string) => Promise<{
|
|
145
|
-
jwt: string;
|
|
146
|
-
minifiedJwt: string;
|
|
147
|
-
} | undefined>;
|
|
148
|
-
export declare const createSmsVerification: ({ isoCountryCode, phoneNumber, phoneCountryCode, environmentId, captchaToken, }: {
|
|
149
|
-
/** The iso2 of the country ex: US, FR or BR */
|
|
150
|
-
isoCountryCode: string;
|
|
151
|
-
/** The country code ex: 1, 33, or 55 */
|
|
152
|
-
phoneCountryCode: string;
|
|
153
|
-
/** Only the phone number, without country code or anything but digits */
|
|
154
|
-
phoneNumber: string;
|
|
155
|
-
environmentId: string;
|
|
156
|
-
captchaToken?: string | undefined;
|
|
157
|
-
}) => Promise<SmsVerificationCreateResponse>;
|
|
158
|
-
export declare const signInWithSmsVerification: ({ verificationToken, verificationUUID, environmentId, captchaToken, }: {
|
|
159
|
-
environmentId: string;
|
|
160
|
-
verificationToken: string;
|
|
161
|
-
verificationUUID: string;
|
|
162
|
-
captchaToken?: string | undefined;
|
|
163
|
-
}) => Promise<VerifyResponse>;
|
|
164
|
-
export declare const retrySmsVerification: ({ isoCountryCode, phoneCountryCode, phoneNumber, environmentId, verificationUUID, }: {
|
|
165
|
-
/** The iso2 of the country ex: US, FR or BR */
|
|
166
|
-
isoCountryCode: string;
|
|
167
|
-
/** The country code ex: 1, 33, or 55 */
|
|
168
|
-
phoneCountryCode: string;
|
|
169
|
-
/** Only the phone number, without country code or anything but digits */
|
|
170
|
-
phoneNumber: string;
|
|
171
|
-
environmentId: string;
|
|
172
|
-
verificationUUID: string;
|
|
173
|
-
}) => Promise<SmsVerificationCreateResponse>;
|
|
174
|
-
export declare const verifySms: ({ verificationToken, verificationUUID, environmentId, }: {
|
|
175
|
-
environmentId: string;
|
|
176
|
-
verificationToken: string;
|
|
177
|
-
verificationUUID: string;
|
|
178
|
-
}, userJwt: string) => Promise<UpdateSelfResponse>;
|
|
179
|
-
export declare const farcasterSignIn: (environmentId: string, farcasterSignInRequest: FarcasterSignInRequest) => Promise<VerifyResponse | undefined>;
|