@dynamic-labs-sdk/react-hooks 1.28.0 → 1.30.2
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/core.cjs +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/exports/index.d.ts +17 -0
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/foundation/useBaseState/useBaseState.d.ts +2 -2
- package/dist/foundation/useBaseState/useBaseState.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddBusinessAccountMember/useAddBusinessAccountMember.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useAddBusinessAccountMember/useAddBusinessAccountMember.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts +2 -10
- package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/useAddCoinbaseOnrampOrderEventListener.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddWalletToBusinessAccount/useAddWalletToBusinessAccount.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useAddWalletToBusinessAccount/useAddWalletToBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts +3 -6
- package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.d.ts +43 -0
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts +53 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.d.ts +2 -10
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts +3 -2
- package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.d.ts +41 -0
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts +39 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetActiveNetworkData/useGetActiveNetworkData.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetActiveNetworkData/useGetActiveNetworkData.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetActiveNetworkId/useGetActiveNetworkId.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetActiveNetworkId/useGetActiveNetworkId.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetAvailableWalletProvidersData/useGetAvailableWalletProvidersData.d.ts +3 -1
- package/dist/hooks/wrappers/functions/useGetAvailableWalletProvidersData/useGetAvailableWalletProvidersData.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetBalanceForAddress/useGetBalanceForAddress.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetBalanceForAddress/useGetBalanceForAddress.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetBusinessAccount/useGetBusinessAccount.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useGetBusinessAccount/useGetBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseAccounts/useGetCoinbaseAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseAccounts/useGetCoinbaseAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseBuyUrl/useGetCoinbaseBuyUrl.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseBuyUrl/useGetCoinbaseBuyUrl.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetConnectedAddresses/useGetConnectedAddresses.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetConnectedAddresses/useGetConnectedAddresses.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetGoogleDriveBackupReadiness/useGetGoogleDriveBackupReadiness.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetGoogleDriveBackupReadiness/useGetGoogleDriveBackupReadiness.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetKrakenAccounts/useGetKrakenAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetKrakenAccounts/useGetKrakenAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetKrakenWhitelistedAddresses/useGetKrakenWhitelistedAddresses.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetKrakenWhitelistedAddresses/useGetKrakenWhitelistedAddresses.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMfaDevices/useGetMfaDevices.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMfaDevices/useGetMfaDevices.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMfaMethods/useGetMfaMethods.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMfaMethods/useGetMfaMethods.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMfaRecoveryCodes/useGetMfaRecoveryCodes.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMfaRecoveryCodes/useGetMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.d.ts +5 -3
- package/dist/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts +39 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts +3 -1
- package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.d.ts +3 -1
- package/dist/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts +48 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useOnEvent/useOnEvent.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useOnceEvent/useOnceEvent.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts +2 -1
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts +50 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts +4 -6
- package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useScreenTransaction/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useScreenTransaction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.d.ts +57 -0
- package/dist/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts +50 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts +53 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts +54 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts +41 -0
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts +2 -1
- package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts.map +1 -1
- package/dist/hooks/wrappers/state/useUser/useUser.d.ts +3 -1
- package/dist/hooks/wrappers/state/useUser/useUser.d.ts.map +1 -1
- package/dist/index.cjs +513 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +499 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/DynamicContext/DynamicProvider.d.ts +12 -2
- package/dist/modules/DynamicContext/DynamicProvider.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{useBaseState-M_pLmHLf.cjs → useBaseState-BNd25q_I.cjs} +12 -2
- package/dist/useBaseState-BNd25q_I.cjs.map +1 -0
- package/dist/{useBaseState-CIT5lFjP.esm.js → useBaseState-J0-SE2DJ.esm.js} +12 -2
- package/dist/useBaseState-J0-SE2DJ.esm.js.map +1 -0
- package/package.json +4 -4
- package/dist/useBaseState-CIT5lFjP.esm.js.map +0 -1
- package/dist/useBaseState-M_pLmHLf.cjs.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as useDynamicClient, c as version, i as useBaseMutation, n as useBaseQuery, o as DynamicProvider, r as QUERY_KEY_PREFIX, s as name, t as useBaseState } from "./useBaseState-
|
|
1
|
+
import { a as useDynamicClient, c as version, i as useBaseMutation, n as useBaseQuery, o as DynamicProvider, r as QUERY_KEY_PREFIX, s as name, t as useBaseState } from "./useBaseState-J0-SE2DJ.esm.js";
|
|
2
2
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
3
|
-
import { acknowledgeRecoveryCodes, addCoinbaseOnrampOrderEventListener, addNetwork, assertWalletAccountSigningAvailability, attachFlowSource, authenticateMfaRecoveryCode, authenticatePasskeyMFA, authenticateTotpMfaDevice, broadcastFlow, cancelFlow, checkStepUpAuth, completeDeviceRegistration, completeSocialRedirect, confirmTransaction, connectAndVerifyWithWalletProvider, connectWithWalletProvider, createCoinbaseExchangeTransfer, createCoinbaseOnrampOrder, createCryptoDotComPayment, createKrakenExchangeTransfer, createNewMfaRecoveryCodes, deleteMfaDevice, deletePasskey, deleteUser, detectSocialRedirectUrl, executeSwapTransaction, getActiveNetworkData, getActiveNetworkId, getAvailableWalletProvidersData, getBalanceForAddress, getCoinbaseAccounts, getCoinbaseBuyUrl, getConnectedAddresses, getFlow, getFlowQuote, getGoogleDriveBackupReadiness, getKrakenAccounts, getKrakenWhitelistedAddresses, getMfaDevices, getMfaMethods, getMfaRecoveryCodes, getMoonPayCurrencies, getMoonPayUrl, getMultichainTokenBalances, getNativeBalance, getPasskeys, getRegisteredDevices, getSwapQuote, getSwapStatus, getTokenBalances, getTransactionHistory, getUserSocialAccounts, getWalletAccounts, getWalletConnectCatalog, getWalletConnectCatalogWalletByWalletProviderKey, getWalletOptionsCatalogue, getWalletProviderDataByKey, getYieldDetails, getYieldPosition, getYieldRewards, isDeviceRegistrationRequired, isMfaRequiredForAction, isPendingRecoveryCodesAcknowledgment, isUserMissingMfaAuth, isUserOnboardingComplete, listYieldVaults, logout, mergeUserAccounts, onEvent, onWalletProviderEvent, onceEvent, prepareFlowSigning, proveWalletAccountOwnership, refreshAuth, registerPasskey, registerTotpMfaDevice, removeWalletAccount, requestExternalAuthElevatedToken, revokeAllRegisteredDevices, revokeRegisteredDevice, sendEmailOTP, sendSmsOTP, setDefaultMfaDevice, signInWithExternalJwt, signInWithPasskey, signInWithSocialPopUp, signInWithSocialRedirect, signMessage, submitFlowTransaction, switchActiveNetwork, transferAmount, transferWalletAccount, unlinkSocialAccount, updateUser, verifyOTP, verifyWalletAccount } from "@dynamic-labs-sdk/client";
|
|
3
|
+
import { acknowledgeRecoveryCodes, addCoinbaseOnrampOrderEventListener, addNetwork, assertWalletAccountSigningAvailability, attachFlowSource, authenticateMfaRecoveryCode, authenticatePasskeyMFA, authenticateTotpMfaDevice, broadcastFlow, cancelFlow, checkStepUpAuth, claimYieldRewards, completeDeviceRegistration, completeSocialRedirect, confirmTransaction, connectAndVerifyWithWalletProvider, connectWithWalletProvider, createCoinbaseExchangeTransfer, createCoinbaseOnrampOrder, createCryptoDotComPayment, createKrakenExchangeTransfer, createNewMfaRecoveryCodes, deleteMfaDevice, deletePasskey, deleteUser, depositToYieldVault, detectSocialRedirectUrl, executeSwapTransaction, getActiveNetworkData, getActiveNetworkId, getAvailableWalletProvidersData, getBalanceForAddress, getCoinbaseAccounts, getCoinbaseBuyUrl, getConnectedAddresses, getFlow, getFlowQuote, getGoogleDriveBackupReadiness, getKrakenAccounts, getKrakenWhitelistedAddresses, getMfaDevices, getMfaMethods, getMfaRecoveryCodes, getMoonPayCurrencies, getMoonPayUrl, getMultichainTokenBalances, getNativeBalance, getPasskeys, getRegisteredDevices, getSwapQuote, getSwapStatus, getTokenBalances, getTransactionHistory, getUserSocialAccounts, getWalletAccounts, getWalletConnectCatalog, getWalletConnectCatalogWalletByWalletProviderKey, getWalletOptionsCatalogue, getWalletProviderDataByKey, getYieldDetails, getYieldPosition, getYieldRewards, isDeviceRegistrationRequired, isMfaRequiredForAction, isPendingRecoveryCodesAcknowledgment, isUserMissingMfaAuth, isUserOnboardingComplete, listYieldVaults, logout, mergeUserAccounts, onEvent, onWalletProviderEvent, onceEvent, prepareFlowSigning, proveWalletAccountOwnership, refreshAuth, registerPasskey, registerTotpMfaDevice, removeWalletAccount, requestExternalAuthElevatedToken, revokeAllRegisteredDevices, revokeRegisteredDevice, screenTransaction, sendEmailOTP, sendSmsOTP, setDefaultMfaDevice, signInWithExternalJwt, signInWithPasskey, signInWithSocialPopUp, signInWithSocialRedirect, signMessage, submitFlowTransaction, switchActiveNetwork, transferAmount, transferWalletAccount, unlinkSocialAccount, updateUser, verifyOTP, verifyWalletAccount, withdrawFromYieldVault } from "@dynamic-labs-sdk/client";
|
|
4
4
|
import { useQueryClient } from "@tanstack/react-query";
|
|
5
5
|
import { useEffect, useRef } from "react";
|
|
6
6
|
import { getCore } from "@dynamic-labs-sdk/client/core";
|
|
7
|
-
import { addBusinessAccountMember, addBusinessAccountSigner, addWalletToBusinessAccount, backupWaasKeySharesToGoogleDrive, createBusinessAccount, createWaasOfflineRecoveryShares, createWaasWalletAccounts, createWalletForBusinessAccount, delegateWaasKeyShares, exportWaasClientKeyshares, exportWaasPrivateKey, getBusinessAccount, getWalletRecoveryState, importWaasPrivateKey, listBusinessAccounts, migrateFromFireblocks, refreshWaasWalletAccountShares, removeBusinessAccountMember, removeBusinessAccountSigner, removeBusinessAccountWallet, revokeWaasDelegation, setWaasWalletAccountPassword, transferBusinessAccountOwnership, unlockWallet, updateBusinessAccount, updateBusinessAccountMemberRole, updateWaasPassword } from "@dynamic-labs-sdk/client/waas";
|
|
7
|
+
import { addBusinessAccountMember, addBusinessAccountSigner, addWalletToBusinessAccount, backupWaasKeySharesToGoogleDrive, createBusinessAccount, createPolicy, createWaasOfflineRecoveryShares, createWaasWalletAccounts, createWalletForBusinessAccount, delegateWaasKeyShares, exportWaasClientKeyshares, exportWaasPrivateKey, getAccountPolicyLayer, getBusinessAccount, getPolicy, getSignerPolicyLayer, getWalletPolicyLayer, getWalletRecoveryState, importWaasPrivateKey, listBusinessAccounts, migrateFromFireblocks, refreshWaasWalletAccountShares, removeAccountPolicyRule, removeBusinessAccountMember, removeBusinessAccountSigner, removeBusinessAccountWallet, removePolicyRules, removeSignerPolicyRule, removeWalletPolicyRule, revokeWaasDelegation, setWaasWalletAccountPassword, signSerializedTransaction, transferBusinessAccountOwnership, unlockWallet, updateBusinessAccount, updateBusinessAccountMemberRole, updateWaasPassword, upsertAccountPolicyRule, upsertSignerPolicyRule, upsertWalletPolicyRule } from "@dynamic-labs-sdk/client/waas";
|
|
8
8
|
|
|
9
9
|
//#region src/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.ts
|
|
10
10
|
/**
|
|
@@ -1671,6 +1671,70 @@ const useRemoveWalletAccount = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1671
1671
|
mutationFn: ({ client, variables }) => removeWalletAccount(variables, client)
|
|
1672
1672
|
});
|
|
1673
1673
|
|
|
1674
|
+
//#endregion
|
|
1675
|
+
//#region src/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.ts
|
|
1676
|
+
/**
|
|
1677
|
+
* Removes a single rule from a signer's policy layer.
|
|
1678
|
+
*
|
|
1679
|
+
* Wraps `removeSignerPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
|
|
1680
|
+
* `mutate({ ruleId, walletAccount })`; the resolved `data` is the
|
|
1681
|
+
* signer-Layer as it stands after the rule is removed. On success,
|
|
1682
|
+
* invalidates {@link useGetSignerPolicyLayer} so mounted consumers refetch
|
|
1683
|
+
* the updated rules.
|
|
1684
|
+
*
|
|
1685
|
+
* @example
|
|
1686
|
+
* ```tsx
|
|
1687
|
+
* const { mutate: removeRule, isPending } = useRemoveSignerPolicyRule();
|
|
1688
|
+
* <button
|
|
1689
|
+
* onClick={() => removeRule({ ruleId, walletAccount })}
|
|
1690
|
+
* disabled={isPending}
|
|
1691
|
+
* >
|
|
1692
|
+
* Remove rule
|
|
1693
|
+
* </button>
|
|
1694
|
+
* ```
|
|
1695
|
+
*
|
|
1696
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the signer-Layer after the rule is removed.
|
|
1697
|
+
* @see removeSignerPolicyRule
|
|
1698
|
+
* @see UseRemoveSignerPolicyRuleParams
|
|
1699
|
+
*/
|
|
1700
|
+
const useRemoveSignerPolicyRule = ({ mutateParams } = {}) => useBaseMutation({
|
|
1701
|
+
middlewares: [invalidatesQueries("useGetSignerPolicyLayer")],
|
|
1702
|
+
mutateParams,
|
|
1703
|
+
mutationFn: ({ client, variables }) => removeSignerPolicyRule(variables, client)
|
|
1704
|
+
});
|
|
1705
|
+
|
|
1706
|
+
//#endregion
|
|
1707
|
+
//#region src/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.ts
|
|
1708
|
+
/**
|
|
1709
|
+
* Removes a single rule from a wallet's policy layer.
|
|
1710
|
+
*
|
|
1711
|
+
* Wraps `removeWalletPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
|
|
1712
|
+
* `mutate({ ruleId, walletAccount })`; the resolved `data` is the
|
|
1713
|
+
* wallet-Layer as it stands after the rule is removed. On success,
|
|
1714
|
+
* invalidates {@link useGetWalletPolicyLayer} so mounted consumers refetch
|
|
1715
|
+
* the updated rules.
|
|
1716
|
+
*
|
|
1717
|
+
* @example
|
|
1718
|
+
* ```tsx
|
|
1719
|
+
* const { mutate: removeRule, isPending } = useRemoveWalletPolicyRule();
|
|
1720
|
+
* <button
|
|
1721
|
+
* onClick={() => removeRule({ ruleId, walletAccount })}
|
|
1722
|
+
* disabled={isPending}
|
|
1723
|
+
* >
|
|
1724
|
+
* Remove rule
|
|
1725
|
+
* </button>
|
|
1726
|
+
* ```
|
|
1727
|
+
*
|
|
1728
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the wallet-Layer after the rule is removed.
|
|
1729
|
+
* @see removeWalletPolicyRule
|
|
1730
|
+
* @see UseRemoveWalletPolicyRuleParams
|
|
1731
|
+
*/
|
|
1732
|
+
const useRemoveWalletPolicyRule = ({ mutateParams } = {}) => useBaseMutation({
|
|
1733
|
+
middlewares: [invalidatesQueries("useGetWalletPolicyLayer")],
|
|
1734
|
+
mutateParams,
|
|
1735
|
+
mutationFn: ({ client, variables }) => removeWalletPolicyRule(variables, client)
|
|
1736
|
+
});
|
|
1737
|
+
|
|
1674
1738
|
//#endregion
|
|
1675
1739
|
//#region src/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.ts
|
|
1676
1740
|
/**
|
|
@@ -1888,6 +1952,42 @@ const useSignInWithSocialRedirect = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1888
1952
|
mutationFn: ({ client, variables }) => signInWithSocialRedirect(variables, client)
|
|
1889
1953
|
});
|
|
1890
1954
|
|
|
1955
|
+
//#endregion
|
|
1956
|
+
//#region src/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.ts
|
|
1957
|
+
/**
|
|
1958
|
+
* Screens a connected wallet's transaction for sanctioned addresses before you
|
|
1959
|
+
* prompt it to sign, and returns the verdict.
|
|
1960
|
+
*
|
|
1961
|
+
* Wraps `screenTransaction` from `@dynamic-labs-sdk/client`. A `block` verdict
|
|
1962
|
+
* resolves rather than throwing, so branch on `decision` — only screening
|
|
1963
|
+
* failures land in `error`.
|
|
1964
|
+
*
|
|
1965
|
+
* @example
|
|
1966
|
+
* ```tsx
|
|
1967
|
+
* const { mutateAsync: screenTransaction, isPending } = useScreenTransaction();
|
|
1968
|
+
*
|
|
1969
|
+
* const send = async () => {
|
|
1970
|
+
* const { decision } = await screenTransaction({
|
|
1971
|
+
* chain: 'EVM',
|
|
1972
|
+
* context: { evmTransaction: { to } },
|
|
1973
|
+
* });
|
|
1974
|
+
*
|
|
1975
|
+
* if (decision === 'block') return showBlockedDestination();
|
|
1976
|
+
*
|
|
1977
|
+
* await walletClient.sendTransaction(transaction);
|
|
1978
|
+
* };
|
|
1979
|
+
* ```
|
|
1980
|
+
*
|
|
1981
|
+
* @param [params.mutateParams] - Optional react-query `UseMutationOptions` overrides.
|
|
1982
|
+
* @returns A react-query mutation whose `mutateAsync` resolves to the screening verdict.
|
|
1983
|
+
* @see screenTransaction
|
|
1984
|
+
* @see isExternalWalletScreeningEnabled
|
|
1985
|
+
*/
|
|
1986
|
+
const useScreenTransaction = ({ mutateParams } = {}) => useBaseMutation({
|
|
1987
|
+
mutateParams,
|
|
1988
|
+
mutationFn: ({ client, variables }) => screenTransaction(variables, client)
|
|
1989
|
+
});
|
|
1990
|
+
|
|
1891
1991
|
//#endregion
|
|
1892
1992
|
//#region src/hooks/wrappers/functions/useSignMessage/useSignMessage.ts
|
|
1893
1993
|
/**
|
|
@@ -1913,6 +2013,35 @@ const useSignMessage = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1913
2013
|
mutationFn: ({ client, variables }) => signMessage(variables, client)
|
|
1914
2014
|
});
|
|
1915
2015
|
|
|
2016
|
+
//#endregion
|
|
2017
|
+
//#region src/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.ts
|
|
2018
|
+
/**
|
|
2019
|
+
* Signs an already-serialized transaction directly.
|
|
2020
|
+
*
|
|
2021
|
+
* Wraps `signSerializedTransaction` from `@dynamic-labs-sdk/client/waas`.
|
|
2022
|
+
* Call `mutate({ walletAccount, serializedTransaction, chainId })`; the
|
|
2023
|
+
* resolved `data` is the raw signature.
|
|
2024
|
+
*
|
|
2025
|
+
* @example
|
|
2026
|
+
* ```tsx
|
|
2027
|
+
* const { mutate: signSerializedTransaction, isPending } = useSignSerializedTransaction();
|
|
2028
|
+
* <button
|
|
2029
|
+
* onClick={() => signSerializedTransaction({ walletAccount, serializedTransaction })}
|
|
2030
|
+
* disabled={isPending}
|
|
2031
|
+
* >
|
|
2032
|
+
* Sign
|
|
2033
|
+
* </button>
|
|
2034
|
+
* ```
|
|
2035
|
+
*
|
|
2036
|
+
* @returns A react-query mutation whose `mutate`/`mutateAsync` calls `signSerializedTransaction` and whose `data` is its resolved value.
|
|
2037
|
+
* @see signSerializedTransaction
|
|
2038
|
+
* @see UseSignSerializedTransactionParams
|
|
2039
|
+
*/
|
|
2040
|
+
const useSignSerializedTransaction = ({ mutateParams } = {}) => useBaseMutation({
|
|
2041
|
+
mutateParams,
|
|
2042
|
+
mutationFn: ({ client, variables }) => signSerializedTransaction(variables, client)
|
|
2043
|
+
});
|
|
2044
|
+
|
|
1916
2045
|
//#endregion
|
|
1917
2046
|
//#region src/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.ts
|
|
1918
2047
|
/**
|
|
@@ -2244,6 +2373,38 @@ const useGetUserSocialAccounts = () => useBaseState({
|
|
|
2244
2373
|
selector: (client) => client.user ? getUserSocialAccounts(client) : []
|
|
2245
2374
|
});
|
|
2246
2375
|
|
|
2376
|
+
//#endregion
|
|
2377
|
+
//#region src/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.ts
|
|
2378
|
+
/**
|
|
2379
|
+
* Creates or updates a single rule on a wallet's policy layer.
|
|
2380
|
+
*
|
|
2381
|
+
* Wraps `upsertWalletPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
|
|
2382
|
+
* `mutate({ rule, walletAccount })`; the resolved `data` is the wallet-Layer
|
|
2383
|
+
* as it stands after the rule is applied. On success, invalidates
|
|
2384
|
+
* {@link useGetWalletPolicyLayer} so mounted consumers refetch the updated
|
|
2385
|
+
* rules.
|
|
2386
|
+
*
|
|
2387
|
+
* @example
|
|
2388
|
+
* ```tsx
|
|
2389
|
+
* const { mutate: upsertRule, isPending } = useUpsertWalletPolicyRule();
|
|
2390
|
+
* <button
|
|
2391
|
+
* onClick={() => upsertRule({ rule, walletAccount })}
|
|
2392
|
+
* disabled={isPending}
|
|
2393
|
+
* >
|
|
2394
|
+
* Save rule
|
|
2395
|
+
* </button>
|
|
2396
|
+
* ```
|
|
2397
|
+
*
|
|
2398
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the wallet-Layer after the rule is applied.
|
|
2399
|
+
* @see upsertWalletPolicyRule
|
|
2400
|
+
* @see UseUpsertWalletPolicyRuleParams
|
|
2401
|
+
*/
|
|
2402
|
+
const useUpsertWalletPolicyRule = ({ mutateParams } = {}) => useBaseMutation({
|
|
2403
|
+
middlewares: [invalidatesQueries("useGetWalletPolicyLayer")],
|
|
2404
|
+
mutateParams,
|
|
2405
|
+
mutationFn: ({ client, variables }) => upsertWalletPolicyRule(variables, client)
|
|
2406
|
+
});
|
|
2407
|
+
|
|
2247
2408
|
//#endregion
|
|
2248
2409
|
//#region src/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.ts
|
|
2249
2410
|
/**
|
|
@@ -2393,6 +2554,30 @@ const useGetWalletOptionsCatalogue = ({ queryParams, ...args } = {}) => useBaseQ
|
|
|
2393
2554
|
}
|
|
2394
2555
|
});
|
|
2395
2556
|
|
|
2557
|
+
//#endregion
|
|
2558
|
+
//#region src/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.ts
|
|
2559
|
+
/**
|
|
2560
|
+
* Returns a wallet's active policy rules (the wallet-Layer).
|
|
2561
|
+
*
|
|
2562
|
+
* Wraps `getWalletPolicyLayer` from `@dynamic-labs-sdk/client/waas`. The hook
|
|
2563
|
+
* stays disabled until `walletAccount` is defined.
|
|
2564
|
+
*
|
|
2565
|
+
* @example
|
|
2566
|
+
* ```tsx
|
|
2567
|
+
* const { data, isLoading } = useGetWalletPolicyLayer({ walletAccount });
|
|
2568
|
+
* ```
|
|
2569
|
+
*
|
|
2570
|
+
* @returns A react-query result whose `data` is the wallet-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
|
|
2571
|
+
* @see getWalletPolicyLayer
|
|
2572
|
+
* @see UseGetWalletPolicyLayerParams
|
|
2573
|
+
*/
|
|
2574
|
+
const useGetWalletPolicyLayer = ({ queryParams, walletAccount }) => useBaseQuery({
|
|
2575
|
+
enabled: walletAccount !== void 0,
|
|
2576
|
+
queryFn: (client) => getWalletPolicyLayer({ walletAccount }, client),
|
|
2577
|
+
queryKey: ["useGetWalletPolicyLayer", walletAccount?.id],
|
|
2578
|
+
queryParams
|
|
2579
|
+
});
|
|
2580
|
+
|
|
2396
2581
|
//#endregion
|
|
2397
2582
|
//#region src/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.ts
|
|
2398
2583
|
/**
|
|
@@ -2651,6 +2836,38 @@ const useExportWaasPrivateKey = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
2651
2836
|
mutationFn: ({ client, variables }) => exportWaasPrivateKey(variables, client)
|
|
2652
2837
|
});
|
|
2653
2838
|
|
|
2839
|
+
//#endregion
|
|
2840
|
+
//#region src/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.ts
|
|
2841
|
+
/**
|
|
2842
|
+
* Wraps `getSignerPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Returns
|
|
2843
|
+
* a signer's active policy rules (the signer-Layer) — the caller's own
|
|
2844
|
+
* active share set by default, or another share set on the same wallet when
|
|
2845
|
+
* `shareSetId` is given. The hook stays disabled until `walletAccount` is
|
|
2846
|
+
* defined.
|
|
2847
|
+
*
|
|
2848
|
+
* @example
|
|
2849
|
+
* ```tsx
|
|
2850
|
+
* const { data, isLoading } = useGetSignerPolicyLayer({ walletAccount });
|
|
2851
|
+
* ```
|
|
2852
|
+
*
|
|
2853
|
+
* @returns A react-query result whose `data` is the signer-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
|
|
2854
|
+
* @see getSignerPolicyLayer
|
|
2855
|
+
* @see UseGetSignerPolicyLayerParams
|
|
2856
|
+
*/
|
|
2857
|
+
const useGetSignerPolicyLayer = ({ queryParams, shareSetId, walletAccount }) => useBaseQuery({
|
|
2858
|
+
enabled: walletAccount !== void 0,
|
|
2859
|
+
queryFn: (client) => getSignerPolicyLayer({
|
|
2860
|
+
shareSetId,
|
|
2861
|
+
walletAccount
|
|
2862
|
+
}, client),
|
|
2863
|
+
queryKey: [
|
|
2864
|
+
"useGetSignerPolicyLayer",
|
|
2865
|
+
walletAccount?.id,
|
|
2866
|
+
shareSetId
|
|
2867
|
+
],
|
|
2868
|
+
queryParams
|
|
2869
|
+
});
|
|
2870
|
+
|
|
2654
2871
|
//#endregion
|
|
2655
2872
|
//#region src/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.ts
|
|
2656
2873
|
/**
|
|
@@ -2837,6 +3054,260 @@ const useUpdateWaasPassword = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
2837
3054
|
mutationFn: ({ client, variables }) => updateWaasPassword(variables, client)
|
|
2838
3055
|
});
|
|
2839
3056
|
|
|
3057
|
+
//#endregion
|
|
3058
|
+
//#region src/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.ts
|
|
3059
|
+
/**
|
|
3060
|
+
* Creates or updates a single rule on a signer's policy layer. Build `rule`
|
|
3061
|
+
* with `buildAllowPolicyRule` / `buildDenyPolicyRule` — the enclave always
|
|
3062
|
+
* mints the rule id.
|
|
3063
|
+
*
|
|
3064
|
+
* Wraps `upsertSignerPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
|
|
3065
|
+
* `mutate({ rule, walletAccount })`; the resolved `data` is the signer-Layer
|
|
3066
|
+
* as it stands after the rule is applied. On success, invalidates
|
|
3067
|
+
* {@link useGetSignerPolicyLayer} so mounted consumers refetch the updated
|
|
3068
|
+
* rules.
|
|
3069
|
+
*
|
|
3070
|
+
* @example
|
|
3071
|
+
* ```tsx
|
|
3072
|
+
* const { mutate: upsertRule, isPending } = useUpsertSignerPolicyRule();
|
|
3073
|
+
* <button
|
|
3074
|
+
* onClick={() => upsertRule({ rule, walletAccount })}
|
|
3075
|
+
* disabled={isPending}
|
|
3076
|
+
* >
|
|
3077
|
+
* Save rule
|
|
3078
|
+
* </button>
|
|
3079
|
+
* ```
|
|
3080
|
+
*
|
|
3081
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the signer-Layer after the rule is applied.
|
|
3082
|
+
* @see upsertSignerPolicyRule
|
|
3083
|
+
* @see UseUpsertSignerPolicyRuleParams
|
|
3084
|
+
*/
|
|
3085
|
+
const useUpsertSignerPolicyRule = ({ mutateParams } = {}) => useBaseMutation({
|
|
3086
|
+
middlewares: [invalidatesQueries("useGetSignerPolicyLayer")],
|
|
3087
|
+
mutateParams,
|
|
3088
|
+
mutationFn: ({ client, variables }) => upsertSignerPolicyRule(variables, client)
|
|
3089
|
+
});
|
|
3090
|
+
|
|
3091
|
+
//#endregion
|
|
3092
|
+
//#region src/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.ts
|
|
3093
|
+
/**
|
|
3094
|
+
* Creates or updates a wallet's or signer's policy rules from the
|
|
3095
|
+
* `PolicyRules` sugar map, in one atomic `batch` PATCH.
|
|
3096
|
+
*
|
|
3097
|
+
* Wraps `createPolicy` from `@dynamic-labs-sdk/client/waas`. On success,
|
|
3098
|
+
* invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
|
|
3099
|
+
* {@link useGetSignerPolicyLayer} — all three read the same underlying
|
|
3100
|
+
* wallet/signer policy layer this mutates — so mounted consumers of any of
|
|
3101
|
+
* them refetch the updated policy.
|
|
3102
|
+
*
|
|
3103
|
+
* @example
|
|
3104
|
+
* ```tsx
|
|
3105
|
+
* const { mutate: createPolicy, isPending } = useCreatePolicy();
|
|
3106
|
+
* <button
|
|
3107
|
+
* onClick={() => createPolicy({ chain, rules, scope })}
|
|
3108
|
+
* disabled={isPending}
|
|
3109
|
+
* >
|
|
3110
|
+
* Save policy
|
|
3111
|
+
* </button>
|
|
3112
|
+
* ```
|
|
3113
|
+
*
|
|
3114
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` creates the policy; the resolved `data` is the policy layer after the batch is applied.
|
|
3115
|
+
* @see createPolicy
|
|
3116
|
+
* @see UseCreatePolicyParams
|
|
3117
|
+
*/
|
|
3118
|
+
const useCreatePolicy = ({ mutateParams } = {}) => useBaseMutation({
|
|
3119
|
+
middlewares: [invalidatesQueries("useGetPolicy", "useGetWalletPolicyLayer", "useGetSignerPolicyLayer")],
|
|
3120
|
+
mutateParams,
|
|
3121
|
+
mutationFn: ({ client, variables }) => createPolicy(variables, client)
|
|
3122
|
+
});
|
|
3123
|
+
|
|
3124
|
+
//#endregion
|
|
3125
|
+
//#region src/hooks/wrappers/functions/useGetPolicy/useGetPolicy.ts
|
|
3126
|
+
/**
|
|
3127
|
+
* Wraps `getPolicy` from `@dynamic-labs-sdk/client/waas`. Retrieves a policy
|
|
3128
|
+
* layer's rules for the given scope.
|
|
3129
|
+
*
|
|
3130
|
+
* @example
|
|
3131
|
+
* ```tsx
|
|
3132
|
+
* const { data: policy, isLoading } = useGetPolicy({ scope: { walletId } });
|
|
3133
|
+
* ```
|
|
3134
|
+
*
|
|
3135
|
+
* @returns A react-query result whose `data` is the policy detail resolved by `getPolicy`.
|
|
3136
|
+
* @see getPolicy
|
|
3137
|
+
* @see UseGetPolicyParams
|
|
3138
|
+
*/
|
|
3139
|
+
const useGetPolicy = ({ queryParams, ...args }) => useBaseQuery({
|
|
3140
|
+
queryFn: (client) => getPolicy(args, client),
|
|
3141
|
+
queryKey: ["useGetPolicy", args],
|
|
3142
|
+
queryParams
|
|
3143
|
+
});
|
|
3144
|
+
|
|
3145
|
+
//#endregion
|
|
3146
|
+
//#region src/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.ts
|
|
3147
|
+
/**
|
|
3148
|
+
* Removes one or more rules from a policy layer via a single atomic batch.
|
|
3149
|
+
*
|
|
3150
|
+
* Wraps `removePolicyRules` from `@dynamic-labs-sdk/client/waas`. On success,
|
|
3151
|
+
* invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
|
|
3152
|
+
* {@link useGetSignerPolicyLayer} — all three read the same underlying
|
|
3153
|
+
* wallet/signer policy layer this mutates — so mounted consumers of any of
|
|
3154
|
+
* them refetch the updated rules.
|
|
3155
|
+
*
|
|
3156
|
+
* @example
|
|
3157
|
+
* ```tsx
|
|
3158
|
+
* const { mutate: removeRules, isPending } = useRemovePolicyRules();
|
|
3159
|
+
* <button
|
|
3160
|
+
* onClick={() => removeRules({ chain, rules: ['blockExport'], scope })}
|
|
3161
|
+
* disabled={isPending}
|
|
3162
|
+
* >
|
|
3163
|
+
* Remove rules
|
|
3164
|
+
* </button>
|
|
3165
|
+
* ```
|
|
3166
|
+
*
|
|
3167
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rules; the resolved `data` is the policy layer after the batch is applied.
|
|
3168
|
+
* @see removePolicyRules
|
|
3169
|
+
* @see UseRemovePolicyRulesParams
|
|
3170
|
+
*/
|
|
3171
|
+
const useRemovePolicyRules = ({ mutateParams } = {}) => useBaseMutation({
|
|
3172
|
+
middlewares: [invalidatesQueries("useGetPolicy", "useGetWalletPolicyLayer", "useGetSignerPolicyLayer")],
|
|
3173
|
+
mutateParams,
|
|
3174
|
+
mutationFn: ({ client, variables }) => removePolicyRules(variables, client)
|
|
3175
|
+
});
|
|
3176
|
+
|
|
3177
|
+
//#endregion
|
|
3178
|
+
//#region src/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.ts
|
|
3179
|
+
/**
|
|
3180
|
+
* Wraps `getAccountPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Retrieves a business
|
|
3181
|
+
* account's active policy rules (the account-Layer).
|
|
3182
|
+
*
|
|
3183
|
+
* @example
|
|
3184
|
+
* ```tsx
|
|
3185
|
+
* const { data: accountPolicyLayer, isLoading } = useGetAccountPolicyLayer({ businessAccountId });
|
|
3186
|
+
* ```
|
|
3187
|
+
*
|
|
3188
|
+
* @returns A react-query result whose `data` is the account-Layer resolved by `getAccountPolicyLayer`.
|
|
3189
|
+
* @see getAccountPolicyLayer
|
|
3190
|
+
* @see UseGetAccountPolicyLayerParams
|
|
3191
|
+
*/
|
|
3192
|
+
const useGetAccountPolicyLayer = ({ queryParams, ...args }) => useBaseQuery({
|
|
3193
|
+
queryFn: (client) => getAccountPolicyLayer(args, client),
|
|
3194
|
+
queryKey: ["useGetAccountPolicyLayer", args],
|
|
3195
|
+
queryParams
|
|
3196
|
+
});
|
|
3197
|
+
|
|
3198
|
+
//#endregion
|
|
3199
|
+
//#region src/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.ts
|
|
3200
|
+
/**
|
|
3201
|
+
* Creates or updates a single rule on a business account's account-Layer —
|
|
3202
|
+
* the Rules that apply to every wallet in the business account. Build
|
|
3203
|
+
* `rule` with `buildAllowPolicyRule` / `buildDenyPolicyRule` — the enclave
|
|
3204
|
+
* always mints the rule id.
|
|
3205
|
+
*
|
|
3206
|
+
* Wraps `upsertAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
|
|
3207
|
+
* success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
|
|
3208
|
+
* refetch the updated rules.
|
|
3209
|
+
*
|
|
3210
|
+
* @example
|
|
3211
|
+
* ```tsx
|
|
3212
|
+
* const { mutate: upsertRule, isPending } = useUpsertAccountPolicyRule();
|
|
3213
|
+
* <button
|
|
3214
|
+
* onClick={() => upsertRule({ businessAccountId, rule })}
|
|
3215
|
+
* disabled={isPending}
|
|
3216
|
+
* >
|
|
3217
|
+
* Save rule
|
|
3218
|
+
* </button>
|
|
3219
|
+
* ```
|
|
3220
|
+
*
|
|
3221
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the account-Layer after the rule is applied.
|
|
3222
|
+
* @see upsertAccountPolicyRule
|
|
3223
|
+
* @see UseUpsertAccountPolicyRuleParams
|
|
3224
|
+
*/
|
|
3225
|
+
const useUpsertAccountPolicyRule = ({ mutateParams } = {}) => useBaseMutation({
|
|
3226
|
+
middlewares: [invalidatesQueries("useGetAccountPolicyLayer")],
|
|
3227
|
+
mutateParams,
|
|
3228
|
+
mutationFn: ({ client, variables }) => upsertAccountPolicyRule(variables, client)
|
|
3229
|
+
});
|
|
3230
|
+
|
|
3231
|
+
//#endregion
|
|
3232
|
+
//#region src/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.ts
|
|
3233
|
+
/**
|
|
3234
|
+
* Removes a single rule from a business account's account-Layer.
|
|
3235
|
+
*
|
|
3236
|
+
* Wraps `removeAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
|
|
3237
|
+
* success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
|
|
3238
|
+
* refetch the updated rules.
|
|
3239
|
+
*
|
|
3240
|
+
* @example
|
|
3241
|
+
* ```tsx
|
|
3242
|
+
* const { mutate: removeRule, isPending } = useRemoveAccountPolicyRule();
|
|
3243
|
+
* <button
|
|
3244
|
+
* onClick={() => removeRule({ businessAccountId, ruleId })}
|
|
3245
|
+
* disabled={isPending}
|
|
3246
|
+
* >
|
|
3247
|
+
* Remove rule
|
|
3248
|
+
* </button>
|
|
3249
|
+
* ```
|
|
3250
|
+
*
|
|
3251
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the account-Layer after the rule is removed.
|
|
3252
|
+
* @see removeAccountPolicyRule
|
|
3253
|
+
* @see UseRemoveAccountPolicyRuleParams
|
|
3254
|
+
*/
|
|
3255
|
+
const useRemoveAccountPolicyRule = ({ mutateParams } = {}) => useBaseMutation({
|
|
3256
|
+
middlewares: [invalidatesQueries("useGetAccountPolicyLayer")],
|
|
3257
|
+
mutateParams,
|
|
3258
|
+
mutationFn: ({ client, variables }) => removeAccountPolicyRule(variables, client)
|
|
3259
|
+
});
|
|
3260
|
+
|
|
3261
|
+
//#endregion
|
|
3262
|
+
//#region src/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.ts
|
|
3263
|
+
/**
|
|
3264
|
+
* Wraps `claimYieldRewards` from `@dynamic-labs-sdk/client`. Call
|
|
3265
|
+
* `mutate({ vaultId, walletAccount })` to claim a wallet account's accrued
|
|
3266
|
+
* rewards in a vault; the resolved `data` is `{ transactionHash }`.
|
|
3267
|
+
*
|
|
3268
|
+
* Rejects when there is nothing claimable for this vault right now. Read
|
|
3269
|
+
* accrued rewards with {@link useGetYieldRewards} before calling.
|
|
3270
|
+
*
|
|
3271
|
+
* @example
|
|
3272
|
+
* ```tsx
|
|
3273
|
+
* const { mutate: claim, data } = useClaimYieldRewards();
|
|
3274
|
+
* claim({ vaultId, walletAccount });
|
|
3275
|
+
* ```
|
|
3276
|
+
*
|
|
3277
|
+
* @returns A react-query mutation whose `data` is the claim transaction hash.
|
|
3278
|
+
* @see claimYieldRewards
|
|
3279
|
+
* @see UseClaimYieldRewardsParams
|
|
3280
|
+
*/
|
|
3281
|
+
const useClaimYieldRewards = ({ mutateParams } = {}) => useBaseMutation({
|
|
3282
|
+
middlewares: [invalidatesQueries("useGetYieldRewards")],
|
|
3283
|
+
mutateParams,
|
|
3284
|
+
mutationFn: ({ client, variables }) => claimYieldRewards(variables, client)
|
|
3285
|
+
});
|
|
3286
|
+
|
|
3287
|
+
//#endregion
|
|
3288
|
+
//#region src/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.ts
|
|
3289
|
+
/**
|
|
3290
|
+
* Wraps `depositToYieldVault` from `@dynamic-labs-sdk/client`. Call
|
|
3291
|
+
* `mutate({ amount, vaultId, walletAccount })` to deposit into a vault (using a
|
|
3292
|
+
* `vaultId` from {@link useListYieldVaults}); the resolved `data` is
|
|
3293
|
+
* `{ transactionHash }`.
|
|
3294
|
+
*
|
|
3295
|
+
* @example
|
|
3296
|
+
* ```tsx
|
|
3297
|
+
* const { mutate: deposit, data } = useDepositToYieldVault();
|
|
3298
|
+
* deposit({ amount: '10.5', vaultId, walletAccount });
|
|
3299
|
+
* ```
|
|
3300
|
+
*
|
|
3301
|
+
* @returns A react-query mutation whose `data` is the deposit transaction hash.
|
|
3302
|
+
* @see depositToYieldVault
|
|
3303
|
+
* @see UseDepositToYieldVaultParams
|
|
3304
|
+
*/
|
|
3305
|
+
const useDepositToYieldVault = ({ mutateParams } = {}) => useBaseMutation({
|
|
3306
|
+
middlewares: [invalidatesQueries("useGetYieldPosition")],
|
|
3307
|
+
mutateParams,
|
|
3308
|
+
mutationFn: ({ client, variables }) => depositToYieldVault(variables, client)
|
|
3309
|
+
});
|
|
3310
|
+
|
|
2840
3311
|
//#endregion
|
|
2841
3312
|
//#region src/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.ts
|
|
2842
3313
|
/**
|
|
@@ -2937,6 +3408,30 @@ const useListYieldVaults = ({ queryParams } = {}) => useBaseQuery({
|
|
|
2937
3408
|
queryParams
|
|
2938
3409
|
});
|
|
2939
3410
|
|
|
3411
|
+
//#endregion
|
|
3412
|
+
//#region src/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.ts
|
|
3413
|
+
/**
|
|
3414
|
+
* Wraps `withdrawFromYieldVault` from `@dynamic-labs-sdk/client`. Call
|
|
3415
|
+
* `mutate({ amount, vaultId, walletAccount })` to withdraw from a vault (using a
|
|
3416
|
+
* `vaultId` from {@link useListYieldVaults}); the resolved `data` is
|
|
3417
|
+
* `{ transactionHash }`.
|
|
3418
|
+
*
|
|
3419
|
+
* @example
|
|
3420
|
+
* ```tsx
|
|
3421
|
+
* const { mutate: withdraw, data } = useWithdrawFromYieldVault();
|
|
3422
|
+
* withdraw({ amount: '10.5', vaultId, walletAccount });
|
|
3423
|
+
* ```
|
|
3424
|
+
*
|
|
3425
|
+
* @returns A react-query mutation whose `data` is the withdraw transaction hash.
|
|
3426
|
+
* @see withdrawFromYieldVault
|
|
3427
|
+
* @see UseWithdrawFromYieldVaultParams
|
|
3428
|
+
*/
|
|
3429
|
+
const useWithdrawFromYieldVault = ({ mutateParams } = {}) => useBaseMutation({
|
|
3430
|
+
middlewares: [invalidatesQueries("useGetYieldPosition")],
|
|
3431
|
+
mutateParams,
|
|
3432
|
+
mutationFn: ({ client, variables }) => withdrawFromYieldVault(variables, client)
|
|
3433
|
+
});
|
|
3434
|
+
|
|
2940
3435
|
//#endregion
|
|
2941
3436
|
//#region src/hooks/wrappers/state/useInitStatus/useInitStatus.ts
|
|
2942
3437
|
/**
|
|
@@ -3013,5 +3508,5 @@ const useUser = () => useBaseState({
|
|
|
3013
3508
|
assertPackageVersion(name, version);
|
|
3014
3509
|
|
|
3015
3510
|
//#endregion
|
|
3016
|
-
export { DynamicProvider, useAcknowledgeRecoveryCodes, useAddBusinessAccountMember, useAddBusinessAccountSigner, useAddCoinbaseOnrampOrderEventListener, useAddNetwork, useAddWalletToBusinessAccount, useAssertWalletAccountSigningAvailability, useAttachFlowSource, useAuthenticateMfaRecoveryCode, useAuthenticatePasskeyMFA, useAuthenticateTotpMfaDevice, useBackupWaasKeySharesToGoogleDrive, useBroadcastFlow, useCancelFlow, useCheckStepUpAuth, useCompleteDeviceRegistration, useCompleteSocialRedirect, useConfirmTransaction, useConnectAndVerifyWithWalletProvider, useConnectWithWalletProvider, useCreateBusinessAccount, useCreateCoinbaseExchangeTransfer, useCreateCoinbaseOnrampOrder, useCreateCryptoDotComPayment, useCreateKrakenExchangeTransfer, useCreateNewMfaRecoveryCodes, useCreateWaasOfflineRecoveryShares, useCreateWaasWalletAccounts, useCreateWalletForBusinessAccount, useDelegateWaasKeyShares, useDeleteMfaDevice, useDeletePasskey, useDeleteUser, useDetectSocialRedirectUrl, useDynamicClient, useExecuteSwapTransaction, useExportWaasClientKeyshares, useExportWaasPrivateKey, useGetActiveNetworkData, useGetActiveNetworkId, useGetAvailableWalletProvidersData, useGetBalanceForAddress, useGetBusinessAccount, useGetCoinbaseAccounts, useGetCoinbaseBuyUrl, useGetConnectedAddresses, useGetFlow, useGetFlowQuote, useGetGoogleDriveBackupReadiness, useGetKrakenAccounts, useGetKrakenWhitelistedAddresses, useGetMfaDevices, useGetMfaMethods, useGetMfaRecoveryCodes, useGetMoonPayCurrencies, useGetMoonPayUrl, useGetMultichainTokenBalances, useGetNativeBalance, useGetPasskeys, useGetRegisteredDevices, useGetSwapQuote, useGetSwapStatus, useGetTokenBalances, useGetTransactionHistory, useGetUserSocialAccounts, useGetWalletAccounts, useGetWalletConnectCatalog, useGetWalletConnectCatalogWalletByWalletProviderKey, useGetWalletOptionsCatalogue, useGetWalletProviderDataByKey, useGetWalletRecoveryState, useGetYieldDetails, useGetYieldPosition, useGetYieldRewards, useImportWaasPrivateKey, useInitStatus, useIsDeviceRegistrationRequired, useIsMfaRequiredForAction, useIsPendingRecoveryCodesAcknowledgment, useIsUserMissingMfaAuth, useIsUserOnboardingComplete, useListBusinessAccounts, useListYieldVaults, useLogout, useMergeUserAccounts, useMigrateFromFireblocks, useOnEvent, useOnWalletProviderEvent, useOnceEvent, usePrepareFlowSigning, useProveWalletAccountOwnership, useRefreshAuth, useRefreshWaasWalletAccountShares, useRegisterPasskey, useRegisterTotpMfaDevice, useRemoveBusinessAccountMember, useRemoveBusinessAccountSigner, useRemoveBusinessAccountWallet, useRemoveWalletAccount, useRequestExternalAuthElevatedToken, useRevokeAllRegisteredDevices, useRevokeRegisteredDevice, useRevokeWaasDelegation, useSendEmailOTP, useSendSmsOTP, useSessionExpiresAt, useSetDefaultMfaDevice, useSetWaasWalletAccountPassword, useSignInWithExternalJwt, useSignInWithPasskey, useSignInWithSocialPopUp, useSignInWithSocialRedirect, useSignMessage, useSubmitFlowTransaction, useSwitchActiveNetwork, useTransferAmount, useTransferBusinessAccountOwnership, useTransferWalletAccount, useUnlinkSocialAccount, useUnlockWallet, useUpdateBusinessAccount, useUpdateBusinessAccountMemberRole, useUpdateUser, useUpdateWaasPassword, useUser, useVerifyOTP, useVerifyWalletAccount };
|
|
3511
|
+
export { DynamicProvider, useAcknowledgeRecoveryCodes, useAddBusinessAccountMember, useAddBusinessAccountSigner, useAddCoinbaseOnrampOrderEventListener, useAddNetwork, useAddWalletToBusinessAccount, useAssertWalletAccountSigningAvailability, useAttachFlowSource, useAuthenticateMfaRecoveryCode, useAuthenticatePasskeyMFA, useAuthenticateTotpMfaDevice, useBackupWaasKeySharesToGoogleDrive, useBroadcastFlow, useCancelFlow, useCheckStepUpAuth, useClaimYieldRewards, useCompleteDeviceRegistration, useCompleteSocialRedirect, useConfirmTransaction, useConnectAndVerifyWithWalletProvider, useConnectWithWalletProvider, useCreateBusinessAccount, useCreateCoinbaseExchangeTransfer, useCreateCoinbaseOnrampOrder, useCreateCryptoDotComPayment, useCreateKrakenExchangeTransfer, useCreateNewMfaRecoveryCodes, useCreatePolicy, useCreateWaasOfflineRecoveryShares, useCreateWaasWalletAccounts, useCreateWalletForBusinessAccount, useDelegateWaasKeyShares, useDeleteMfaDevice, useDeletePasskey, useDeleteUser, useDepositToYieldVault, useDetectSocialRedirectUrl, useDynamicClient, useExecuteSwapTransaction, useExportWaasClientKeyshares, useExportWaasPrivateKey, useGetAccountPolicyLayer, useGetActiveNetworkData, useGetActiveNetworkId, useGetAvailableWalletProvidersData, useGetBalanceForAddress, useGetBusinessAccount, useGetCoinbaseAccounts, useGetCoinbaseBuyUrl, useGetConnectedAddresses, useGetFlow, useGetFlowQuote, useGetGoogleDriveBackupReadiness, useGetKrakenAccounts, useGetKrakenWhitelistedAddresses, useGetMfaDevices, useGetMfaMethods, useGetMfaRecoveryCodes, useGetMoonPayCurrencies, useGetMoonPayUrl, useGetMultichainTokenBalances, useGetNativeBalance, useGetPasskeys, useGetPolicy, useGetRegisteredDevices, useGetSignerPolicyLayer, useGetSwapQuote, useGetSwapStatus, useGetTokenBalances, useGetTransactionHistory, useGetUserSocialAccounts, useGetWalletAccounts, useGetWalletConnectCatalog, useGetWalletConnectCatalogWalletByWalletProviderKey, useGetWalletOptionsCatalogue, useGetWalletPolicyLayer, useGetWalletProviderDataByKey, useGetWalletRecoveryState, useGetYieldDetails, useGetYieldPosition, useGetYieldRewards, useImportWaasPrivateKey, useInitStatus, useIsDeviceRegistrationRequired, useIsMfaRequiredForAction, useIsPendingRecoveryCodesAcknowledgment, useIsUserMissingMfaAuth, useIsUserOnboardingComplete, useListBusinessAccounts, useListYieldVaults, useLogout, useMergeUserAccounts, useMigrateFromFireblocks, useOnEvent, useOnWalletProviderEvent, useOnceEvent, usePrepareFlowSigning, useProveWalletAccountOwnership, useRefreshAuth, useRefreshWaasWalletAccountShares, useRegisterPasskey, useRegisterTotpMfaDevice, useRemoveAccountPolicyRule, useRemoveBusinessAccountMember, useRemoveBusinessAccountSigner, useRemoveBusinessAccountWallet, useRemovePolicyRules, useRemoveSignerPolicyRule, useRemoveWalletAccount, useRemoveWalletPolicyRule, useRequestExternalAuthElevatedToken, useRevokeAllRegisteredDevices, useRevokeRegisteredDevice, useRevokeWaasDelegation, useScreenTransaction, useSendEmailOTP, useSendSmsOTP, useSessionExpiresAt, useSetDefaultMfaDevice, useSetWaasWalletAccountPassword, useSignInWithExternalJwt, useSignInWithPasskey, useSignInWithSocialPopUp, useSignInWithSocialRedirect, useSignMessage, useSignSerializedTransaction, useSubmitFlowTransaction, useSwitchActiveNetwork, useTransferAmount, useTransferBusinessAccountOwnership, useTransferWalletAccount, useUnlinkSocialAccount, useUnlockWallet, useUpdateBusinessAccount, useUpdateBusinessAccountMemberRole, useUpdateUser, useUpdateWaasPassword, useUpsertAccountPolicyRule, useUpsertSignerPolicyRule, useUpsertWalletPolicyRule, useUser, useVerifyOTP, useVerifyWalletAccount, useWithdrawFromYieldVault };
|
|
3017
3512
|
//# sourceMappingURL=index.esm.js.map
|