Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magic-sdk/types

Package Overview
Dependencies
Maintainers
19
Versions
566
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic-sdk/types - npm Package Compare versions

Comparing version 24.7.0 to 24.7.1-canary.810.10880443236.0

2

./dist/cjs/index.js

@@ -1,2 +0,2 @@

"use strict";var m=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var Q=Object.prototype.hasOwnProperty;var X=(l,t)=>{for(var a in t)m(l,a,{get:t[a],enumerable:!0})},z=(l,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of j(t))!Q.call(l,r)&&r!==a&&m(l,r,{get:()=>t[r],enumerable:!(i=B(t,r))||i.enumerable});return l};var Z=l=>z(m({},"__esModule",{value:!0}),l);var $={};X($,{AuthEventOnReceived:()=>F,DeepLinkPage:()=>A,DeviceVerificationEventEmit:()=>b,DeviceVerificationEventOnReceived:()=>O,EnableMFAEventEmit:()=>V,EnableMFAEventOnReceived:()=>D,EthChainType:()=>G,Events:()=>v,FarcasterLoginEventEmit:()=>U,LoginWithEmailOTPEventEmit:()=>T,LoginWithEmailOTPEventOnReceived:()=>h,LoginWithMagicLinkEventEmit:()=>I,LoginWithMagicLinkEventOnReceived:()=>N,LoginWithSmsOTPEventEmit:()=>y,LoginWithSmsOTPEventOnReceived:()=>R,MagicIncomingWindowMessage:()=>E,MagicOutgoingWindowMessage:()=>x,MagicPayloadMethod:()=>g,NftCheckoutIntermediaryEvents:()=>W,RPCErrorCode:()=>u,RecencyCheckEventEmit:()=>S,RecencyCheckEventOnReceived:()=>k,RecoveryMethodType:()=>q,SDKErrorCode:()=>_,SDKWarningCode:()=>d,UiEventsEmit:()=>Y,UpdateEmailEventEmit:()=>L,UpdateEmailEventOnReceived:()=>w,UserEventsEmit:()=>C,UserEventsOnReceived:()=>H,WalletEventOnReceived:()=>J,Wallets:()=>f});module.exports=Z($);var _=(o=>(o.MissingApiKey="MISSING_API_KEY",o.ModalNotReady="MODAL_NOT_READY",o.MalformedResponse="MALFORMED_RESPONSE",o.InvalidArgument="INVALID_ARGUMENT",o.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",o.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",o))(_||{}),d=(s=>(s.SyncWeb3Method="SYNC_WEB3_METHOD",s.DuplicateIframe="DUPLICATE_IFRAME",s.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",s.DeprecationNotice="DEPRECATION_NOTICE",s.ProductAnnouncement="ANNOUNCEMENT",s))(d||{}),u=(n=>(n[n.ParseError=-32700]="ParseError",n[n.InvalidRequest=-32600]="InvalidRequest",n[n.MethodNotFound=-32601]="MethodNotFound",n[n.InvalidParams=-32602]="InvalidParams",n[n.InternalError=-32603]="InternalError",n[n.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",n[n.MagicLinkExpired=-10001]="MagicLinkExpired",n[n.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",n[n.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",n[n.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",n[n.UpdateEmailFailed=-10004]="UpdateEmailFailed",n[n.UserRequestEditEmail=-10005]="UserRequestEditEmail",n[n.InactiveRecipient=-10010]="InactiveRecipient",n[n.AccessDeniedToUser=-10011]="AccessDeniedToUser",n[n.RedirectLoginComplete=-10015]="RedirectLoginComplete",n))(u||{});var f=(a=>(a.MetaMask="metamask",a.CoinbaseWallet="coinbase_wallet",a))(f||{}),v=(i=>(i.WalletSelected="wallet_selected",i.WalletConnected="wallet_connected",i.WalletRejected="wallet_rejected",i))(v||{}),g=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e))(g||{});var E=(p=>(p.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",p.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",p.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",p.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",p.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",p.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",p.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",p))(E||{}),x=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(x||{});var A=(i=>(i.UpdateEmail="update-email",i.MFA="mfa",i.Recovery="recovery",i))(A||{});var I=(t=>(t.Retry="retry",t))(I||{}),N=(a=>(a.EmailSent="email-sent",a.EmailNotDeliverable="email-not-deliverable",a))(N||{}),T=(i=>(i.VerifyEmailOtp="verify-email-otp",i.VerifyMFACode="verify-mfa-code",i.Cancel="cancel",i))(T||{}),y=(i=>(i.VerifySmsOtp="verify-sms-otp",i.Cancel="cancel",i.Retry="retry",i))(y||{}),R=(i=>(i.SmsOTPSent="sms-otp-sent",i.InvalidSmsOtp="invalid-sms-otp",i.ExpiredSmsOtp="expired-sms-otp",i))(R||{}),h=(s=>(s.EmailOTPSent="email-otp-sent",s.InvalidEmailOtp="invalid-email-otp",s.InvalidMfaOtp="invalid-mfa-otp",s.ExpiredEmailOtp="expired-email-otp",s.MfaSentHandle="mfa-sent-handle",s))(h||{}),b=(t=>(t.Retry="device-retry",t))(b||{}),O=(r=>(r.DeviceApproved="device-approved",r.DeviceNeedsApproval="device-needs-approval",r.DeviceVerificationLinkExpired="device-verification-link-expired",r.DeviceVerificationEmailSent="device-verification-email-sent",r))(O||{}),S=(r=>(r.Retry="Recency/auth-factor-retry",r.Cancel="Recency/auth-factor-verification-cancel",r.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",r.VerifyMFACode="Recency/verify-mfa-code",r))(S||{}),k=(o=>(o.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",o.PrimaryAuthFactorVerified="Recency/auth-factor-verified",o.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",o.EmailExpired="Recency/auth-factor-verification-email-expired",o.EmailSent="Recency/auth-factor-verification-email-sent",o.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",o))(k||{}),L=(i=>(i.RetryWithNewEmail="UpdateEmail/retry-with-new-email",i.Cancel="UpdateEmail/new-email-verification-cancel",i.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",i))(L||{}),w=(c=>(c.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",c.EmailUpdated="UpdateEmail/email-updated",c.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",c.EmailExpired="UpdateEmail/new-email-verification-email-expired",c.EmailSent="UpdateEmail/new-email-verification-email-sent",c.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",c.InvalidEmail="UpdateEmail/new-email-invalid",c.EmailAlreadyExists="UpdateEmail/new-email-already-exists",c))(w||{}),F=(t=>(t.IDTokenCreated="Auth/id-token-created",t))(F||{}),U=(t=>(t.SuccessSignIn="Farcaster/success_sign_in",t))(U||{}),D=(i=>(i.MFASecretGenerated="mfa-secret-generated",i.InvalidMFAOtp="invalid-mfa-otp",i.MFARecoveryCodes="mfa-recovery-codes",i))(D||{}),V=(a=>(a.VerifyMFACode="verify-mfa-code",a.Cancel="cancel-mfa-setup",a))(V||{});var G=(t=>(t.Harmony="HARMONY",t))(G||{});var C=(t=>(t.ClosedByUser="closed-by-user",t))(C||{}),H=(t=>(t.ClosedByUser="closed-by-user-on-received",t))(H||{}),q=(t=>(t.PhoneNumber="phone_number",t))(q||{});var W=(r=>(r.Success="nft-checkout-success",r.Failure="nft-checkout-failure",r.Initiated="nft-checkout-initiated",r.Disconnect="disconnect",r))(W||{});var J=(t=>(t.WalletInfoFetched="Wallet/wallet-info-fetched",t))(J||{});var Y=(t=>(t.CloseMagicWindow="close-magic-window",t))(Y||{});
"use strict";var m=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var z=Object.prototype.hasOwnProperty;var Z=(l,i)=>{for(var a in i)m(l,a,{get:i[a],enumerable:!0})},$=(l,i,a,t)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of X(i))!z.call(l,r)&&r!==a&&m(l,r,{get:()=>i[r],enumerable:!(t=Q(i,r))||t.enumerable});return l};var K=l=>$(m({},"__esModule",{value:!0}),l);var M={};Z(M,{AuthEventOnReceived:()=>w,DeepLinkPage:()=>A,DeviceVerificationEventEmit:()=>O,DeviceVerificationEventOnReceived:()=>b,DisableMFAEventEmit:()=>G,DisableMFAEventOnReceived:()=>C,EnableMFAEventEmit:()=>V,EnableMFAEventOnReceived:()=>D,EthChainType:()=>H,Events:()=>f,FarcasterLoginEventEmit:()=>U,LoginWithEmailOTPEventEmit:()=>R,LoginWithEmailOTPEventOnReceived:()=>h,LoginWithMagicLinkEventEmit:()=>I,LoginWithMagicLinkEventOnReceived:()=>y,LoginWithSmsOTPEventEmit:()=>N,LoginWithSmsOTPEventOnReceived:()=>T,MagicIncomingWindowMessage:()=>E,MagicOutgoingWindowMessage:()=>x,MagicPayloadMethod:()=>g,NftCheckoutIntermediaryEvents:()=>Y,RPCErrorCode:()=>u,RecencyCheckEventEmit:()=>S,RecencyCheckEventOnReceived:()=>k,RecoveryMethodType:()=>J,SDKErrorCode:()=>d,SDKWarningCode:()=>_,UiEventsEmit:()=>j,UpdateEmailEventEmit:()=>F,UpdateEmailEventOnReceived:()=>L,UserEventsEmit:()=>q,UserEventsOnReceived:()=>W,WalletEventOnReceived:()=>B,Wallets:()=>v});module.exports=K(M);var d=(o=>(o.MissingApiKey="MISSING_API_KEY",o.ModalNotReady="MODAL_NOT_READY",o.MalformedResponse="MALFORMED_RESPONSE",o.InvalidArgument="INVALID_ARGUMENT",o.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",o.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",o))(d||{}),_=(s=>(s.SyncWeb3Method="SYNC_WEB3_METHOD",s.DuplicateIframe="DUPLICATE_IFRAME",s.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",s.DeprecationNotice="DEPRECATION_NOTICE",s.ProductAnnouncement="ANNOUNCEMENT",s))(_||{}),u=(n=>(n[n.ParseError=-32700]="ParseError",n[n.InvalidRequest=-32600]="InvalidRequest",n[n.MethodNotFound=-32601]="MethodNotFound",n[n.InvalidParams=-32602]="InvalidParams",n[n.InternalError=-32603]="InternalError",n[n.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",n[n.MagicLinkExpired=-10001]="MagicLinkExpired",n[n.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",n[n.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",n[n.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",n[n.UpdateEmailFailed=-10004]="UpdateEmailFailed",n[n.UserRequestEditEmail=-10005]="UserRequestEditEmail",n[n.InactiveRecipient=-10010]="InactiveRecipient",n[n.AccessDeniedToUser=-10011]="AccessDeniedToUser",n[n.RedirectLoginComplete=-10015]="RedirectLoginComplete",n))(u||{});var v=(a=>(a.MetaMask="metamask",a.CoinbaseWallet="coinbase_wallet",a))(v||{}),f=(t=>(t.WalletSelected="wallet_selected",t.WalletConnected="wallet_connected",t.WalletRejected="wallet_rejected",t))(f||{}),g=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e))(g||{});var E=(p=>(p.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",p.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",p.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",p.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",p.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",p.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",p.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",p))(E||{}),x=(i=>(i.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",i))(x||{});var A=(t=>(t.UpdateEmail="update-email",t.MFA="mfa",t.Recovery="recovery",t))(A||{});var I=(i=>(i.Retry="retry",i))(I||{}),y=(a=>(a.EmailSent="email-sent",a.EmailNotDeliverable="email-not-deliverable",a))(y||{}),R=(t=>(t.VerifyEmailOtp="verify-email-otp",t.VerifyMFACode="verify-mfa-code",t.Cancel="cancel",t))(R||{}),N=(t=>(t.VerifySmsOtp="verify-sms-otp",t.Cancel="cancel",t.Retry="retry",t))(N||{}),T=(t=>(t.SmsOTPSent="sms-otp-sent",t.InvalidSmsOtp="invalid-sms-otp",t.ExpiredSmsOtp="expired-sms-otp",t))(T||{}),h=(s=>(s.EmailOTPSent="email-otp-sent",s.InvalidEmailOtp="invalid-email-otp",s.InvalidMfaOtp="invalid-mfa-otp",s.ExpiredEmailOtp="expired-email-otp",s.MfaSentHandle="mfa-sent-handle",s))(h||{}),O=(i=>(i.Retry="device-retry",i))(O||{}),b=(r=>(r.DeviceApproved="device-approved",r.DeviceNeedsApproval="device-needs-approval",r.DeviceVerificationLinkExpired="device-verification-link-expired",r.DeviceVerificationEmailSent="device-verification-email-sent",r))(b||{}),S=(r=>(r.Retry="Recency/auth-factor-retry",r.Cancel="Recency/auth-factor-verification-cancel",r.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",r.VerifyMFACode="Recency/verify-mfa-code",r))(S||{}),k=(o=>(o.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",o.PrimaryAuthFactorVerified="Recency/auth-factor-verified",o.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",o.EmailExpired="Recency/auth-factor-verification-email-expired",o.EmailSent="Recency/auth-factor-verification-email-sent",o.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",o))(k||{}),F=(t=>(t.RetryWithNewEmail="UpdateEmail/retry-with-new-email",t.Cancel="UpdateEmail/new-email-verification-cancel",t.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",t))(F||{}),L=(c=>(c.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",c.EmailUpdated="UpdateEmail/email-updated",c.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",c.EmailExpired="UpdateEmail/new-email-verification-email-expired",c.EmailSent="UpdateEmail/new-email-verification-email-sent",c.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",c.InvalidEmail="UpdateEmail/new-email-invalid",c.EmailAlreadyExists="UpdateEmail/new-email-already-exists",c))(L||{}),w=(i=>(i.IDTokenCreated="Auth/id-token-created",i))(w||{}),U=(i=>(i.SuccessSignIn="Farcaster/success_sign_in",i))(U||{}),D=(t=>(t.MFASecretGenerated="mfa-secret-generated",t.InvalidMFAOtp="invalid-mfa-otp",t.MFARecoveryCodes="mfa-recovery-codes",t))(D||{}),V=(a=>(a.VerifyMFACode="verify-mfa-code",a.Cancel="cancel-mfa-setup",a))(V||{}),C=(t=>(t.MFACodeRequested="mfa-code-requested",t.InvalidMFAOtp="invalid-mfa-otp",t.InvalidRecoveryCode="invalid-recovery-code",t))(C||{}),G=(t=>(t.VerifyMFACode="verify-mfa-code",t.LostDevice="lost-device",t.Cancel="cancel-mfa-disable",t))(G||{});var H=(i=>(i.Harmony="HARMONY",i))(H||{});var q=(i=>(i.ClosedByUser="closed-by-user",i))(q||{}),W=(i=>(i.ClosedByUser="closed-by-user-on-received",i))(W||{}),J=(i=>(i.PhoneNumber="phone_number",i))(J||{});var Y=(r=>(r.Success="nft-checkout-success",r.Failure="nft-checkout-failure",r.Initiated="nft-checkout-initiated",r.Disconnect="disconnect",r))(Y||{});var B=(i=>(i.WalletInfoFetched="Wallet/wallet-info-fetched",i))(B||{});var j=(i=>(i.CloseMagicWindow="close-magic-window",i))(j||{});
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

"use strict";var m=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var Q=Object.prototype.hasOwnProperty;var X=(l,t)=>{for(var a in t)m(l,a,{get:t[a],enumerable:!0})},z=(l,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of j(t))!Q.call(l,r)&&r!==a&&m(l,r,{get:()=>t[r],enumerable:!(i=B(t,r))||i.enumerable});return l};var Z=l=>z(m({},"__esModule",{value:!0}),l);var $={};X($,{AuthEventOnReceived:()=>F,DeepLinkPage:()=>A,DeviceVerificationEventEmit:()=>b,DeviceVerificationEventOnReceived:()=>O,EnableMFAEventEmit:()=>V,EnableMFAEventOnReceived:()=>D,EthChainType:()=>G,Events:()=>v,FarcasterLoginEventEmit:()=>U,LoginWithEmailOTPEventEmit:()=>T,LoginWithEmailOTPEventOnReceived:()=>h,LoginWithMagicLinkEventEmit:()=>I,LoginWithMagicLinkEventOnReceived:()=>N,LoginWithSmsOTPEventEmit:()=>y,LoginWithSmsOTPEventOnReceived:()=>R,MagicIncomingWindowMessage:()=>E,MagicOutgoingWindowMessage:()=>x,MagicPayloadMethod:()=>g,NftCheckoutIntermediaryEvents:()=>W,RPCErrorCode:()=>u,RecencyCheckEventEmit:()=>S,RecencyCheckEventOnReceived:()=>k,RecoveryMethodType:()=>q,SDKErrorCode:()=>_,SDKWarningCode:()=>d,UiEventsEmit:()=>Y,UpdateEmailEventEmit:()=>L,UpdateEmailEventOnReceived:()=>w,UserEventsEmit:()=>C,UserEventsOnReceived:()=>H,WalletEventOnReceived:()=>J,Wallets:()=>f});module.exports=Z($);var _=(o=>(o.MissingApiKey="MISSING_API_KEY",o.ModalNotReady="MODAL_NOT_READY",o.MalformedResponse="MALFORMED_RESPONSE",o.InvalidArgument="INVALID_ARGUMENT",o.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",o.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",o))(_||{}),d=(s=>(s.SyncWeb3Method="SYNC_WEB3_METHOD",s.DuplicateIframe="DUPLICATE_IFRAME",s.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",s.DeprecationNotice="DEPRECATION_NOTICE",s.ProductAnnouncement="ANNOUNCEMENT",s))(d||{}),u=(n=>(n[n.ParseError=-32700]="ParseError",n[n.InvalidRequest=-32600]="InvalidRequest",n[n.MethodNotFound=-32601]="MethodNotFound",n[n.InvalidParams=-32602]="InvalidParams",n[n.InternalError=-32603]="InternalError",n[n.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",n[n.MagicLinkExpired=-10001]="MagicLinkExpired",n[n.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",n[n.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",n[n.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",n[n.UpdateEmailFailed=-10004]="UpdateEmailFailed",n[n.UserRequestEditEmail=-10005]="UserRequestEditEmail",n[n.InactiveRecipient=-10010]="InactiveRecipient",n[n.AccessDeniedToUser=-10011]="AccessDeniedToUser",n[n.RedirectLoginComplete=-10015]="RedirectLoginComplete",n))(u||{});var f=(a=>(a.MetaMask="metamask",a.CoinbaseWallet="coinbase_wallet",a))(f||{}),v=(i=>(i.WalletSelected="wallet_selected",i.WalletConnected="wallet_connected",i.WalletRejected="wallet_rejected",i))(v||{}),g=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e))(g||{});var E=(p=>(p.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",p.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",p.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",p.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",p.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",p.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",p.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",p))(E||{}),x=(t=>(t.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",t))(x||{});var A=(i=>(i.UpdateEmail="update-email",i.MFA="mfa",i.Recovery="recovery",i))(A||{});var I=(t=>(t.Retry="retry",t))(I||{}),N=(a=>(a.EmailSent="email-sent",a.EmailNotDeliverable="email-not-deliverable",a))(N||{}),T=(i=>(i.VerifyEmailOtp="verify-email-otp",i.VerifyMFACode="verify-mfa-code",i.Cancel="cancel",i))(T||{}),y=(i=>(i.VerifySmsOtp="verify-sms-otp",i.Cancel="cancel",i.Retry="retry",i))(y||{}),R=(i=>(i.SmsOTPSent="sms-otp-sent",i.InvalidSmsOtp="invalid-sms-otp",i.ExpiredSmsOtp="expired-sms-otp",i))(R||{}),h=(s=>(s.EmailOTPSent="email-otp-sent",s.InvalidEmailOtp="invalid-email-otp",s.InvalidMfaOtp="invalid-mfa-otp",s.ExpiredEmailOtp="expired-email-otp",s.MfaSentHandle="mfa-sent-handle",s))(h||{}),b=(t=>(t.Retry="device-retry",t))(b||{}),O=(r=>(r.DeviceApproved="device-approved",r.DeviceNeedsApproval="device-needs-approval",r.DeviceVerificationLinkExpired="device-verification-link-expired",r.DeviceVerificationEmailSent="device-verification-email-sent",r))(O||{}),S=(r=>(r.Retry="Recency/auth-factor-retry",r.Cancel="Recency/auth-factor-verification-cancel",r.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",r.VerifyMFACode="Recency/verify-mfa-code",r))(S||{}),k=(o=>(o.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",o.PrimaryAuthFactorVerified="Recency/auth-factor-verified",o.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",o.EmailExpired="Recency/auth-factor-verification-email-expired",o.EmailSent="Recency/auth-factor-verification-email-sent",o.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",o))(k||{}),L=(i=>(i.RetryWithNewEmail="UpdateEmail/retry-with-new-email",i.Cancel="UpdateEmail/new-email-verification-cancel",i.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",i))(L||{}),w=(c=>(c.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",c.EmailUpdated="UpdateEmail/email-updated",c.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",c.EmailExpired="UpdateEmail/new-email-verification-email-expired",c.EmailSent="UpdateEmail/new-email-verification-email-sent",c.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",c.InvalidEmail="UpdateEmail/new-email-invalid",c.EmailAlreadyExists="UpdateEmail/new-email-already-exists",c))(w||{}),F=(t=>(t.IDTokenCreated="Auth/id-token-created",t))(F||{}),U=(t=>(t.SuccessSignIn="Farcaster/success_sign_in",t))(U||{}),D=(i=>(i.MFASecretGenerated="mfa-secret-generated",i.InvalidMFAOtp="invalid-mfa-otp",i.MFARecoveryCodes="mfa-recovery-codes",i))(D||{}),V=(a=>(a.VerifyMFACode="verify-mfa-code",a.Cancel="cancel-mfa-setup",a))(V||{});var G=(t=>(t.Harmony="HARMONY",t))(G||{});var C=(t=>(t.ClosedByUser="closed-by-user",t))(C||{}),H=(t=>(t.ClosedByUser="closed-by-user-on-received",t))(H||{}),q=(t=>(t.PhoneNumber="phone_number",t))(q||{});var W=(r=>(r.Success="nft-checkout-success",r.Failure="nft-checkout-failure",r.Initiated="nft-checkout-initiated",r.Disconnect="disconnect",r))(W||{});var J=(t=>(t.WalletInfoFetched="Wallet/wallet-info-fetched",t))(J||{});var Y=(t=>(t.CloseMagicWindow="close-magic-window",t))(Y||{});
"use strict";var m=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var z=Object.prototype.hasOwnProperty;var Z=(l,i)=>{for(var a in i)m(l,a,{get:i[a],enumerable:!0})},$=(l,i,a,t)=>{if(i&&typeof i=="object"||typeof i=="function")for(let r of X(i))!z.call(l,r)&&r!==a&&m(l,r,{get:()=>i[r],enumerable:!(t=Q(i,r))||t.enumerable});return l};var K=l=>$(m({},"__esModule",{value:!0}),l);var M={};Z(M,{AuthEventOnReceived:()=>w,DeepLinkPage:()=>A,DeviceVerificationEventEmit:()=>O,DeviceVerificationEventOnReceived:()=>b,DisableMFAEventEmit:()=>G,DisableMFAEventOnReceived:()=>C,EnableMFAEventEmit:()=>V,EnableMFAEventOnReceived:()=>D,EthChainType:()=>H,Events:()=>f,FarcasterLoginEventEmit:()=>U,LoginWithEmailOTPEventEmit:()=>R,LoginWithEmailOTPEventOnReceived:()=>h,LoginWithMagicLinkEventEmit:()=>I,LoginWithMagicLinkEventOnReceived:()=>y,LoginWithSmsOTPEventEmit:()=>N,LoginWithSmsOTPEventOnReceived:()=>T,MagicIncomingWindowMessage:()=>E,MagicOutgoingWindowMessage:()=>x,MagicPayloadMethod:()=>g,NftCheckoutIntermediaryEvents:()=>Y,RPCErrorCode:()=>u,RecencyCheckEventEmit:()=>S,RecencyCheckEventOnReceived:()=>k,RecoveryMethodType:()=>J,SDKErrorCode:()=>d,SDKWarningCode:()=>_,UiEventsEmit:()=>j,UpdateEmailEventEmit:()=>F,UpdateEmailEventOnReceived:()=>L,UserEventsEmit:()=>q,UserEventsOnReceived:()=>W,WalletEventOnReceived:()=>B,Wallets:()=>v});module.exports=K(M);var d=(o=>(o.MissingApiKey="MISSING_API_KEY",o.ModalNotReady="MODAL_NOT_READY",o.MalformedResponse="MALFORMED_RESPONSE",o.InvalidArgument="INVALID_ARGUMENT",o.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",o.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",o))(d||{}),_=(s=>(s.SyncWeb3Method="SYNC_WEB3_METHOD",s.DuplicateIframe="DUPLICATE_IFRAME",s.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",s.DeprecationNotice="DEPRECATION_NOTICE",s.ProductAnnouncement="ANNOUNCEMENT",s))(_||{}),u=(n=>(n[n.ParseError=-32700]="ParseError",n[n.InvalidRequest=-32600]="InvalidRequest",n[n.MethodNotFound=-32601]="MethodNotFound",n[n.InvalidParams=-32602]="InvalidParams",n[n.InternalError=-32603]="InternalError",n[n.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",n[n.MagicLinkExpired=-10001]="MagicLinkExpired",n[n.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",n[n.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",n[n.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",n[n.UpdateEmailFailed=-10004]="UpdateEmailFailed",n[n.UserRequestEditEmail=-10005]="UserRequestEditEmail",n[n.InactiveRecipient=-10010]="InactiveRecipient",n[n.AccessDeniedToUser=-10011]="AccessDeniedToUser",n[n.RedirectLoginComplete=-10015]="RedirectLoginComplete",n))(u||{});var v=(a=>(a.MetaMask="metamask",a.CoinbaseWallet="coinbase_wallet",a))(v||{}),f=(t=>(t.WalletSelected="wallet_selected",t.WalletConnected="wallet_connected",t.WalletRejected="wallet_rejected",t))(f||{}),g=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e))(g||{});var E=(p=>(p.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",p.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",p.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",p.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",p.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",p.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",p.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",p))(E||{}),x=(i=>(i.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",i))(x||{});var A=(t=>(t.UpdateEmail="update-email",t.MFA="mfa",t.Recovery="recovery",t))(A||{});var I=(i=>(i.Retry="retry",i))(I||{}),y=(a=>(a.EmailSent="email-sent",a.EmailNotDeliverable="email-not-deliverable",a))(y||{}),R=(t=>(t.VerifyEmailOtp="verify-email-otp",t.VerifyMFACode="verify-mfa-code",t.Cancel="cancel",t))(R||{}),N=(t=>(t.VerifySmsOtp="verify-sms-otp",t.Cancel="cancel",t.Retry="retry",t))(N||{}),T=(t=>(t.SmsOTPSent="sms-otp-sent",t.InvalidSmsOtp="invalid-sms-otp",t.ExpiredSmsOtp="expired-sms-otp",t))(T||{}),h=(s=>(s.EmailOTPSent="email-otp-sent",s.InvalidEmailOtp="invalid-email-otp",s.InvalidMfaOtp="invalid-mfa-otp",s.ExpiredEmailOtp="expired-email-otp",s.MfaSentHandle="mfa-sent-handle",s))(h||{}),O=(i=>(i.Retry="device-retry",i))(O||{}),b=(r=>(r.DeviceApproved="device-approved",r.DeviceNeedsApproval="device-needs-approval",r.DeviceVerificationLinkExpired="device-verification-link-expired",r.DeviceVerificationEmailSent="device-verification-email-sent",r))(b||{}),S=(r=>(r.Retry="Recency/auth-factor-retry",r.Cancel="Recency/auth-factor-verification-cancel",r.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",r.VerifyMFACode="Recency/verify-mfa-code",r))(S||{}),k=(o=>(o.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",o.PrimaryAuthFactorVerified="Recency/auth-factor-verified",o.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",o.EmailExpired="Recency/auth-factor-verification-email-expired",o.EmailSent="Recency/auth-factor-verification-email-sent",o.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",o))(k||{}),F=(t=>(t.RetryWithNewEmail="UpdateEmail/retry-with-new-email",t.Cancel="UpdateEmail/new-email-verification-cancel",t.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",t))(F||{}),L=(c=>(c.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",c.EmailUpdated="UpdateEmail/email-updated",c.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",c.EmailExpired="UpdateEmail/new-email-verification-email-expired",c.EmailSent="UpdateEmail/new-email-verification-email-sent",c.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",c.InvalidEmail="UpdateEmail/new-email-invalid",c.EmailAlreadyExists="UpdateEmail/new-email-already-exists",c))(L||{}),w=(i=>(i.IDTokenCreated="Auth/id-token-created",i))(w||{}),U=(i=>(i.SuccessSignIn="Farcaster/success_sign_in",i))(U||{}),D=(t=>(t.MFASecretGenerated="mfa-secret-generated",t.InvalidMFAOtp="invalid-mfa-otp",t.MFARecoveryCodes="mfa-recovery-codes",t))(D||{}),V=(a=>(a.VerifyMFACode="verify-mfa-code",a.Cancel="cancel-mfa-setup",a))(V||{}),C=(t=>(t.MFACodeRequested="mfa-code-requested",t.InvalidMFAOtp="invalid-mfa-otp",t.InvalidRecoveryCode="invalid-recovery-code",t))(C||{}),G=(t=>(t.VerifyMFACode="verify-mfa-code",t.LostDevice="lost-device",t.Cancel="cancel-mfa-disable",t))(G||{});var H=(i=>(i.Harmony="HARMONY",i))(H||{});var q=(i=>(i.ClosedByUser="closed-by-user",i))(q||{}),W=(i=>(i.ClosedByUser="closed-by-user-on-received",i))(W||{}),J=(i=>(i.PhoneNumber="phone_number",i))(J||{});var Y=(r=>(r.Success="nft-checkout-success",r.Failure="nft-checkout-failure",r.Initiated="nft-checkout-initiated",r.Disconnect="disconnect",r))(Y||{});var B=(i=>(i.WalletInfoFetched="Wallet/wallet-info-fetched",i))(B||{});var j=(i=>(i.CloseMagicWindow="close-magic-window",i))(j||{});
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

var p=(a=>(a.MissingApiKey="MISSING_API_KEY",a.ModalNotReady="MODAL_NOT_READY",a.MalformedResponse="MALFORMED_RESPONSE",a.InvalidArgument="INVALID_ARGUMENT",a.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",a.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",a))(p||{}),m=(o=>(o.SyncWeb3Method="SYNC_WEB3_METHOD",o.DuplicateIframe="DUPLICATE_IFRAME",o.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",o.DeprecationNotice="DEPRECATION_NOTICE",o.ProductAnnouncement="ANNOUNCEMENT",o))(m||{}),_=(t=>(t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",t[t.MagicLinkExpired=-10001]="MagicLinkExpired",t[t.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",t[t.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",t[t.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",t[t.UpdateEmailFailed=-10004]="UpdateEmailFailed",t[t.UserRequestEditEmail=-10005]="UserRequestEditEmail",t[t.InactiveRecipient=-10010]="InactiveRecipient",t[t.AccessDeniedToUser=-10011]="AccessDeniedToUser",t[t.RedirectLoginComplete=-10015]="RedirectLoginComplete",t))(_||{});var d=(s=>(s.MetaMask="metamask",s.CoinbaseWallet="coinbase_wallet",s))(d||{}),u=(i=>(i.WalletSelected="wallet_selected",i.WalletConnected="wallet_connected",i.WalletRejected="wallet_rejected",i))(u||{}),f=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e))(f||{});var v=(l=>(l.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",l.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",l.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",l.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",l.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",l.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",l.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",l))(v||{}),g=(n=>(n.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",n))(g||{});var E=(i=>(i.UpdateEmail="update-email",i.MFA="mfa",i.Recovery="recovery",i))(E||{});var x=(n=>(n.Retry="retry",n))(x||{}),A=(s=>(s.EmailSent="email-sent",s.EmailNotDeliverable="email-not-deliverable",s))(A||{}),I=(i=>(i.VerifyEmailOtp="verify-email-otp",i.VerifyMFACode="verify-mfa-code",i.Cancel="cancel",i))(I||{}),N=(i=>(i.VerifySmsOtp="verify-sms-otp",i.Cancel="cancel",i.Retry="retry",i))(N||{}),T=(i=>(i.SmsOTPSent="sms-otp-sent",i.InvalidSmsOtp="invalid-sms-otp",i.ExpiredSmsOtp="expired-sms-otp",i))(T||{}),y=(o=>(o.EmailOTPSent="email-otp-sent",o.InvalidEmailOtp="invalid-email-otp",o.InvalidMfaOtp="invalid-mfa-otp",o.ExpiredEmailOtp="expired-email-otp",o.MfaSentHandle="mfa-sent-handle",o))(y||{}),R=(n=>(n.Retry="device-retry",n))(R||{}),h=(r=>(r.DeviceApproved="device-approved",r.DeviceNeedsApproval="device-needs-approval",r.DeviceVerificationLinkExpired="device-verification-link-expired",r.DeviceVerificationEmailSent="device-verification-email-sent",r))(h||{}),b=(r=>(r.Retry="Recency/auth-factor-retry",r.Cancel="Recency/auth-factor-verification-cancel",r.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",r.VerifyMFACode="Recency/verify-mfa-code",r))(b||{}),O=(a=>(a.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",a.PrimaryAuthFactorVerified="Recency/auth-factor-verified",a.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",a.EmailExpired="Recency/auth-factor-verification-email-expired",a.EmailSent="Recency/auth-factor-verification-email-sent",a.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",a))(O||{}),S=(i=>(i.RetryWithNewEmail="UpdateEmail/retry-with-new-email",i.Cancel="UpdateEmail/new-email-verification-cancel",i.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",i))(S||{}),k=(c=>(c.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",c.EmailUpdated="UpdateEmail/email-updated",c.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",c.EmailExpired="UpdateEmail/new-email-verification-email-expired",c.EmailSent="UpdateEmail/new-email-verification-email-sent",c.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",c.InvalidEmail="UpdateEmail/new-email-invalid",c.EmailAlreadyExists="UpdateEmail/new-email-already-exists",c))(k||{}),L=(n=>(n.IDTokenCreated="Auth/id-token-created",n))(L||{}),w=(n=>(n.SuccessSignIn="Farcaster/success_sign_in",n))(w||{}),F=(i=>(i.MFASecretGenerated="mfa-secret-generated",i.InvalidMFAOtp="invalid-mfa-otp",i.MFARecoveryCodes="mfa-recovery-codes",i))(F||{}),U=(s=>(s.VerifyMFACode="verify-mfa-code",s.Cancel="cancel-mfa-setup",s))(U||{});var D=(n=>(n.Harmony="HARMONY",n))(D||{});var V=(n=>(n.ClosedByUser="closed-by-user",n))(V||{}),G=(n=>(n.ClosedByUser="closed-by-user-on-received",n))(G||{}),C=(n=>(n.PhoneNumber="phone_number",n))(C||{});var H=(r=>(r.Success="nft-checkout-success",r.Failure="nft-checkout-failure",r.Initiated="nft-checkout-initiated",r.Disconnect="disconnect",r))(H||{});var q=(n=>(n.WalletInfoFetched="Wallet/wallet-info-fetched",n))(q||{});var W=(n=>(n.CloseMagicWindow="close-magic-window",n))(W||{});export{L as AuthEventOnReceived,E as DeepLinkPage,R as DeviceVerificationEventEmit,h as DeviceVerificationEventOnReceived,U as EnableMFAEventEmit,F as EnableMFAEventOnReceived,D as EthChainType,u as Events,w as FarcasterLoginEventEmit,I as LoginWithEmailOTPEventEmit,y as LoginWithEmailOTPEventOnReceived,x as LoginWithMagicLinkEventEmit,A as LoginWithMagicLinkEventOnReceived,N as LoginWithSmsOTPEventEmit,T as LoginWithSmsOTPEventOnReceived,v as MagicIncomingWindowMessage,g as MagicOutgoingWindowMessage,f as MagicPayloadMethod,H as NftCheckoutIntermediaryEvents,_ as RPCErrorCode,b as RecencyCheckEventEmit,O as RecencyCheckEventOnReceived,C as RecoveryMethodType,p as SDKErrorCode,m as SDKWarningCode,W as UiEventsEmit,S as UpdateEmailEventEmit,k as UpdateEmailEventOnReceived,V as UserEventsEmit,G as UserEventsOnReceived,q as WalletEventOnReceived,d as Wallets};
var p=(a=>(a.MissingApiKey="MISSING_API_KEY",a.ModalNotReady="MODAL_NOT_READY",a.MalformedResponse="MALFORMED_RESPONSE",a.InvalidArgument="INVALID_ARGUMENT",a.ExtensionNotInitialized="EXTENSION_NOT_INITIALIZED",a.IncompatibleExtensions="INCOMPATIBLE_EXTENSIONS",a))(p||{}),m=(o=>(o.SyncWeb3Method="SYNC_WEB3_METHOD",o.DuplicateIframe="DUPLICATE_IFRAME",o.ReactNativeEndpointConfiguration="REACT_NATIVE_ENDPOINT_CONFIGURATION",o.DeprecationNotice="DEPRECATION_NOTICE",o.ProductAnnouncement="ANNOUNCEMENT",o))(m||{}),d=(i=>(i[i.ParseError=-32700]="ParseError",i[i.InvalidRequest=-32600]="InvalidRequest",i[i.MethodNotFound=-32601]="MethodNotFound",i[i.InvalidParams=-32602]="InvalidParams",i[i.InternalError=-32603]="InternalError",i[i.MagicLinkFailedVerification=-1e4]="MagicLinkFailedVerification",i[i.MagicLinkExpired=-10001]="MagicLinkExpired",i[i.MagicLinkRateLimited=-10002]="MagicLinkRateLimited",i[i.MagicLinkInvalidRedirectURL=-10006]="MagicLinkInvalidRedirectURL",i[i.UserAlreadyLoggedIn=-10003]="UserAlreadyLoggedIn",i[i.UpdateEmailFailed=-10004]="UpdateEmailFailed",i[i.UserRequestEditEmail=-10005]="UserRequestEditEmail",i[i.InactiveRecipient=-10010]="InactiveRecipient",i[i.AccessDeniedToUser=-10011]="AccessDeniedToUser",i[i.RedirectLoginComplete=-10015]="RedirectLoginComplete",i))(d||{});var _=(s=>(s.MetaMask="metamask",s.CoinbaseWallet="coinbase_wallet",s))(_||{}),u=(t=>(t.WalletSelected="wallet_selected",t.WalletConnected="wallet_connected",t.WalletRejected="wallet_rejected",t))(u||{}),v=(e=>(e.LoginWithSms="magic_auth_login_with_sms",e.LoginWithEmailOTP="magic_auth_login_with_email_otp",e.LoginWithMagicLink="magic_auth_login_with_magic_link",e.LoginWithCredential="magic_auth_login_with_credential",e.SetAuthorizationToken="magic_auth_set_authorization_token",e.GetIdToken="magic_auth_get_id_token",e.GenerateIdToken="magic_auth_generate_id_token",e.GetMetadata="magic_auth_get_metadata",e.IsLoggedIn="magic_is_logged_in",e.Logout="magic_auth_logout",e.UpdateEmail="magic_auth_update_email",e.UserSettings="magic_auth_settings",e.UserSettingsTestMode="magic_auth_settings_testing_mode",e.LoginWithSmsTestMode="magic_auth_login_with_sms_testing_mode",e.LoginWithEmailOTPTestMode="magic_auth_login_with_email_otp_testing_mode",e.LoginWithMagicLinkTestMode="magic_login_with_magic_link_testing_mode",e.LoginWithCredentialTestMode="magic_auth_login_with_credential_testing_mode",e.GetIdTokenTestMode="magic_auth_get_id_token_testing_mode",e.GenerateIdTokenTestMode="magic_auth_generate_id_token_testing_mode",e.GetMetadataTestMode="magic_auth_get_metadata_testing_mode",e.IsLoggedInTestMode="magic_auth_is_logged_in_testing_mode",e.LogoutTestMode="magic_auth_logout_testing_mode",e.UpdateEmailTestMode="magic_auth_update_email_testing_mode",e.IntermediaryEvent="magic_intermediary_event",e.RequestAccounts="eth_requestAccounts",e.GetInfo="magic_get_info",e.ShowUI="magic_wallet",e.NFTPurchase="magic_nft_purchase",e.NFTCheckout="magic_nft_checkout",e.NFTTransfer="magic_nft_transfer",e.RequestUserInfoWithUI="mc_request_user_info",e.Disconnect="mc_disconnect",e.RecoverAccount="magic_auth_recover_account",e.RecoverAccountTestMode="magic_auth_recover_account_testing_mode",e.MagicBoxHeartBeat="magic_box_heart_beat",e.AutoConnect="mc_auto_connect",e.Login="mc_login",e.EncryptV1="magic_auth_encrypt_v1",e.DecryptV1="magic_auth_decrypt_v1",e.ShowNFTs="magic_show_nfts",e.ShowOnRamp="magic_show_fiat_onramp",e.ShowSendTokensUI="magic_show_send_tokens_ui",e.ShowAddress="magic_show_address",e.ShowBalances="magic_show_balances",e.SendGaslessTransaction="eth_sendGaslessTransaction",e.RevealPK="magic_reveal_key",e.EnableMFA="magic_auth_enable_mfa_flow",e.DisableMFA="magic_auth_disable_mfa_flow",e))(v||{});var f=(l=>(l.MAGIC_HANDLE_RESPONSE="MAGIC_HANDLE_RESPONSE",l.MAGIC_OVERLAY_READY="MAGIC_OVERLAY_READY",l.MAGIC_SHOW_OVERLAY="MAGIC_SHOW_OVERLAY",l.MAGIC_HIDE_OVERLAY="MAGIC_HIDE_OVERLAY",l.MAGIC_HANDLE_EVENT="MAGIC_HANDLE_EVENT",l.MAGIC_MG_BOX_SEND_RECEIPT="MAGIC_MG_BOX_SEND_RECEIPT",l.MAGIC_SEND_PRODUCT_ANNOUNCEMENT="MAGIC_SEND_PRODUCT_ANNOUNCEMENT",l))(f||{}),g=(n=>(n.MAGIC_HANDLE_REQUEST="MAGIC_HANDLE_REQUEST",n))(g||{});var E=(t=>(t.UpdateEmail="update-email",t.MFA="mfa",t.Recovery="recovery",t))(E||{});var x=(n=>(n.Retry="retry",n))(x||{}),A=(s=>(s.EmailSent="email-sent",s.EmailNotDeliverable="email-not-deliverable",s))(A||{}),I=(t=>(t.VerifyEmailOtp="verify-email-otp",t.VerifyMFACode="verify-mfa-code",t.Cancel="cancel",t))(I||{}),y=(t=>(t.VerifySmsOtp="verify-sms-otp",t.Cancel="cancel",t.Retry="retry",t))(y||{}),R=(t=>(t.SmsOTPSent="sms-otp-sent",t.InvalidSmsOtp="invalid-sms-otp",t.ExpiredSmsOtp="expired-sms-otp",t))(R||{}),N=(o=>(o.EmailOTPSent="email-otp-sent",o.InvalidEmailOtp="invalid-email-otp",o.InvalidMfaOtp="invalid-mfa-otp",o.ExpiredEmailOtp="expired-email-otp",o.MfaSentHandle="mfa-sent-handle",o))(N||{}),T=(n=>(n.Retry="device-retry",n))(T||{}),h=(r=>(r.DeviceApproved="device-approved",r.DeviceNeedsApproval="device-needs-approval",r.DeviceVerificationLinkExpired="device-verification-link-expired",r.DeviceVerificationEmailSent="device-verification-email-sent",r))(h||{}),O=(r=>(r.Retry="Recency/auth-factor-retry",r.Cancel="Recency/auth-factor-verification-cancel",r.VerifyEmailOtp="Recency/auth-factor-verify-email-otp",r.VerifyMFACode="Recency/verify-mfa-code",r))(O||{}),b=(a=>(a.PrimaryAuthFactorNeedsVerification="Recency/auth-factor-needs-verification",a.PrimaryAuthFactorVerified="Recency/auth-factor-verified",a.InvalidEmailOtp="Recency/auth-factor-invalid-email-otp",a.EmailExpired="Recency/auth-factor-verification-email-expired",a.EmailSent="Recency/auth-factor-verification-email-sent",a.EmailNotDeliverable="Recency/auth-factor-verification-email-not-deliverable",a))(b||{}),S=(t=>(t.RetryWithNewEmail="UpdateEmail/retry-with-new-email",t.Cancel="UpdateEmail/new-email-verification-cancel",t.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",t))(S||{}),k=(c=>(c.NewAuthFactorNeedsVerification="UpdateEmail/new-email-needs-verification",c.EmailUpdated="UpdateEmail/email-updated",c.InvalidEmailOtp="UpdateEmail/new-email-invalid-email-otp",c.EmailExpired="UpdateEmail/new-email-verification-email-expired",c.EmailSent="UpdateEmail/new-email-verification-email-sent",c.EmailNotDeliverable="UpdateEmail/new-email-verification-email-not-deliverable",c.InvalidEmail="UpdateEmail/new-email-invalid",c.EmailAlreadyExists="UpdateEmail/new-email-already-exists",c))(k||{}),F=(n=>(n.IDTokenCreated="Auth/id-token-created",n))(F||{}),L=(n=>(n.SuccessSignIn="Farcaster/success_sign_in",n))(L||{}),w=(t=>(t.MFASecretGenerated="mfa-secret-generated",t.InvalidMFAOtp="invalid-mfa-otp",t.MFARecoveryCodes="mfa-recovery-codes",t))(w||{}),U=(s=>(s.VerifyMFACode="verify-mfa-code",s.Cancel="cancel-mfa-setup",s))(U||{}),D=(t=>(t.MFACodeRequested="mfa-code-requested",t.InvalidMFAOtp="invalid-mfa-otp",t.InvalidRecoveryCode="invalid-recovery-code",t))(D||{}),V=(t=>(t.VerifyMFACode="verify-mfa-code",t.LostDevice="lost-device",t.Cancel="cancel-mfa-disable",t))(V||{});var C=(n=>(n.Harmony="HARMONY",n))(C||{});var G=(n=>(n.ClosedByUser="closed-by-user",n))(G||{}),H=(n=>(n.ClosedByUser="closed-by-user-on-received",n))(H||{}),q=(n=>(n.PhoneNumber="phone_number",n))(q||{});var W=(r=>(r.Success="nft-checkout-success",r.Failure="nft-checkout-failure",r.Initiated="nft-checkout-initiated",r.Disconnect="disconnect",r))(W||{});var J=(n=>(n.WalletInfoFetched="Wallet/wallet-info-fetched",n))(J||{});var Y=(n=>(n.CloseMagicWindow="close-magic-window",n))(Y||{});export{F as AuthEventOnReceived,E as DeepLinkPage,T as DeviceVerificationEventEmit,h as DeviceVerificationEventOnReceived,V as DisableMFAEventEmit,D as DisableMFAEventOnReceived,U as EnableMFAEventEmit,w as EnableMFAEventOnReceived,C as EthChainType,u as Events,L as FarcasterLoginEventEmit,I as LoginWithEmailOTPEventEmit,N as LoginWithEmailOTPEventOnReceived,x as LoginWithMagicLinkEventEmit,A as LoginWithMagicLinkEventOnReceived,y as LoginWithSmsOTPEventEmit,R as LoginWithSmsOTPEventOnReceived,f as MagicIncomingWindowMessage,g as MagicOutgoingWindowMessage,v as MagicPayloadMethod,W as NftCheckoutIntermediaryEvents,d as RPCErrorCode,O as RecencyCheckEventEmit,b as RecencyCheckEventOnReceived,q as RecoveryMethodType,p as SDKErrorCode,m as SDKWarningCode,Y as UiEventsEmit,S as UpdateEmailEventEmit,k as UpdateEmailEventOnReceived,G as UserEventsEmit,H as UserEventsOnReceived,J as WalletEventOnReceived,_ as Wallets};
//# sourceMappingURL=index.js.map

@@ -98,3 +98,3 @@ import { WalletEventOnReceived } from './wallet-types';

}
export interface EnableMfaConfiguration {
export interface EnableMFAConfiguration {
/**

@@ -105,6 +105,16 @@ * When `true`, a pre-built modal interface will show to the user, directing

* When `false`, developers will be able to implement their own custom UI to
* continue the SMS OTP flow.
* continue the enable MFA flow.
*/
showUI?: boolean;
}
export interface DisableMFAConfiguration {
/**
* When `true`, a pre-built modal interface will show to the user, directing
* them to disable MFA.
*
* When `false`, developers will be able to implement their own custom UI to
* continue the disable MFA flow.
*/
showUI?: boolean;
}
/**

@@ -195,2 +205,12 @@ * Auth Events Enum

}
export declare enum DisableMFAEventOnReceived {
MFACodeRequested = "mfa-code-requested",
InvalidMFAOtp = "invalid-mfa-otp",
InvalidRecoveryCode = "invalid-recovery-code"
}
export declare enum DisableMFAEventEmit {
VerifyMFACode = "verify-mfa-code",
LostDevice = "lost-device",
Cancel = "cancel-mfa-disable"
}
/**

@@ -269,2 +289,10 @@ * EventHandlers

};
/**
* Disable MFA
*/
export declare type DisableMFAEventHandlers = {
[DisableMFAEventOnReceived.MFACodeRequested]: () => void;
[DisableMFAEventOnReceived.InvalidMFAOtp]: (error: string) => void;
[DisableMFAEventOnReceived.InvalidRecoveryCode]: () => void;
};
export {};
{
"name": "@magic-sdk/types",
"version": "24.7.0",
"version": "24.7.1-canary.810.10880443236.0",
"description": "Core typings for Magic SDK packages.",

@@ -24,3 +24,3 @@ "author": "Magic Labs <team@magic.link> (https://magic.link/)",

},
"gitHead": "4da0505cb244acc96a2bf1ba597ff65109824689"
"gitHead": "b190018db39cdd6830d6564f7cbc081f02abeeaf"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc