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.8.0 to 24.9.0-canary.808.10901662847.0

2

./dist/cjs/index.js

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

"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||{});
"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:()=>b,DeviceVerificationEventOnReceived:()=>O,DisableMFAEventEmit:()=>G,DisableMFAEventOnReceived:()=>V,EnableMFAEventEmit:()=>C,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:()=>F,RecoveryMethodType:()=>J,SDKErrorCode:()=>d,SDKWarningCode:()=>_,UiEventsEmit:()=>j,UpdateEmailEventEmit:()=>k,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||{}),b=(i=>(i.Retry="device-retry",i))(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||{}),F=(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))(F||{}),k=(t=>(t.RetryWithNewEmail="UpdateEmail/retry-with-new-email",t.Cancel="UpdateEmail/new-email-verification-cancel",t.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",t))(k||{}),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||{}),C=(a=>(a.VerifyMFACode="verify-mfa-code",a.Cancel="cancel-mfa-setup",a))(C||{}),V=(t=>(t.MFACodeRequested="mfa-code-requested",t.InvalidMFAOtp="invalid-mfa-otp",t.InvalidRecoveryCode="invalid-recovery-code",t))(V||{}),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 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||{});
"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:()=>b,DeviceVerificationEventOnReceived:()=>O,DisableMFAEventEmit:()=>G,DisableMFAEventOnReceived:()=>V,EnableMFAEventEmit:()=>C,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:()=>F,RecoveryMethodType:()=>J,SDKErrorCode:()=>d,SDKWarningCode:()=>_,UiEventsEmit:()=>j,UpdateEmailEventEmit:()=>k,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||{}),b=(i=>(i.Retry="device-retry",i))(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||{}),F=(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))(F||{}),k=(t=>(t.RetryWithNewEmail="UpdateEmail/retry-with-new-email",t.Cancel="UpdateEmail/new-email-verification-cancel",t.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",t))(k||{}),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||{}),C=(a=>(a.VerifyMFACode="verify-mfa-code",a.Cancel="cancel-mfa-setup",a))(C||{}),V=(t=>(t.MFACodeRequested="mfa-code-requested",t.InvalidMFAOtp="invalid-mfa-otp",t.InvalidRecoveryCode="invalid-recovery-code",t))(V||{}),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||{}),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};
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||{}),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=(t=>(t.RetryWithNewEmail="UpdateEmail/retry-with-new-email",t.Cancel="UpdateEmail/new-email-verification-cancel",t.VerifyEmailOtp="UpdateEmail/new-email-verify-otp",t))(S||{}),F=(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))(F||{}),k=(n=>(n.IDTokenCreated="Auth/id-token-created",n))(k||{}),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||{}),C=(t=>(t.VerifyMFACode="verify-mfa-code",t.LostDevice="lost-device",t.Cancel="cancel-mfa-disable",t))(C||{});var V=(n=>(n.Harmony="HARMONY",n))(V||{});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{k as AuthEventOnReceived,E as DeepLinkPage,T as DeviceVerificationEventEmit,h as DeviceVerificationEventOnReceived,C as DisableMFAEventEmit,D as DisableMFAEventOnReceived,U as EnableMFAEventEmit,w as EnableMFAEventOnReceived,V 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,b as RecencyCheckEventEmit,O as RecencyCheckEventOnReceived,q as RecoveryMethodType,p as SDKErrorCode,m as SDKWarningCode,Y as UiEventsEmit,S as UpdateEmailEventEmit,F as UpdateEmailEventOnReceived,G as UserEventsEmit,H as UserEventsOnReceived,J as WalletEventOnReceived,_ as Wallets};
//# sourceMappingURL=index.js.map

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

[DisableMFAEventOnReceived.InvalidRecoveryCode]: () => void;
[DisableMFAEventEmit.VerifyMFACode]: (totp: string) => void;
[DisableMFAEventEmit.LostDevice]: (recoveryCode: string) => void;
[DisableMFAEventEmit.Cancel]: () => void;
};
export {};

