@dynamic-labs-sdk/react-hooks 1.29.0 → 1.30.3
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 +4 -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 -7
- 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/useCreatePolicy.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts.map +1 -1
- 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/useGetAccountPolicyLayer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts.map +1 -1
- 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/useGetPolicy.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts.map +1 -1
- 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/useGetSignerPolicyLayer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map +1 -1
- 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/useGetWalletPolicyLayer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map +1 -1
- 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/useRemoveAccountPolicyRule.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map +1 -1
- 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/useRemovePolicyRules.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts.map +1 -1
- 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/useRemoveWalletPolicyRule.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts.map +1 -1
- 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/useSignSerializedTransaction.d.ts +2 -7
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts.map +1 -1
- 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/useUpsertAccountPolicyRule.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts.map +1 -1
- 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 +115 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +113 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/DynamicContext/DynamicProvider.d.ts +2 -2
- package/dist/modules/DynamicContext/DynamicProvider.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{useBaseState-KNM6v5iX.cjs → useBaseState-CI69lvc_.cjs} +2 -2
- package/dist/useBaseState-CI69lvc_.cjs.map +1 -0
- package/dist/{useBaseState-D9ib5b9h.esm.js → useBaseState-dkF7NJuA.esm.js} +2 -2
- package/dist/useBaseState-dkF7NJuA.esm.js.map +1 -0
- package/package.json +4 -4
- package/dist/useBaseState-D9ib5b9h.esm.js.map +0 -1
- package/dist/useBaseState-KNM6v5iX.cjs.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateBusinessAccountMemberRole } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpdateBusinessAccountMemberRoleVariables = Parameters<typeof updateBusinessAccountMemberRole>[0];
|
|
4
5
|
type UpdateBusinessAccountMemberRoleResult = Awaited<ReturnType<typeof updateBusinessAccountMemberRole>>;
|
|
@@ -40,10 +41,6 @@ export type UseUpdateBusinessAccountMemberRoleParams = {
|
|
|
40
41
|
* @see UseUpdateBusinessAccountMemberRoleParams
|
|
41
42
|
* @notInstrumented
|
|
42
43
|
*/
|
|
43
|
-
export declare const useUpdateBusinessAccountMemberRole: ({ mutateParams, }?: UseUpdateBusinessAccountMemberRoleParams) =>
|
|
44
|
-
businessAccountId: string;
|
|
45
|
-
role: "admin" | "viewer";
|
|
46
|
-
userId: string;
|
|
47
|
-
}>;
|
|
44
|
+
export declare const useUpdateBusinessAccountMemberRole: ({ mutateParams, }?: UseUpdateBusinessAccountMemberRoleParams) => UseMutationResult<UpdateBusinessAccountMemberRoleResult, Error, UpdateBusinessAccountMemberRoleVariables>;
|
|
48
45
|
export {};
|
|
49
46
|
//# sourceMappingURL=useUpdateBusinessAccountMemberRole.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateBusinessAccountMemberRole.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateBusinessAccountMemberRole.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,wCAAwC,GAAG,UAAU,CACxD,OAAO,+BAA+B,CACvC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,qCAAqC,GAAG,OAAO,CAClD,UAAU,CAAC,OAAO,+BAA+B,CAAC,CACnD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,qCAAqC,EACrC,wCAAwC,CACzC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kCAAkC,uBAE5C,wCAAwC,KAAQ,iBAAiB,CAClE,qCAAqC,EACrC,KAAK,EACL,wCAAwC,CAStC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateUser } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpdateUserVariables = Parameters<typeof updateUser>[0];
|
|
4
5
|
type UpdateUserResult = Awaited<ReturnType<typeof updateUser>>;
|
|
@@ -29,8 +30,6 @@ export type UseUpdateUserParams = {
|
|
|
29
30
|
* </button>
|
|
30
31
|
* ```
|
|
31
32
|
*/
|
|
32
|
-
export declare const useUpdateUser: ({ mutateParams }?: UseUpdateUserParams) =>
|
|
33
|
-
userFields: import("@dynamic-labs-sdk/client").UpdateUserFields;
|
|
34
|
-
}>;
|
|
33
|
+
export declare const useUpdateUser: ({ mutateParams, }?: UseUpdateUserParams) => UseMutationResult<UpdateUserResult, Error, UpdateUserVariables>;
|
|
35
34
|
export {};
|
|
36
35
|
//# sourceMappingURL=useUpdateUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateUser/useUpdateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateUser/useUpdateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5D,KAAK,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,gBAAgB,EAChB,mBAAmB,CACpB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,aAAa,uBAEvB,mBAAmB,KAAQ,iBAAiB,CAC7C,gBAAgB,EAChB,KAAK,EACL,mBAAmB,CAKjB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useUpdateWaasPassword, type UseUpdateWaasPasswordParams } from './useUpdateWaasPassword';
|
|
1
|
+
export { useUpdateWaasPassword, type UseUpdateWaasPasswordParams, } from './useUpdateWaasPassword';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,GACjC,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateWaasPassword } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpdateWaasPasswordVariables = Parameters<typeof updateWaasPassword>[0];
|
|
4
5
|
type UpdateWaasPasswordResult = Awaited<ReturnType<typeof updateWaasPassword>>;
|
|
@@ -38,10 +39,6 @@ export type UseUpdateWaasPasswordParams = {
|
|
|
38
39
|
* @see updateWaasPassword
|
|
39
40
|
* @see UseUpdateWaasPasswordParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useUpdateWaasPassword: ({ mutateParams }?: UseUpdateWaasPasswordParams) =>
|
|
42
|
-
currentPassword: string;
|
|
43
|
-
newPassword: string;
|
|
44
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
45
|
-
}>;
|
|
42
|
+
export declare const useUpdateWaasPassword: ({ mutateParams, }?: UseUpdateWaasPasswordParams) => UseMutationResult<UpdateWaasPasswordResult, Error, UpdateWaasPasswordVariables>;
|
|
46
43
|
export {};
|
|
47
44
|
//# sourceMappingURL=useUpdateWaasPassword.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateWaasPassword.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateWaasPassword.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,2BAA2B,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5E,KAAK,wBAAwB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAE/E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,wBAAwB,EACxB,2BAA2B,CAC5B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB,uBAE/B,2BAA2B,KAAQ,iBAAiB,CACrD,wBAAwB,EACxB,KAAK,EACL,2BAA2B,CAMzB,CAAC"}
|
package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { upsertAccountPolicyRule } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpsertAccountPolicyRuleVariables = Parameters<typeof upsertAccountPolicyRule>[0];
|
|
4
5
|
type UpsertAccountPolicyRuleResult = Awaited<ReturnType<typeof upsertAccountPolicyRule>>;
|
|
@@ -47,9 +48,6 @@ export type UseUpsertAccountPolicyRuleParams = {
|
|
|
47
48
|
* @see upsertAccountPolicyRule
|
|
48
49
|
* @see UseUpsertAccountPolicyRuleParams
|
|
49
50
|
*/
|
|
50
|
-
export declare const useUpsertAccountPolicyRule: ({ mutateParams, }?: UseUpsertAccountPolicyRuleParams) =>
|
|
51
|
-
businessAccountId: string;
|
|
52
|
-
rule: import("@dynamic-labs/sdk-api-core").WaasPolicyRule;
|
|
53
|
-
}>;
|
|
51
|
+
export declare const useUpsertAccountPolicyRule: ({ mutateParams, }?: UseUpsertAccountPolicyRuleParams) => UseMutationResult<UpsertAccountPolicyRuleResult, Error, UpsertAccountPolicyRuleVariables>;
|
|
54
52
|
export {};
|
|
55
53
|
//# sourceMappingURL=useUpsertAccountPolicyRule.d.ts.map
|
package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpsertAccountPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpsertAccountPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,gCAAgC,GAAG,UAAU,CAChD,OAAO,uBAAuB,CAC/B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,6BAA6B,GAAG,OAAO,CAC1C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,6BAA6B,EAC7B,gCAAgC,CACjC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,0BAA0B,uBAEpC,gCAAgC,KAAQ,iBAAiB,CAC1D,6BAA6B,EAC7B,KAAK,EACL,gCAAgC,CAU9B,CAAC"}
|
package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { upsertSignerPolicyRule } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpsertSignerPolicyRuleVariables = Parameters<typeof upsertSignerPolicyRule>[0];
|
|
4
5
|
type UpsertSignerPolicyRuleResult = Awaited<ReturnType<typeof upsertSignerPolicyRule>>;
|
|
@@ -48,10 +49,6 @@ export type UseUpsertSignerPolicyRuleParams = {
|
|
|
48
49
|
* @see upsertSignerPolicyRule
|
|
49
50
|
* @see UseUpsertSignerPolicyRuleParams
|
|
50
51
|
*/
|
|
51
|
-
export declare const useUpsertSignerPolicyRule: ({ mutateParams, }?: UseUpsertSignerPolicyRuleParams) =>
|
|
52
|
-
rule: import("@dynamic-labs/sdk-api-core").WaasPolicyRule;
|
|
53
|
-
shareSetId?: string;
|
|
54
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
55
|
-
}>;
|
|
52
|
+
export declare const useUpsertSignerPolicyRule: ({ mutateParams, }?: UseUpsertSignerPolicyRuleParams) => UseMutationResult<UpsertSignerPolicyRuleResult, Error, UpsertSignerPolicyRuleVariables>;
|
|
56
53
|
export {};
|
|
57
54
|
//# sourceMappingURL=useUpsertSignerPolicyRule.d.ts.map
|
package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpsertSignerPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpsertSignerPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,+BAA+B,GAAG,UAAU,CAC/C,OAAO,sBAAsB,CAC9B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAU7B,CAAC"}
|
package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { upsertWalletPolicyRule } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpsertWalletPolicyRuleVariables = Parameters<typeof upsertWalletPolicyRule>[0];
|
|
4
5
|
type UpsertWalletPolicyRuleResult = Awaited<ReturnType<typeof upsertWalletPolicyRule>>;
|
|
@@ -46,9 +47,6 @@ export type UseUpsertWalletPolicyRuleParams = {
|
|
|
46
47
|
* @see upsertWalletPolicyRule
|
|
47
48
|
* @see UseUpsertWalletPolicyRuleParams
|
|
48
49
|
*/
|
|
49
|
-
export declare const useUpsertWalletPolicyRule: ({ mutateParams, }?: UseUpsertWalletPolicyRuleParams) =>
|
|
50
|
-
rule: import("@dynamic-labs/sdk-api-core").WaasPolicyRule;
|
|
51
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
52
|
-
}>;
|
|
50
|
+
export declare const useUpsertWalletPolicyRule: ({ mutateParams, }?: UseUpsertWalletPolicyRuleParams) => UseMutationResult<UpsertWalletPolicyRuleResult, Error, UpsertWalletPolicyRuleVariables>;
|
|
53
51
|
export {};
|
|
54
52
|
//# sourceMappingURL=useUpsertWalletPolicyRule.d.ts.map
|
package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpsertWalletPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpsertWalletPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,+BAA+B,GAAG,UAAU,CAC/C,OAAO,sBAAsB,CAC9B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAU7B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { verifyOTP } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type VerifyOTPVariables = Parameters<typeof verifyOTP>[0];
|
|
4
5
|
type VerifyOTPResult = Awaited<ReturnType<typeof verifyOTP>>;
|
|
@@ -30,6 +31,6 @@ export type UseVerifyOTPParams = {
|
|
|
30
31
|
* </button>
|
|
31
32
|
* ```
|
|
32
33
|
*/
|
|
33
|
-
export declare const useVerifyOTP: ({ mutateParams }?: UseVerifyOTPParams) =>
|
|
34
|
+
export declare const useVerifyOTP: ({ mutateParams, }?: UseVerifyOTPParams) => UseMutationResult<VerifyOTPResult, Error, VerifyOTPVariables>;
|
|
34
35
|
export {};
|
|
35
36
|
//# sourceMappingURL=useVerifyOTP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVerifyOTP.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useVerifyOTP.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1D,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;AAE7D,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,eAAe,EACf,kBAAkB,CACnB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,uBAEtB,kBAAkB,KAAQ,iBAAiB,CAC5C,eAAe,EACf,KAAK,EACL,kBAAkB,CAKhB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { verifyWalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type VerifyWalletAccountVariables = Parameters<typeof verifyWalletAccount>[0];
|
|
4
5
|
type VerifyWalletAccountResult = Awaited<ReturnType<typeof verifyWalletAccount>>;
|
|
@@ -34,9 +35,6 @@ export type UseVerifyWalletAccountParams = {
|
|
|
34
35
|
* </button>
|
|
35
36
|
* ```
|
|
36
37
|
*/
|
|
37
|
-
export declare const useVerifyWalletAccount: ({ mutateParams, }?: UseVerifyWalletAccountParams) =>
|
|
38
|
-
requestedScopes?: import("@dynamic-labs/sdk-api-core").TokenScope[];
|
|
39
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
40
|
-
}>;
|
|
38
|
+
export declare const useVerifyWalletAccount: ({ mutateParams, }?: UseVerifyWalletAccountParams) => UseMutationResult<VerifyWalletAccountResult, Error, VerifyWalletAccountVariables>;
|
|
41
39
|
export {};
|
|
42
40
|
//# sourceMappingURL=useVerifyWalletAccount.d.ts.map
|
package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVerifyWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"useVerifyWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B,KAAQ,iBAAiB,CACtD,yBAAyB,EACzB,KAAK,EACL,4BAA4B,CAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useWithdrawFromYieldVault/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,6BAA6B,CAAC"}
|
package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { withdrawFromYieldVault } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
4
|
+
type WithdrawFromYieldVaultVariables = Parameters<typeof withdrawFromYieldVault>[0];
|
|
5
|
+
type WithdrawFromYieldVaultResult = Awaited<ReturnType<typeof withdrawFromYieldVault>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useWithdrawFromYieldVault}: optional react-query mutation options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseWithdrawFromYieldVaultParams = { mutateParams: { onSuccess } };
|
|
12
|
+
* ```
|
|
13
|
+
* @see useWithdrawFromYieldVault
|
|
14
|
+
* @see withdrawFromYieldVault
|
|
15
|
+
*/
|
|
16
|
+
export type UseWithdrawFromYieldVaultParams = {
|
|
17
|
+
/**
|
|
18
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
19
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
20
|
+
*/
|
|
21
|
+
mutateParams?: NonNullable<UseBaseMutationParams<WithdrawFromYieldVaultResult, WithdrawFromYieldVaultVariables>['mutateParams']>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Wraps `withdrawFromYieldVault` from `@dynamic-labs-sdk/client`. Call
|
|
25
|
+
* `mutate({ amount, vaultId, walletAccount })` to withdraw from a vault (using a
|
|
26
|
+
* `vaultId` from {@link useListYieldVaults}); the resolved `data` is
|
|
27
|
+
* `{ transactionHash }`.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* const { mutate: withdraw, data } = useWithdrawFromYieldVault();
|
|
32
|
+
* withdraw({ amount: '10.5', vaultId, walletAccount });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @returns A react-query mutation whose `data` is the withdraw transaction hash.
|
|
36
|
+
* @see withdrawFromYieldVault
|
|
37
|
+
* @see UseWithdrawFromYieldVaultParams
|
|
38
|
+
*/
|
|
39
|
+
export declare const useWithdrawFromYieldVault: ({ mutateParams, }?: UseWithdrawFromYieldVaultParams) => UseMutationResult<WithdrawFromYieldVaultResult, Error, WithdrawFromYieldVaultVariables>;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=useWithdrawFromYieldVault.d.ts.map
|
package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWithdrawFromYieldVault.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,+BAA+B,GAAG,UAAU,CAC/C,OAAO,sBAAsB,CAC9B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAa7B,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
2
|
/**
|
|
2
3
|
* Returns the session expiration date, or null if no active session.
|
|
3
4
|
*
|
|
4
5
|
* Re-renders when the user changes (which includes session updates).
|
|
5
6
|
*/
|
|
6
|
-
export declare const useSessionExpiresAt: () =>
|
|
7
|
+
export declare const useSessionExpiresAt: () => UseQueryResult<Date | null, Error>;
|
|
7
8
|
//# sourceMappingURL=useSessionExpiresAt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSessionExpiresAt.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSessionExpiresAt.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,QAAO,cAAc,CAAC,IAAI,GAAG,IAAI,EAAE,KAAK,CAMpE,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import type { User } from '@dynamic-labs-sdk/client';
|
|
1
3
|
/**
|
|
2
4
|
* Returns the current authenticated user, or null if not authenticated.
|
|
3
5
|
*
|
|
4
6
|
* Re-renders when the user changes (login, logout, profile update).
|
|
5
7
|
*/
|
|
6
|
-
export declare const useUser: () =>
|
|
8
|
+
export declare const useUser: () => UseQueryResult<User | null, Error>;
|
|
7
9
|
//# sourceMappingURL=useUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/state/useUser/useUser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/state/useUser/useUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAIrD;;;;GAIG;AACH,eAAO,MAAM,OAAO,QAAO,cAAc,CAAC,IAAI,GAAG,IAAI,EAAE,KAAK,CAMxD,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_useBaseState = require('./useBaseState-
|
|
1
|
+
const require_useBaseState = require('./useBaseState-CI69lvc_.cjs');
|
|
2
2
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
3
3
|
let _dynamic_labs_sdk_client = require("@dynamic-labs-sdk/client");
|
|
4
4
|
let _tanstack_react_query = require("@tanstack/react-query");
|
|
@@ -1952,6 +1952,42 @@ const useSignInWithSocialRedirect = ({ mutateParams } = {}) => require_useBaseSt
|
|
|
1952
1952
|
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.signInWithSocialRedirect)(variables, client)
|
|
1953
1953
|
});
|
|
1954
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 } = {}) => require_useBaseState.useBaseMutation({
|
|
1987
|
+
mutateParams,
|
|
1988
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.screenTransaction)(variables, client)
|
|
1989
|
+
});
|
|
1990
|
+
|
|
1955
1991
|
//#endregion
|
|
1956
1992
|
//#region src/hooks/wrappers/functions/useSignMessage/useSignMessage.ts
|
|
1957
1993
|
/**
|
|
@@ -3222,6 +3258,56 @@ const useRemoveAccountPolicyRule = ({ mutateParams } = {}) => require_useBaseSta
|
|
|
3222
3258
|
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.removeAccountPolicyRule)(variables, client)
|
|
3223
3259
|
});
|
|
3224
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 } = {}) => require_useBaseState.useBaseMutation({
|
|
3282
|
+
middlewares: [invalidatesQueries("useGetYieldRewards")],
|
|
3283
|
+
mutateParams,
|
|
3284
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.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 } = {}) => require_useBaseState.useBaseMutation({
|
|
3306
|
+
middlewares: [invalidatesQueries("useGetYieldPosition")],
|
|
3307
|
+
mutateParams,
|
|
3308
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.depositToYieldVault)(variables, client)
|
|
3309
|
+
});
|
|
3310
|
+
|
|
3225
3311
|
//#endregion
|
|
3226
3312
|
//#region src/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.ts
|
|
3227
3313
|
/**
|
|
@@ -3322,6 +3408,30 @@ const useListYieldVaults = ({ queryParams } = {}) => require_useBaseState.useBas
|
|
|
3322
3408
|
queryParams
|
|
3323
3409
|
});
|
|
3324
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 } = {}) => require_useBaseState.useBaseMutation({
|
|
3430
|
+
middlewares: [invalidatesQueries("useGetYieldPosition")],
|
|
3431
|
+
mutateParams,
|
|
3432
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.withdrawFromYieldVault)(variables, client)
|
|
3433
|
+
});
|
|
3434
|
+
|
|
3325
3435
|
//#endregion
|
|
3326
3436
|
//#region src/hooks/wrappers/state/useInitStatus/useInitStatus.ts
|
|
3327
3437
|
/**
|
|
@@ -3414,6 +3524,7 @@ exports.useBackupWaasKeySharesToGoogleDrive = useBackupWaasKeySharesToGoogleDriv
|
|
|
3414
3524
|
exports.useBroadcastFlow = useBroadcastFlow;
|
|
3415
3525
|
exports.useCancelFlow = useCancelFlow;
|
|
3416
3526
|
exports.useCheckStepUpAuth = useCheckStepUpAuth;
|
|
3527
|
+
exports.useClaimYieldRewards = useClaimYieldRewards;
|
|
3417
3528
|
exports.useCompleteDeviceRegistration = useCompleteDeviceRegistration;
|
|
3418
3529
|
exports.useCompleteSocialRedirect = useCompleteSocialRedirect;
|
|
3419
3530
|
exports.useConfirmTransaction = useConfirmTransaction;
|
|
@@ -3433,6 +3544,7 @@ exports.useDelegateWaasKeyShares = useDelegateWaasKeyShares;
|
|
|
3433
3544
|
exports.useDeleteMfaDevice = useDeleteMfaDevice;
|
|
3434
3545
|
exports.useDeletePasskey = useDeletePasskey;
|
|
3435
3546
|
exports.useDeleteUser = useDeleteUser;
|
|
3547
|
+
exports.useDepositToYieldVault = useDepositToYieldVault;
|
|
3436
3548
|
exports.useDetectSocialRedirectUrl = useDetectSocialRedirectUrl;
|
|
3437
3549
|
exports.useDynamicClient = require_useBaseState.useDynamicClient;
|
|
3438
3550
|
exports.useExecuteSwapTransaction = useExecuteSwapTransaction;
|
|
@@ -3511,6 +3623,7 @@ exports.useRequestExternalAuthElevatedToken = useRequestExternalAuthElevatedToke
|
|
|
3511
3623
|
exports.useRevokeAllRegisteredDevices = useRevokeAllRegisteredDevices;
|
|
3512
3624
|
exports.useRevokeRegisteredDevice = useRevokeRegisteredDevice;
|
|
3513
3625
|
exports.useRevokeWaasDelegation = useRevokeWaasDelegation;
|
|
3626
|
+
exports.useScreenTransaction = useScreenTransaction;
|
|
3514
3627
|
exports.useSendEmailOTP = useSendEmailOTP;
|
|
3515
3628
|
exports.useSendSmsOTP = useSendSmsOTP;
|
|
3516
3629
|
exports.useSessionExpiresAt = useSessionExpiresAt;
|
|
@@ -3539,4 +3652,5 @@ exports.useUpsertWalletPolicyRule = useUpsertWalletPolicyRule;
|
|
|
3539
3652
|
exports.useUser = useUser;
|
|
3540
3653
|
exports.useVerifyOTP = useVerifyOTP;
|
|
3541
3654
|
exports.useVerifyWalletAccount = useVerifyWalletAccount;
|
|
3655
|
+
exports.useWithdrawFromYieldVault = useWithdrawFromYieldVault;
|
|
3542
3656
|
//# sourceMappingURL=index.cjs.map
|