@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 { getMoonPayCurrencies } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetMoonPayCurrenciesResult = Awaited<ReturnType<typeof getMoonPayCurrencies>>;
|
|
4
5
|
type GetMoonPayCurrenciesArgs = Parameters<typeof getMoonPayCurrencies>[0];
|
|
@@ -17,6 +18,6 @@ export type UseGetMoonPayCurrenciesParams = GetMoonPayCurrenciesArgs & {
|
|
|
17
18
|
* const { data: currencies, isLoading } = useGetMoonPayCurrencies(params);
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
|
-
export declare const useGetMoonPayCurrencies: ({ queryParams, ...args }: UseGetMoonPayCurrenciesParams) =>
|
|
21
|
+
export declare const useGetMoonPayCurrencies: ({ queryParams, ...args }: UseGetMoonPayCurrenciesParams) => UseQueryResult<GetMoonPayCurrenciesResult, Error>;
|
|
21
22
|
export {};
|
|
22
23
|
//# sourceMappingURL=useGetMoonPayCurrencies.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetMoonPayCurrencies.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetMoonPayCurrencies.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,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;AACF,KAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,MAAM,6BAA6B,GAAG,wBAAwB,GAAG;IACrE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAAC;CAC7E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,6BAGjC,6BAA6B,KAAG,cAAc,CAC/C,0BAA0B,EAC1B,KAAK,CAMH,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useGetMoonPayUrl, type UseGetMoonPayUrlParams } from './useGetMoonPayUrl';
|
|
1
|
+
export { useGetMoonPayUrl, type UseGetMoonPayUrlParams, } from './useGetMoonPayUrl';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMoonPayUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMoonPayUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,sBAAsB,GAC5B,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getMoonPayUrl } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetMoonPayUrlResult = Awaited<ReturnType<typeof getMoonPayUrl>>;
|
|
4
5
|
type GetMoonPayUrlArgs = Parameters<typeof getMoonPayUrl>[0];
|
|
@@ -17,6 +18,6 @@ export type UseGetMoonPayUrlParams = GetMoonPayUrlArgs & {
|
|
|
17
18
|
* const { data: moonPayUrl, isLoading } = useGetMoonPayUrl(params);
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
|
-
export declare const useGetMoonPayUrl: ({ queryParams, ...args }: UseGetMoonPayUrlParams) =>
|
|
21
|
+
export declare const useGetMoonPayUrl: ({ queryParams, ...args }: UseGetMoonPayUrlParams) => UseQueryResult<GetMoonPayUrlResult, Error>;
|
|
21
22
|
export {};
|
|
22
23
|
//# sourceMappingURL=useGetMoonPayUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetMoonPayUrl.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetMoonPayUrl.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC;AACrE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,aAAa,CAAC,CAAC;CACtE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,6BAG1B,sBAAsB,KAAG,cAAc,CAAC,mBAAmB,EAAE,KAAK,CAKjE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GetMultichainTokenBalancesParams } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import { getMultichainTokenBalances } from '@dynamic-labs-sdk/client';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
3
4
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
5
|
type GetMultichainTokenBalancesResult = Awaited<ReturnType<typeof getMultichainTokenBalances>>;
|
|
5
6
|
export type UseGetMultichainTokenBalancesParams = {
|
|
@@ -32,6 +33,6 @@ export type UseGetMultichainTokenBalancesParams = {
|
|
|
32
33
|
* });
|
|
33
34
|
* ```
|
|
34
35
|
*/
|
|
35
|
-
export declare const useGetMultichainTokenBalances: ({ balanceRequest, queryParams, }: UseGetMultichainTokenBalancesParams) =>
|
|
36
|
+
export declare const useGetMultichainTokenBalances: ({ balanceRequest, queryParams, }: UseGetMultichainTokenBalancesParams) => UseQueryResult<GetMultichainTokenBalancesResult, Error>;
|
|
36
37
|
export {};
|
|
37
38
|
//# sourceMappingURL=useGetMultichainTokenBalances.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetMultichainTokenBalances.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetMultichainTokenBalances.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,gCAAgC,GAAG,OAAO,CAC7C,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAC9C,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD;;;;;OAKG;IACH,cAAc,EACV,gCAAgC,CAAC,gBAAgB,CAAC,GAClD,SAAS,CAAC;IACd;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,gCAAgC,CAAC,CAAC,aAAa,CAAC,CAAC;CACnF,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,6BAA6B,qCAGvC,mCAAmC,KAAG,cAAc,CACrD,gCAAgC,EAChC,KAAK,CAcH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type UseGetNativeBalanceParams = {
|
|
4
5
|
/**
|
|
@@ -16,6 +17,9 @@ type UseGetNativeBalanceParams = {
|
|
|
16
17
|
*/
|
|
17
18
|
walletAccount: WalletAccount | undefined;
|
|
18
19
|
};
|
|
20
|
+
type UseGetNativeBalanceResult = {
|
|
21
|
+
balance: string | null;
|
|
22
|
+
};
|
|
19
23
|
/**
|
|
20
24
|
* Returns the native token balance for a wallet account.
|
|
21
25
|
*
|
|
@@ -27,8 +31,6 @@ type UseGetNativeBalanceParams = {
|
|
|
27
31
|
* const { data, isLoading, refetch } = useGetNativeBalance({ walletAccount });
|
|
28
32
|
* ```
|
|
29
33
|
*/
|
|
30
|
-
export declare const useGetNativeBalance: ({ walletAccount, queryParams }: UseGetNativeBalanceParams) =>
|
|
31
|
-
balance: string | null;
|
|
32
|
-
}, Error>;
|
|
34
|
+
export declare const useGetNativeBalance: ({ walletAccount, queryParams, }: UseGetNativeBalanceParams) => UseQueryResult<UseGetNativeBalanceResult, Error>;
|
|
33
35
|
export {};
|
|
34
36
|
//# sourceMappingURL=useGetNativeBalance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetNativeBalance.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetNativeBalance.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,yBAAyB,GAAG;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;QAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC,aAAa,CAAC,CAAC;IAC5E;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,oCAG7B,yBAAyB,KAAG,cAAc,CAC3C,yBAAyB,EACzB,KAAK,CAiBH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getPasskeys } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetPasskeysResult = Awaited<ReturnType<typeof getPasskeys>>;
|
|
4
5
|
export type UseGetPasskeysParams = {
|
|
@@ -22,6 +23,6 @@ export type UseGetPasskeysParams = {
|
|
|
22
23
|
* const { data: passkeys, isLoading, refetch } = useGetPasskeys();
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
25
|
-
export declare const useGetPasskeys: ({ queryParams }?: UseGetPasskeysParams) =>
|
|
26
|
+
export declare const useGetPasskeys: ({ queryParams, }?: UseGetPasskeysParams) => UseQueryResult<GetPasskeysResult, Error>;
|
|
26
27
|
export {};
|
|
27
28
|
//# sourceMappingURL=useGetPasskeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetPasskeys.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetPasskeys.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,CAAC,aAAa,CAAC,CAAC;CACpE,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,sBAExB,oBAAoB,KAAQ,cAAc,CAAC,iBAAiB,EAAE,KAAK,CAMlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetPolicy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { getPolicy } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
3
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
|
+
type GetPolicyResult = Awaited<ReturnType<typeof getPolicy>>;
|
|
5
|
+
type GetPolicyArgs = Parameters<typeof getPolicy>[0];
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useGetPolicy}: the `getPolicy` args plus an optional
|
|
8
|
+
* override of the underlying react-query options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const params: UseGetPolicyParams = { scope: { walletId } };
|
|
13
|
+
* ```
|
|
14
|
+
* @see useGetPolicy
|
|
15
|
+
* @see getPolicy
|
|
16
|
+
*/
|
|
17
|
+
export type UseGetPolicyParams = GetPolicyArgs & {
|
|
18
|
+
/**
|
|
19
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
20
|
+
* staleTime, refetchInterval, etc.).
|
|
21
|
+
*/
|
|
22
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetPolicyResult>['queryParams']>;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Wraps `getPolicy` from `@dynamic-labs-sdk/client/waas`. Retrieves a policy
|
|
26
|
+
* layer's rules for the given scope.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* const { data: policy, isLoading } = useGetPolicy({ scope: { walletId } });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @returns A react-query result whose `data` is the policy detail resolved by `getPolicy`.
|
|
34
|
+
* @see getPolicy
|
|
35
|
+
* @see UseGetPolicyParams
|
|
36
|
+
*/
|
|
37
|
+
export declare const useGetPolicy: ({ queryParams, ...args }: UseGetPolicyParams) => UseQueryResult<GetPolicyResult, Error>;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=useGetPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetPolicy.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetPolicy/useGetPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC;AAC7D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAErD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG;IAC/C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;CAC/E,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,6BAGtB,kBAAkB,KAAG,cAAc,CAAC,eAAe,EAAE,KAAK,CAKzD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getRegisteredDevices } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetRegisteredDevicesResult = Awaited<ReturnType<typeof getRegisteredDevices>>;
|
|
4
5
|
export type UseGetRegisteredDevicesParams = {
|
|
@@ -24,6 +25,6 @@ export type UseGetRegisteredDevicesParams = {
|
|
|
24
25
|
* const { data: devices, isLoading, refetch } = useGetRegisteredDevices();
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useGetRegisteredDevices: ({ queryParams, }?: UseGetRegisteredDevicesParams) =>
|
|
28
|
+
export declare const useGetRegisteredDevices: ({ queryParams, }?: UseGetRegisteredDevicesParams) => UseQueryResult<GetRegisteredDevicesResult, Error>;
|
|
28
29
|
export {};
|
|
29
30
|
//# sourceMappingURL=useGetRegisteredDevices.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,0BAA0B,GAAG,OAAO,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAAC;CAC7E,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,sBAEjC,6BAA6B,KAAQ,cAAc,CACpD,0BAA0B,EAC1B,KAAK,CAOH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSignerPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import { getSignerPolicyLayer } from '@dynamic-labs-sdk/client/waas';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
4
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
5
|
+
type GetSignerPolicyLayerResult = Awaited<ReturnType<typeof getSignerPolicyLayer>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useGetSignerPolicyLayer}: the wallet account (and
|
|
8
|
+
* optional share set) to read the signer policy layer for, plus optional
|
|
9
|
+
* react-query options.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* const params: UseGetSignerPolicyLayerParams = { walletAccount };
|
|
14
|
+
* ```
|
|
15
|
+
* @see useGetSignerPolicyLayer
|
|
16
|
+
* @see getSignerPolicyLayer
|
|
17
|
+
*/
|
|
18
|
+
export type UseGetSignerPolicyLayerParams = {
|
|
19
|
+
/**
|
|
20
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
21
|
+
* staleTime, refetchInterval, etc.).
|
|
22
|
+
*/
|
|
23
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetSignerPolicyLayerResult>['queryParams']>;
|
|
24
|
+
/** Targets a share set other than the caller's own. Omit to read the caller's own active share set. */
|
|
25
|
+
shareSetId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* **Pseudo-required.** The wallet account to read the signer policy layer
|
|
28
|
+
* for. Accepting `undefined` lets callers wire this up before the wallet
|
|
29
|
+
* account has loaded — the hook stays disabled until a real value is
|
|
30
|
+
* supplied.
|
|
31
|
+
*/
|
|
32
|
+
walletAccount: WalletAccount | undefined;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Wraps `getSignerPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Returns
|
|
36
|
+
* a signer's active policy rules (the signer-Layer) — the caller's own
|
|
37
|
+
* active share set by default, or another share set on the same wallet when
|
|
38
|
+
* `shareSetId` is given. The hook stays disabled until `walletAccount` is
|
|
39
|
+
* defined.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* const { data, isLoading } = useGetSignerPolicyLayer({ walletAccount });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @returns A react-query result whose `data` is the signer-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
|
|
47
|
+
* @see getSignerPolicyLayer
|
|
48
|
+
* @see UseGetSignerPolicyLayerParams
|
|
49
|
+
*/
|
|
50
|
+
export declare const useGetSignerPolicyLayer: ({ queryParams, shareSetId, walletAccount, }: UseGetSignerPolicyLayerParams) => UseQueryResult<GetSignerPolicyLayerResult, Error>;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=useGetSignerPolicyLayer.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetSignerPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,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;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAC9D,CAAC;IACF,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,gDAIjC,6BAA6B,KAAG,cAAc,CAC/C,0BAA0B,EAC1B,KAAK,CAeH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getSwapQuote } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetSwapQuoteResult = Awaited<ReturnType<typeof getSwapQuote>>;
|
|
4
5
|
type GetSwapQuoteArgs = Parameters<typeof getSwapQuote>[0];
|
|
@@ -17,6 +18,6 @@ export type UseGetSwapQuoteParams = GetSwapQuoteArgs & {
|
|
|
17
18
|
* const { data: quote, isLoading } = useGetSwapQuote(params);
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
|
-
export declare const useGetSwapQuote: ({ queryParams, ...args }: UseGetSwapQuoteParams) =>
|
|
21
|
+
export declare const useGetSwapQuote: ({ queryParams, ...args }: UseGetSwapQuoteParams) => UseQueryResult<GetSwapQuoteResult, Error>;
|
|
21
22
|
export {};
|
|
22
23
|
//# sourceMappingURL=useGetSwapQuote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSwapQuote.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetSwapQuote.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AACnE,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG;IACrD;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,CAAC,aAAa,CAAC,CAAC;CACrE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,6BAGzB,qBAAqB,KAAG,cAAc,CAAC,kBAAkB,EAAE,KAAK,CAK/D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useGetSwapStatus, type UseGetSwapStatusParams } from './useGetSwapStatus';
|
|
1
|
+
export { useGetSwapStatus, type UseGetSwapStatusParams, } from './useGetSwapStatus';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSwapStatus/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSwapStatus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,sBAAsB,GAC5B,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getSwapStatus } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetSwapStatusResult = Awaited<ReturnType<typeof getSwapStatus>>;
|
|
4
5
|
type GetSwapStatusArgs = Parameters<typeof getSwapStatus>[0];
|
|
@@ -17,6 +18,6 @@ export type UseGetSwapStatusParams = GetSwapStatusArgs & {
|
|
|
17
18
|
* const { data: status, isLoading } = useGetSwapStatus(params);
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
|
-
export declare const useGetSwapStatus: ({ queryParams, ...args }: UseGetSwapStatusParams) =>
|
|
21
|
+
export declare const useGetSwapStatus: ({ queryParams, ...args }: UseGetSwapStatusParams) => UseQueryResult<GetSwapStatusResult, Error>;
|
|
21
22
|
export {};
|
|
22
23
|
//# sourceMappingURL=useGetSwapStatus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSwapStatus.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetSwapStatus.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC;AACrE,KAAK,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,aAAa,CAAC,CAAC;CACtE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,6BAG1B,sBAAsB,KAAG,cAAc,CAAC,mBAAmB,EAAE,KAAK,CAKjE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GetTokenBalancesParams, WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import { getTokenBalances } from '@dynamic-labs-sdk/client';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
3
4
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
5
|
type GetTokenBalancesResult = Awaited<ReturnType<typeof getTokenBalances>>;
|
|
5
6
|
/**
|
|
@@ -42,6 +43,6 @@ export type UseGetTokenBalancesParams = DistributiveOmit<GetTokenBalancesParams,
|
|
|
42
43
|
* const { data, isLoading, refetch } = useGetTokenBalances({ walletAccount });
|
|
43
44
|
* ```
|
|
44
45
|
*/
|
|
45
|
-
export declare const useGetTokenBalances: ({ walletAccount, queryParams, ...rest }: UseGetTokenBalancesParams) =>
|
|
46
|
+
export declare const useGetTokenBalances: ({ walletAccount, queryParams, ...rest }: UseGetTokenBalancesParams) => UseQueryResult<GetTokenBalancesResult, Error>;
|
|
46
47
|
export {};
|
|
47
48
|
//# sourceMappingURL=useGetTokenBalances.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetTokenBalances.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;GASG;AACH,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI,CAAC,SAAS,OAAO,GAC/D,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACV,KAAK,CAAC;AAEV,MAAM,MAAM,yBAAyB,GAAG,gBAAgB,CACtD,sBAAsB,EACtB,eAAe,CAChB,GAAG;IACF;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC,aAAa,CAAC,CAAC;IACxE;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,4CAI7B,yBAAyB
|
|
1
|
+
{"version":3,"file":"useGetTokenBalances.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACd,MAAM,0BAA0B,CAAC;AAClC,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;AAI9E,KAAK,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;GASG;AACH,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI,CAAC,SAAS,OAAO,GAC/D,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACV,KAAK,CAAC;AAEV,MAAM,MAAM,yBAAyB,GAAG,gBAAgB,CACtD,sBAAsB,EACtB,eAAe,CAChB,GAAG;IACF;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC,aAAa,CAAC,CAAC;IACxE;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,4CAI7B,yBAAyB,KAAG,cAAc,CAAC,sBAAsB,EAAE,KAAK,CAiBvE,CAAC"}
|
package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Chain, GetTransactionHistoryParams, GetTransactionHistoryResponse } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
export type UseGetTransactionHistoryParams = Omit<GetTransactionHistoryParams, 'address' | 'chain' | 'networkId'> & {
|
|
4
5
|
/**
|
|
@@ -43,5 +44,5 @@ export type UseGetTransactionHistoryParams = Omit<GetTransactionHistoryParams, '
|
|
|
43
44
|
* });
|
|
44
45
|
* ```
|
|
45
46
|
*/
|
|
46
|
-
export declare const useGetTransactionHistory: ({ address, chain, networkId, queryParams, ...rest }: UseGetTransactionHistoryParams) =>
|
|
47
|
+
export declare const useGetTransactionHistory: ({ address, chain, networkId, queryParams, ...rest }: UseGetTransactionHistoryParams) => UseQueryResult<GetTransactionHistoryResponse, Error>;
|
|
47
48
|
//# sourceMappingURL=useGetTransactionHistory.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetTransactionHistory.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetTransactionHistory.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,2BAA2B,EAC3B,SAAS,GAAG,OAAO,GAAG,WAAW,CAClC,GAAG;IACF;;;;;OAKG;IACH,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;;OAGG;IACH,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB;;;OAGG;IACH,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvC;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,CAAC,aAAa,CAAC,CAAC;CAChF,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,wBAAwB,wDAMlC,8BAA8B,KAAG,cAAc,CAChD,6BAA6B,EAC7B,KAAK,CAkBH,CAAC"}
|
package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type SocialAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
3
|
/**
|
|
2
4
|
* Returns the current user's linked social accounts.
|
|
3
5
|
*
|
|
@@ -5,5 +7,5 @@
|
|
|
5
7
|
* authenticated — the guard is required because the selector runs synchronously
|
|
6
8
|
* and `getUserSocialAccounts` throws (`assertDefined`) when there is no user.
|
|
7
9
|
*/
|
|
8
|
-
export declare const useGetUserSocialAccounts: () =>
|
|
10
|
+
export declare const useGetUserSocialAccounts: () => UseQueryResult<SocialAccount[], Error>;
|
|
9
11
|
//# sourceMappingURL=useGetUserSocialAccounts.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetUserSocialAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useGetUserSocialAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,QAAO,cAAc,CACxD,aAAa,EAAE,EACf,KAAK,CAOH,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
1
3
|
/**
|
|
2
4
|
* Returns all wallet accounts connected to the current user.
|
|
3
5
|
*
|
|
4
6
|
* Re-renders when wallet accounts change (connect, disconnect, verify).
|
|
5
7
|
*/
|
|
6
|
-
export declare const useGetWalletAccounts: () =>
|
|
8
|
+
export declare const useGetWalletAccounts: () => UseQueryResult<WalletAccount[], Error>;
|
|
7
9
|
//# sourceMappingURL=useGetWalletAccounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useGetWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAO,cAAc,CACpD,aAAa,EAAE,EACf,KAAK,CASH,CAAC"}
|
package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getWalletConnectCatalog } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetWalletConnectCatalogResult = Awaited<ReturnType<typeof getWalletConnectCatalog>>;
|
|
4
5
|
export type UseGetWalletConnectCatalogParams = {
|
|
@@ -19,6 +20,6 @@ export type UseGetWalletConnectCatalogParams = {
|
|
|
19
20
|
* const { data: catalog, isLoading } = useGetWalletConnectCatalog();
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
export declare const useGetWalletConnectCatalog: ({ queryParams, }?: UseGetWalletConnectCatalogParams) =>
|
|
23
|
+
export declare const useGetWalletConnectCatalog: ({ queryParams, }?: UseGetWalletConnectCatalogParams) => UseQueryResult<GetWalletConnectCatalogResult, Error>;
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=useGetWalletConnectCatalog.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetWalletConnectCatalog.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetWalletConnectCatalog.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.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;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,CAAC,aAAa,CAAC,CAAC;CAChF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B,sBAEpC,gCAAgC,KAAQ,cAAc,CACvD,6BAA6B,EAC7B,KAAK,CAMH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getWalletConnectCatalogWalletByWalletProviderKey } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type WalletConnectCatalogWalletByWalletProviderKeyResult = Awaited<ReturnType<typeof getWalletConnectCatalogWalletByWalletProviderKey>>;
|
|
4
5
|
type WalletConnectCatalogWalletByWalletProviderKeyArgs = Parameters<typeof getWalletConnectCatalogWalletByWalletProviderKey>[0];
|
|
@@ -14,6 +15,6 @@ export type UseGetWalletConnectCatalogWalletByWalletProviderKeyParams = WalletCo
|
|
|
14
15
|
*
|
|
15
16
|
* Wraps `getWalletConnectCatalogWalletByWalletProviderKey` from `@dynamic-labs-sdk/client`.
|
|
16
17
|
*/
|
|
17
|
-
export declare const useGetWalletConnectCatalogWalletByWalletProviderKey: ({ queryParams, ...args }: UseGetWalletConnectCatalogWalletByWalletProviderKeyParams) =>
|
|
18
|
+
export declare const useGetWalletConnectCatalogWalletByWalletProviderKey: ({ queryParams, ...args }: UseGetWalletConnectCatalogWalletByWalletProviderKeyParams) => UseQueryResult<WalletConnectCatalogWalletByWalletProviderKeyResult, Error>;
|
|
18
19
|
export {};
|
|
19
20
|
//# sourceMappingURL=useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gDAAgD,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gDAAgD,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,mDAAmD,GAAG,OAAO,CAChE,UAAU,CAAC,OAAO,gDAAgD,CAAC,CACpE,CAAC;AACF,KAAK,iDAAiD,GAAG,UAAU,CACjE,OAAO,gDAAgD,CACxD,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,yDAAyD,GACnE,iDAAiD,GAAG;IAClD;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,mDAAmD,CAAC,CAAC,aAAa,CAAC,CAAC;CACtG,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,mDAAmD,6BAG7D,yDAAyD,KAAG,cAAc,CAC3E,mDAAmD,EACnD,KAAK,CAOH,CAAC"}
|
package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getWalletOptionsCatalogue } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetWalletOptionsCatalogueResult = Awaited<ReturnType<typeof getWalletOptionsCatalogue>>;
|
|
4
5
|
type GetWalletOptionsCatalogueArgs = NonNullable<Parameters<typeof getWalletOptionsCatalogue>[0]>;
|
|
@@ -24,6 +25,6 @@ export type UseGetWalletOptionsCatalogueParams = GetWalletOptionsCatalogueArgs &
|
|
|
24
25
|
* const { data: catalogue, isLoading } = useGetWalletOptionsCatalogue();
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useGetWalletOptionsCatalogue: ({ queryParams, ...args }?: UseGetWalletOptionsCatalogueParams) =>
|
|
28
|
+
export declare const useGetWalletOptionsCatalogue: ({ queryParams, ...args }?: UseGetWalletOptionsCatalogueParams) => UseQueryResult<GetWalletOptionsCatalogueResult, Error>;
|
|
28
29
|
export {};
|
|
29
30
|
//# sourceMappingURL=useGetWalletOptionsCatalogue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetWalletOptionsCatalogue.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetWalletOptionsCatalogue.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AACF,KAAK,6BAA6B,GAAG,WAAW,CAC9C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAChD,CAAC;AAgBF,MAAM,MAAM,kCAAkC,GAC5C,6BAA6B,GAAG;IAC9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,+BAA+B,CAAC,CAAC,aAAa,CAAC,CAAC;CAClF,CAAC;AAEJ;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,4BAA4B,8BAGtC,kCAAkC,KAAQ,cAAc,CACzD,+BAA+B,EAC/B,KAAK,CAkBH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import { getWalletPolicyLayer } from '@dynamic-labs-sdk/client/waas';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
4
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
5
|
+
type GetWalletPolicyLayerResult = Awaited<ReturnType<typeof getWalletPolicyLayer>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useGetWalletPolicyLayer}: the wallet account to read
|
|
8
|
+
* the policy layer for, plus optional react-query options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const params: UseGetWalletPolicyLayerParams = { walletAccount };
|
|
13
|
+
* ```
|
|
14
|
+
* @see useGetWalletPolicyLayer
|
|
15
|
+
* @see getWalletPolicyLayer
|
|
16
|
+
*/
|
|
17
|
+
export type UseGetWalletPolicyLayerParams = {
|
|
18
|
+
/**
|
|
19
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
20
|
+
* staleTime, refetchInterval, etc.).
|
|
21
|
+
*/
|
|
22
|
+
queryParams?: NonNullable<UseBaseQueryParams<GetWalletPolicyLayerResult>['queryParams']>;
|
|
23
|
+
/**
|
|
24
|
+
* **Pseudo-required.** The wallet account to read the policy layer for.
|
|
25
|
+
* Accepting `undefined` lets callers wire this up before the wallet
|
|
26
|
+
* account has loaded — the hook stays disabled until a real value is
|
|
27
|
+
* supplied.
|
|
28
|
+
*/
|
|
29
|
+
walletAccount: WalletAccount | undefined;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Returns a wallet's active policy rules (the wallet-Layer).
|
|
33
|
+
*
|
|
34
|
+
* Wraps `getWalletPolicyLayer` from `@dynamic-labs-sdk/client/waas`. The hook
|
|
35
|
+
* stays disabled until `walletAccount` is defined.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* const { data, isLoading } = useGetWalletPolicyLayer({ walletAccount });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @returns A react-query result whose `data` is the wallet-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
|
|
43
|
+
* @see getWalletPolicyLayer
|
|
44
|
+
* @see UseGetWalletPolicyLayerParams
|
|
45
|
+
*/
|
|
46
|
+
export declare const useGetWalletPolicyLayer: ({ queryParams, walletAccount, }: UseGetWalletPolicyLayerParams) => UseQueryResult<GetWalletPolicyLayerResult, Error>;
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=useGetWalletPolicyLayer.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetWalletPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,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,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAC9D,CAAC;IACF;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,oCAGjC,6BAA6B,KAAG,cAAc,CAC/C,0BAA0B,EAC1B,KAAK,CAYH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getWalletProviderDataByKey } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
4
|
type GetWalletProviderDataByKeyResult = Awaited<ReturnType<typeof getWalletProviderDataByKey>>;
|
|
4
5
|
type GetWalletProviderDataByKeyArgs = Parameters<typeof getWalletProviderDataByKey>[0];
|
|
@@ -32,6 +33,6 @@ export type UseGetWalletProviderDataByKeyParams = GetWalletProviderDataByKeyArgs
|
|
|
32
33
|
* });
|
|
33
34
|
* ```
|
|
34
35
|
*/
|
|
35
|
-
export declare const useGetWalletProviderDataByKey: ({ queryParams, ...args }: UseGetWalletProviderDataByKeyParams) =>
|
|
36
|
+
export declare const useGetWalletProviderDataByKey: ({ queryParams, ...args }: UseGetWalletProviderDataByKeyParams) => UseQueryResult<GetWalletProviderDataByKeyResult, Error>;
|
|
36
37
|
export {};
|
|
37
38
|
//# sourceMappingURL=useGetWalletProviderDataByKey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetWalletProviderDataByKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetWalletProviderDataByKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,gCAAgC,GAAG,OAAO,CAC7C,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAC9C,CAAC;AACF,KAAK,8BAA8B,GAAG,UAAU,CAC9C,OAAO,0BAA0B,CAClC,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,mCAAmC,GAC7C,8BAA8B,GAAG;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,gCAAgC,CAAC,CAAC,aAAa,CAAC,CACpE,CAAC;CACH,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,6BAA6B,6BAGvC,mCAAmC,KAAG,cAAc,CACrD,gCAAgC,EAChC,KAAK,CAUH,CAAC"}
|
package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { WalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import { getWalletRecoveryState } from '@dynamic-labs-sdk/client/waas';
|
|
3
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
3
4
|
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
4
5
|
type GetWalletRecoveryStateResult = Awaited<ReturnType<typeof getWalletRecoveryState>>;
|
|
5
6
|
/**
|
|
@@ -43,6 +44,6 @@ export type UseGetWalletRecoveryStateParams = {
|
|
|
43
44
|
* @see getWalletRecoveryState
|
|
44
45
|
* @see UseGetWalletRecoveryStateParams
|
|
45
46
|
*/
|
|
46
|
-
export declare const useGetWalletRecoveryState: ({ queryParams, walletAccount, }: UseGetWalletRecoveryStateParams) =>
|
|
47
|
+
export declare const useGetWalletRecoveryState: ({ queryParams, walletAccount, }: UseGetWalletRecoveryStateParams) => UseQueryResult<GetWalletRecoveryStateResult, Error>;
|
|
47
48
|
export {};
|
|
48
49
|
//# sourceMappingURL=useGetWalletRecoveryState.d.ts.map
|
package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetWalletRecoveryState.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetWalletRecoveryState.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,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;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,4BAA4B,CAAC,CAAC,aAAa,CAAC,CAChE,CAAC;IACF;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,oCAGnC,+BAA+B,KAAG,cAAc,CACjD,4BAA4B,EAC5B,KAAK,CAYH,CAAC"}
|