@@ -1,5 +0,5 @@

import { AuthEventOnReceived, DeviceVerificationEventEmit, DeviceVerificationEventOnReceived, FarcasterLoginEventEmit, LoginWithEmailOTPEventEmit, LoginWithSmsOTPEventEmit, LoginWithEmailOTPEventOnReceived, LoginWithMagicLinkEventEmit, LoginWithMagicLinkEventOnReceived, RecencyCheckEventEmit, RecencyCheckEventOnReceived, UpdateEmailEventEmit, UpdateEmailEventOnReceived, LoginWithSmsOTPEventOnReceived } from './auth-types';
import { AuthEventOnReceived, DeviceVerificationEventEmit, DeviceVerificationEventOnReceived, FarcasterLoginEventEmit, LoginWithEmailOTPEventEmit, LoginWithSmsOTPEventEmit, LoginWithEmailOTPEventOnReceived, LoginWithMagicLinkEventEmit, LoginWithMagicLinkEventOnReceived, RecencyCheckEventEmit, RecencyCheckEventOnReceived, UpdateEmailEventEmit, UpdateEmailEventOnReceived, LoginWithSmsOTPEventOnReceived, EnableMFAEventEmit, EnableMFAEventOnReceived, DisableMFAEventOnReceived, DisableMFAEventEmit } from './auth-types';
import { NftCheckoutIntermediaryEvents } from './nft-types';
import { WalletEventOnReceived } from './wallet-types';
import { UiEventsEmit } from './common-types';
export declare type IntermediaryEvents = `${LoginWithEmailOTPEventEmit}` | `${LoginWithEmailOTPEventOnReceived}` | `${LoginWithSmsOTPEventEmit}` | `${LoginWithSmsOTPEventOnReceived}` | `${LoginWithMagicLinkEventEmit}` | `${LoginWithMagicLinkEventOnReceived}` | `${DeviceVerificationEventEmit}` | `${DeviceVerificationEventOnReceived}` | `${RecencyCheckEventEmit}` | `${RecencyCheckEventOnReceived}` | `${UpdateEmailEventOnReceived}` | `${UpdateEmailEventEmit}` | `${AuthEventOnReceived}` | `${WalletEventOnReceived}` | `${NftCheckoutIntermediaryEvents}` | `${FarcasterLoginEventEmit}` | `${UiEventsEmit}`;
export declare type IntermediaryEvents = `${LoginWithEmailOTPEventEmit}` | `${LoginWithEmailOTPEventOnReceived}` | `${LoginWithSmsOTPEventEmit}` | `${LoginWithSmsOTPEventOnReceived}` | `${LoginWithMagicLinkEventEmit}` | `${LoginWithMagicLinkEventOnReceived}` | `${DeviceVerificationEventEmit}` | `${DeviceVerificationEventOnReceived}` | `${RecencyCheckEventEmit}` | `${RecencyCheckEventOnReceived}` | `${UpdateEmailEventOnReceived}` | `${UpdateEmailEventEmit}` | `${AuthEventOnReceived}` | `${WalletEventOnReceived}` | `${NftCheckoutIntermediaryEvents}` | `${FarcasterLoginEventEmit}` | `${UiEventsEmit}` | `${EnableMFAEventOnReceived}` | `${EnableMFAEventEmit}` | `${DisableMFAEventOnReceived}` | `${DisableMFAEventEmit}`;
{
"name": "@magic-sdk/types",
"version": "24.8.0",
"version": "24.9.0-canary.808.10901662847.0",
"description": "Core typings for Magic SDK packages.",

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

},
"gitHead": "b534ca0617e666abfc2c007d7f4b6d159abb9489"
"gitHead": "a732d40ace02116bbd936787251a7f6d0c4dd365"
}

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