@dynamic-labs-sdk/react-hooks 1.29.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 +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 -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/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-BNd25q_I.cjs} +2 -2
- package/dist/useBaseState-BNd25q_I.cjs.map +1 -0
- package/dist/{useBaseState-D9ib5b9h.esm.js → useBaseState-J0-SE2DJ.esm.js} +2 -2
- package/dist/useBaseState-J0-SE2DJ.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 { confirmTransaction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type ConfirmTransactionVariables = Parameters<typeof confirmTransaction>[0];
|
|
4
5
|
type ConfirmTransactionResult = Awaited<ReturnType<typeof confirmTransaction>>;
|
|
@@ -18,6 +19,6 @@ export type UseConfirmTransactionParams = {
|
|
|
18
19
|
* confirmTransaction({ walletAccount, transactionHash });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useConfirmTransaction: ({ mutateParams, }?: UseConfirmTransactionParams) =>
|
|
22
|
+
export declare const useConfirmTransaction: ({ mutateParams, }?: UseConfirmTransactionParams) => UseMutationResult<ConfirmTransactionResult, Error, ConfirmTransactionVariables>;
|
|
22
23
|
export {};
|
|
23
24
|
//# sourceMappingURL=useConfirmTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConfirmTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useConfirmTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.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;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,uBAE/B,2BAA2B,KAAQ,iBAAiB,CACrD,wBAAwB,EACxB,KAAK,EACL,2BAA2B,CAMzB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { connectAndVerifyWithWalletProvider } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type ConnectAndVerifyWithWalletProviderVariables = Parameters<typeof connectAndVerifyWithWalletProvider>[0];
|
|
4
5
|
type ConnectAndVerifyWithWalletProviderResult = Awaited<ReturnType<typeof connectAndVerifyWithWalletProvider>>;
|
|
@@ -32,9 +33,6 @@ export type UseConnectAndVerifyWithWalletProviderParams = {
|
|
|
32
33
|
* </button>
|
|
33
34
|
* ```
|
|
34
35
|
*/
|
|
35
|
-
export declare const useConnectAndVerifyWithWalletProvider: ({ mutateParams, }?: UseConnectAndVerifyWithWalletProviderParams) =>
|
|
36
|
-
hardwareWalletVendor?: import("@dynamic-labs-sdk/client").HardwareWalletVendor;
|
|
37
|
-
walletProviderKey: string;
|
|
38
|
-
}>;
|
|
36
|
+
export declare const useConnectAndVerifyWithWalletProvider: ({ mutateParams, }?: UseConnectAndVerifyWithWalletProviderParams) => UseMutationResult<ConnectAndVerifyWithWalletProviderResult, Error, ConnectAndVerifyWithWalletProviderVariables>;
|
|
39
37
|
export {};
|
|
40
38
|
//# sourceMappingURL=useConnectAndVerifyWithWalletProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConnectAndVerifyWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useConnectAndVerifyWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,2CAA2C,GAAG,UAAU,CAC3D,OAAO,kCAAkC,CAC1C,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,wCAAwC,GAAG,OAAO,CACrD,UAAU,CAAC,OAAO,kCAAkC,CAAC,CACtD,CAAC;AAEF,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,wCAAwC,EACxC,2CAA2C,CAC5C,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,qCAAqC,uBAE/C,2CAA2C,KAAQ,iBAAiB,CACrE,wCAAwC,EACxC,KAAK,EACL,2CAA2C,CASzC,CAAC"}
|
package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { connectWithWalletProvider } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type ConnectWithWalletProviderVariables = Parameters<typeof connectWithWalletProvider>[0];
|
|
4
5
|
type ConnectWithWalletProviderResult = Awaited<ReturnType<typeof connectWithWalletProvider>>;
|
|
@@ -29,10 +30,6 @@ export type UseConnectWithWalletProviderParams = {
|
|
|
29
30
|
* </button>
|
|
30
31
|
* ```
|
|
31
32
|
*/
|
|
32
|
-
export declare const useConnectWithWalletProvider: ({ mutateParams, }?: UseConnectWithWalletProviderParams) =>
|
|
33
|
-
addToDynamicWalletAccounts?: boolean;
|
|
34
|
-
hardwareWalletVendor?: import("@dynamic-labs-sdk/client").HardwareWalletVendor;
|
|
35
|
-
walletProviderKey: string;
|
|
36
|
-
}>;
|
|
33
|
+
export declare const useConnectWithWalletProvider: ({ mutateParams, }?: UseConnectWithWalletProviderParams) => UseMutationResult<ConnectWithWalletProviderResult, Error, ConnectWithWalletProviderVariables>;
|
|
37
34
|
export {};
|
|
38
35
|
//# sourceMappingURL=useConnectWithWalletProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConnectWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useConnectWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,kCAAkC,GAAG,UAAU,CAClD,OAAO,yBAAyB,CACjC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,+BAA+B,EAC/B,kCAAkC,CACnC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,KAAQ,iBAAiB,CAC5D,+BAA+B,EAC/B,KAAK,EACL,kCAAkC,CAShC,CAAC"}
|
package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createBusinessAccount } 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 CreateBusinessAccountVariables = Parameters<typeof createBusinessAccount>[0];
|
|
4
5
|
type CreateBusinessAccountResult = Awaited<ReturnType<typeof createBusinessAccount>>;
|
|
@@ -38,10 +39,6 @@ export type UseCreateBusinessAccountParams = {
|
|
|
38
39
|
* @see createBusinessAccount
|
|
39
40
|
* @see UseCreateBusinessAccountParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useCreateBusinessAccount: ({ mutateParams, }?: UseCreateBusinessAccountParams) =>
|
|
42
|
-
externalRef?: string;
|
|
43
|
-
metadata?: Record<string, unknown>;
|
|
44
|
-
name?: string;
|
|
45
|
-
} | undefined>;
|
|
42
|
+
export declare const useCreateBusinessAccount: ({ mutateParams, }?: UseCreateBusinessAccountParams) => UseMutationResult<CreateBusinessAccountResult, Error, CreateBusinessAccountVariables>;
|
|
46
43
|
export {};
|
|
47
44
|
//# sourceMappingURL=useCreateBusinessAccount.d.ts.map
|
package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateBusinessAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateBusinessAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.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,4 +1,5 @@
|
|
|
1
1
|
import { createCoinbaseExchangeTransfer } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type CreateCoinbaseExchangeTransferVariables = Parameters<typeof createCoinbaseExchangeTransfer>[0];
|
|
4
5
|
type CreateCoinbaseExchangeTransferResult = Awaited<ReturnType<typeof createCoinbaseExchangeTransfer>>;
|
|
@@ -32,6 +33,6 @@ export type UseCreateCoinbaseExchangeTransferParams = {
|
|
|
32
33
|
* @see createCoinbaseExchangeTransfer
|
|
33
34
|
* @see UseCreateCoinbaseExchangeTransferParams
|
|
34
35
|
*/
|
|
35
|
-
export declare const useCreateCoinbaseExchangeTransfer: ({ mutateParams, }?: UseCreateCoinbaseExchangeTransferParams) =>
|
|
36
|
+
export declare const useCreateCoinbaseExchangeTransfer: ({ mutateParams, }?: UseCreateCoinbaseExchangeTransferParams) => UseMutationResult<CreateCoinbaseExchangeTransferResult, Error, CreateCoinbaseExchangeTransferVariables>;
|
|
36
37
|
export {};
|
|
37
38
|
//# sourceMappingURL=useCreateCoinbaseExchangeTransfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateCoinbaseExchangeTransfer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateCoinbaseExchangeTransfer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,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;;;;;;;;;;GAUG;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;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iCAAiC,uBAE3C,uCAAuC,KAAQ,iBAAiB,CACjE,oCAAoC,EACpC,KAAK,EACL,uCAAuC,CASrC,CAAC"}
|
package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCoinbaseOnrampOrder } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type CreateCoinbaseOnrampOrderVariables = Parameters<typeof createCoinbaseOnrampOrder>[0];
|
|
4
5
|
type CreateCoinbaseOnrampOrderResult = Awaited<ReturnType<typeof createCoinbaseOnrampOrder>>;
|
|
@@ -18,6 +19,6 @@ export type UseCreateCoinbaseOnrampOrderParams = {
|
|
|
18
19
|
* createOrder(orderParams);
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useCreateCoinbaseOnrampOrder: ({ mutateParams, }?: UseCreateCoinbaseOnrampOrderParams) =>
|
|
22
|
+
export declare const useCreateCoinbaseOnrampOrder: ({ mutateParams, }?: UseCreateCoinbaseOnrampOrderParams) => UseMutationResult<CreateCoinbaseOnrampOrderResult, Error, CreateCoinbaseOnrampOrderVariables>;
|
|
22
23
|
export {};
|
|
23
24
|
//# sourceMappingURL=useCreateCoinbaseOnrampOrder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateCoinbaseOnrampOrder.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateCoinbaseOnrampOrder.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,kCAAkC,GAAG,UAAU,CAClD,OAAO,yBAAyB,CACjC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,+BAA+B,EAC/B,kCAAkC,CACnC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,KAAQ,iBAAiB,CAC5D,+BAA+B,EAC/B,KAAK,EACL,kCAAkC,CAShC,CAAC"}
|
package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCryptoDotComPayment } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type CreateCryptoDotComPaymentVariables = Parameters<typeof createCryptoDotComPayment>[0];
|
|
4
5
|
type CreateCryptoDotComPaymentResult = Awaited<ReturnType<typeof createCryptoDotComPayment>>;
|
|
@@ -19,6 +20,6 @@ export type UseCreateCryptoDotComPaymentParams = {
|
|
|
19
20
|
* createPayment(paymentParams);
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
export declare const useCreateCryptoDotComPayment: ({ mutateParams, }?: UseCreateCryptoDotComPaymentParams) =>
|
|
23
|
+
export declare const useCreateCryptoDotComPayment: ({ mutateParams, }?: UseCreateCryptoDotComPaymentParams) => UseMutationResult<CreateCryptoDotComPaymentResult, Error, CreateCryptoDotComPaymentVariables>;
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=useCreateCryptoDotComPayment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateCryptoDotComPayment.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateCryptoDotComPayment.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,kCAAkC,GAAG,UAAU,CAClD,OAAO,yBAAyB,CACjC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,+BAA+B,EAC/B,kCAAkC,CACnC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,KAAQ,iBAAiB,CAC5D,+BAA+B,EAC/B,KAAK,EACL,kCAAkC,CAShC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createKrakenExchangeTransfer } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type CreateKrakenExchangeTransferVariables = Parameters<typeof createKrakenExchangeTransfer>[0];
|
|
4
5
|
type CreateKrakenExchangeTransferResult = Awaited<ReturnType<typeof createKrakenExchangeTransfer>>;
|
|
@@ -18,6 +19,6 @@ export type UseCreateKrakenExchangeTransferParams = {
|
|
|
18
19
|
* transfer({ accountId, asset, amount, address });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useCreateKrakenExchangeTransfer: ({ mutateParams, }?: UseCreateKrakenExchangeTransferParams) =>
|
|
22
|
+
export declare const useCreateKrakenExchangeTransfer: ({ mutateParams, }?: UseCreateKrakenExchangeTransferParams) => UseMutationResult<CreateKrakenExchangeTransferResult, Error, CreateKrakenExchangeTransferVariables>;
|
|
22
23
|
export {};
|
|
23
24
|
//# sourceMappingURL=useCreateKrakenExchangeTransfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateKrakenExchangeTransfer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateKrakenExchangeTransfer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,qCAAqC,GAAG,UAAU,CACrD,OAAO,4BAA4B,CACpC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,kCAAkC,GAAG,OAAO,CAC/C,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAChD,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,kCAAkC,EAClC,qCAAqC,CACtC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,uBAEzC,qCAAqC,KAAQ,iBAAiB,CAC/D,kCAAkC,EAClC,KAAK,EACL,qCAAqC,CASnC,CAAC"}
|
package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createNewMfaRecoveryCodes } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type CreateNewMfaRecoveryCodesResult = Awaited<ReturnType<typeof createNewMfaRecoveryCodes>>;
|
|
4
5
|
export type UseCreateNewMfaRecoveryCodesParams = {
|
|
@@ -24,6 +25,6 @@ export type UseCreateNewMfaRecoveryCodesParams = {
|
|
|
24
25
|
* </button>
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useCreateNewMfaRecoveryCodes: ({ mutateParams, }?: UseCreateNewMfaRecoveryCodesParams) =>
|
|
28
|
+
export declare const useCreateNewMfaRecoveryCodes: ({ mutateParams, }?: UseCreateNewMfaRecoveryCodesParams) => UseMutationResult<CreateNewMfaRecoveryCodesResult, Error, void>;
|
|
28
29
|
export {};
|
|
29
30
|
//# sourceMappingURL=useCreateNewMfaRecoveryCodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateNewMfaRecoveryCodes.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateNewMfaRecoveryCodes.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,+BAA+B,EAC/B,IAAI,CACL,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,KAAQ,iBAAiB,CAC5D,+BAA+B,EAC/B,KAAK,EACL,IAAI,CAKF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createPolicy } 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 CreatePolicyVariables = Parameters<typeof createPolicy>[0];
|
|
4
5
|
type CreatePolicyResult = Awaited<ReturnType<typeof createPolicy>>;
|
|
@@ -47,11 +48,6 @@ export type UseCreatePolicyParams = {
|
|
|
47
48
|
* @see createPolicy
|
|
48
49
|
* @see UseCreatePolicyParams
|
|
49
50
|
*/
|
|
50
|
-
export declare const useCreatePolicy: ({ mutateParams, }?: UseCreatePolicyParams) =>
|
|
51
|
-
chain: import("@dynamic-labs/sdk-api-core").WaasChainEnum;
|
|
52
|
-
chainIds?: number[];
|
|
53
|
-
rules: import("@dynamic-labs-sdk/client/waas").PolicyRules;
|
|
54
|
-
scope: import("@dynamic-labs-sdk/client/waas").PolicyScope;
|
|
55
|
-
}>;
|
|
51
|
+
export declare const useCreatePolicy: ({ mutateParams, }?: UseCreatePolicyParams) => UseMutationResult<CreatePolicyResult, Error, CreatePolicyVariables>;
|
|
56
52
|
export {};
|
|
57
53
|
//# sourceMappingURL=useCreatePolicy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreatePolicy.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreatePolicy.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAChE,KAAK,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAEnE;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,kBAAkB,EAClB,qBAAqB,CACtB,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,eAAe,uBAEzB,qBAAqB,KAAQ,iBAAiB,CAC/C,kBAAkB,EAClB,KAAK,EACL,qBAAqB,CAYnB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useCreateWaasOfflineRecoveryShares, type UseCreateWaasOfflineRecoverySharesParams } from './useCreateWaasOfflineRecoveryShares';
|
|
1
|
+
export { useCreateWaasOfflineRecoveryShares, type UseCreateWaasOfflineRecoverySharesParams, } from './useCreateWaasOfflineRecoveryShares';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,KAAK,wCAAwC,GAC9C,MAAM,sCAAsC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createWaasOfflineRecoveryShares } 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 CreateWaasOfflineRecoverySharesVariables = Parameters<typeof createWaasOfflineRecoveryShares>[0];
|
|
4
5
|
type CreateWaasOfflineRecoverySharesResult = Awaited<ReturnType<typeof createWaasOfflineRecoveryShares>>;
|
|
@@ -38,11 +39,6 @@ export type UseCreateWaasOfflineRecoverySharesParams = {
|
|
|
38
39
|
* @see createWaasOfflineRecoveryShares
|
|
39
40
|
* @see UseCreateWaasOfflineRecoverySharesParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useCreateWaasOfflineRecoveryShares: ({ mutateParams, }?: UseCreateWaasOfflineRecoverySharesParams) =>
|
|
42
|
-
cloudProviderAccessToken?: string;
|
|
43
|
-
mfaToken?: string;
|
|
44
|
-
password?: string;
|
|
45
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
46
|
-
}>;
|
|
42
|
+
export declare const useCreateWaasOfflineRecoveryShares: ({ mutateParams, }?: UseCreateWaasOfflineRecoverySharesParams) => UseMutationResult<CreateWaasOfflineRecoverySharesResult, Error, CreateWaasOfflineRecoverySharesVariables>;
|
|
47
43
|
export {};
|
|
48
44
|
//# sourceMappingURL=useCreateWaasOfflineRecoveryShares.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateWaasOfflineRecoveryShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateWaasOfflineRecoveryShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.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;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kCAAkC,uBAE5C,wCAAwC,KAAQ,iBAAiB,CAClE,qCAAqC,EACrC,KAAK,EACL,wCAAwC,CAStC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useCreateWaasWalletAccounts, type UseCreateWaasWalletAccountsParams } from './useCreateWaasWalletAccounts';
|
|
1
|
+
export { useCreateWaasWalletAccounts, type UseCreateWaasWalletAccountsParams, } from './useCreateWaasWalletAccounts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,+BAA+B,CAAC"}
|
package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createWaasWalletAccounts } 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 CreateWaasWalletAccountsVariables = Parameters<typeof createWaasWalletAccounts>[0];
|
|
4
5
|
type CreateWaasWalletAccountsResult = Awaited<ReturnType<typeof createWaasWalletAccounts>>;
|
|
@@ -38,10 +39,6 @@ export type UseCreateWaasWalletAccountsParams = {
|
|
|
38
39
|
* @see createWaasWalletAccounts
|
|
39
40
|
* @see UseCreateWaasWalletAccountsParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useCreateWaasWalletAccounts: ({ mutateParams }?: UseCreateWaasWalletAccountsParams) =>
|
|
42
|
-
chains: import("@dynamic-labs-sdk/client").Chain[] | import("@dynamic-labs-sdk/client/waas").WalletCreationRequirement[];
|
|
43
|
-
password?: string;
|
|
44
|
-
thresholdSignatureScheme?: import("@dynamic-labs-wallet/core").ThresholdSignatureScheme;
|
|
45
|
-
}>;
|
|
42
|
+
export declare const useCreateWaasWalletAccounts: ({ mutateParams, }?: UseCreateWaasWalletAccountsParams) => UseMutationResult<CreateWaasWalletAccountsResult, Error, CreateWaasWalletAccountsVariables>;
|
|
46
43
|
export {};
|
|
47
44
|
//# sourceMappingURL=useCreateWaasWalletAccounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateWaasWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateWaasWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,KAAK,iCAAiC,GAAG,UAAU,CACjD,OAAO,wBAAwB,CAChC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,8BAA8B,GAAG,OAAO,CAC3C,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAC5C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,8BAA8B,EAC9B,iCAAiC,CAClC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,2BAA2B,uBAErC,iCAAiC,KAAQ,iBAAiB,CAC3D,8BAA8B,EAC9B,KAAK,EACL,iCAAiC,CAS/B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useCreateWalletForBusinessAccount, type UseCreateWalletForBusinessAccountParams } from './useCreateWalletForBusinessAccount';
|
|
1
|
+
export { useCreateWalletForBusinessAccount, type UseCreateWalletForBusinessAccountParams, } from './useCreateWalletForBusinessAccount';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,KAAK,uCAAuC,GAC7C,MAAM,qCAAqC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createWalletForBusinessAccount } 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 CreateWalletForBusinessAccountVariables = Parameters<typeof createWalletForBusinessAccount>[0];
|
|
4
5
|
type CreateWalletForBusinessAccountResult = Awaited<ReturnType<typeof createWalletForBusinessAccount>>;
|
|
@@ -41,15 +42,6 @@ export type UseCreateWalletForBusinessAccountParams = {
|
|
|
41
42
|
* @see createWalletForBusinessAccount
|
|
42
43
|
* @see UseCreateWalletForBusinessAccountParams
|
|
43
44
|
*/
|
|
44
|
-
export declare const useCreateWalletForBusinessAccount: ({ mutateParams }?: UseCreateWalletForBusinessAccountParams) =>
|
|
45
|
-
accountAddress: string;
|
|
46
|
-
publicKeyHex: string;
|
|
47
|
-
rawPublicKey: string | Uint8Array | undefined;
|
|
48
|
-
}, Error, {
|
|
49
|
-
businessAccountId: string;
|
|
50
|
-
chain: import("@dynamic-labs-sdk/client").Chain;
|
|
51
|
-
password?: string;
|
|
52
|
-
thresholdSignatureScheme?: import("@dynamic-labs-wallet/core").ThresholdSignatureScheme;
|
|
53
|
-
}>;
|
|
45
|
+
export declare const useCreateWalletForBusinessAccount: ({ mutateParams, }?: UseCreateWalletForBusinessAccountParams) => UseMutationResult<CreateWalletForBusinessAccountResult, Error, CreateWalletForBusinessAccountVariables>;
|
|
54
46
|
export {};
|
|
55
47
|
//# sourceMappingURL=useCreateWalletForBusinessAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateWalletForBusinessAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateWalletForBusinessAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.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;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,iCAAiC,uBAE3C,uCAAuC,KAAQ,iBAAiB,CACjE,oCAAoC,EACpC,KAAK,EACL,uCAAuC,CASrC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useDelegateWaasKeyShares, type UseDelegateWaasKeySharesParams } from './useDelegateWaasKeyShares';
|
|
1
|
+
export { useDelegateWaasKeyShares, type UseDelegateWaasKeySharesParams, } from './useDelegateWaasKeyShares';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDelegateWaasKeyShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDelegateWaasKeyShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,8BAA8B,GACpC,MAAM,4BAA4B,CAAC"}
|
package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { delegateWaasKeyShares } 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 DelegateWaasKeySharesVariables = Parameters<typeof delegateWaasKeyShares>[0];
|
|
4
5
|
type DelegateWaasKeySharesResult = Awaited<ReturnType<typeof delegateWaasKeyShares>>;
|
|
@@ -38,10 +39,6 @@ export type UseDelegateWaasKeySharesParams = {
|
|
|
38
39
|
* @see delegateWaasKeyShares
|
|
39
40
|
* @see UseDelegateWaasKeySharesParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useDelegateWaasKeyShares: ({ mutateParams }?: UseDelegateWaasKeySharesParams) =>
|
|
42
|
-
initialSignerRules?: import("@dynamic-labs-wallet/core").WaasPolicyRule[];
|
|
43
|
-
password?: string;
|
|
44
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
45
|
-
}>;
|
|
42
|
+
export declare const useDelegateWaasKeyShares: ({ mutateParams, }?: UseDelegateWaasKeySharesParams) => UseMutationResult<DelegateWaasKeySharesResult, Error, DelegateWaasKeySharesVariables>;
|
|
46
43
|
export {};
|
|
47
44
|
//# sourceMappingURL=useDelegateWaasKeyShares.d.ts.map
|
package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDelegateWaasKeyShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useDelegateWaasKeyShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,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,4 +1,5 @@
|
|
|
1
1
|
import { deleteMfaDevice } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type DeleteMfaDeviceVariables = Parameters<typeof deleteMfaDevice>[0];
|
|
4
5
|
type DeleteMfaDeviceResult = Awaited<ReturnType<typeof deleteMfaDevice>>;
|
|
@@ -24,9 +25,6 @@ export type UseDeleteMfaDeviceParams = {
|
|
|
24
25
|
* </button>
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useDeleteMfaDevice: ({ mutateParams, }?: UseDeleteMfaDeviceParams) =>
|
|
28
|
-
deviceId: string;
|
|
29
|
-
mfaAuthToken?: string;
|
|
30
|
-
}>;
|
|
28
|
+
export declare const useDeleteMfaDevice: ({ mutateParams, }?: UseDeleteMfaDeviceParams) => UseMutationResult<void, Error, DeleteMfaDeviceVariables>;
|
|
31
29
|
export {};
|
|
32
30
|
//# sourceMappingURL=useDeleteMfaDevice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeleteMfaDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useDeleteMfaDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.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,IAAI,EACJ,KAAK,EACL,wBAAwB,CAOzB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { deletePasskey } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type DeletePasskeyVariables = Parameters<typeof deletePasskey>[0];
|
|
4
5
|
type DeletePasskeyResult = Awaited<ReturnType<typeof deletePasskey>>;
|
|
@@ -24,8 +25,6 @@ export type UseDeletePasskeyParams = {
|
|
|
24
25
|
* </button>
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useDeletePasskey: ({ mutateParams, }?: UseDeletePasskeyParams) =>
|
|
28
|
-
passkeyId: string;
|
|
29
|
-
}>;
|
|
28
|
+
export declare const useDeletePasskey: ({ mutateParams, }?: UseDeletePasskeyParams) => UseMutationResult<DeletePasskeyResult, Error, DeletePasskeyVariables>;
|
|
30
29
|
export {};
|
|
31
30
|
//# sourceMappingURL=useDeletePasskey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeletePasskey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useDeletePasskey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAClE,KAAK,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,mBAAmB,EACnB,sBAAsB,CACvB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,uBAE1B,sBAAsB,KAAQ,iBAAiB,CAChD,mBAAmB,EACnB,KAAK,EACL,sBAAsB,CAMpB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { deleteUser } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type DeleteUserResult = Awaited<ReturnType<typeof deleteUser>>;
|
|
4
5
|
export type UseDeleteUserParams = {
|
|
@@ -6,7 +7,7 @@ export type UseDeleteUserParams = {
|
|
|
6
7
|
* Optional override of any react-query `UseMutationOptions`
|
|
7
8
|
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
8
9
|
*/
|
|
9
|
-
mutateParams?: UseBaseMutationParams<DeleteUserResult, void>['mutateParams']
|
|
10
|
+
mutateParams?: NonNullable<UseBaseMutationParams<DeleteUserResult, void>['mutateParams']>;
|
|
10
11
|
};
|
|
11
12
|
/**
|
|
12
13
|
* Permanently deletes the current user's account and logs them out.
|
|
@@ -23,6 +24,6 @@ export type UseDeleteUserParams = {
|
|
|
23
24
|
* </button>
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
|
-
export declare const useDeleteUser: ({ mutateParams }?: UseDeleteUserParams) =>
|
|
27
|
+
export declare const useDeleteUser: ({ mutateParams, }?: UseDeleteUserParams) => UseMutationResult<DeleteUserResult, Error, void>;
|
|
27
28
|
export {};
|
|
28
29
|
//# sourceMappingURL=useDeleteUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeleteUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDeleteUser/useDeleteUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useDeleteUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDeleteUser/useDeleteUser.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,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAC9D,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,uBAEvB,mBAAmB,KAAQ,iBAAiB,CAC7C,gBAAgB,EAChB,KAAK,EACL,IAAI,CAKF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDepositToYieldVault/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,KAAK,4BAA4B,GAClC,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { depositToYieldVault } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
4
|
+
type DepositToYieldVaultVariables = Parameters<typeof depositToYieldVault>[0];
|
|
5
|
+
type DepositToYieldVaultResult = Awaited<ReturnType<typeof depositToYieldVault>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useDepositToYieldVault}: optional react-query mutation options.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const params: UseDepositToYieldVaultParams = { mutateParams: { onSuccess } };
|
|
12
|
+
* ```
|
|
13
|
+
* @see useDepositToYieldVault
|
|
14
|
+
* @see depositToYieldVault
|
|
15
|
+
*/
|
|
16
|
+
export type UseDepositToYieldVaultParams = {
|
|
17
|
+
/**
|
|
18
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
19
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
20
|
+
*/
|
|
21
|
+
mutateParams?: NonNullable<UseBaseMutationParams<DepositToYieldVaultResult, DepositToYieldVaultVariables>['mutateParams']>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Wraps `depositToYieldVault` from `@dynamic-labs-sdk/client`. Call
|
|
25
|
+
* `mutate({ amount, vaultId, walletAccount })` to deposit into a vault (using a
|
|
26
|
+
* `vaultId` from {@link useListYieldVaults}); the resolved `data` is
|
|
27
|
+
* `{ transactionHash }`.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* const { mutate: deposit, data } = useDepositToYieldVault();
|
|
32
|
+
* deposit({ amount: '10.5', vaultId, walletAccount });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @returns A react-query mutation whose `data` is the deposit transaction hash.
|
|
36
|
+
* @see depositToYieldVault
|
|
37
|
+
* @see UseDepositToYieldVaultParams
|
|
38
|
+
*/
|
|
39
|
+
export declare const useDepositToYieldVault: ({ mutateParams, }?: UseDepositToYieldVaultParams) => UseMutationResult<DepositToYieldVaultResult, Error, DepositToYieldVaultVariables>;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=useDepositToYieldVault.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDepositToYieldVault.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.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;AAIpF,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;;;;;;;;;GASG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B,KAAQ,iBAAiB,CACtD,yBAAyB,EACzB,KAAK,EACL,4BAA4B,CAU1B,CAAC"}
|
package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { detectSocialRedirectUrl } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type DetectSocialRedirectUrlResult = Awaited<ReturnType<typeof detectSocialRedirectUrl>>;
|
|
4
5
|
type DetectSocialRedirectUrlArgs = Parameters<typeof detectSocialRedirectUrl>[0];
|
|
@@ -43,6 +44,6 @@ export type UseDetectSocialRedirectUrlParams = DetectSocialRedirectUrlArgs & {
|
|
|
43
44
|
* @see {@link clearSocialRedirectParams} to clean the OAuth parameters from the
|
|
44
45
|
* URL after completion.
|
|
45
46
|
*/
|
|
46
|
-
export declare const useDetectSocialRedirectUrl: ({ queryParams, ...args }: UseDetectSocialRedirectUrlParams) =>
|
|
47
|
+
export declare const useDetectSocialRedirectUrl: ({ queryParams, ...args }: UseDetectSocialRedirectUrlParams) => UseQueryResult<DetectSocialRedirectUrlResult, Error>;
|
|
47
48
|
export {};
|
|
48
49
|
//# sourceMappingURL=useDetectSocialRedirectUrl.d.ts.map
|
package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDetectSocialRedirectUrl.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useDetectSocialRedirectUrl.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,6BAA6B,GAAG,OAAO,CAC1C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AACF,KAAK,2BAA2B,GAAG,UAAU,CAC3C,OAAO,uBAAuB,CAC/B,CAAC,CAAC,CAAC,CAAC;AAEL;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gCAAgC,GAAG,2BAA2B,GAAG;IAC3E;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,6BAA6B,CAAC,CAAC,aAAa,CAAC,CACjE,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,0BAA0B,6BAGpC,gCAAgC,KAAG,cAAc,CAClD,6BAA6B,EAC7B,KAAK,CAMH,CAAC"}
|
package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { executeSwapTransaction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type ExecuteSwapTransactionVariables = Parameters<typeof executeSwapTransaction>[0];
|
|
4
5
|
type ExecuteSwapTransactionResult = Awaited<ReturnType<typeof executeSwapTransaction>>;
|
|
@@ -18,8 +19,6 @@ export type UseExecuteSwapTransactionParams = {
|
|
|
18
19
|
* executeSwap({ walletAccount, signingPayload });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useExecuteSwapTransaction: ({ mutateParams, }?: UseExecuteSwapTransactionParams) =>
|
|
22
|
-
transactionHash: string;
|
|
23
|
-
}, Error, import("@dynamic-labs-sdk/client").ExecuteSwapTransactionParams>;
|
|
22
|
+
export declare const useExecuteSwapTransaction: ({ mutateParams, }?: UseExecuteSwapTransactionParams) => UseMutationResult<ExecuteSwapTransactionResult, Error, ExecuteSwapTransactionVariables>;
|
|
24
23
|
export {};
|
|
25
24
|
//# sourceMappingURL=useExecuteSwapTransaction.d.ts.map
|
package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecuteSwapTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useExecuteSwapTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.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;AAGpF,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,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAS7B,CAAC"}
|