@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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getYieldDetails } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetYieldDetailsResult = Awaited<ReturnType<typeof getYieldDetails>>;
|
|
4
5
|
type GetYieldDetailsArgs = Parameters<typeof getYieldDetails>[0];
|
|
@@ -31,6 +32,6 @@ export type UseGetYieldDetailsParams = GetYieldDetailsArgs & {
|
|
|
31
32
|
* @see getYieldDetails
|
|
32
33
|
* @see UseGetYieldDetailsParams
|
|
33
34
|
*/
|
|
34
|
-
export declare const useGetYieldDetails: ({ queryParams, ...args }: UseGetYieldDetailsParams) =>
|
|
35
|
+
export declare const useGetYieldDetails: ({ queryParams, ...args }: UseGetYieldDetailsParams) => UseQueryResult<GetYieldDetailsResult, Error>;
|
|
35
36
|
export {};
|
|
36
37
|
//# sourceMappingURL=useGetYieldDetails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetYieldDetails.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetYieldDetails.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AACzE,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjE;;;;;;;;;GASG;AACH,MAAM,MAAM,wBAAwB,GAAG,mBAAmB,GAAG;IAC3D;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,aAAa,CAAC,CACzD,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,6BAG5B,wBAAwB,KAAG,cAAc,CAAC,qBAAqB,EAAE,KAAK,CAKrE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import { getYieldPosition } from '@dynamic-labs-sdk/client';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
3
4
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
5
|
type GetYieldPositionResult = Awaited<ReturnType<typeof getYieldPosition>>;
|
|
5
6
|
/**
|
|
@@ -42,6 +43,6 @@ export type UseGetYieldPositionParams = {
|
|
|
42
43
|
* @see getYieldPosition
|
|
43
44
|
* @see UseGetYieldPositionParams
|
|
44
45
|
*/
|
|
45
|
-
export declare const useGetYieldPosition: ({ vaultId, walletAccount, queryParams, }: UseGetYieldPositionParams) =>
|
|
46
|
+
export declare const useGetYieldPosition: ({ vaultId, walletAccount, queryParams, }: UseGetYieldPositionParams) => UseQueryResult<GetYieldPositionResult, Error>;
|
|
46
47
|
export {};
|
|
47
48
|
//# sourceMappingURL=useGetYieldPosition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetYieldPosition.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;GASG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"useGetYieldPosition.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;GASG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,sBAAsB,CAAC,CAAC,aAAa,CAAC,CAC1D,CAAC;IACF,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,6CAI7B,yBAAyB,KAAG,cAAc,CAAC,sBAAsB,EAAE,KAAK,CAWvE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import { getYieldRewards } from '@dynamic-labs-sdk/client';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
3
4
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
5
|
type GetYieldRewardsResult = Awaited<ReturnType<typeof getYieldRewards>>;
|
|
5
6
|
/**
|
|
@@ -42,6 +43,6 @@ export type UseGetYieldRewardsParams = {
|
|
|
42
43
|
* @see getYieldRewards
|
|
43
44
|
* @see UseGetYieldRewardsParams
|
|
44
45
|
*/
|
|
45
|
-
export declare const useGetYieldRewards: ({ vaultId, walletAccount, queryParams, }: UseGetYieldRewardsParams) =>
|
|
46
|
+
export declare const useGetYieldRewards: ({ vaultId, walletAccount, queryParams, }: UseGetYieldRewardsParams) => UseQueryResult<GetYieldRewardsResult, Error>;
|
|
46
47
|
export {};
|
|
47
48
|
//# sourceMappingURL=useGetYieldRewards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetYieldRewards.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetYieldRewards.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AAEzE;;;;;;;;;GASG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,aAAa,CAAC,CACzD,CAAC;IACF,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,6CAI5B,wBAAwB,KAAG,cAAc,CAAC,qBAAqB,EAAE,KAAK,CAWrE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useImportWaasPrivateKey, type UseImportWaasPrivateKeyParams } from './useImportWaasPrivateKey';
|
|
1
|
+
export { useImportWaasPrivateKey, type UseImportWaasPrivateKeyParams, } from './useImportWaasPrivateKey';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useImportWaasPrivateKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useImportWaasPrivateKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { importWaasPrivateKey } 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 ImportWaasPrivateKeyVariables = Parameters<typeof importWaasPrivateKey>[0];
|
|
4
5
|
type ImportWaasPrivateKeyResult = Awaited<ReturnType<typeof importWaasPrivateKey>>;
|
|
@@ -38,10 +39,6 @@ export type UseImportWaasPrivateKeyParams = {
|
|
|
38
39
|
* @see importWaasPrivateKey
|
|
39
40
|
* @see UseImportWaasPrivateKeyParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useImportWaasPrivateKey: ({ mutateParams }?: UseImportWaasPrivateKeyParams) =>
|
|
42
|
-
chain: import("@dynamic-labs-sdk/client").Chain;
|
|
43
|
-
privateKey: string;
|
|
44
|
-
thresholdSignatureScheme?: import("@dynamic-labs-wallet/core").ThresholdSignatureScheme;
|
|
45
|
-
}>;
|
|
42
|
+
export declare const useImportWaasPrivateKey: ({ mutateParams, }?: UseImportWaasPrivateKeyParams) => UseMutationResult<ImportWaasPrivateKeyResult, Error, ImportWaasPrivateKeyVariables>;
|
|
46
43
|
export {};
|
|
47
44
|
//# sourceMappingURL=useImportWaasPrivateKey.d.ts.map
|
package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useImportWaasPrivateKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useImportWaasPrivateKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,KAAK,6BAA6B,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAChF,KAAK,0BAA0B,GAAG,OAAO,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,0BAA0B,EAC1B,6BAA6B,CAC9B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,uBAEjC,6BAA6B,KAAQ,iBAAiB,CACvD,0BAA0B,EAC1B,KAAK,EACL,6BAA6B,CAM3B,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
2
|
/**
|
|
2
3
|
* Returns whether the current user still needs to register this device.
|
|
3
4
|
*
|
|
4
5
|
* Re-renders when the user changes (login, logout, completing device
|
|
5
6
|
* registration). Resolves to `false` while no user is authenticated.
|
|
6
7
|
*/
|
|
7
|
-
export declare const useIsDeviceRegistrationRequired: () =>
|
|
8
|
+
export declare const useIsDeviceRegistrationRequired: () => UseQueryResult<boolean, Error>;
|
|
8
9
|
//# sourceMappingURL=useIsDeviceRegistrationRequired.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsDeviceRegistrationRequired.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIsDeviceRegistrationRequired.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,QAAO,cAAc,CAC/D,OAAO,EACP,KAAK,CAQH,CAAC"}
|
package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isMfaRequiredForAction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type IsMfaRequiredForActionResult = Awaited<ReturnType<typeof isMfaRequiredForAction>>;
|
|
4
5
|
type IsMfaRequiredForActionArgs = Parameters<typeof isMfaRequiredForAction>[0];
|
|
@@ -14,6 +15,6 @@ export type UseIsMfaRequiredForActionParams = IsMfaRequiredForActionArgs & {
|
|
|
14
15
|
*
|
|
15
16
|
* Wraps `isMfaRequiredForAction` from `@dynamic-labs-sdk/client`.
|
|
16
17
|
*/
|
|
17
|
-
export declare const useIsMfaRequiredForAction: ({ queryParams, ...args }: UseIsMfaRequiredForActionParams) =>
|
|
18
|
+
export declare const useIsMfaRequiredForAction: ({ queryParams, ...args }: UseIsMfaRequiredForActionParams) => UseQueryResult<IsMfaRequiredForActionResult, Error>;
|
|
18
19
|
export {};
|
|
19
20
|
//# sourceMappingURL=useIsMfaRequiredForAction.d.ts.map
|
package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsMfaRequiredForAction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useIsMfaRequiredForAction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AACF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,+BAA+B,GAAG,0BAA0B,GAAG;IACzE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,4BAA4B,CAAC,CAAC,aAAa,CAAC,CAAC;CAC/E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,6BAGnC,+BAA+B,KAAG,cAAc,CACjD,4BAA4B,EAC5B,KAAK,CAMH,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
2
|
/**
|
|
2
3
|
* Returns whether the current user still needs to acknowledge their MFA
|
|
3
4
|
* recovery codes.
|
|
@@ -5,5 +6,5 @@
|
|
|
5
6
|
* Re-renders when the user changes (login, logout, acknowledging the recovery
|
|
6
7
|
* codes). Resolves to `false` while no user is authenticated.
|
|
7
8
|
*/
|
|
8
|
-
export declare const useIsPendingRecoveryCodesAcknowledgment: () =>
|
|
9
|
+
export declare const useIsPendingRecoveryCodesAcknowledgment: () => UseQueryResult<boolean, Error>;
|
|
9
10
|
//# sourceMappingURL=useIsPendingRecoveryCodesAcknowledgment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsPendingRecoveryCodesAcknowledgment.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIsPendingRecoveryCodesAcknowledgment.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,QAAO,cAAc,CACvE,OAAO,EACP,KAAK,CAQH,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
2
|
/**
|
|
2
3
|
* Returns whether the current user still needs to complete an MFA challenge.
|
|
3
4
|
*
|
|
4
5
|
* Re-renders when the user changes (login, logout, completing the MFA
|
|
5
6
|
* challenge). Resolves to `false` while no user is authenticated.
|
|
6
7
|
*/
|
|
7
|
-
export declare const useIsUserMissingMfaAuth: () =>
|
|
8
|
+
export declare const useIsUserMissingMfaAuth: () => UseQueryResult<boolean, Error>;
|
|
8
9
|
//# sourceMappingURL=useIsUserMissingMfaAuth.d.ts.map
|
package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsUserMissingMfaAuth.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIsUserMissingMfaAuth.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,QAAO,cAAc,CAAC,OAAO,EAAE,KAAK,CAMpE,CAAC"}
|
package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
2
|
/**
|
|
2
3
|
* Returns whether the current user has completed every onboarding requirement
|
|
3
4
|
* (KYC fields, MFA, recovery codes acknowledgment, device registration).
|
|
@@ -5,5 +6,5 @@
|
|
|
5
6
|
* Re-renders when the user changes (login, logout, completing any onboarding
|
|
6
7
|
* step). Resolves to `false` while no user is authenticated.
|
|
7
8
|
*/
|
|
8
|
-
export declare const useIsUserOnboardingComplete: () =>
|
|
9
|
+
export declare const useIsUserOnboardingComplete: () => UseQueryResult<boolean, Error>;
|
|
9
10
|
//# sourceMappingURL=useIsUserOnboardingComplete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsUserOnboardingComplete.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useIsUserOnboardingComplete.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,QAAO,cAAc,CAAC,OAAO,EAAE,KAAK,CAOxE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { listBusinessAccounts } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type ListBusinessAccountsResult = Awaited<ReturnType<typeof listBusinessAccounts>>;
|
|
4
5
|
/**
|
|
@@ -39,6 +40,6 @@ export type UseListBusinessAccountsParams = {
|
|
|
39
40
|
* @see listBusinessAccounts
|
|
40
41
|
* @see UseListBusinessAccountsParams
|
|
41
42
|
*/
|
|
42
|
-
export declare const useListBusinessAccounts: ({ externalRefs, queryParams, }?: UseListBusinessAccountsParams) =>
|
|
43
|
+
export declare const useListBusinessAccounts: ({ externalRefs, queryParams, }?: UseListBusinessAccountsParams) => UseQueryResult<ListBusinessAccountsResult, Error>;
|
|
43
44
|
export {};
|
|
44
45
|
//# sourceMappingURL=useListBusinessAccounts.d.ts.map
|
package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListBusinessAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useListBusinessAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,0BAA0B,GAAG,OAAO,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAC9D,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,oCAGjC,6BAA6B,KAAQ,cAAc,CACpD,0BAA0B,EAC1B,KAAK,CAMH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { listYieldVaults } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type ListYieldVaultsResult = Awaited<ReturnType<typeof listYieldVaults>>;
|
|
4
5
|
/**
|
|
@@ -30,6 +31,6 @@ export type UseListYieldVaultsParams = {
|
|
|
30
31
|
* @see listYieldVaults
|
|
31
32
|
* @see UseListYieldVaultsParams
|
|
32
33
|
*/
|
|
33
|
-
export declare const useListYieldVaults: ({ queryParams }?: UseListYieldVaultsParams) =>
|
|
34
|
+
export declare const useListYieldVaults: ({ queryParams, }?: UseListYieldVaultsParams) => UseQueryResult<ListYieldVaultsResult, Error>;
|
|
34
35
|
export {};
|
|
35
36
|
//# sourceMappingURL=useListYieldVaults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListYieldVaults.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useListYieldVaults.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AAEzE;;;;;;;;;GASG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,aAAa,CAAC,CACzD,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,sBAE5B,wBAAwB,KAAQ,cAAc,CAC/C,qBAAqB,EACrB,KAAK,CAMH,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
1
2
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
2
3
|
type UseLogoutParams = {
|
|
3
4
|
/**
|
|
@@ -18,6 +19,6 @@ type UseLogoutParams = {
|
|
|
18
19
|
* <button onClick={() => logOut()} disabled={isPending}>Logout</button>
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useLogout: ({ mutateParams }?: UseLogoutParams) =>
|
|
22
|
+
export declare const useLogout: ({ mutateParams, }?: UseLogoutParams) => UseMutationResult<void, Error, void>;
|
|
22
23
|
export {};
|
|
23
24
|
//# sourceMappingURL=useLogout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLogout.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useLogout/useLogout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLogout.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useLogout/useLogout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,eAAe,GAAG;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;CAClE,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,uBAEnB,eAAe,KAAQ,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAIzD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { mergeUserAccounts } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type MergeUserAccountsVariables = Parameters<typeof mergeUserAccounts>[0];
|
|
4
5
|
type MergeUserAccountsResult = Awaited<ReturnType<typeof mergeUserAccounts>>;
|
|
@@ -47,6 +48,6 @@ export type UseMergeUserAccountsParams = {
|
|
|
47
48
|
* @see mergeUserAccounts
|
|
48
49
|
* @see UseMergeUserAccountsParams
|
|
49
50
|
*/
|
|
50
|
-
export declare const useMergeUserAccounts: ({ mutateParams, }?: UseMergeUserAccountsParams) =>
|
|
51
|
+
export declare const useMergeUserAccounts: ({ mutateParams, }?: UseMergeUserAccountsParams) => UseMutationResult<MergeUserAccountsResult, Error, MergeUserAccountsVariables>;
|
|
51
52
|
export {};
|
|
52
53
|
//# sourceMappingURL=useMergeUserAccounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMergeUserAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useMergeUserAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,KAAK,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,uBAAuB,EACvB,0BAA0B,CAC3B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,oBAAoB,uBAE9B,0BAA0B,KAAQ,iBAAiB,CACpD,uBAAuB,EACvB,KAAK,EACL,0BAA0B,CAKxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useMigrateFromFireblocks, type UseMigrateFromFireblocksParams } from './useMigrateFromFireblocks';
|
|
1
|
+
export { useMigrateFromFireblocks, type UseMigrateFromFireblocksParams, } from './useMigrateFromFireblocks';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useMigrateFromFireblocks/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useMigrateFromFireblocks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,8BAA8B,GACpC,MAAM,4BAA4B,CAAC"}
|
package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { migrateFromFireblocks } 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 MigrateFromFireblocksVariables = Parameters<typeof migrateFromFireblocks>[0];
|
|
4
5
|
type MigrateFromFireblocksResult = Awaited<ReturnType<typeof migrateFromFireblocks>>;
|
|
@@ -38,13 +39,6 @@ export type UseMigrateFromFireblocksParams = {
|
|
|
38
39
|
* @see migrateFromFireblocks
|
|
39
40
|
* @see UseMigrateFromFireblocksParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useMigrateFromFireblocks: ({ mutateParams }?: UseMigrateFromFireblocksParams) =>
|
|
42
|
-
coinTypes?: Record<string, number>;
|
|
43
|
-
deviceId: string;
|
|
44
|
-
expectedAddresses: Record<string, string>;
|
|
45
|
-
jwt: string;
|
|
46
|
-
password: string;
|
|
47
|
-
storage: Record<string, string>;
|
|
48
|
-
}>;
|
|
42
|
+
export declare const useMigrateFromFireblocks: ({ mutateParams, }?: UseMigrateFromFireblocksParams) => UseMutationResult<MigrateFromFireblocksResult, Error, MigrateFromFireblocksVariables>;
|
|
49
43
|
export {};
|
|
50
44
|
//# sourceMappingURL=useMigrateFromFireblocks.d.ts.map
|
package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMigrateFromFireblocks.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useMigrateFromFireblocks.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,8BAA8B,GAAG,UAAU,CAC9C,OAAO,qBAAqB,CAC7B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,2BAA2B,GAAG,OAAO,CACxC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CACzC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,2BAA2B,EAC3B,8BAA8B,CAC/B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,8BAA8B,CAM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnEvent/useOnEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,0BAA0B,CAAC;AAKvE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,aAAa,wBAGrD,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useOnEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnEvent/useOnEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,0BAA0B,CAAC;AAKvE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,aAAa,wBAGrD,aAAa,CAAC,CAAC,CAAC,KAAG,IAoBrB,CAAC"}
|
package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnWalletProviderEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAC;AAMlC;;;;;;;GAOG;AACH,MAAM,MAAM,8BAA8B,CACxC,CAAC,SAAS,OAAO,CAAC,MAAM,oBAAoB,EAAE,MAAM,CAAC,IACnD,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,EAAE,mBAAmB,CAAC,GAAG;IAC9D,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB,GACnC,CAAC,SAAS,OAAO,CAAC,MAAM,oBAAoB,EAAE,MAAM,CAAC,2CAKpD,8BAA8B,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useOnWalletProviderEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAC;AAMlC;;;;;;;GAOG;AACH,MAAM,MAAM,8BAA8B,CACxC,CAAC,SAAS,OAAO,CAAC,MAAM,oBAAoB,EAAE,MAAM,CAAC,IACnD,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,EAAE,mBAAmB,CAAC,GAAG;IAC9D,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB,GACnC,CAAC,SAAS,OAAO,CAAC,MAAM,oBAAoB,EAAE,MAAM,CAAC,2CAKpD,8BAA8B,CAAC,CAAC,CAAC,KAAG,IAsCtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnceEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnceEvent/useOnceEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,0BAA0B,CAAC;AAK3E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,MAAM,aAAa,wBAGvD,eAAe,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useOnceEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnceEvent/useOnceEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,0BAA0B,CAAC;AAK3E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,MAAM,aAAa,wBAGvD,eAAe,CAAC,CAAC,CAAC,KAAG,IAoBvB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { prepareFlowSigning } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type PrepareFlowSigningVariables = Parameters<typeof prepareFlowSigning>[0];
|
|
4
5
|
type PrepareFlowSigningResult = Awaited<ReturnType<typeof prepareFlowSigning>>;
|
|
@@ -23,6 +24,6 @@ export type UsePrepareFlowSigningParams = {
|
|
|
23
24
|
* </button>
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
|
-
export declare const usePrepareFlowSigning: ({ mutateParams, }?: UsePrepareFlowSigningParams) =>
|
|
27
|
+
export declare const usePrepareFlowSigning: ({ mutateParams, }?: UsePrepareFlowSigningParams) => UseMutationResult<PrepareFlowSigningResult, Error, PrepareFlowSigningVariables>;
|
|
27
28
|
export {};
|
|
28
29
|
//# sourceMappingURL=usePrepareFlowSigning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePrepareFlowSigning.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"usePrepareFlowSigning.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,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,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,wBAAwB,EACxB,2BAA2B,CAC5B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,uBAE/B,2BAA2B,KAAQ,iBAAiB,CACrD,wBAAwB,EACxB,KAAK,EACL,2BAA2B,CAMzB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { proveWalletAccountOwnership } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type ProveWalletAccountOwnershipVariables = Parameters<typeof proveWalletAccountOwnership>[0];
|
|
4
5
|
type ProveWalletAccountOwnershipResult = Awaited<ReturnType<typeof proveWalletAccountOwnership>>;
|
|
@@ -19,11 +20,6 @@ export type UseProveWalletAccountOwnershipParams = {
|
|
|
19
20
|
* proveOwnership({ walletAccount });
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
export declare const useProveWalletAccountOwnership: ({ mutateParams, }?: UseProveWalletAccountOwnershipParams) =>
|
|
23
|
-
messageToSign: string;
|
|
24
|
-
signature: string;
|
|
25
|
-
}, Error, {
|
|
26
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
27
|
-
}>;
|
|
23
|
+
export declare const useProveWalletAccountOwnership: ({ mutateParams, }?: UseProveWalletAccountOwnershipParams) => UseMutationResult<ProveWalletAccountOwnershipResult, Error, ProveWalletAccountOwnershipVariables>;
|
|
28
24
|
export {};
|
|
29
25
|
//# sourceMappingURL=useProveWalletAccountOwnership.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProveWalletAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useProveWalletAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC,KAAQ,iBAAiB,CAC9D,iCAAiC,EACjC,KAAK,EACL,oCAAoC,CASlC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { refreshAuth } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type RefreshAuthResult = Awaited<ReturnType<typeof refreshAuth>>;
|
|
4
5
|
export type UseRefreshAuthParams = {
|
|
@@ -19,6 +20,6 @@ export type UseRefreshAuthParams = {
|
|
|
19
20
|
* </button>
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
export declare const useRefreshAuth: ({ mutateParams }?: UseRefreshAuthParams) =>
|
|
23
|
+
export declare const useRefreshAuth: ({ mutateParams, }?: UseRefreshAuthParams) => UseMutationResult<RefreshAuthResult, Error, void>;
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=useRefreshAuth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRefreshAuth.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useRefreshAuth.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;CAC/E,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,uBAExB,oBAAoB,KAAQ,iBAAiB,CAC9C,iBAAiB,EACjB,KAAK,EACL,IAAI,CAKF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useRefreshWaasWalletAccountShares, type UseRefreshWaasWalletAccountSharesParams } from './useRefreshWaasWalletAccountShares';
|
|
1
|
+
export { useRefreshWaasWalletAccountShares, type UseRefreshWaasWalletAccountSharesParams, } from './useRefreshWaasWalletAccountShares';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,KAAK,uCAAuC,GAC7C,MAAM,qCAAqC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { refreshWaasWalletAccountShares } 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 RefreshWaasWalletAccountSharesVariables = Parameters<typeof refreshWaasWalletAccountShares>[0];
|
|
4
5
|
type RefreshWaasWalletAccountSharesResult = Awaited<ReturnType<typeof refreshWaasWalletAccountShares>>;
|
|
@@ -38,9 +39,6 @@ export type UseRefreshWaasWalletAccountSharesParams = {
|
|
|
38
39
|
* @see refreshWaasWalletAccountShares
|
|
39
40
|
* @see UseRefreshWaasWalletAccountSharesParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useRefreshWaasWalletAccountShares: ({ mutateParams }?: UseRefreshWaasWalletAccountSharesParams) =>
|
|
42
|
-
password?: string;
|
|
43
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
44
|
-
}>;
|
|
42
|
+
export declare const useRefreshWaasWalletAccountShares: ({ mutateParams, }?: UseRefreshWaasWalletAccountSharesParams) => UseMutationResult<RefreshWaasWalletAccountSharesResult, Error, RefreshWaasWalletAccountSharesVariables>;
|
|
45
43
|
export {};
|
|
46
44
|
//# sourceMappingURL=useRefreshWaasWalletAccountShares.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRefreshWaasWalletAccountShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useRefreshWaasWalletAccountShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,uCAAuC,GAAG,UAAU,CACvD,OAAO,8BAA8B,CACtC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,oCAAoC,GAAG,OAAO,CACjD,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAClD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,oCAAoC,EACpC,uCAAuC,CACxC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iCAAiC,uBAE3C,uCAAuC,KAAQ,iBAAiB,CACjE,oCAAoC,EACpC,KAAK,EACL,uCAAuC,CASrC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { registerPasskey } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type RegisterPasskeyVariables = Parameters<typeof registerPasskey>[0];
|
|
4
5
|
type RegisterPasskeyResult = Awaited<ReturnType<typeof registerPasskey>>;
|
|
@@ -24,8 +25,6 @@ export type UseRegisterPasskeyParams = {
|
|
|
24
25
|
* </button>
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useRegisterPasskey: ({ mutateParams, }?: UseRegisterPasskeyParams) =>
|
|
28
|
-
createMfaToken?: import("@dynamic-labs/sdk-api-core").CreateMfaToken;
|
|
29
|
-
} | undefined>;
|
|
28
|
+
export declare const useRegisterPasskey: ({ mutateParams, }?: UseRegisterPasskeyParams) => UseMutationResult<RegisterPasskeyResult, Error, RegisterPasskeyVariables>;
|
|
30
29
|
export {};
|
|
31
30
|
//# sourceMappingURL=useRegisterPasskey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRegisterPasskey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useRegisterPasskey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AACtE,KAAK,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;AAEzE,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,qBAAqB,EACrB,wBAAwB,CACzB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,uBAE5B,wBAAwB,KAAQ,iBAAiB,CAClD,qBAAqB,EACrB,KAAK,EACL,wBAAwB,CAMtB,CAAC"}
|
package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { registerTotpMfaDevice } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type RegisterTotpMfaDeviceResult = Awaited<ReturnType<typeof registerTotpMfaDevice>>;
|
|
4
5
|
export type UseRegisterTotpMfaDeviceParams = {
|
|
@@ -23,6 +24,6 @@ export type UseRegisterTotpMfaDeviceParams = {
|
|
|
23
24
|
* </button>
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
|
-
export declare const useRegisterTotpMfaDevice: ({ mutateParams, }?: UseRegisterTotpMfaDeviceParams) =>
|
|
27
|
+
export declare const useRegisterTotpMfaDevice: ({ mutateParams, }?: UseRegisterTotpMfaDeviceParams) => UseMutationResult<RegisterTotpMfaDeviceResult, Error, void>;
|
|
27
28
|
export {};
|
|
28
29
|
//# sourceMappingURL=useRegisterTotpMfaDevice.d.ts.map
|
package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRegisterTotpMfaDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useRegisterTotpMfaDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,2BAA2B,GAAG,OAAO,CACxC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CACzC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,2BAA2B,EAC3B,IAAI,CACL,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,IAAI,CAMF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,YAAY,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { removeAccountPolicyRule } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
4
|
+
type RemoveAccountPolicyRuleVariables = Parameters<typeof removeAccountPolicyRule>[0];
|
|
5
|
+
type RemoveAccountPolicyRuleResult = Awaited<ReturnType<typeof removeAccountPolicyRule>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useRemoveAccountPolicyRule}: an optional override of
|
|
8
|
+
* the underlying react-query mutation options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const params: UseRemoveAccountPolicyRuleParams = {
|
|
13
|
+
* mutateParams: { onSuccess: () => console.log('removed') },
|
|
14
|
+
* };
|
|
15
|
+
* ```
|
|
16
|
+
* @see useRemoveAccountPolicyRule
|
|
17
|
+
* @see removeAccountPolicyRule
|
|
18
|
+
*/
|
|
19
|
+
export type UseRemoveAccountPolicyRuleParams = {
|
|
20
|
+
/**
|
|
21
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
22
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
23
|
+
*/
|
|
24
|
+
mutateParams?: NonNullable<UseBaseMutationParams<RemoveAccountPolicyRuleResult, RemoveAccountPolicyRuleVariables>['mutateParams']>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Removes a single rule from a business account's account-Layer.
|
|
28
|
+
*
|
|
29
|
+
* Wraps `removeAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
|
|
30
|
+
* success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
|
|
31
|
+
* refetch the updated rules.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* const { mutate: removeRule, isPending } = useRemoveAccountPolicyRule();
|
|
36
|
+
* <button
|
|
37
|
+
* onClick={() => removeRule({ businessAccountId, ruleId })}
|
|
38
|
+
* disabled={isPending}
|
|
39
|
+
* >
|
|
40
|
+
* Remove rule
|
|
41
|
+
* </button>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the account-Layer after the rule is removed.
|
|
45
|
+
* @see removeAccountPolicyRule
|
|
46
|
+
* @see UseRemoveAccountPolicyRuleParams
|
|
47
|
+
*/
|
|
48
|
+
export declare const useRemoveAccountPolicyRule: ({ mutateParams, }?: UseRemoveAccountPolicyRuleParams) => UseMutationResult<RemoveAccountPolicyRuleResult, Error, RemoveAccountPolicyRuleVariables>;
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=useRemoveAccountPolicyRule.d.ts.map
|
package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRemoveAccountPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.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;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,0BAA0B,uBAEpC,gCAAgC,KAAQ,iBAAiB,CAC1D,6BAA6B,EAC7B,KAAK,EACL,gCAAgC,CAU9B,CAAC"}
|