@dynamic-labs-sdk/react-hooks 1.8.2 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/exports/index.d.ts +83 -79
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/index.d.ts.map +1 -0
- package/dist/hooks/{useAcknowledgeRecoveryCodes → wrappers/functions/useAcknowledgeRecoveryCodes}/useAcknowledgeRecoveryCodes.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useActiveNetworkData/index.d.ts.map +1 -0
- package/dist/hooks/{useActiveNetworkData → wrappers/functions/useActiveNetworkData}/useActiveNetworkData.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useActiveNetworkData/useActiveNetworkData.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAddNetwork/index.d.ts.map +1 -0
- package/dist/hooks/{useAddNetwork → wrappers/functions/useAddNetwork}/useAddNetwork.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts +29 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/index.d.ts.map +1 -0
- package/dist/hooks/{useAuthenticateMfaRecoveryCode → wrappers/functions/useAuthenticateMfaRecoveryCode}/useAuthenticateMfaRecoveryCode.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMfa/index.d.ts.map +1 -0
- package/dist/hooks/{useAuthenticatePasskeyMfa → wrappers/functions/useAuthenticatePasskeyMfa}/useAuthenticatePasskeyMfa.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMfa/useAuthenticatePasskeyMfa.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/index.d.ts.map +1 -0
- package/dist/hooks/{useAuthenticateTotpMfaDevice → wrappers/functions/useAuthenticateTotpMfaDevice}/useAuthenticateTotpMfaDevice.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAvailableWalletProvidersData/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAvailableWalletProvidersData/useAvailableWalletProvidersData.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useBalanceForAddress/index.d.ts.map +1 -0
- package/dist/hooks/{useBalanceForAddress → wrappers/functions/useBalanceForAddress}/useBalanceForAddress.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useBalanceForAddress/useBalanceForAddress.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCheckStepUpAuth/index.d.ts.map +1 -0
- package/dist/hooks/{useCheckStepUpAuth → wrappers/functions/useCheckStepUpAuth}/useCheckStepUpAuth.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCoinbaseBuyUrl/index.d.ts.map +1 -0
- package/dist/hooks/{useCoinbaseBuyUrl → wrappers/functions/useCoinbaseBuyUrl}/useCoinbaseBuyUrl.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCoinbaseBuyUrl/useCoinbaseBuyUrl.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCoinbaseOnrampOrderEventListener/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCoinbaseOnrampOrderEventListener/useCoinbaseOnrampOrderEventListener.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/index.d.ts.map +1 -0
- package/dist/hooks/{useCompleteDeviceRegistration → wrappers/functions/useCompleteDeviceRegistration}/useCompleteDeviceRegistration.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/index.d.ts.map +1 -0
- package/dist/hooks/{useCompleteSocialRedirect → wrappers/functions/useCompleteSocialRedirect}/useCompleteSocialRedirect.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useConfirmTransaction/index.d.ts.map +1 -0
- package/dist/hooks/{useConfirmTransaction → wrappers/functions/useConfirmTransaction}/useConfirmTransaction.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/index.d.ts.map +1 -0
- package/dist/hooks/{useConnectAndVerifyWithWalletProvider → wrappers/functions/useConnectAndVerifyWithWalletProvider}/useConnectAndVerifyWithWalletProvider.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/index.d.ts.map +1 -0
- package/dist/hooks/{useConnectWithWalletProvider → wrappers/functions/useConnectWithWalletProvider}/useConnectWithWalletProvider.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useConsumeMfaToken/index.d.ts.map +1 -0
- package/dist/hooks/{useConsumeMfaToken → wrappers/functions/useConsumeMfaToken}/useConsumeMfaToken.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useConsumeMfaToken/useConsumeMfaToken.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/index.d.ts.map +1 -0
- package/dist/hooks/{useCreateCoinbaseOnrampOrder → wrappers/functions/useCreateCoinbaseOnrampOrder}/useCreateCoinbaseOnrampOrder.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/index.d.ts.map +1 -0
- package/dist/hooks/{useCreateCryptoDotComPayment → wrappers/functions/useCreateCryptoDotComPayment}/useCreateCryptoDotComPayment.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/index.d.ts.map +1 -0
- package/dist/hooks/{useCreateNewMfaRecoveryCodes → wrappers/functions/useCreateNewMfaRecoveryCodes}/useCreateNewMfaRecoveryCodes.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDeleteMfaDevice/index.d.ts.map +1 -0
- package/dist/hooks/{useDeleteMfaDevice → wrappers/functions/useDeleteMfaDevice}/useDeleteMfaDevice.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDeletePasskey/index.d.ts.map +1 -0
- package/dist/hooks/{useDeletePasskey → wrappers/functions/useDeletePasskey}/useDeletePasskey.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDeleteUser/index.d.ts.map +1 -0
- package/dist/hooks/{useDeleteUser → wrappers/functions/useDeleteUser}/useDeleteUser.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useEvent/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useEvent/useEvent.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/index.d.ts.map +1 -0
- package/dist/hooks/{useExecuteSwapTransaction → wrappers/functions/useExecuteSwapTransaction}/useExecuteSwapTransaction.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlow/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useGetFlow/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts +27 -0
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts +28 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGoogleDriveBackupReadiness/index.d.ts.map +1 -0
- package/dist/hooks/{useGoogleDriveBackupReadiness → wrappers/functions/useGoogleDriveBackupReadiness}/useGoogleDriveBackupReadiness.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsCaptchaRequired/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsCaptchaRequired/useIsCaptchaRequired.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useKrakenAccounts/index.d.ts.map +1 -0
- package/dist/hooks/{useKrakenAccounts → wrappers/functions/useKrakenAccounts}/useKrakenAccounts.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useKrakenAccounts/useKrakenAccounts.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useKrakenExchangeTransfer/index.d.ts.map +1 -0
- package/dist/hooks/{useKrakenExchangeTransfer → wrappers/functions/useKrakenExchangeTransfer}/useKrakenExchangeTransfer.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useKrakenExchangeTransfer/useKrakenExchangeTransfer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useKrakenWhitelistedAddresses/index.d.ts.map +1 -0
- package/dist/hooks/{useKrakenWhitelistedAddresses → wrappers/functions/useKrakenWhitelistedAddresses}/useKrakenWhitelistedAddresses.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useLogout/index.d.ts.map +1 -0
- package/dist/hooks/{useLogout → wrappers/functions/useLogout}/useLogout.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useMfaDevices/index.d.ts.map +1 -0
- package/dist/hooks/{useMfaDevices → wrappers/functions/useMfaDevices}/useMfaDevices.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMfaDevices/useMfaDevices.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useMfaMethods/index.d.ts.map +1 -0
- package/dist/hooks/{useMfaMethods → wrappers/functions/useMfaMethods}/useMfaMethods.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMfaMethods/useMfaMethods.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useMfaRecoveryCodes/index.d.ts.map +1 -0
- package/dist/hooks/{useMfaRecoveryCodes → wrappers/functions/useMfaRecoveryCodes}/useMfaRecoveryCodes.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMfaRecoveryCodes/useMfaRecoveryCodes.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useMoonPayCurrencies/index.d.ts.map +1 -0
- package/dist/hooks/{useMoonPayCurrencies → wrappers/functions/useMoonPayCurrencies}/useMoonPayCurrencies.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMoonPayCurrencies/useMoonPayCurrencies.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useMoonPayUrl/index.d.ts.map +1 -0
- package/dist/hooks/{useMoonPayUrl → wrappers/functions/useMoonPayUrl}/useMoonPayUrl.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMoonPayUrl/useMoonPayUrl.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useMultichainTokenBalances/index.d.ts.map +1 -0
- package/dist/hooks/{useMultichainTokenBalances → wrappers/functions/useMultichainTokenBalances}/useMultichainTokenBalances.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMultichainTokenBalances/useMultichainTokenBalances.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useNativeBalance/index.d.ts.map +1 -0
- package/dist/hooks/{useNativeBalance → wrappers/functions/useNativeBalance}/useNativeBalance.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useNativeBalance/useNativeBalance.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useNetworksData/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useNetworksData/useNetworksData.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useOnceEvent/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useOnceEvent/useOnceEvent.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/usePasskeys/index.d.ts.map +1 -0
- package/dist/hooks/{usePasskeys → wrappers/functions/usePasskeys}/usePasskeys.d.ts +1 -1
- package/dist/hooks/wrappers/functions/usePasskeys/usePasskeys.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts +28 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/index.d.ts.map +1 -0
- package/dist/hooks/{useProveWalletAccountOwnership → wrappers/functions/useProveWalletAccountOwnership}/useProveWalletAccountOwnership.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRefreshAuth/index.d.ts.map +1 -0
- package/dist/hooks/{useRefreshAuth → wrappers/functions/useRefreshAuth}/useRefreshAuth.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRegisterPasskey/index.d.ts.map +1 -0
- package/dist/hooks/{useRegisterPasskey → wrappers/functions/useRegisterPasskey}/useRegisterPasskey.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/index.d.ts.map +1 -0
- package/dist/hooks/{useRegisterTotpMfaDevice → wrappers/functions/useRegisterTotpMfaDevice}/useRegisterTotpMfaDevice.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRegisteredDevices/index.d.ts.map +1 -0
- package/dist/hooks/{useRegisteredDevices → wrappers/functions/useRegisteredDevices}/useRegisteredDevices.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRegisteredDevices/useRegisteredDevices.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletAccount/index.d.ts.map +1 -0
- package/dist/hooks/{useRemoveWalletAccount → wrappers/functions/useRemoveWalletAccount}/useRemoveWalletAccount.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/index.d.ts.map +1 -0
- package/dist/hooks/{useRequestExternalAuthElevatedToken → wrappers/functions/useRequestExternalAuthElevatedToken}/useRequestExternalAuthElevatedToken.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/index.d.ts.map +1 -0
- package/dist/hooks/{useRevokeAllRegisteredDevices → wrappers/functions/useRevokeAllRegisteredDevices}/useRevokeAllRegisteredDevices.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/index.d.ts.map +1 -0
- package/dist/hooks/{useRevokeRegisteredDevice → wrappers/functions/useRevokeRegisteredDevice}/useRevokeRegisteredDevice.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSendEmailOtp/index.d.ts.map +1 -0
- package/dist/hooks/{useSendEmailOtp → wrappers/functions/useSendEmailOtp}/useSendEmailOtp.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useSendEmailOtp/useSendEmailOtp.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSendSmsOtp/index.d.ts.map +1 -0
- package/dist/hooks/{useSendSmsOtp → wrappers/functions/useSendSmsOtp}/useSendSmsOtp.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useSendSmsOtp/useSendSmsOtp.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/index.d.ts.map +1 -0
- package/dist/hooks/{useSetDefaultMfaDevice → wrappers/functions/useSetDefaultMfaDevice}/useSetDefaultMfaDevice.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/index.d.ts.map +1 -0
- package/dist/hooks/{useSignInWithExternalJwt → wrappers/functions/useSignInWithExternalJwt}/useSignInWithExternalJwt.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignInWithPasskey/index.d.ts.map +1 -0
- package/dist/hooks/{useSignInWithPasskey → wrappers/functions/useSignInWithPasskey}/useSignInWithPasskey.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/index.d.ts.map +1 -0
- package/dist/hooks/{useSignInWithSocialPopUp → wrappers/functions/useSignInWithSocialPopUp}/useSignInWithSocialPopUp.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/index.d.ts.map +1 -0
- package/dist/hooks/{useSignInWithSocialRedirect → wrappers/functions/useSignInWithSocialRedirect}/useSignInWithSocialRedirect.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignMessage/index.d.ts.map +1 -0
- package/dist/hooks/{useSignMessage → wrappers/functions/useSignMessage}/useSignMessage.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSwapQuote/index.d.ts.map +1 -0
- package/dist/hooks/{useSwapQuote → wrappers/functions/useSwapQuote}/useSwapQuote.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSwapQuote/useSwapQuote.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSwapStatus/index.d.ts.map +1 -0
- package/dist/hooks/{useSwapStatus → wrappers/functions/useSwapStatus}/useSwapStatus.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSwapStatus/useSwapStatus.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/index.d.ts.map +1 -0
- package/dist/hooks/{useSwitchActiveNetwork → wrappers/functions/useSwitchActiveNetwork}/useSwitchActiveNetwork.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useTokenBalances/index.d.ts.map +1 -0
- package/dist/hooks/{useTokenBalances → wrappers/functions/useTokenBalances}/useTokenBalances.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useTokenBalances/useTokenBalances.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useTransactionHistory/index.d.ts.map +1 -0
- package/dist/hooks/{useTransactionHistory → wrappers/functions/useTransactionHistory}/useTransactionHistory.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useTransactionHistory/useTransactionHistory.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useTransferAmount/index.d.ts.map +1 -0
- package/dist/hooks/{useTransferAmount → wrappers/functions/useTransferAmount}/useTransferAmount.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useTransferWalletAccount/index.d.ts.map +1 -0
- package/dist/hooks/{useTransferWalletAccount → wrappers/functions/useTransferWalletAccount}/useTransferWalletAccount.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/index.d.ts.map +1 -0
- package/dist/hooks/{useUnlinkSocialAccount → wrappers/functions/useUnlinkSocialAccount}/useUnlinkSocialAccount.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpdateUser/index.d.ts.map +1 -0
- package/dist/hooks/{useUpdateUser → wrappers/functions/useUpdateUser}/useUpdateUser.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUserSocialAccounts/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUserSocialAccounts/useUserSocialAccounts.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useVerifyOtp/index.d.ts.map +1 -0
- package/dist/hooks/{useVerifyOtp → wrappers/functions/useVerifyOtp}/useVerifyOtp.d.ts +2 -2
- package/dist/hooks/wrappers/functions/useVerifyOtp/useVerifyOtp.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useVerifyWalletAccount/index.d.ts.map +1 -0
- package/dist/hooks/{useVerifyWalletAccount → wrappers/functions/useVerifyWalletAccount}/useVerifyWalletAccount.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletAccounts/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletAccounts/useWalletAccounts.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletConnectCatalog/index.d.ts.map +1 -0
- package/dist/hooks/{useWalletConnectCatalog → wrappers/functions/useWalletConnectCatalog}/useWalletConnectCatalog.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useWalletConnectCatalog/useWalletConnectCatalog.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletOptionsCatalogue/index.d.ts.map +1 -0
- package/dist/hooks/{useWalletOptionsCatalogue → wrappers/functions/useWalletOptionsCatalogue}/useWalletOptionsCatalogue.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useWalletOptionsCatalogue/useWalletOptionsCatalogue.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletProviderEvent/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletProviderEvent/useWalletProviderEvent.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useInitStatus/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useInitStatus/useInitStatus.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useSessionExpiresAt/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useUser/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useUser/useUser.d.ts.map +1 -0
- package/dist/index.cjs +230 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +228 -145
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/hooks/useAcknowledgeRecoveryCodes/index.d.ts.map +0 -1
- package/dist/hooks/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts.map +0 -1
- package/dist/hooks/useActiveNetworkData/index.d.ts.map +0 -1
- package/dist/hooks/useActiveNetworkData/useActiveNetworkData.d.ts.map +0 -1
- package/dist/hooks/useAddNetwork/index.d.ts.map +0 -1
- package/dist/hooks/useAddNetwork/useAddNetwork.d.ts.map +0 -1
- package/dist/hooks/useAuthenticateMfaRecoveryCode/index.d.ts.map +0 -1
- package/dist/hooks/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts.map +0 -1
- package/dist/hooks/useAuthenticatePasskeyMfa/index.d.ts.map +0 -1
- package/dist/hooks/useAuthenticatePasskeyMfa/useAuthenticatePasskeyMfa.d.ts.map +0 -1
- package/dist/hooks/useAuthenticateTotpMfaDevice/index.d.ts.map +0 -1
- package/dist/hooks/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts.map +0 -1
- package/dist/hooks/useAvailableWalletProvidersData/index.d.ts.map +0 -1
- package/dist/hooks/useAvailableWalletProvidersData/useAvailableWalletProvidersData.d.ts.map +0 -1
- package/dist/hooks/useBalanceForAddress/index.d.ts.map +0 -1
- package/dist/hooks/useBalanceForAddress/useBalanceForAddress.d.ts.map +0 -1
- package/dist/hooks/useCheckStepUpAuth/index.d.ts.map +0 -1
- package/dist/hooks/useCheckStepUpAuth/useCheckStepUpAuth.d.ts.map +0 -1
- package/dist/hooks/useCoinbaseBuyUrl/index.d.ts.map +0 -1
- package/dist/hooks/useCoinbaseBuyUrl/useCoinbaseBuyUrl.d.ts.map +0 -1
- package/dist/hooks/useCoinbaseOnrampOrderEventListener/index.d.ts.map +0 -1
- package/dist/hooks/useCoinbaseOnrampOrderEventListener/useCoinbaseOnrampOrderEventListener.d.ts.map +0 -1
- package/dist/hooks/useCompleteDeviceRegistration/index.d.ts.map +0 -1
- package/dist/hooks/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts.map +0 -1
- package/dist/hooks/useCompleteSocialRedirect/index.d.ts.map +0 -1
- package/dist/hooks/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts.map +0 -1
- package/dist/hooks/useConfirmTransaction/index.d.ts.map +0 -1
- package/dist/hooks/useConfirmTransaction/useConfirmTransaction.d.ts.map +0 -1
- package/dist/hooks/useConnectAndVerifyWithWalletProvider/index.d.ts.map +0 -1
- package/dist/hooks/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts.map +0 -1
- package/dist/hooks/useConnectWithWalletProvider/index.d.ts.map +0 -1
- package/dist/hooks/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts.map +0 -1
- package/dist/hooks/useConsumeMfaToken/index.d.ts.map +0 -1
- package/dist/hooks/useConsumeMfaToken/useConsumeMfaToken.d.ts.map +0 -1
- package/dist/hooks/useCreateCoinbaseOnrampOrder/index.d.ts.map +0 -1
- package/dist/hooks/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts.map +0 -1
- package/dist/hooks/useCreateCryptoDotComPayment/index.d.ts.map +0 -1
- package/dist/hooks/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts.map +0 -1
- package/dist/hooks/useCreateNewMfaRecoveryCodes/index.d.ts.map +0 -1
- package/dist/hooks/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts.map +0 -1
- package/dist/hooks/useDeleteMfaDevice/index.d.ts.map +0 -1
- package/dist/hooks/useDeleteMfaDevice/useDeleteMfaDevice.d.ts.map +0 -1
- package/dist/hooks/useDeletePasskey/index.d.ts.map +0 -1
- package/dist/hooks/useDeletePasskey/useDeletePasskey.d.ts.map +0 -1
- package/dist/hooks/useDeleteUser/index.d.ts.map +0 -1
- package/dist/hooks/useDeleteUser/useDeleteUser.d.ts.map +0 -1
- package/dist/hooks/useEvent/index.d.ts.map +0 -1
- package/dist/hooks/useEvent/useEvent.d.ts.map +0 -1
- package/dist/hooks/useExecuteSwapTransaction/index.d.ts.map +0 -1
- package/dist/hooks/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map +0 -1
- package/dist/hooks/useGoogleDriveBackupReadiness/index.d.ts.map +0 -1
- package/dist/hooks/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.d.ts.map +0 -1
- package/dist/hooks/useInitStatus/index.d.ts.map +0 -1
- package/dist/hooks/useInitStatus/useInitStatus.d.ts.map +0 -1
- package/dist/hooks/useIsCaptchaRequired/index.d.ts.map +0 -1
- package/dist/hooks/useIsCaptchaRequired/useIsCaptchaRequired.d.ts.map +0 -1
- package/dist/hooks/useIsUserMissingMfaAuth/index.d.ts.map +0 -1
- package/dist/hooks/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +0 -1
- package/dist/hooks/useIsUserOnboardingComplete/index.d.ts.map +0 -1
- package/dist/hooks/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +0 -1
- package/dist/hooks/useKrakenAccounts/index.d.ts.map +0 -1
- package/dist/hooks/useKrakenAccounts/useKrakenAccounts.d.ts.map +0 -1
- package/dist/hooks/useKrakenExchangeTransfer/index.d.ts.map +0 -1
- package/dist/hooks/useKrakenExchangeTransfer/useKrakenExchangeTransfer.d.ts.map +0 -1
- package/dist/hooks/useKrakenWhitelistedAddresses/index.d.ts.map +0 -1
- package/dist/hooks/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.d.ts.map +0 -1
- package/dist/hooks/useLogout/index.d.ts.map +0 -1
- package/dist/hooks/useLogout/useLogout.d.ts.map +0 -1
- package/dist/hooks/useMfaDevices/index.d.ts.map +0 -1
- package/dist/hooks/useMfaDevices/useMfaDevices.d.ts.map +0 -1
- package/dist/hooks/useMfaMethods/index.d.ts.map +0 -1
- package/dist/hooks/useMfaMethods/useMfaMethods.d.ts.map +0 -1
- package/dist/hooks/useMfaRecoveryCodes/index.d.ts.map +0 -1
- package/dist/hooks/useMfaRecoveryCodes/useMfaRecoveryCodes.d.ts.map +0 -1
- package/dist/hooks/useMoonPayCurrencies/index.d.ts.map +0 -1
- package/dist/hooks/useMoonPayCurrencies/useMoonPayCurrencies.d.ts.map +0 -1
- package/dist/hooks/useMoonPayUrl/index.d.ts.map +0 -1
- package/dist/hooks/useMoonPayUrl/useMoonPayUrl.d.ts.map +0 -1
- package/dist/hooks/useMultichainTokenBalances/index.d.ts.map +0 -1
- package/dist/hooks/useMultichainTokenBalances/useMultichainTokenBalances.d.ts.map +0 -1
- package/dist/hooks/useNativeBalance/index.d.ts.map +0 -1
- package/dist/hooks/useNativeBalance/useNativeBalance.d.ts.map +0 -1
- package/dist/hooks/useNetworksData/index.d.ts.map +0 -1
- package/dist/hooks/useNetworksData/useNetworksData.d.ts.map +0 -1
- package/dist/hooks/useOnceEvent/index.d.ts.map +0 -1
- package/dist/hooks/useOnceEvent/useOnceEvent.d.ts.map +0 -1
- package/dist/hooks/usePasskeys/index.d.ts.map +0 -1
- package/dist/hooks/usePasskeys/usePasskeys.d.ts.map +0 -1
- package/dist/hooks/useProveWalletAccountOwnership/index.d.ts.map +0 -1
- package/dist/hooks/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts.map +0 -1
- package/dist/hooks/useRefreshAuth/index.d.ts.map +0 -1
- package/dist/hooks/useRefreshAuth/useRefreshAuth.d.ts.map +0 -1
- package/dist/hooks/useRegisterPasskey/index.d.ts.map +0 -1
- package/dist/hooks/useRegisterPasskey/useRegisterPasskey.d.ts.map +0 -1
- package/dist/hooks/useRegisterTotpMfaDevice/index.d.ts.map +0 -1
- package/dist/hooks/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts.map +0 -1
- package/dist/hooks/useRegisteredDevices/index.d.ts.map +0 -1
- package/dist/hooks/useRegisteredDevices/useRegisteredDevices.d.ts.map +0 -1
- package/dist/hooks/useRemoveWalletAccount/index.d.ts.map +0 -1
- package/dist/hooks/useRemoveWalletAccount/useRemoveWalletAccount.d.ts.map +0 -1
- package/dist/hooks/useRequestExternalAuthElevatedToken/index.d.ts.map +0 -1
- package/dist/hooks/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts.map +0 -1
- package/dist/hooks/useRevokeAllRegisteredDevices/index.d.ts.map +0 -1
- package/dist/hooks/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts.map +0 -1
- package/dist/hooks/useRevokeRegisteredDevice/index.d.ts.map +0 -1
- package/dist/hooks/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts.map +0 -1
- package/dist/hooks/useSendEmailOtp/index.d.ts.map +0 -1
- package/dist/hooks/useSendEmailOtp/useSendEmailOtp.d.ts.map +0 -1
- package/dist/hooks/useSendSmsOtp/index.d.ts.map +0 -1
- package/dist/hooks/useSendSmsOtp/useSendSmsOtp.d.ts.map +0 -1
- package/dist/hooks/useSessionExpiresAt/index.d.ts.map +0 -1
- package/dist/hooks/useSessionExpiresAt/useSessionExpiresAt.d.ts.map +0 -1
- package/dist/hooks/useSetDefaultMfaDevice/index.d.ts.map +0 -1
- package/dist/hooks/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts.map +0 -1
- package/dist/hooks/useSignInWithExternalJwt/index.d.ts.map +0 -1
- package/dist/hooks/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map +0 -1
- package/dist/hooks/useSignInWithPasskey/index.d.ts.map +0 -1
- package/dist/hooks/useSignInWithPasskey/useSignInWithPasskey.d.ts.map +0 -1
- package/dist/hooks/useSignInWithSocialPopUp/index.d.ts.map +0 -1
- package/dist/hooks/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map +0 -1
- package/dist/hooks/useSignInWithSocialRedirect/index.d.ts.map +0 -1
- package/dist/hooks/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts.map +0 -1
- package/dist/hooks/useSignMessage/index.d.ts.map +0 -1
- package/dist/hooks/useSignMessage/useSignMessage.d.ts.map +0 -1
- package/dist/hooks/useSwapQuote/index.d.ts.map +0 -1
- package/dist/hooks/useSwapQuote/useSwapQuote.d.ts.map +0 -1
- package/dist/hooks/useSwapStatus/index.d.ts.map +0 -1
- package/dist/hooks/useSwapStatus/useSwapStatus.d.ts.map +0 -1
- package/dist/hooks/useSwitchActiveNetwork/index.d.ts.map +0 -1
- package/dist/hooks/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts.map +0 -1
- package/dist/hooks/useTokenBalances/index.d.ts.map +0 -1
- package/dist/hooks/useTokenBalances/useTokenBalances.d.ts.map +0 -1
- package/dist/hooks/useTransactionHistory/index.d.ts.map +0 -1
- package/dist/hooks/useTransactionHistory/useTransactionHistory.d.ts.map +0 -1
- package/dist/hooks/useTransferAmount/index.d.ts.map +0 -1
- package/dist/hooks/useTransferAmount/useTransferAmount.d.ts.map +0 -1
- package/dist/hooks/useTransferWalletAccount/index.d.ts.map +0 -1
- package/dist/hooks/useTransferWalletAccount/useTransferWalletAccount.d.ts.map +0 -1
- package/dist/hooks/useUnlinkSocialAccount/index.d.ts.map +0 -1
- package/dist/hooks/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts.map +0 -1
- package/dist/hooks/useUpdateUser/index.d.ts.map +0 -1
- package/dist/hooks/useUpdateUser/useUpdateUser.d.ts.map +0 -1
- package/dist/hooks/useUser/index.d.ts.map +0 -1
- package/dist/hooks/useUser/useUser.d.ts.map +0 -1
- package/dist/hooks/useUserSocialAccounts/index.d.ts.map +0 -1
- package/dist/hooks/useUserSocialAccounts/useUserSocialAccounts.d.ts.map +0 -1
- package/dist/hooks/useVerifyOtp/index.d.ts.map +0 -1
- package/dist/hooks/useVerifyOtp/useVerifyOtp.d.ts.map +0 -1
- package/dist/hooks/useVerifyWalletAccount/index.d.ts.map +0 -1
- package/dist/hooks/useVerifyWalletAccount/useVerifyWalletAccount.d.ts.map +0 -1
- package/dist/hooks/useWalletAccounts/index.d.ts.map +0 -1
- package/dist/hooks/useWalletAccounts/useWalletAccounts.d.ts.map +0 -1
- package/dist/hooks/useWalletConnectCatalog/index.d.ts.map +0 -1
- package/dist/hooks/useWalletConnectCatalog/useWalletConnectCatalog.d.ts.map +0 -1
- package/dist/hooks/useWalletOptionsCatalogue/index.d.ts.map +0 -1
- package/dist/hooks/useWalletOptionsCatalogue/useWalletOptionsCatalogue.d.ts.map +0 -1
- package/dist/hooks/useWalletProviderEvent/index.d.ts.map +0 -1
- package/dist/hooks/useWalletProviderEvent/useWalletProviderEvent.d.ts.map +0 -1
- /package/dist/hooks/{useAcknowledgeRecoveryCodes → wrappers/functions/useAcknowledgeRecoveryCodes}/index.d.ts +0 -0
- /package/dist/hooks/{useActiveNetworkData → wrappers/functions/useActiveNetworkData}/index.d.ts +0 -0
- /package/dist/hooks/{useAddNetwork → wrappers/functions/useAddNetwork}/index.d.ts +0 -0
- /package/dist/hooks/{useAuthenticateMfaRecoveryCode → wrappers/functions/useAuthenticateMfaRecoveryCode}/index.d.ts +0 -0
- /package/dist/hooks/{useAuthenticatePasskeyMfa → wrappers/functions/useAuthenticatePasskeyMfa}/index.d.ts +0 -0
- /package/dist/hooks/{useAuthenticateTotpMfaDevice → wrappers/functions/useAuthenticateTotpMfaDevice}/index.d.ts +0 -0
- /package/dist/hooks/{useAvailableWalletProvidersData → wrappers/functions/useAvailableWalletProvidersData}/index.d.ts +0 -0
- /package/dist/hooks/{useAvailableWalletProvidersData → wrappers/functions/useAvailableWalletProvidersData}/useAvailableWalletProvidersData.d.ts +0 -0
- /package/dist/hooks/{useBalanceForAddress → wrappers/functions/useBalanceForAddress}/index.d.ts +0 -0
- /package/dist/hooks/{useCheckStepUpAuth → wrappers/functions/useCheckStepUpAuth}/index.d.ts +0 -0
- /package/dist/hooks/{useCoinbaseBuyUrl → wrappers/functions/useCoinbaseBuyUrl}/index.d.ts +0 -0
- /package/dist/hooks/{useCoinbaseOnrampOrderEventListener → wrappers/functions/useCoinbaseOnrampOrderEventListener}/index.d.ts +0 -0
- /package/dist/hooks/{useCoinbaseOnrampOrderEventListener → wrappers/functions/useCoinbaseOnrampOrderEventListener}/useCoinbaseOnrampOrderEventListener.d.ts +0 -0
- /package/dist/hooks/{useCompleteDeviceRegistration → wrappers/functions/useCompleteDeviceRegistration}/index.d.ts +0 -0
- /package/dist/hooks/{useCompleteSocialRedirect → wrappers/functions/useCompleteSocialRedirect}/index.d.ts +0 -0
- /package/dist/hooks/{useConfirmTransaction → wrappers/functions/useConfirmTransaction}/index.d.ts +0 -0
- /package/dist/hooks/{useConnectAndVerifyWithWalletProvider → wrappers/functions/useConnectAndVerifyWithWalletProvider}/index.d.ts +0 -0
- /package/dist/hooks/{useConnectWithWalletProvider → wrappers/functions/useConnectWithWalletProvider}/index.d.ts +0 -0
- /package/dist/hooks/{useConsumeMfaToken → wrappers/functions/useConsumeMfaToken}/index.d.ts +0 -0
- /package/dist/hooks/{useCreateCoinbaseOnrampOrder → wrappers/functions/useCreateCoinbaseOnrampOrder}/index.d.ts +0 -0
- /package/dist/hooks/{useCreateCryptoDotComPayment → wrappers/functions/useCreateCryptoDotComPayment}/index.d.ts +0 -0
- /package/dist/hooks/{useCreateNewMfaRecoveryCodes → wrappers/functions/useCreateNewMfaRecoveryCodes}/index.d.ts +0 -0
- /package/dist/hooks/{useDeleteMfaDevice → wrappers/functions/useDeleteMfaDevice}/index.d.ts +0 -0
- /package/dist/hooks/{useDeletePasskey → wrappers/functions/useDeletePasskey}/index.d.ts +0 -0
- /package/dist/hooks/{useDeleteUser → wrappers/functions/useDeleteUser}/index.d.ts +0 -0
- /package/dist/hooks/{useEvent → wrappers/functions/useEvent}/index.d.ts +0 -0
- /package/dist/hooks/{useEvent → wrappers/functions/useEvent}/useEvent.d.ts +0 -0
- /package/dist/hooks/{useExecuteSwapTransaction → wrappers/functions/useExecuteSwapTransaction}/index.d.ts +0 -0
- /package/dist/hooks/{useGoogleDriveBackupReadiness → wrappers/functions/useGoogleDriveBackupReadiness}/index.d.ts +0 -0
- /package/dist/hooks/{useIsCaptchaRequired → wrappers/functions/useIsCaptchaRequired}/index.d.ts +0 -0
- /package/dist/hooks/{useIsCaptchaRequired → wrappers/functions/useIsCaptchaRequired}/useIsCaptchaRequired.d.ts +0 -0
- /package/dist/hooks/{useIsUserMissingMfaAuth → wrappers/functions/useIsUserMissingMfaAuth}/index.d.ts +0 -0
- /package/dist/hooks/{useIsUserMissingMfaAuth → wrappers/functions/useIsUserMissingMfaAuth}/useIsUserMissingMfaAuth.d.ts +0 -0
- /package/dist/hooks/{useIsUserOnboardingComplete → wrappers/functions/useIsUserOnboardingComplete}/index.d.ts +0 -0
- /package/dist/hooks/{useIsUserOnboardingComplete → wrappers/functions/useIsUserOnboardingComplete}/useIsUserOnboardingComplete.d.ts +0 -0
- /package/dist/hooks/{useKrakenAccounts → wrappers/functions/useKrakenAccounts}/index.d.ts +0 -0
- /package/dist/hooks/{useKrakenExchangeTransfer → wrappers/functions/useKrakenExchangeTransfer}/index.d.ts +0 -0
- /package/dist/hooks/{useKrakenWhitelistedAddresses → wrappers/functions/useKrakenWhitelistedAddresses}/index.d.ts +0 -0
- /package/dist/hooks/{useLogout → wrappers/functions/useLogout}/index.d.ts +0 -0
- /package/dist/hooks/{useMfaDevices → wrappers/functions/useMfaDevices}/index.d.ts +0 -0
- /package/dist/hooks/{useMfaMethods → wrappers/functions/useMfaMethods}/index.d.ts +0 -0
- /package/dist/hooks/{useMfaRecoveryCodes → wrappers/functions/useMfaRecoveryCodes}/index.d.ts +0 -0
- /package/dist/hooks/{useMoonPayCurrencies → wrappers/functions/useMoonPayCurrencies}/index.d.ts +0 -0
- /package/dist/hooks/{useMoonPayUrl → wrappers/functions/useMoonPayUrl}/index.d.ts +0 -0
- /package/dist/hooks/{useMultichainTokenBalances → wrappers/functions/useMultichainTokenBalances}/index.d.ts +0 -0
- /package/dist/hooks/{useNativeBalance → wrappers/functions/useNativeBalance}/index.d.ts +0 -0
- /package/dist/hooks/{useNetworksData → wrappers/functions/useNetworksData}/index.d.ts +0 -0
- /package/dist/hooks/{useNetworksData → wrappers/functions/useNetworksData}/useNetworksData.d.ts +0 -0
- /package/dist/hooks/{useOnceEvent → wrappers/functions/useOnceEvent}/index.d.ts +0 -0
- /package/dist/hooks/{useOnceEvent → wrappers/functions/useOnceEvent}/useOnceEvent.d.ts +0 -0
- /package/dist/hooks/{usePasskeys → wrappers/functions/usePasskeys}/index.d.ts +0 -0
- /package/dist/hooks/{useProveWalletAccountOwnership → wrappers/functions/useProveWalletAccountOwnership}/index.d.ts +0 -0
- /package/dist/hooks/{useRefreshAuth → wrappers/functions/useRefreshAuth}/index.d.ts +0 -0
- /package/dist/hooks/{useRegisterPasskey → wrappers/functions/useRegisterPasskey}/index.d.ts +0 -0
- /package/dist/hooks/{useRegisterTotpMfaDevice → wrappers/functions/useRegisterTotpMfaDevice}/index.d.ts +0 -0
- /package/dist/hooks/{useRegisteredDevices → wrappers/functions/useRegisteredDevices}/index.d.ts +0 -0
- /package/dist/hooks/{useRemoveWalletAccount → wrappers/functions/useRemoveWalletAccount}/index.d.ts +0 -0
- /package/dist/hooks/{useRequestExternalAuthElevatedToken → wrappers/functions/useRequestExternalAuthElevatedToken}/index.d.ts +0 -0
- /package/dist/hooks/{useRevokeAllRegisteredDevices → wrappers/functions/useRevokeAllRegisteredDevices}/index.d.ts +0 -0
- /package/dist/hooks/{useRevokeRegisteredDevice → wrappers/functions/useRevokeRegisteredDevice}/index.d.ts +0 -0
- /package/dist/hooks/{useSendEmailOtp → wrappers/functions/useSendEmailOtp}/index.d.ts +0 -0
- /package/dist/hooks/{useSendSmsOtp → wrappers/functions/useSendSmsOtp}/index.d.ts +0 -0
- /package/dist/hooks/{useSetDefaultMfaDevice → wrappers/functions/useSetDefaultMfaDevice}/index.d.ts +0 -0
- /package/dist/hooks/{useSignInWithExternalJwt → wrappers/functions/useSignInWithExternalJwt}/index.d.ts +0 -0
- /package/dist/hooks/{useSignInWithPasskey → wrappers/functions/useSignInWithPasskey}/index.d.ts +0 -0
- /package/dist/hooks/{useSignInWithSocialPopUp → wrappers/functions/useSignInWithSocialPopUp}/index.d.ts +0 -0
- /package/dist/hooks/{useSignInWithSocialRedirect → wrappers/functions/useSignInWithSocialRedirect}/index.d.ts +0 -0
- /package/dist/hooks/{useSignMessage → wrappers/functions/useSignMessage}/index.d.ts +0 -0
- /package/dist/hooks/{useSwapQuote → wrappers/functions/useSwapQuote}/index.d.ts +0 -0
- /package/dist/hooks/{useSwapStatus → wrappers/functions/useSwapStatus}/index.d.ts +0 -0
- /package/dist/hooks/{useSwitchActiveNetwork → wrappers/functions/useSwitchActiveNetwork}/index.d.ts +0 -0
- /package/dist/hooks/{useTokenBalances → wrappers/functions/useTokenBalances}/index.d.ts +0 -0
- /package/dist/hooks/{useTransactionHistory → wrappers/functions/useTransactionHistory}/index.d.ts +0 -0
- /package/dist/hooks/{useTransferAmount → wrappers/functions/useTransferAmount}/index.d.ts +0 -0
- /package/dist/hooks/{useTransferWalletAccount → wrappers/functions/useTransferWalletAccount}/index.d.ts +0 -0
- /package/dist/hooks/{useUnlinkSocialAccount → wrappers/functions/useUnlinkSocialAccount}/index.d.ts +0 -0
- /package/dist/hooks/{useUpdateUser → wrappers/functions/useUpdateUser}/index.d.ts +0 -0
- /package/dist/hooks/{useUserSocialAccounts → wrappers/functions/useUserSocialAccounts}/index.d.ts +0 -0
- /package/dist/hooks/{useUserSocialAccounts → wrappers/functions/useUserSocialAccounts}/useUserSocialAccounts.d.ts +0 -0
- /package/dist/hooks/{useVerifyOtp → wrappers/functions/useVerifyOtp}/index.d.ts +0 -0
- /package/dist/hooks/{useVerifyWalletAccount → wrappers/functions/useVerifyWalletAccount}/index.d.ts +0 -0
- /package/dist/hooks/{useWalletAccounts → wrappers/functions/useWalletAccounts}/index.d.ts +0 -0
- /package/dist/hooks/{useWalletAccounts → wrappers/functions/useWalletAccounts}/useWalletAccounts.d.ts +0 -0
- /package/dist/hooks/{useWalletConnectCatalog → wrappers/functions/useWalletConnectCatalog}/index.d.ts +0 -0
- /package/dist/hooks/{useWalletOptionsCatalogue → wrappers/functions/useWalletOptionsCatalogue}/index.d.ts +0 -0
- /package/dist/hooks/{useWalletProviderEvent → wrappers/functions/useWalletProviderEvent}/index.d.ts +0 -0
- /package/dist/hooks/{useWalletProviderEvent → wrappers/functions/useWalletProviderEvent}/useWalletProviderEvent.d.ts +0 -0
- /package/dist/hooks/{useInitStatus → wrappers/state/useInitStatus}/index.d.ts +0 -0
- /package/dist/hooks/{useInitStatus → wrappers/state/useInitStatus}/useInitStatus.d.ts +0 -0
- /package/dist/hooks/{useSessionExpiresAt → wrappers/state/useSessionExpiresAt}/index.d.ts +0 -0
- /package/dist/hooks/{useSessionExpiresAt → wrappers/state/useSessionExpiresAt}/useSessionExpiresAt.d.ts +0 -0
- /package/dist/hooks/{useUser → wrappers/state/useUser}/index.d.ts +0 -0
- /package/dist/hooks/{useUser → wrappers/state/useUser}/useUser.d.ts +0 -0
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ let _dynamic_labs_sdk_client_core = require("@dynamic-labs-sdk/client/core");
|
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "@dynamic-labs-sdk/react-hooks";
|
|
10
|
-
var version = "1.
|
|
10
|
+
var version = "1.10.0";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/modules/DynamicContext/DynamicContext.ts
|
|
@@ -86,7 +86,7 @@ const useBaseMutation = ({ mutationFn, mutateParams }) => {
|
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
//#endregion
|
|
89
|
-
//#region src/hooks/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.ts
|
|
89
|
+
//#region src/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.ts
|
|
90
90
|
/**
|
|
91
91
|
* Marks the current user's MFA recovery codes as acknowledged. Takes no arguments — call `mutate()` after the user confirms they have stored the codes shown by {@link useMfaRecoveryCodes}.
|
|
92
92
|
*
|
|
@@ -138,7 +138,7 @@ const useBaseQuery = ({ queryFn, queryKey, queryParams, enabled = true }) => {
|
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
//#endregion
|
|
141
|
-
//#region src/hooks/useActiveNetworkData/useActiveNetworkData.ts
|
|
141
|
+
//#region src/hooks/wrappers/functions/useActiveNetworkData/useActiveNetworkData.ts
|
|
142
142
|
/**
|
|
143
143
|
* Wraps `getActiveNetworkData` from `@dynamic-labs-sdk/client`. Returns the network the given wallet account is currently on.
|
|
144
144
|
*
|
|
@@ -154,7 +154,7 @@ const useActiveNetworkData = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
//#endregion
|
|
157
|
-
//#region src/hooks/useAddNetwork/useAddNetwork.ts
|
|
157
|
+
//#region src/hooks/wrappers/functions/useAddNetwork/useAddNetwork.ts
|
|
158
158
|
/**
|
|
159
159
|
* Wraps `addNetwork` from `@dynamic-labs-sdk/client`. Call `mutate({ networkData, walletAccount })` to register a custom network on the given wallet account.
|
|
160
160
|
*
|
|
@@ -175,7 +175,29 @@ const useAddNetwork = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
175
175
|
});
|
|
176
176
|
|
|
177
177
|
//#endregion
|
|
178
|
-
//#region src/hooks/
|
|
178
|
+
//#region src/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.ts
|
|
179
|
+
/**
|
|
180
|
+
* Attaches a payment source to a flow.
|
|
181
|
+
*
|
|
182
|
+
* Wraps `attachFlowSource` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId, sourceType, fromAddress, fromChainId, fromChainName })`
|
|
183
|
+
* to attach a payment source to a flow; the resolved `data` is an object containing
|
|
184
|
+
* the flow and the session token.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```tsx
|
|
188
|
+
* const { mutate: attachFlowSource, isPending } = useAttachFlowSource();
|
|
189
|
+
* <button onClick={() => attachFlowSource({ flowId, sourceType, fromAddress, fromChainId, fromChainName })} disabled={isPending}>
|
|
190
|
+
* Attach flow source
|
|
191
|
+
* </button>
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
const useAttachFlowSource = ({ mutateParams } = {}) => useBaseMutation({
|
|
195
|
+
mutateParams,
|
|
196
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.attachFlowSource)(variables, client)
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.ts
|
|
179
201
|
/**
|
|
180
202
|
* Authenticates the current user with one of their MFA recovery codes.
|
|
181
203
|
*
|
|
@@ -202,7 +224,7 @@ const useAuthenticateMfaRecoveryCode = ({ mutateParams } = {}) => useBaseMutatio
|
|
|
202
224
|
});
|
|
203
225
|
|
|
204
226
|
//#endregion
|
|
205
|
-
//#region src/hooks/useAuthenticatePasskeyMfa/useAuthenticatePasskeyMfa.ts
|
|
227
|
+
//#region src/hooks/wrappers/functions/useAuthenticatePasskeyMfa/useAuthenticatePasskeyMfa.ts
|
|
206
228
|
/**
|
|
207
229
|
* Completes an MFA challenge using the current user's passkey.
|
|
208
230
|
*
|
|
@@ -225,7 +247,7 @@ const useAuthenticatePasskeyMfa = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
225
247
|
});
|
|
226
248
|
|
|
227
249
|
//#endregion
|
|
228
|
-
//#region src/hooks/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.ts
|
|
250
|
+
//#region src/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.ts
|
|
229
251
|
/**
|
|
230
252
|
* Authenticates the current user with a TOTP code from an authenticator app.
|
|
231
253
|
*
|
|
@@ -356,7 +378,7 @@ const useBaseState = ({ event, queryKey, queryParams, selector, defaultValue, sk
|
|
|
356
378
|
};
|
|
357
379
|
|
|
358
380
|
//#endregion
|
|
359
|
-
//#region src/hooks/useAvailableWalletProvidersData/useAvailableWalletProvidersData.ts
|
|
381
|
+
//#region src/hooks/wrappers/functions/useAvailableWalletProvidersData/useAvailableWalletProvidersData.ts
|
|
360
382
|
/**
|
|
361
383
|
* Returns the available wallet providers and their data.
|
|
362
384
|
*
|
|
@@ -370,7 +392,7 @@ const useAvailableWalletProvidersData = () => useBaseState({
|
|
|
370
392
|
});
|
|
371
393
|
|
|
372
394
|
//#endregion
|
|
373
|
-
//#region src/hooks/useBalanceForAddress/useBalanceForAddress.ts
|
|
395
|
+
//#region src/hooks/wrappers/functions/useBalanceForAddress/useBalanceForAddress.ts
|
|
374
396
|
/**
|
|
375
397
|
* Wraps `getBalanceForAddress` from `@dynamic-labs-sdk/client`. Returns the native-token balance for an arbitrary address on the given chain/network.
|
|
376
398
|
*
|
|
@@ -386,7 +408,7 @@ const useBalanceForAddress = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
386
408
|
});
|
|
387
409
|
|
|
388
410
|
//#endregion
|
|
389
|
-
//#region src/hooks/useCheckStepUpAuth/useCheckStepUpAuth.ts
|
|
411
|
+
//#region src/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.ts
|
|
390
412
|
/**
|
|
391
413
|
* Checks whether step-up authentication is required for a given scope and
|
|
392
414
|
* returns the credentials available to satisfy it.
|
|
@@ -410,7 +432,7 @@ const useCheckStepUpAuth = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
410
432
|
});
|
|
411
433
|
|
|
412
434
|
//#endregion
|
|
413
|
-
//#region src/hooks/useCoinbaseBuyUrl/useCoinbaseBuyUrl.ts
|
|
435
|
+
//#region src/hooks/wrappers/functions/useCoinbaseBuyUrl/useCoinbaseBuyUrl.ts
|
|
414
436
|
/**
|
|
415
437
|
* Wraps `getCoinbaseBuyUrl` from `@dynamic-labs-sdk/client`. Returns a Coinbase onramp buy URL for the given parameters.
|
|
416
438
|
*
|
|
@@ -426,7 +448,7 @@ const useCoinbaseBuyUrl = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
426
448
|
});
|
|
427
449
|
|
|
428
450
|
//#endregion
|
|
429
|
-
//#region src/hooks/useCoinbaseOnrampOrderEventListener/useCoinbaseOnrampOrderEventListener.ts
|
|
451
|
+
//#region src/hooks/wrappers/functions/useCoinbaseOnrampOrderEventListener/useCoinbaseOnrampOrderEventListener.ts
|
|
430
452
|
/**
|
|
431
453
|
* Subscribes to Coinbase onramp order events for the duration of the component.
|
|
432
454
|
*
|
|
@@ -451,7 +473,7 @@ const useCoinbaseOnrampOrderEventListener = ({ listener }) => {
|
|
|
451
473
|
};
|
|
452
474
|
|
|
453
475
|
//#endregion
|
|
454
|
-
//#region src/hooks/useCompleteDeviceRegistration/useCompleteDeviceRegistration.ts
|
|
476
|
+
//#region src/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.ts
|
|
455
477
|
/**
|
|
456
478
|
* Wraps `completeDeviceRegistration` from `@dynamic-labs-sdk/client`. Call `mutate({ deviceToken })` with the device token parsed from the redirect URL; the resolved `data` is a `VerifyResponse`.
|
|
457
479
|
*
|
|
@@ -468,7 +490,7 @@ const useCompleteDeviceRegistration = ({ mutateParams } = {}) => useBaseMutation
|
|
|
468
490
|
});
|
|
469
491
|
|
|
470
492
|
//#endregion
|
|
471
|
-
//#region src/hooks/useCompleteSocialRedirect/useCompleteSocialRedirect.ts
|
|
493
|
+
//#region src/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.ts
|
|
472
494
|
/**
|
|
473
495
|
* Wraps `completeSocialRedirect` from `@dynamic-labs-sdk/client`. Call `mutate(params)` with the OAuth callback URL once the provider has redirected back to finish the sign-in; the resolved `data` is the signed-in `User` (or `null`).
|
|
474
496
|
*
|
|
@@ -485,7 +507,7 @@ const useCompleteSocialRedirect = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
485
507
|
});
|
|
486
508
|
|
|
487
509
|
//#endregion
|
|
488
|
-
//#region src/hooks/useConfirmTransaction/useConfirmTransaction.ts
|
|
510
|
+
//#region src/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.ts
|
|
489
511
|
/**
|
|
490
512
|
* Wraps `confirmTransaction` from `@dynamic-labs-sdk/client`. Call `mutate({ walletAccount, transactionHash })` to await confirmation of a submitted transaction; the resolved `data` is `void`.
|
|
491
513
|
*
|
|
@@ -501,7 +523,7 @@ const useConfirmTransaction = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
501
523
|
});
|
|
502
524
|
|
|
503
525
|
//#endregion
|
|
504
|
-
//#region src/hooks/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.ts
|
|
526
|
+
//#region src/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.ts
|
|
505
527
|
/**
|
|
506
528
|
* Connects to a wallet provider and verifies ownership in a single step.
|
|
507
529
|
*
|
|
@@ -531,7 +553,7 @@ const useConnectAndVerifyWithWalletProvider = ({ mutateParams } = {}) => useBase
|
|
|
531
553
|
});
|
|
532
554
|
|
|
533
555
|
//#endregion
|
|
534
|
-
//#region src/hooks/useConnectWithWalletProvider/useConnectWithWalletProvider.ts
|
|
556
|
+
//#region src/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.ts
|
|
535
557
|
/**
|
|
536
558
|
* Connects to a wallet provider and returns the connected wallet account.
|
|
537
559
|
*
|
|
@@ -558,7 +580,7 @@ const useConnectWithWalletProvider = ({ mutateParams } = {}) => useBaseMutation(
|
|
|
558
580
|
});
|
|
559
581
|
|
|
560
582
|
//#endregion
|
|
561
|
-
//#region src/hooks/useConsumeMfaToken/useConsumeMfaToken.ts
|
|
583
|
+
//#region src/hooks/wrappers/functions/useConsumeMfaToken/useConsumeMfaToken.ts
|
|
562
584
|
/**
|
|
563
585
|
* Consumes and clears the current MFA token from client state.
|
|
564
586
|
*
|
|
@@ -579,7 +601,7 @@ const useConsumeMfaToken = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
579
601
|
});
|
|
580
602
|
|
|
581
603
|
//#endregion
|
|
582
|
-
//#region src/hooks/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.ts
|
|
604
|
+
//#region src/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.ts
|
|
583
605
|
/**
|
|
584
606
|
* Wraps `createCoinbaseOnrampOrder` from `@dynamic-labs-sdk/client`. Call `mutate(orderParams)` to create a Coinbase onramp order; the resolved `data` is the order response.
|
|
585
607
|
*
|
|
@@ -595,7 +617,7 @@ const useCreateCoinbaseOnrampOrder = ({ mutateParams } = {}) => useBaseMutation(
|
|
|
595
617
|
});
|
|
596
618
|
|
|
597
619
|
//#endregion
|
|
598
|
-
//#region src/hooks/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.ts
|
|
620
|
+
//#region src/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.ts
|
|
599
621
|
/**
|
|
600
622
|
* Wraps `createCryptoDotComPayment` from `@dynamic-labs-sdk/client`. Call `mutate(paymentParams)` to create a Crypto.com Pay payment; the resolved `data` is the payment response.
|
|
601
623
|
*
|
|
@@ -612,7 +634,7 @@ const useCreateCryptoDotComPayment = ({ mutateParams } = {}) => useBaseMutation(
|
|
|
612
634
|
});
|
|
613
635
|
|
|
614
636
|
//#endregion
|
|
615
|
-
//#region src/hooks/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.ts
|
|
637
|
+
//#region src/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.ts
|
|
616
638
|
/**
|
|
617
639
|
* Regenerates the current user's MFA recovery codes.
|
|
618
640
|
*
|
|
@@ -635,7 +657,7 @@ const useCreateNewMfaRecoveryCodes = ({ mutateParams } = {}) => useBaseMutation(
|
|
|
635
657
|
});
|
|
636
658
|
|
|
637
659
|
//#endregion
|
|
638
|
-
//#region src/hooks/useDeleteMfaDevice/useDeleteMfaDevice.ts
|
|
660
|
+
//#region src/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.ts
|
|
639
661
|
/**
|
|
640
662
|
* Deletes one of the current user's MFA devices.
|
|
641
663
|
*
|
|
@@ -657,7 +679,7 @@ const useDeleteMfaDevice = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
657
679
|
});
|
|
658
680
|
|
|
659
681
|
//#endregion
|
|
660
|
-
//#region src/hooks/useDeletePasskey/useDeletePasskey.ts
|
|
682
|
+
//#region src/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.ts
|
|
661
683
|
/**
|
|
662
684
|
* Deletes one of the current user's passkeys.
|
|
663
685
|
*
|
|
@@ -679,7 +701,7 @@ const useDeletePasskey = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
679
701
|
});
|
|
680
702
|
|
|
681
703
|
//#endregion
|
|
682
|
-
//#region src/hooks/useDeleteUser/useDeleteUser.ts
|
|
704
|
+
//#region src/hooks/wrappers/functions/useDeleteUser/useDeleteUser.ts
|
|
683
705
|
/**
|
|
684
706
|
* Permanently deletes the current user's account and logs them out.
|
|
685
707
|
*
|
|
@@ -701,7 +723,7 @@ const useDeleteUser = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
701
723
|
});
|
|
702
724
|
|
|
703
725
|
//#endregion
|
|
704
|
-
//#region src/hooks/useEvent/useEvent.ts
|
|
726
|
+
//#region src/hooks/wrappers/functions/useEvent/useEvent.ts
|
|
705
727
|
/**
|
|
706
728
|
* Subscribes to a Dynamic client event.
|
|
707
729
|
*
|
|
@@ -721,7 +743,7 @@ const useEvent = ({ event, listener }) => {
|
|
|
721
743
|
};
|
|
722
744
|
|
|
723
745
|
//#endregion
|
|
724
|
-
//#region src/hooks/useExecuteSwapTransaction/useExecuteSwapTransaction.ts
|
|
746
|
+
//#region src/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.ts
|
|
725
747
|
/**
|
|
726
748
|
* Wraps `executeSwapTransaction` from `@dynamic-labs-sdk/client`. Call `mutate({ walletAccount, signingPayload })` (using a payload from {@link useSwapQuote}) to execute a swap; the resolved `data` is `{ transactionHash }`.
|
|
727
749
|
*
|
|
@@ -737,66 +759,84 @@ const useExecuteSwapTransaction = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
737
759
|
});
|
|
738
760
|
|
|
739
761
|
//#endregion
|
|
740
|
-
//#region src/hooks/
|
|
762
|
+
//#region src/hooks/wrappers/functions/useGetFlow/useGetFlow.ts
|
|
741
763
|
/**
|
|
742
|
-
*
|
|
764
|
+
* Returns the flow with the given ID.
|
|
765
|
+
*
|
|
766
|
+
* Wraps `getFlow` from `@dynamic-labs-sdk/client`.
|
|
743
767
|
*
|
|
744
768
|
* @example
|
|
745
769
|
* ```tsx
|
|
746
|
-
* const { data:
|
|
770
|
+
* const { data: flow, isLoading, refetch } = useGetFlow({ flowId });
|
|
747
771
|
* ```
|
|
748
772
|
*/
|
|
749
|
-
const
|
|
750
|
-
|
|
751
|
-
|
|
773
|
+
const useGetFlow = ({ flowId, queryParams }) => useBaseQuery({
|
|
774
|
+
enabled: flowId !== void 0,
|
|
775
|
+
queryFn: (client) => (0, _dynamic_labs_sdk_client.getFlow)({ flowId }, client),
|
|
776
|
+
queryKey: ["useGetFlow", flowId],
|
|
752
777
|
queryParams
|
|
753
778
|
});
|
|
754
779
|
|
|
755
780
|
//#endregion
|
|
756
|
-
//#region src/hooks/
|
|
781
|
+
//#region src/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.ts
|
|
757
782
|
/**
|
|
758
|
-
*
|
|
759
|
-
* error that caused initialization to fail (when it did).
|
|
783
|
+
* Fetches a quote for a flow.
|
|
760
784
|
*
|
|
761
|
-
*
|
|
762
|
-
*
|
|
763
|
-
* `'in-progress'`, `'finished'`, `'failed'`. When `data === 'failed'`, `error`
|
|
764
|
-
* carries the failure reason.
|
|
785
|
+
* Wraps `getFlowQuote` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId, fromTokenAddress, slippage })`
|
|
786
|
+
* to fetch a quote for a flow.
|
|
765
787
|
*
|
|
766
788
|
* @example
|
|
767
789
|
* ```tsx
|
|
768
|
-
* const {
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
790
|
+
* const { mutate: getFlowQuote, isPending } = useGetFlowQuote();
|
|
791
|
+
* <button onClick={() => getFlowQuote({ flowId, fromTokenAddress, slippage })} disabled={isPending}>
|
|
792
|
+
* Get flow quote
|
|
793
|
+
* </button>
|
|
772
794
|
* ```
|
|
795
|
+
*/
|
|
796
|
+
const useGetFlowQuote = ({ mutateParams } = {}) => useBaseMutation({
|
|
797
|
+
mutateParams,
|
|
798
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.getFlowQuote)(variables, client)
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
//#endregion
|
|
802
|
+
//#region src/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.ts
|
|
803
|
+
/**
|
|
804
|
+
* Prepares a flow transaction for signing.
|
|
773
805
|
*
|
|
774
|
-
*
|
|
806
|
+
* Wraps `prepareFlowSigning` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId })`
|
|
807
|
+
* to prepare a flow for signing.
|
|
808
|
+
*
|
|
809
|
+
* @example
|
|
810
|
+
* ```tsx
|
|
811
|
+
* const { mutate: prepareFlowSigning, isPending } = usePrepareFlowSigning();
|
|
812
|
+
* <button onClick={() => prepareFlowSigning({ flowId })} disabled={isPending}>
|
|
813
|
+
* Prepare flow signing
|
|
814
|
+
* </button>
|
|
815
|
+
* ```
|
|
775
816
|
*/
|
|
776
|
-
const
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
status: "uninitialized"
|
|
781
|
-
},
|
|
782
|
-
event: "initStatusChanged",
|
|
783
|
-
queryKey: ["useInitStatus"],
|
|
784
|
-
selector: (client) => ({
|
|
785
|
-
error: client.initError,
|
|
786
|
-
status: client.initStatus
|
|
787
|
-
}),
|
|
788
|
-
skipWaitForInit: true
|
|
789
|
-
});
|
|
790
|
-
const error = data?.error ?? null;
|
|
791
|
-
return {
|
|
792
|
-
data: data?.status,
|
|
793
|
-
error,
|
|
794
|
-
isError: error !== null
|
|
795
|
-
};
|
|
796
|
-
};
|
|
817
|
+
const usePrepareFlowSigning = ({ mutateParams } = {}) => useBaseMutation({
|
|
818
|
+
mutateParams,
|
|
819
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.prepareFlowSigning)(variables, client)
|
|
820
|
+
});
|
|
797
821
|
|
|
798
822
|
//#endregion
|
|
799
|
-
//#region src/hooks/
|
|
823
|
+
//#region src/hooks/wrappers/functions/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.ts
|
|
824
|
+
/**
|
|
825
|
+
* Wraps `getGoogleDriveBackupReadiness` from `@dynamic-labs-sdk/client`. Reports whether the user's Google Drive backup is set up and available.
|
|
826
|
+
*
|
|
827
|
+
* @example
|
|
828
|
+
* ```tsx
|
|
829
|
+
* const { data: readiness, isLoading } = useGoogleDriveBackupReadiness();
|
|
830
|
+
* ```
|
|
831
|
+
*/
|
|
832
|
+
const useGoogleDriveBackupReadiness = ({ queryParams } = {}) => useBaseQuery({
|
|
833
|
+
queryFn: (client) => (0, _dynamic_labs_sdk_client.getGoogleDriveBackupReadiness)(client),
|
|
834
|
+
queryKey: ["useGoogleDriveBackupReadiness"],
|
|
835
|
+
queryParams
|
|
836
|
+
});
|
|
837
|
+
|
|
838
|
+
//#endregion
|
|
839
|
+
//#region src/hooks/wrappers/functions/useIsCaptchaRequired/useIsCaptchaRequired.ts
|
|
800
840
|
/**
|
|
801
841
|
* Returns whether hCaptcha is required by the current project settings.
|
|
802
842
|
*
|
|
@@ -816,7 +856,7 @@ const useIsCaptchaRequired = () => useBaseState({
|
|
|
816
856
|
});
|
|
817
857
|
|
|
818
858
|
//#endregion
|
|
819
|
-
//#region src/hooks/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.ts
|
|
859
|
+
//#region src/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.ts
|
|
820
860
|
/**
|
|
821
861
|
* Returns whether the current user still needs to complete additional MFA
|
|
822
862
|
* authentication (i.e. their session scope contains `requiresAdditionalAuth`).
|
|
@@ -836,7 +876,7 @@ const useIsUserMissingMfaAuth = () => useBaseState({
|
|
|
836
876
|
});
|
|
837
877
|
|
|
838
878
|
//#endregion
|
|
839
|
-
//#region src/hooks/useIsUserOnboardingComplete/useIsUserOnboardingComplete.ts
|
|
879
|
+
//#region src/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.ts
|
|
840
880
|
/**
|
|
841
881
|
* Returns whether the current user has completed onboarding (no missing KYC
|
|
842
882
|
* fields, MFA enrollment, or pending recovery-code acknowledgement).
|
|
@@ -860,7 +900,7 @@ const useIsUserOnboardingComplete = () => useBaseState({
|
|
|
860
900
|
});
|
|
861
901
|
|
|
862
902
|
//#endregion
|
|
863
|
-
//#region src/hooks/useKrakenAccounts/useKrakenAccounts.ts
|
|
903
|
+
//#region src/hooks/wrappers/functions/useKrakenAccounts/useKrakenAccounts.ts
|
|
864
904
|
/**
|
|
865
905
|
* Wraps `getKrakenAccounts` from `@dynamic-labs-sdk/client`. Returns the authenticated user's Kraken accounts (with balances), optionally filtered by chain/network.
|
|
866
906
|
*
|
|
@@ -876,7 +916,7 @@ const useKrakenAccounts = ({ queryParams, ...args } = {}) => useBaseQuery({
|
|
|
876
916
|
});
|
|
877
917
|
|
|
878
918
|
//#endregion
|
|
879
|
-
//#region src/hooks/useKrakenExchangeTransfer/useKrakenExchangeTransfer.ts
|
|
919
|
+
//#region src/hooks/wrappers/functions/useKrakenExchangeTransfer/useKrakenExchangeTransfer.ts
|
|
880
920
|
/**
|
|
881
921
|
* Wraps `createKrakenExchangeTransfer` from `@dynamic-labs-sdk/client`. Call `mutate({ accountId, ... })` to send crypto from a Kraken account (see `useKrakenAccounts`) to a whitelisted address (see `useKrakenWhitelistedAddresses`); the resolved `data` is the created transfer.
|
|
882
922
|
*
|
|
@@ -892,7 +932,7 @@ const useKrakenExchangeTransfer = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
892
932
|
});
|
|
893
933
|
|
|
894
934
|
//#endregion
|
|
895
|
-
//#region src/hooks/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.ts
|
|
935
|
+
//#region src/hooks/wrappers/functions/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.ts
|
|
896
936
|
/**
|
|
897
937
|
* Wraps `getKrakenWhitelistedAddresses` from `@dynamic-labs-sdk/client`. Returns the destination addresses whitelisted for Kraken withdrawals.
|
|
898
938
|
*
|
|
@@ -908,7 +948,7 @@ const useKrakenWhitelistedAddresses = ({ queryParams } = {}) => useBaseQuery({
|
|
|
908
948
|
});
|
|
909
949
|
|
|
910
950
|
//#endregion
|
|
911
|
-
//#region src/hooks/useLogout/useLogout.ts
|
|
951
|
+
//#region src/hooks/wrappers/functions/useLogout/useLogout.ts
|
|
912
952
|
/**
|
|
913
953
|
* Logs the current user out.
|
|
914
954
|
*
|
|
@@ -927,7 +967,7 @@ const useLogout = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
927
967
|
});
|
|
928
968
|
|
|
929
969
|
//#endregion
|
|
930
|
-
//#region src/hooks/useMfaDevices/useMfaDevices.ts
|
|
970
|
+
//#region src/hooks/wrappers/functions/useMfaDevices/useMfaDevices.ts
|
|
931
971
|
/**
|
|
932
972
|
* Returns the multi-factor authentication devices registered for the
|
|
933
973
|
* current user.
|
|
@@ -946,7 +986,7 @@ const useMfaDevices = ({ queryParams } = {}) => useBaseQuery({
|
|
|
946
986
|
});
|
|
947
987
|
|
|
948
988
|
//#endregion
|
|
949
|
-
//#region src/hooks/useMfaMethods/useMfaMethods.ts
|
|
989
|
+
//#region src/hooks/wrappers/functions/useMfaMethods/useMfaMethods.ts
|
|
950
990
|
/**
|
|
951
991
|
* Returns the multi-factor authentication methods available to the current
|
|
952
992
|
* user.
|
|
@@ -965,7 +1005,7 @@ const useMfaMethods = ({ queryParams } = {}) => useBaseQuery({
|
|
|
965
1005
|
});
|
|
966
1006
|
|
|
967
1007
|
//#endregion
|
|
968
|
-
//#region src/hooks/useMfaRecoveryCodes/useMfaRecoveryCodes.ts
|
|
1008
|
+
//#region src/hooks/wrappers/functions/useMfaRecoveryCodes/useMfaRecoveryCodes.ts
|
|
969
1009
|
/**
|
|
970
1010
|
* Returns the current user's MFA recovery codes.
|
|
971
1011
|
*
|
|
@@ -983,7 +1023,7 @@ const useMfaRecoveryCodes = ({ queryParams } = {}) => useBaseQuery({
|
|
|
983
1023
|
});
|
|
984
1024
|
|
|
985
1025
|
//#endregion
|
|
986
|
-
//#region src/hooks/useMoonPayCurrencies/useMoonPayCurrencies.ts
|
|
1026
|
+
//#region src/hooks/wrappers/functions/useMoonPayCurrencies/useMoonPayCurrencies.ts
|
|
987
1027
|
/**
|
|
988
1028
|
* Wraps `getMoonPayCurrencies` from `@dynamic-labs-sdk/client`. Returns the list of currencies MoonPay supports for the given parameters.
|
|
989
1029
|
*
|
|
@@ -999,7 +1039,7 @@ const useMoonPayCurrencies = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
999
1039
|
});
|
|
1000
1040
|
|
|
1001
1041
|
//#endregion
|
|
1002
|
-
//#region src/hooks/useMoonPayUrl/useMoonPayUrl.ts
|
|
1042
|
+
//#region src/hooks/wrappers/functions/useMoonPayUrl/useMoonPayUrl.ts
|
|
1003
1043
|
/**
|
|
1004
1044
|
* Wraps `getMoonPayUrl` from `@dynamic-labs-sdk/client`. Returns a MoonPay widget URL for the given parameters.
|
|
1005
1045
|
*
|
|
@@ -1015,7 +1055,7 @@ const useMoonPayUrl = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
1015
1055
|
});
|
|
1016
1056
|
|
|
1017
1057
|
//#endregion
|
|
1018
|
-
//#region src/hooks/useMultichainTokenBalances/useMultichainTokenBalances.ts
|
|
1058
|
+
//#region src/hooks/wrappers/functions/useMultichainTokenBalances/useMultichainTokenBalances.ts
|
|
1019
1059
|
/**
|
|
1020
1060
|
* Returns token balances across multiple chains, networks, and addresses
|
|
1021
1061
|
* in a single batched API request.
|
|
@@ -1040,7 +1080,7 @@ const useMultichainTokenBalances = ({ balanceRequest, queryParams }) => useBaseQ
|
|
|
1040
1080
|
});
|
|
1041
1081
|
|
|
1042
1082
|
//#endregion
|
|
1043
|
-
//#region src/hooks/useNativeBalance/useNativeBalance.ts
|
|
1083
|
+
//#region src/hooks/wrappers/functions/useNativeBalance/useNativeBalance.ts
|
|
1044
1084
|
/**
|
|
1045
1085
|
* Returns the native token balance for a wallet account.
|
|
1046
1086
|
*
|
|
@@ -1060,7 +1100,7 @@ const useNativeBalance = ({ walletAccount, queryParams }) => useBaseQuery({
|
|
|
1060
1100
|
});
|
|
1061
1101
|
|
|
1062
1102
|
//#endregion
|
|
1063
|
-
//#region src/hooks/useNetworksData/useNetworksData.ts
|
|
1103
|
+
//#region src/hooks/wrappers/functions/useNetworksData/useNetworksData.ts
|
|
1064
1104
|
/**
|
|
1065
1105
|
* Returns the network configurations for all networks enabled in the Dynamic project.
|
|
1066
1106
|
*
|
|
@@ -1074,7 +1114,7 @@ const useNetworksData = () => useBaseState({
|
|
|
1074
1114
|
});
|
|
1075
1115
|
|
|
1076
1116
|
//#endregion
|
|
1077
|
-
//#region src/hooks/useOnceEvent/useOnceEvent.ts
|
|
1117
|
+
//#region src/hooks/wrappers/functions/useOnceEvent/useOnceEvent.ts
|
|
1078
1118
|
/**
|
|
1079
1119
|
* Subscribes to a Dynamic client event for a single occurrence.
|
|
1080
1120
|
*
|
|
@@ -1103,7 +1143,7 @@ const useOnceEvent = ({ event, listener }) => {
|
|
|
1103
1143
|
};
|
|
1104
1144
|
|
|
1105
1145
|
//#endregion
|
|
1106
|
-
//#region src/hooks/usePasskeys/usePasskeys.ts
|
|
1146
|
+
//#region src/hooks/wrappers/functions/usePasskeys/usePasskeys.ts
|
|
1107
1147
|
/**
|
|
1108
1148
|
* Returns the passkeys registered for the current user.
|
|
1109
1149
|
*
|
|
@@ -1121,7 +1161,7 @@ const usePasskeys = ({ queryParams } = {}) => useBaseQuery({
|
|
|
1121
1161
|
});
|
|
1122
1162
|
|
|
1123
1163
|
//#endregion
|
|
1124
|
-
//#region src/hooks/useProveWalletAccountOwnership/useProveWalletAccountOwnership.ts
|
|
1164
|
+
//#region src/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.ts
|
|
1125
1165
|
/**
|
|
1126
1166
|
* Wraps `proveWalletAccountOwnership` from `@dynamic-labs-sdk/client`. Call `mutate({ walletAccount })` to prove ownership of a connected wallet account by signing a challenge.
|
|
1127
1167
|
*
|
|
@@ -1138,7 +1178,7 @@ const useProveWalletAccountOwnership = ({ mutateParams } = {}) => useBaseMutatio
|
|
|
1138
1178
|
});
|
|
1139
1179
|
|
|
1140
1180
|
//#endregion
|
|
1141
|
-
//#region src/hooks/useRefreshAuth/useRefreshAuth.ts
|
|
1181
|
+
//#region src/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.ts
|
|
1142
1182
|
/**
|
|
1143
1183
|
* Wraps `refreshAuth` from `@dynamic-labs-sdk/client`. Takes no arguments — call `mutate()` to refresh the session/JWT; the resolved `data` is a `VerifyResponse`.
|
|
1144
1184
|
*
|
|
@@ -1156,7 +1196,7 @@ const useRefreshAuth = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1156
1196
|
});
|
|
1157
1197
|
|
|
1158
1198
|
//#endregion
|
|
1159
|
-
//#region src/hooks/useRegisteredDevices/useRegisteredDevices.ts
|
|
1199
|
+
//#region src/hooks/wrappers/functions/useRegisteredDevices/useRegisteredDevices.ts
|
|
1160
1200
|
/**
|
|
1161
1201
|
* Returns the devices registered for the current user.
|
|
1162
1202
|
*
|
|
@@ -1176,7 +1216,7 @@ const useRegisteredDevices = ({ queryParams } = {}) => useBaseQuery({
|
|
|
1176
1216
|
});
|
|
1177
1217
|
|
|
1178
1218
|
//#endregion
|
|
1179
|
-
//#region src/hooks/useRegisterPasskey/useRegisterPasskey.ts
|
|
1219
|
+
//#region src/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.ts
|
|
1180
1220
|
/**
|
|
1181
1221
|
* Registers a new passkey for the current user.
|
|
1182
1222
|
*
|
|
@@ -1198,7 +1238,7 @@ const useRegisterPasskey = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1198
1238
|
});
|
|
1199
1239
|
|
|
1200
1240
|
//#endregion
|
|
1201
|
-
//#region src/hooks/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.ts
|
|
1241
|
+
//#region src/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.ts
|
|
1202
1242
|
/**
|
|
1203
1243
|
* Registers a new TOTP MFA device for the current user.
|
|
1204
1244
|
*
|
|
@@ -1220,7 +1260,7 @@ const useRegisterTotpMfaDevice = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1220
1260
|
});
|
|
1221
1261
|
|
|
1222
1262
|
//#endregion
|
|
1223
|
-
//#region src/hooks/useRemoveWalletAccount/useRemoveWalletAccount.ts
|
|
1263
|
+
//#region src/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.ts
|
|
1224
1264
|
/**
|
|
1225
1265
|
* Removes a wallet account from the current user.
|
|
1226
1266
|
*
|
|
@@ -1245,7 +1285,7 @@ const useRemoveWalletAccount = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1245
1285
|
});
|
|
1246
1286
|
|
|
1247
1287
|
//#endregion
|
|
1248
|
-
//#region src/hooks/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.ts
|
|
1288
|
+
//#region src/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.ts
|
|
1249
1289
|
/**
|
|
1250
1290
|
* Wraps `requestExternalAuthElevatedToken` from `@dynamic-labs-sdk/client`. Call `mutate({ externalJwt })` to exchange an externally issued JWT for an elevated-access token.
|
|
1251
1291
|
*
|
|
@@ -1262,7 +1302,7 @@ const useRequestExternalAuthElevatedToken = ({ mutateParams } = {}) => useBaseMu
|
|
|
1262
1302
|
});
|
|
1263
1303
|
|
|
1264
1304
|
//#endregion
|
|
1265
|
-
//#region src/hooks/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.ts
|
|
1305
|
+
//#region src/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.ts
|
|
1266
1306
|
/**
|
|
1267
1307
|
* Wraps `revokeAllRegisteredDevices` from `@dynamic-labs-sdk/client`. Takes no arguments — call `mutate()` to revoke every device registered to the current user; the resolved `data` is `void`.
|
|
1268
1308
|
*
|
|
@@ -1281,7 +1321,7 @@ const useRevokeAllRegisteredDevices = ({ mutateParams } = {}) => useBaseMutation
|
|
|
1281
1321
|
});
|
|
1282
1322
|
|
|
1283
1323
|
//#endregion
|
|
1284
|
-
//#region src/hooks/useRevokeRegisteredDevice/useRevokeRegisteredDevice.ts
|
|
1324
|
+
//#region src/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.ts
|
|
1285
1325
|
/**
|
|
1286
1326
|
* Revokes a previously registered device.
|
|
1287
1327
|
*
|
|
@@ -1307,7 +1347,7 @@ const useRevokeRegisteredDevice = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1307
1347
|
});
|
|
1308
1348
|
|
|
1309
1349
|
//#endregion
|
|
1310
|
-
//#region src/hooks/useSendEmailOtp/useSendEmailOtp.ts
|
|
1350
|
+
//#region src/hooks/wrappers/functions/useSendEmailOtp/useSendEmailOtp.ts
|
|
1311
1351
|
/**
|
|
1312
1352
|
* Sends a one-time password to an email address.
|
|
1313
1353
|
*
|
|
@@ -1334,7 +1374,7 @@ const useSendEmailOtp = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1334
1374
|
});
|
|
1335
1375
|
|
|
1336
1376
|
//#endregion
|
|
1337
|
-
//#region src/hooks/useSendSmsOtp/useSendSmsOtp.ts
|
|
1377
|
+
//#region src/hooks/wrappers/functions/useSendSmsOtp/useSendSmsOtp.ts
|
|
1338
1378
|
/**
|
|
1339
1379
|
* Sends a one-time password to a phone number via SMS.
|
|
1340
1380
|
*
|
|
@@ -1363,21 +1403,7 @@ const useSendSmsOtp = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1363
1403
|
});
|
|
1364
1404
|
|
|
1365
1405
|
//#endregion
|
|
1366
|
-
//#region src/hooks/
|
|
1367
|
-
/**
|
|
1368
|
-
* Returns the session expiration date, or null if no active session.
|
|
1369
|
-
*
|
|
1370
|
-
* Re-renders when the user changes (which includes session updates).
|
|
1371
|
-
*/
|
|
1372
|
-
const useSessionExpiresAt = () => useBaseState({
|
|
1373
|
-
defaultValue: null,
|
|
1374
|
-
event: "userChanged",
|
|
1375
|
-
queryKey: ["useSessionExpiresAt"],
|
|
1376
|
-
selector: (client) => client.sessionExpiresAt
|
|
1377
|
-
});
|
|
1378
|
-
|
|
1379
|
-
//#endregion
|
|
1380
|
-
//#region src/hooks/useSetDefaultMfaDevice/useSetDefaultMfaDevice.ts
|
|
1406
|
+
//#region src/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.ts
|
|
1381
1407
|
/**
|
|
1382
1408
|
* Sets the current user's default MFA device.
|
|
1383
1409
|
*
|
|
@@ -1398,7 +1424,7 @@ const useSetDefaultMfaDevice = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1398
1424
|
});
|
|
1399
1425
|
|
|
1400
1426
|
//#endregion
|
|
1401
|
-
//#region src/hooks/useSignInWithExternalJwt/useSignInWithExternalJwt.ts
|
|
1427
|
+
//#region src/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.ts
|
|
1402
1428
|
/**
|
|
1403
1429
|
* Wraps `signInWithExternalJwt` from `@dynamic-labs-sdk/client`. Call `mutate({ externalJwt })` to authenticate the user with a JWT issued by an external auth provider.
|
|
1404
1430
|
*
|
|
@@ -1414,7 +1440,7 @@ const useSignInWithExternalJwt = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1414
1440
|
});
|
|
1415
1441
|
|
|
1416
1442
|
//#endregion
|
|
1417
|
-
//#region src/hooks/useSignInWithPasskey/useSignInWithPasskey.ts
|
|
1443
|
+
//#region src/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.ts
|
|
1418
1444
|
/**
|
|
1419
1445
|
* Signs the user in with a previously registered passkey.
|
|
1420
1446
|
*
|
|
@@ -1436,7 +1462,7 @@ const useSignInWithPasskey = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1436
1462
|
});
|
|
1437
1463
|
|
|
1438
1464
|
//#endregion
|
|
1439
|
-
//#region src/hooks/useSignInWithSocialPopUp/useSignInWithSocialPopUp.ts
|
|
1465
|
+
//#region src/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.ts
|
|
1440
1466
|
/**
|
|
1441
1467
|
* Wraps `signInWithSocialPopUp` from `@dynamic-labs-sdk/client`. Call `mutate({ provider })` to open the provider's OAuth popup; the resolved `data` is the signed-in `User` (or `null`).
|
|
1442
1468
|
*
|
|
@@ -1453,7 +1479,7 @@ const useSignInWithSocialPopUp = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1453
1479
|
});
|
|
1454
1480
|
|
|
1455
1481
|
//#endregion
|
|
1456
|
-
//#region src/hooks/useSignInWithSocialRedirect/useSignInWithSocialRedirect.ts
|
|
1482
|
+
//#region src/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.ts
|
|
1457
1483
|
/**
|
|
1458
1484
|
* Wraps `signInWithSocialRedirect` from `@dynamic-labs-sdk/client`. Call `mutate({ provider, redirectUrl })` to redirect the user to the provider's OAuth page; complete the flow with {@link useCompleteSocialAuthentication}.
|
|
1459
1485
|
*
|
|
@@ -1469,7 +1495,7 @@ const useSignInWithSocialRedirect = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1469
1495
|
});
|
|
1470
1496
|
|
|
1471
1497
|
//#endregion
|
|
1472
|
-
//#region src/hooks/useSignMessage/useSignMessage.ts
|
|
1498
|
+
//#region src/hooks/wrappers/functions/useSignMessage/useSignMessage.ts
|
|
1473
1499
|
/**
|
|
1474
1500
|
* Signs an arbitrary message with a wallet account.
|
|
1475
1501
|
*
|
|
@@ -1494,7 +1520,7 @@ const useSignMessage = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1494
1520
|
});
|
|
1495
1521
|
|
|
1496
1522
|
//#endregion
|
|
1497
|
-
//#region src/hooks/useSwapQuote/useSwapQuote.ts
|
|
1523
|
+
//#region src/hooks/wrappers/functions/useSwapQuote/useSwapQuote.ts
|
|
1498
1524
|
/**
|
|
1499
1525
|
* Wraps `getSwapQuote` from `@dynamic-labs-sdk/client`. Returns a swap quote (including the signing payload consumed by {@link useExecuteSwapTransaction}).
|
|
1500
1526
|
*
|
|
@@ -1510,7 +1536,7 @@ const useSwapQuote = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
1510
1536
|
});
|
|
1511
1537
|
|
|
1512
1538
|
//#endregion
|
|
1513
|
-
//#region src/hooks/useSwapStatus/useSwapStatus.ts
|
|
1539
|
+
//#region src/hooks/wrappers/functions/useSwapStatus/useSwapStatus.ts
|
|
1514
1540
|
/**
|
|
1515
1541
|
* Wraps `getSwapStatus` from `@dynamic-labs-sdk/client`. Returns the current status of a previously submitted swap.
|
|
1516
1542
|
*
|
|
@@ -1526,7 +1552,7 @@ const useSwapStatus = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
1526
1552
|
});
|
|
1527
1553
|
|
|
1528
1554
|
//#endregion
|
|
1529
|
-
//#region src/hooks/useSwitchActiveNetwork/useSwitchActiveNetwork.ts
|
|
1555
|
+
//#region src/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.ts
|
|
1530
1556
|
/**
|
|
1531
1557
|
* Switches the active network for a wallet account.
|
|
1532
1558
|
*
|
|
@@ -1552,7 +1578,7 @@ const useSwitchActiveNetwork = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1552
1578
|
});
|
|
1553
1579
|
|
|
1554
1580
|
//#endregion
|
|
1555
|
-
//#region src/hooks/useTokenBalances/useTokenBalances.ts
|
|
1581
|
+
//#region src/hooks/wrappers/functions/useTokenBalances/useTokenBalances.ts
|
|
1556
1582
|
/**
|
|
1557
1583
|
* Returns the ERC-20-style token balances for a wallet account on a single
|
|
1558
1584
|
* chain.
|
|
@@ -1583,7 +1609,7 @@ const useTokenBalances = ({ walletAccount, queryParams, ...rest }) => useBaseQue
|
|
|
1583
1609
|
});
|
|
1584
1610
|
|
|
1585
1611
|
//#endregion
|
|
1586
|
-
//#region src/hooks/useTransactionHistory/useTransactionHistory.ts
|
|
1612
|
+
//#region src/hooks/wrappers/functions/useTransactionHistory/useTransactionHistory.ts
|
|
1587
1613
|
/**
|
|
1588
1614
|
* Returns the transaction history for a given wallet address, chain, and
|
|
1589
1615
|
* network.
|
|
@@ -1622,7 +1648,7 @@ const useTransactionHistory = ({ address, chain, networkId, queryParams, ...rest
|
|
|
1622
1648
|
});
|
|
1623
1649
|
|
|
1624
1650
|
//#endregion
|
|
1625
|
-
//#region src/hooks/useTransferAmount/useTransferAmount.ts
|
|
1651
|
+
//#region src/hooks/wrappers/functions/useTransferAmount/useTransferAmount.ts
|
|
1626
1652
|
/**
|
|
1627
1653
|
* Wraps `transferAmount` from `@dynamic-labs-sdk/client`. Call `mutate({ walletAccount, amount, recipient, token })` to send tokens; the resolved `data` is `{ transactionHash }`.
|
|
1628
1654
|
*
|
|
@@ -1638,7 +1664,7 @@ const useTransferAmount = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1638
1664
|
});
|
|
1639
1665
|
|
|
1640
1666
|
//#endregion
|
|
1641
|
-
//#region src/hooks/useTransferWalletAccount/useTransferWalletAccount.ts
|
|
1667
|
+
//#region src/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.ts
|
|
1642
1668
|
/**
|
|
1643
1669
|
* Wraps `transferWalletAccount` from `@dynamic-labs-sdk/client`. Call `mutate({ walletProviderKey })` to transfer (hand off) a wallet account to the given provider.
|
|
1644
1670
|
*
|
|
@@ -1655,7 +1681,7 @@ const useTransferWalletAccount = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1655
1681
|
});
|
|
1656
1682
|
|
|
1657
1683
|
//#endregion
|
|
1658
|
-
//#region src/hooks/useUnlinkSocialAccount/useUnlinkSocialAccount.ts
|
|
1684
|
+
//#region src/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.ts
|
|
1659
1685
|
/**
|
|
1660
1686
|
* Unlinks a social account from the current user.
|
|
1661
1687
|
*
|
|
@@ -1681,7 +1707,7 @@ const useUnlinkSocialAccount = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1681
1707
|
});
|
|
1682
1708
|
|
|
1683
1709
|
//#endregion
|
|
1684
|
-
//#region src/hooks/useUpdateUser/useUpdateUser.ts
|
|
1710
|
+
//#region src/hooks/wrappers/functions/useUpdateUser/useUpdateUser.ts
|
|
1685
1711
|
/**
|
|
1686
1712
|
* Updates the current user's profile information.
|
|
1687
1713
|
*
|
|
@@ -1708,21 +1734,7 @@ const useUpdateUser = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1708
1734
|
});
|
|
1709
1735
|
|
|
1710
1736
|
//#endregion
|
|
1711
|
-
//#region src/hooks/
|
|
1712
|
-
/**
|
|
1713
|
-
* Returns the current authenticated user, or null if not authenticated.
|
|
1714
|
-
*
|
|
1715
|
-
* Re-renders when the user changes (login, logout, profile update).
|
|
1716
|
-
*/
|
|
1717
|
-
const useUser = () => useBaseState({
|
|
1718
|
-
defaultValue: null,
|
|
1719
|
-
event: "userChanged",
|
|
1720
|
-
queryKey: ["useUser"],
|
|
1721
|
-
selector: (client) => client.user
|
|
1722
|
-
});
|
|
1723
|
-
|
|
1724
|
-
//#endregion
|
|
1725
|
-
//#region src/hooks/useUserSocialAccounts/useUserSocialAccounts.ts
|
|
1737
|
+
//#region src/hooks/wrappers/functions/useUserSocialAccounts/useUserSocialAccounts.ts
|
|
1726
1738
|
/**
|
|
1727
1739
|
* Returns the current user's linked social accounts.
|
|
1728
1740
|
*
|
|
@@ -1736,7 +1748,7 @@ const useUserSocialAccounts = () => useBaseState({
|
|
|
1736
1748
|
});
|
|
1737
1749
|
|
|
1738
1750
|
//#endregion
|
|
1739
|
-
//#region src/hooks/useVerifyOtp/useVerifyOtp.ts
|
|
1751
|
+
//#region src/hooks/wrappers/functions/useVerifyOtp/useVerifyOtp.ts
|
|
1740
1752
|
/**
|
|
1741
1753
|
* Verifies a one-time password the user received via email or SMS.
|
|
1742
1754
|
*
|
|
@@ -1764,7 +1776,7 @@ const useVerifyOtp = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1764
1776
|
});
|
|
1765
1777
|
|
|
1766
1778
|
//#endregion
|
|
1767
|
-
//#region src/hooks/useVerifyWalletAccount/useVerifyWalletAccount.ts
|
|
1779
|
+
//#region src/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.ts
|
|
1768
1780
|
/**
|
|
1769
1781
|
* Verifies ownership of a wallet account and adds it to the user's profile.
|
|
1770
1782
|
*
|
|
@@ -1795,7 +1807,7 @@ const useVerifyWalletAccount = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1795
1807
|
});
|
|
1796
1808
|
|
|
1797
1809
|
//#endregion
|
|
1798
|
-
//#region src/hooks/useWalletAccounts/useWalletAccounts.ts
|
|
1810
|
+
//#region src/hooks/wrappers/functions/useWalletAccounts/useWalletAccounts.ts
|
|
1799
1811
|
/**
|
|
1800
1812
|
* Returns all wallet accounts connected to the current user.
|
|
1801
1813
|
*
|
|
@@ -1812,7 +1824,7 @@ const useWalletAccounts = () => useBaseState({
|
|
|
1812
1824
|
});
|
|
1813
1825
|
|
|
1814
1826
|
//#endregion
|
|
1815
|
-
//#region src/hooks/useWalletConnectCatalog/useWalletConnectCatalog.ts
|
|
1827
|
+
//#region src/hooks/wrappers/functions/useWalletConnectCatalog/useWalletConnectCatalog.ts
|
|
1816
1828
|
/**
|
|
1817
1829
|
* Returns the WalletConnect catalog (groups and wallets) used for displaying
|
|
1818
1830
|
* wallet information and building mobile wallet deeplinks.
|
|
@@ -1831,7 +1843,7 @@ const useWalletConnectCatalog = ({ queryParams } = {}) => useBaseQuery({
|
|
|
1831
1843
|
});
|
|
1832
1844
|
|
|
1833
1845
|
//#endregion
|
|
1834
|
-
//#region src/hooks/useWalletOptionsCatalogue/useWalletOptionsCatalogue.ts
|
|
1846
|
+
//#region src/hooks/wrappers/functions/useWalletOptionsCatalogue/useWalletOptionsCatalogue.ts
|
|
1835
1847
|
/**
|
|
1836
1848
|
* Wraps `getWalletOptionsCatalogue` from `@dynamic-labs-sdk/client`. Returns the catalogue of wallet options the project supports.
|
|
1837
1849
|
*
|
|
@@ -1847,7 +1859,7 @@ const useWalletOptionsCatalogue = ({ queryParams, ...args } = {}) => useBaseQuer
|
|
|
1847
1859
|
});
|
|
1848
1860
|
|
|
1849
1861
|
//#endregion
|
|
1850
|
-
//#region src/hooks/useWalletProviderEvent/useWalletProviderEvent.ts
|
|
1862
|
+
//#region src/hooks/wrappers/functions/useWalletProviderEvent/useWalletProviderEvent.ts
|
|
1851
1863
|
/**
|
|
1852
1864
|
* Subscribes to an event emitted by a specific wallet provider.
|
|
1853
1865
|
*
|
|
@@ -1881,6 +1893,77 @@ const useWalletProviderEvent = ({ callback, event, walletProviderKey }) => {
|
|
|
1881
1893
|
]);
|
|
1882
1894
|
};
|
|
1883
1895
|
|
|
1896
|
+
//#endregion
|
|
1897
|
+
//#region src/hooks/wrappers/state/useInitStatus/useInitStatus.ts
|
|
1898
|
+
/**
|
|
1899
|
+
* Returns the current initialization status of the Dynamic client, plus the
|
|
1900
|
+
* error that caused initialization to fail (when it did).
|
|
1901
|
+
*
|
|
1902
|
+
* Exposes only `data` (the reactive init status), `error` and `isError` —
|
|
1903
|
+
* see {@link UseInitStatusResult}. Possible `data` values: `'uninitialized'`,
|
|
1904
|
+
* `'in-progress'`, `'finished'`, `'failed'`. When `data === 'failed'`, `error`
|
|
1905
|
+
* carries the failure reason.
|
|
1906
|
+
*
|
|
1907
|
+
* @example
|
|
1908
|
+
* ```tsx
|
|
1909
|
+
* const { data: status, error } = useInitStatus();
|
|
1910
|
+
* if (status === 'failed') return <InitErrorScreen message={error?.message} />;
|
|
1911
|
+
* if (status !== 'finished') return <LoadingScreen />;
|
|
1912
|
+
* return <App />;
|
|
1913
|
+
* ```
|
|
1914
|
+
*
|
|
1915
|
+
* @not-instrumented
|
|
1916
|
+
*/
|
|
1917
|
+
const useInitStatus = () => {
|
|
1918
|
+
const { data } = useBaseState({
|
|
1919
|
+
defaultValue: {
|
|
1920
|
+
error: null,
|
|
1921
|
+
status: "uninitialized"
|
|
1922
|
+
},
|
|
1923
|
+
event: "initStatusChanged",
|
|
1924
|
+
queryKey: ["useInitStatus"],
|
|
1925
|
+
selector: (client) => ({
|
|
1926
|
+
error: client.initError,
|
|
1927
|
+
status: client.initStatus
|
|
1928
|
+
}),
|
|
1929
|
+
skipWaitForInit: true
|
|
1930
|
+
});
|
|
1931
|
+
const error = data?.error ?? null;
|
|
1932
|
+
return {
|
|
1933
|
+
data: data?.status,
|
|
1934
|
+
error,
|
|
1935
|
+
isError: error !== null
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
|
|
1939
|
+
//#endregion
|
|
1940
|
+
//#region src/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.ts
|
|
1941
|
+
/**
|
|
1942
|
+
* Returns the session expiration date, or null if no active session.
|
|
1943
|
+
*
|
|
1944
|
+
* Re-renders when the user changes (which includes session updates).
|
|
1945
|
+
*/
|
|
1946
|
+
const useSessionExpiresAt = () => useBaseState({
|
|
1947
|
+
defaultValue: null,
|
|
1948
|
+
event: "userChanged",
|
|
1949
|
+
queryKey: ["useSessionExpiresAt"],
|
|
1950
|
+
selector: (client) => client.sessionExpiresAt
|
|
1951
|
+
});
|
|
1952
|
+
|
|
1953
|
+
//#endregion
|
|
1954
|
+
//#region src/hooks/wrappers/state/useUser/useUser.ts
|
|
1955
|
+
/**
|
|
1956
|
+
* Returns the current authenticated user, or null if not authenticated.
|
|
1957
|
+
*
|
|
1958
|
+
* Re-renders when the user changes (login, logout, profile update).
|
|
1959
|
+
*/
|
|
1960
|
+
const useUser = () => useBaseState({
|
|
1961
|
+
defaultValue: null,
|
|
1962
|
+
event: "userChanged",
|
|
1963
|
+
queryKey: ["useUser"],
|
|
1964
|
+
selector: (client) => client.user
|
|
1965
|
+
});
|
|
1966
|
+
|
|
1884
1967
|
//#endregion
|
|
1885
1968
|
//#region src/exports/index.ts
|
|
1886
1969
|
(0, _dynamic_labs_sdk_assert_package_version.assertPackageVersion)(name, version);
|
|
@@ -1890,6 +1973,7 @@ exports.DynamicProvider = DynamicProvider;
|
|
|
1890
1973
|
exports.useAcknowledgeRecoveryCodes = useAcknowledgeRecoveryCodes;
|
|
1891
1974
|
exports.useActiveNetworkData = useActiveNetworkData;
|
|
1892
1975
|
exports.useAddNetwork = useAddNetwork;
|
|
1976
|
+
exports.useAttachFlowSource = useAttachFlowSource;
|
|
1893
1977
|
exports.useAuthenticateMfaRecoveryCode = useAuthenticateMfaRecoveryCode;
|
|
1894
1978
|
exports.useAuthenticatePasskeyMfa = useAuthenticatePasskeyMfa;
|
|
1895
1979
|
exports.useAuthenticateTotpMfaDevice = useAuthenticateTotpMfaDevice;
|
|
@@ -1913,6 +1997,8 @@ exports.useDeleteUser = useDeleteUser;
|
|
|
1913
1997
|
exports.useDynamicClient = useDynamicClient;
|
|
1914
1998
|
exports.useEvent = useEvent;
|
|
1915
1999
|
exports.useExecuteSwapTransaction = useExecuteSwapTransaction;
|
|
2000
|
+
exports.useGetFlow = useGetFlow;
|
|
2001
|
+
exports.useGetFlowQuote = useGetFlowQuote;
|
|
1916
2002
|
exports.useGoogleDriveBackupReadiness = useGoogleDriveBackupReadiness;
|
|
1917
2003
|
exports.useInitStatus = useInitStatus;
|
|
1918
2004
|
exports.useIsCaptchaRequired = useIsCaptchaRequired;
|
|
@@ -1932,6 +2018,7 @@ exports.useNativeBalance = useNativeBalance;
|
|
|
1932
2018
|
exports.useNetworksData = useNetworksData;
|
|
1933
2019
|
exports.useOnceEvent = useOnceEvent;
|
|
1934
2020
|
exports.usePasskeys = usePasskeys;
|
|
2021
|
+
exports.usePrepareFlowSigning = usePrepareFlowSigning;
|
|
1935
2022
|
exports.useProveWalletAccountOwnership = useProveWalletAccountOwnership;
|
|
1936
2023
|
exports.useRefreshAuth = useRefreshAuth;
|
|
1937
2024
|
exports.useRegisterPasskey = useRegisterPasskey;
|