@dynamic-labs-sdk/react-hooks 1.28.0 → 1.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/exports/index.d.ts +17 -0
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/foundation/useBaseState/useBaseState.d.ts +2 -2
- package/dist/foundation/useBaseState/useBaseState.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddBusinessAccountMember/useAddBusinessAccountMember.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useAddBusinessAccountMember/useAddBusinessAccountMember.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts +2 -10
- package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/useAddCoinbaseOnrampOrderEventListener.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAddWalletToBusinessAccount/useAddWalletToBusinessAccount.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useAddWalletToBusinessAccount/useAddWalletToBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts +3 -6
- package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.d.ts +43 -0
- package/dist/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts +53 -0
- package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.d.ts +2 -10
- package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts +3 -2
- package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.d.ts +41 -0
- package/dist/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts +39 -0
- package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetActiveNetworkData/useGetActiveNetworkData.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetActiveNetworkData/useGetActiveNetworkData.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetActiveNetworkId/useGetActiveNetworkId.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetActiveNetworkId/useGetActiveNetworkId.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetAvailableWalletProvidersData/useGetAvailableWalletProvidersData.d.ts +3 -1
- package/dist/hooks/wrappers/functions/useGetAvailableWalletProvidersData/useGetAvailableWalletProvidersData.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetBalanceForAddress/useGetBalanceForAddress.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetBalanceForAddress/useGetBalanceForAddress.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetBusinessAccount/useGetBusinessAccount.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useGetBusinessAccount/useGetBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseAccounts/useGetCoinbaseAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseAccounts/useGetCoinbaseAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseBuyUrl/useGetCoinbaseBuyUrl.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetCoinbaseBuyUrl/useGetCoinbaseBuyUrl.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetConnectedAddresses/useGetConnectedAddresses.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useGetConnectedAddresses/useGetConnectedAddresses.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetGoogleDriveBackupReadiness/useGetGoogleDriveBackupReadiness.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetGoogleDriveBackupReadiness/useGetGoogleDriveBackupReadiness.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetKrakenAccounts/useGetKrakenAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetKrakenAccounts/useGetKrakenAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetKrakenWhitelistedAddresses/useGetKrakenWhitelistedAddresses.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetKrakenWhitelistedAddresses/useGetKrakenWhitelistedAddresses.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMfaDevices/useGetMfaDevices.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMfaDevices/useGetMfaDevices.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMfaMethods/useGetMfaMethods.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMfaMethods/useGetMfaMethods.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMfaRecoveryCodes/useGetMfaRecoveryCodes.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMfaRecoveryCodes/useGetMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.d.ts +5 -3
- package/dist/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts +39 -0
- package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts +3 -1
- package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.d.ts +3 -1
- package/dist/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts +48 -0
- package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useOnEvent/useOnEvent.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useOnceEvent/useOnceEvent.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts +2 -1
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts +50 -0
- package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts +4 -6
- package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useScreenTransaction/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useScreenTransaction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.d.ts +57 -0
- package/dist/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts +2 -6
- package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts +50 -0
- package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.d.ts +2 -8
- package/dist/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts +2 -3
- package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts +2 -5
- package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts +53 -0
- package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts +54 -0
- package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts +52 -0
- package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts +2 -1
- package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts +2 -4
- package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts +41 -0
- package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts.map +1 -0
- package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts +2 -1
- package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts.map +1 -1
- package/dist/hooks/wrappers/state/useUser/useUser.d.ts +3 -1
- package/dist/hooks/wrappers/state/useUser/useUser.d.ts.map +1 -1
- package/dist/index.cjs +513 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +499 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/DynamicContext/DynamicProvider.d.ts +12 -2
- package/dist/modules/DynamicContext/DynamicProvider.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{useBaseState-M_pLmHLf.cjs → useBaseState-BNd25q_I.cjs} +12 -2
- package/dist/useBaseState-BNd25q_I.cjs.map +1 -0
- package/dist/{useBaseState-CIT5lFjP.esm.js → useBaseState-J0-SE2DJ.esm.js} +12 -2
- package/dist/useBaseState-J0-SE2DJ.esm.js.map +1 -0
- package/package.json +4 -4
- package/dist/useBaseState-CIT5lFjP.esm.js.map +0 -1
- package/dist/useBaseState-M_pLmHLf.cjs.map +0 -1
package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { signInWithExternalJwt } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SignInWithExternalJwtVariables = Parameters<typeof signInWithExternalJwt>[0];
|
|
4
5
|
type SignInWithExternalJwtResult = Awaited<ReturnType<typeof signInWithExternalJwt>>;
|
|
@@ -18,9 +19,6 @@ export type UseSignInWithExternalJwtParams = {
|
|
|
18
19
|
* signInWithJwt({ externalJwt });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useSignInWithExternalJwt: ({ mutateParams, }?: UseSignInWithExternalJwtParams) =>
|
|
22
|
-
externalJwt?: string;
|
|
23
|
-
sessionPublicKey?: string;
|
|
24
|
-
} | undefined>;
|
|
22
|
+
export declare const useSignInWithExternalJwt: ({ mutateParams, }?: UseSignInWithExternalJwtParams) => UseMutationResult<SignInWithExternalJwtResult, Error, SignInWithExternalJwtVariables>;
|
|
25
23
|
export {};
|
|
26
24
|
//# sourceMappingURL=useSignInWithExternalJwt.d.ts.map
|
package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInWithExternalJwt.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSignInWithExternalJwt.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;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,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,2BAA2B,EAC3B,8BAA8B,CAC/B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,8BAA8B,CAM5B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { signInWithPasskey } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SignInWithPasskeyVariables = Parameters<typeof signInWithPasskey>[0];
|
|
4
5
|
type SignInWithPasskeyResult = Awaited<ReturnType<typeof signInWithPasskey>>;
|
|
@@ -24,6 +25,6 @@ export type UseSignInWithPasskeyParams = {
|
|
|
24
25
|
* </button>
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useSignInWithPasskey: ({ mutateParams, }?: UseSignInWithPasskeyParams) =>
|
|
28
|
+
export declare const useSignInWithPasskey: ({ mutateParams, }?: UseSignInWithPasskeyParams) => UseMutationResult<SignInWithPasskeyResult, Error, SignInWithPasskeyVariables>;
|
|
28
29
|
export {};
|
|
29
30
|
//# sourceMappingURL=useSignInWithPasskey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInWithPasskey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSignInWithPasskey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,KAAK,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAE7E,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,uBAAuB,EACvB,0BAA0B,CAC3B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB,uBAE9B,0BAA0B,KAAQ,iBAAiB,CACpD,uBAAuB,EACvB,KAAK,EACL,0BAA0B,CAKxB,CAAC"}
|
package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { signInWithSocialPopUp } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SignInWithSocialPopUpVariables = Parameters<typeof signInWithSocialPopUp>[0];
|
|
4
5
|
type SignInWithSocialPopUpResult = Awaited<ReturnType<typeof signInWithSocialPopUp>>;
|
|
@@ -19,6 +20,6 @@ export type UseSignInWithSocialPopUpParams = {
|
|
|
19
20
|
* signInWithPopUp({ provider: 'google' });
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
export declare const useSignInWithSocialPopUp: ({ mutateParams, }?: UseSignInWithSocialPopUpParams) =>
|
|
23
|
+
export declare const useSignInWithSocialPopUp: ({ mutateParams, }?: UseSignInWithSocialPopUpParams) => UseMutationResult<SignInWithSocialPopUpResult, Error, SignInWithSocialPopUpVariables>;
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=useSignInWithSocialPopUp.d.ts.map
|
package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInWithSocialPopUp.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSignInWithSocialPopUp.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;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,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,2BAA2B,EAC3B,8BAA8B,CAC/B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,8BAA8B,CAM5B,CAAC"}
|
package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { signInWithSocialRedirect } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SignInWithSocialRedirectVariables = Parameters<typeof signInWithSocialRedirect>[0];
|
|
4
5
|
type SignInWithSocialRedirectResult = Awaited<ReturnType<typeof signInWithSocialRedirect>>;
|
|
@@ -18,6 +19,6 @@ export type UseSignInWithSocialRedirectParams = {
|
|
|
18
19
|
* signInWithRedirect({ provider: 'google', redirectUrl });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useSignInWithSocialRedirect: ({ mutateParams, }?: UseSignInWithSocialRedirectParams) =>
|
|
22
|
+
export declare const useSignInWithSocialRedirect: ({ mutateParams, }?: UseSignInWithSocialRedirectParams) => UseMutationResult<SignInWithSocialRedirectResult, Error, SignInWithSocialRedirectVariables>;
|
|
22
23
|
export {};
|
|
23
24
|
//# sourceMappingURL=useSignInWithSocialRedirect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInWithSocialRedirect.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSignInWithSocialRedirect.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/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,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,8BAA8B,EAC9B,iCAAiC,CAClC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,uBAErC,iCAAiC,KAAQ,iBAAiB,CAC3D,8BAA8B,EAC9B,KAAK,EACL,iCAAiC,CAS/B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { signMessage } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SignMessageVariables = Parameters<typeof signMessage>[0];
|
|
4
5
|
type SignMessageResult = Awaited<ReturnType<typeof signMessage>>;
|
|
@@ -27,11 +28,6 @@ export type UseSignMessageParams = {
|
|
|
27
28
|
* </button>
|
|
28
29
|
* ```
|
|
29
30
|
*/
|
|
30
|
-
export declare const useSignMessage: ({ mutateParams }?: UseSignMessageParams) =>
|
|
31
|
-
signature: string;
|
|
32
|
-
}, Error, {
|
|
33
|
-
message: string;
|
|
34
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
35
|
-
}>;
|
|
31
|
+
export declare const useSignMessage: ({ mutateParams, }?: UseSignMessageParams) => UseMutationResult<SignMessageResult, Error, SignMessageVariables>;
|
|
36
32
|
export {};
|
|
37
33
|
//# sourceMappingURL=useSignMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignMessage.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignMessage/useSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSignMessage.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignMessage/useSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9D,KAAK,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,iBAAiB,EACjB,oBAAoB,CACrB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,cAAc,uBAExB,oBAAoB,KAAQ,iBAAiB,CAC9C,iBAAiB,EACjB,KAAK,EACL,oBAAoB,CAKlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignSerializedTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,gCAAgC,CAAC"}
|
package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { signSerializedTransaction } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
4
|
+
type SignSerializedTransactionVariables = Parameters<typeof signSerializedTransaction>[0];
|
|
5
|
+
type SignSerializedTransactionResult = Awaited<ReturnType<typeof signSerializedTransaction>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useSignSerializedTransaction}: an optional override of the underlying
|
|
8
|
+
* react-query mutation options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const params: UseSignSerializedTransactionParams = {
|
|
13
|
+
* mutateParams: { onSuccess: () => {} },
|
|
14
|
+
* };
|
|
15
|
+
* ```
|
|
16
|
+
* @see useSignSerializedTransaction
|
|
17
|
+
* @see signSerializedTransaction
|
|
18
|
+
*/
|
|
19
|
+
export type UseSignSerializedTransactionParams = {
|
|
20
|
+
/**
|
|
21
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
22
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
23
|
+
*/
|
|
24
|
+
mutateParams?: NonNullable<UseBaseMutationParams<SignSerializedTransactionResult, SignSerializedTransactionVariables>['mutateParams']>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Signs an already-serialized transaction directly.
|
|
28
|
+
*
|
|
29
|
+
* Wraps `signSerializedTransaction` from `@dynamic-labs-sdk/client/waas`.
|
|
30
|
+
* Call `mutate({ walletAccount, serializedTransaction, chainId })`; the
|
|
31
|
+
* resolved `data` is the raw signature.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* const { mutate: signSerializedTransaction, isPending } = useSignSerializedTransaction();
|
|
36
|
+
* <button
|
|
37
|
+
* onClick={() => signSerializedTransaction({ walletAccount, serializedTransaction })}
|
|
38
|
+
* disabled={isPending}
|
|
39
|
+
* >
|
|
40
|
+
* Sign
|
|
41
|
+
* </button>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @returns A react-query mutation whose `mutate`/`mutateAsync` calls `signSerializedTransaction` and whose `data` is its resolved value.
|
|
45
|
+
* @see signSerializedTransaction
|
|
46
|
+
* @see UseSignSerializedTransactionParams
|
|
47
|
+
*/
|
|
48
|
+
export declare const useSignSerializedTransaction: ({ mutateParams, }?: UseSignSerializedTransactionParams) => UseMutationResult<SignSerializedTransactionResult, Error, SignSerializedTransactionVariables>;
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=useSignSerializedTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignSerializedTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,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;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,+BAA+B,EAC/B,kCAAkC,CACnC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,KAAQ,iBAAiB,CAC5D,+BAA+B,EAC/B,KAAK,EACL,kCAAkC,CAShC,CAAC"}
|
package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { submitFlowTransaction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SubmitFlowTransactionVariables = Parameters<typeof submitFlowTransaction>[0];
|
|
4
5
|
type SubmitFlowTransactionResult = Awaited<ReturnType<typeof submitFlowTransaction>>;
|
|
@@ -24,6 +25,6 @@ export type UseSubmitFlowTransactionParams = {
|
|
|
24
25
|
* </button>
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
export declare const useSubmitFlowTransaction: ({ mutateParams, }?: UseSubmitFlowTransactionParams) =>
|
|
28
|
+
export declare const useSubmitFlowTransaction: ({ mutateParams, }?: UseSubmitFlowTransactionParams) => UseMutationResult<SubmitFlowTransactionResult, Error, SubmitFlowTransactionVariables>;
|
|
28
29
|
export {};
|
|
29
30
|
//# sourceMappingURL=useSubmitFlowTransaction.d.ts.map
|
package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSubmitFlowTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSubmitFlowTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;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,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,2BAA2B,EAC3B,8BAA8B,CAC/B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,8BAA8B,CAM5B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { switchActiveNetwork } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type SwitchActiveNetworkVariables = Parameters<typeof switchActiveNetwork>[0];
|
|
4
5
|
type SwitchActiveNetworkResult = Awaited<ReturnType<typeof switchActiveNetwork>>;
|
|
@@ -28,9 +29,6 @@ export type UseSwitchActiveNetworkParams = {
|
|
|
28
29
|
* </button>
|
|
29
30
|
* ```
|
|
30
31
|
*/
|
|
31
|
-
export declare const useSwitchActiveNetwork: ({ mutateParams, }?: UseSwitchActiveNetworkParams) =>
|
|
32
|
-
networkId: string;
|
|
33
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
34
|
-
}>;
|
|
32
|
+
export declare const useSwitchActiveNetwork: ({ mutateParams, }?: UseSwitchActiveNetworkParams) => UseMutationResult<SwitchActiveNetworkResult, Error, SwitchActiveNetworkVariables>;
|
|
35
33
|
export {};
|
|
36
34
|
//# sourceMappingURL=useSwitchActiveNetwork.d.ts.map
|
package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSwitchActiveNetwork.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,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,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B
|
|
1
|
+
{"version":3,"file":"useSwitchActiveNetwork.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.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,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B,KAAQ,iBAAiB,CACtD,yBAAyB,EACzB,KAAK,EACL,4BAA4B,CAS1B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { transferAmount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type TransferAmountVariables = Parameters<typeof transferAmount>[0];
|
|
4
5
|
type TransferAmountResult = Awaited<ReturnType<typeof transferAmount>>;
|
|
@@ -18,8 +19,6 @@ export type UseTransferAmountParams = {
|
|
|
18
19
|
* transfer({ walletAccount, amount, recipient, token });
|
|
19
20
|
* ```
|
|
20
21
|
*/
|
|
21
|
-
export declare const useTransferAmount: ({ mutateParams, }?: UseTransferAmountParams) =>
|
|
22
|
-
transactionHash: string;
|
|
23
|
-
}, Error, import("@dynamic-labs-sdk/client").TransferAmountParams>;
|
|
22
|
+
export declare const useTransferAmount: ({ mutateParams, }?: UseTransferAmountParams) => UseMutationResult<TransferAmountResult, Error, TransferAmountVariables>;
|
|
24
23
|
export {};
|
|
25
24
|
//# sourceMappingURL=useTransferAmount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransferAmount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useTransferAmount/useTransferAmount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useTransferAmount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useTransferAmount/useTransferAmount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AACpE,KAAK,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC;AAEvE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,oBAAoB,EACpB,uBAAuB,CACxB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,uBAE3B,uBAAuB,KAAQ,iBAAiB,CACjD,oBAAoB,EACpB,KAAK,EACL,uBAAuB,CAKrB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { transferBusinessAccountOwnership } 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 TransferBusinessAccountOwnershipVariables = Parameters<typeof transferBusinessAccountOwnership>[0];
|
|
4
5
|
type TransferBusinessAccountOwnershipResult = Awaited<ReturnType<typeof transferBusinessAccountOwnership>>;
|
|
@@ -40,13 +41,6 @@ export type UseTransferBusinessAccountOwnershipParams = {
|
|
|
40
41
|
* @see UseTransferBusinessAccountOwnershipParams
|
|
41
42
|
* @notInstrumented
|
|
42
43
|
*/
|
|
43
|
-
export declare const useTransferBusinessAccountOwnership: ({ mutateParams, }?: UseTransferBusinessAccountOwnershipParams) =>
|
|
44
|
-
members: import("@dynamic-labs-sdk/client/waas").BusinessAccountMember[];
|
|
45
|
-
signers: import("@dynamic-labs-sdk/client/waas").BusinessAccountSigner[];
|
|
46
|
-
wallets?: import("@dynamic-labs-sdk/client/waas").BusinessAccountWalletSummary[];
|
|
47
|
-
}, Error, {
|
|
48
|
-
businessAccountId: string;
|
|
49
|
-
newOwnerUserId: string;
|
|
50
|
-
}>;
|
|
44
|
+
export declare const useTransferBusinessAccountOwnership: ({ mutateParams, }?: UseTransferBusinessAccountOwnershipParams) => UseMutationResult<TransferBusinessAccountOwnershipResult, Error, TransferBusinessAccountOwnershipVariables>;
|
|
51
45
|
export {};
|
|
52
46
|
//# sourceMappingURL=useTransferBusinessAccountOwnership.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransferBusinessAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useTransferBusinessAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,yCAAyC,GAAG,UAAU,CACzD,OAAO,gCAAgC,CACxC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,sCAAsC,GAAG,OAAO,CACnD,UAAU,CAAC,OAAO,gCAAgC,CAAC,CACpD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,yCAAyC,GAAG;IACtD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,sCAAsC,EACtC,yCAAyC,CAC1C,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,mCAAmC,uBAE7C,yCAAyC,KAAQ,iBAAiB,CACnE,sCAAsC,EACtC,KAAK,EACL,yCAAyC,CASvC,CAAC"}
|
package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { transferWalletAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type TransferWalletAccountVariables = Parameters<typeof transferWalletAccount>[0];
|
|
4
5
|
type TransferWalletAccountResult = Awaited<ReturnType<typeof transferWalletAccount>>;
|
|
@@ -19,8 +20,6 @@ export type UseTransferWalletAccountParams = {
|
|
|
19
20
|
* transferWalletAccount({ walletProviderKey });
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
|
-
export declare const useTransferWalletAccount: ({ mutateParams, }?: UseTransferWalletAccountParams) =>
|
|
23
|
-
walletProviderKey: string;
|
|
24
|
-
}>;
|
|
23
|
+
export declare const useTransferWalletAccount: ({ mutateParams, }?: UseTransferWalletAccountParams) => UseMutationResult<TransferWalletAccountResult, Error, TransferWalletAccountVariables>;
|
|
25
24
|
export {};
|
|
26
25
|
//# sourceMappingURL=useTransferWalletAccount.d.ts.map
|
package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransferWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useTransferWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;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,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,2BAA2B,EAC3B,8BAA8B,CAC/B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,8BAA8B,CAM5B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { unlinkSocialAccount } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UnlinkSocialAccountVariables = Parameters<typeof unlinkSocialAccount>[0];
|
|
4
5
|
type UnlinkSocialAccountResult = Awaited<ReturnType<typeof unlinkSocialAccount>>;
|
|
@@ -28,8 +29,6 @@ export type UseUnlinkSocialAccountParams = {
|
|
|
28
29
|
* </button>
|
|
29
30
|
* ```
|
|
30
31
|
*/
|
|
31
|
-
export declare const useUnlinkSocialAccount: ({ mutateParams, }?: UseUnlinkSocialAccountParams) =>
|
|
32
|
-
verifiedCredentialId: string;
|
|
33
|
-
}>;
|
|
32
|
+
export declare const useUnlinkSocialAccount: ({ mutateParams, }?: UseUnlinkSocialAccountParams) => UseMutationResult<UnlinkSocialAccountResult, Error, UnlinkSocialAccountVariables>;
|
|
34
33
|
export {};
|
|
35
34
|
//# sourceMappingURL=useUnlinkSocialAccount.d.ts.map
|
package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUnlinkSocialAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B
|
|
1
|
+
{"version":3,"file":"useUnlinkSocialAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B,KAAQ,iBAAiB,CACtD,yBAAyB,EACzB,KAAK,EACL,4BAA4B,CAM1B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { unlockWallet } 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 UnlockWalletVariables = Parameters<typeof unlockWallet>[0];
|
|
4
5
|
type UnlockWalletResult = Awaited<ReturnType<typeof unlockWallet>>;
|
|
@@ -38,9 +39,6 @@ export type UseUnlockWalletParams = {
|
|
|
38
39
|
* @see unlockWallet
|
|
39
40
|
* @see UseUnlockWalletParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useUnlockWallet: ({ mutateParams }?: UseUnlockWalletParams) =>
|
|
42
|
-
password: string;
|
|
43
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
44
|
-
}>;
|
|
42
|
+
export declare const useUnlockWallet: ({ mutateParams, }?: UseUnlockWalletParams) => UseMutationResult<UnlockWalletResult, Error, UnlockWalletVariables>;
|
|
45
43
|
export {};
|
|
46
44
|
//# sourceMappingURL=useUnlockWallet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUnlockWallet.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUnlockWallet.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,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;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,uBAEzB,qBAAqB,KAAQ,iBAAiB,CAC/C,kBAAkB,EAClB,KAAK,EACL,qBAAqB,CAKnB,CAAC"}
|
package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateBusinessAccount } 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 UpdateBusinessAccountVariables = Parameters<typeof updateBusinessAccount>[0];
|
|
4
5
|
type UpdateBusinessAccountResult = Awaited<ReturnType<typeof updateBusinessAccount>>;
|
|
@@ -39,9 +40,6 @@ export type UseUpdateBusinessAccountParams = {
|
|
|
39
40
|
* @see UseUpdateBusinessAccountParams
|
|
40
41
|
* @notInstrumented
|
|
41
42
|
*/
|
|
42
|
-
export declare const useUpdateBusinessAccount: ({ mutateParams, }?: UseUpdateBusinessAccountParams) =>
|
|
43
|
-
businessAccountId: string;
|
|
44
|
-
name: string;
|
|
45
|
-
}>;
|
|
43
|
+
export declare const useUpdateBusinessAccount: ({ mutateParams, }?: UseUpdateBusinessAccountParams) => UseMutationResult<UpdateBusinessAccountResult, Error, UpdateBusinessAccountVariables>;
|
|
46
44
|
export {};
|
|
47
45
|
//# sourceMappingURL=useUpdateBusinessAccount.d.ts.map
|
package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateBusinessAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateBusinessAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.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;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,uBAElC,8BAA8B,KAAQ,iBAAiB,CACxD,2BAA2B,EAC3B,KAAK,EACL,8BAA8B,CAM5B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateBusinessAccountMemberRole } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpdateBusinessAccountMemberRoleVariables = Parameters<typeof updateBusinessAccountMemberRole>[0];
|
|
4
5
|
type UpdateBusinessAccountMemberRoleResult = Awaited<ReturnType<typeof updateBusinessAccountMemberRole>>;
|
|
@@ -40,10 +41,6 @@ export type UseUpdateBusinessAccountMemberRoleParams = {
|
|
|
40
41
|
* @see UseUpdateBusinessAccountMemberRoleParams
|
|
41
42
|
* @notInstrumented
|
|
42
43
|
*/
|
|
43
|
-
export declare const useUpdateBusinessAccountMemberRole: ({ mutateParams, }?: UseUpdateBusinessAccountMemberRoleParams) =>
|
|
44
|
-
businessAccountId: string;
|
|
45
|
-
role: "admin" | "viewer";
|
|
46
|
-
userId: string;
|
|
47
|
-
}>;
|
|
44
|
+
export declare const useUpdateBusinessAccountMemberRole: ({ mutateParams, }?: UseUpdateBusinessAccountMemberRoleParams) => UseMutationResult<UpdateBusinessAccountMemberRoleResult, Error, UpdateBusinessAccountMemberRoleVariables>;
|
|
48
45
|
export {};
|
|
49
46
|
//# sourceMappingURL=useUpdateBusinessAccountMemberRole.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateBusinessAccountMemberRole.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateBusinessAccountMemberRole.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,wCAAwC,GAAG,UAAU,CACxD,OAAO,+BAA+B,CACvC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,qCAAqC,GAAG,OAAO,CAClD,UAAU,CAAC,OAAO,+BAA+B,CAAC,CACnD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,qCAAqC,EACrC,wCAAwC,CACzC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kCAAkC,uBAE5C,wCAAwC,KAAQ,iBAAiB,CAClE,qCAAqC,EACrC,KAAK,EACL,wCAAwC,CAStC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateUser } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpdateUserVariables = Parameters<typeof updateUser>[0];
|
|
4
5
|
type UpdateUserResult = Awaited<ReturnType<typeof updateUser>>;
|
|
@@ -29,8 +30,6 @@ export type UseUpdateUserParams = {
|
|
|
29
30
|
* </button>
|
|
30
31
|
* ```
|
|
31
32
|
*/
|
|
32
|
-
export declare const useUpdateUser: ({ mutateParams }?: UseUpdateUserParams) =>
|
|
33
|
-
userFields: import("@dynamic-labs-sdk/client").UpdateUserFields;
|
|
34
|
-
}>;
|
|
33
|
+
export declare const useUpdateUser: ({ mutateParams, }?: UseUpdateUserParams) => UseMutationResult<UpdateUserResult, Error, UpdateUserVariables>;
|
|
35
34
|
export {};
|
|
36
35
|
//# sourceMappingURL=useUpdateUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateUser/useUpdateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateUser.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateUser/useUpdateUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5D,KAAK,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,gBAAgB,EAChB,mBAAmB,CACpB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,aAAa,uBAEvB,mBAAmB,KAAQ,iBAAiB,CAC7C,gBAAgB,EAChB,KAAK,EACL,mBAAmB,CAKjB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useUpdateWaasPassword, type UseUpdateWaasPasswordParams } from './useUpdateWaasPassword';
|
|
1
|
+
export { useUpdateWaasPassword, type UseUpdateWaasPasswordParams, } from './useUpdateWaasPassword';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,GACjC,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { updateWaasPassword } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
2
3
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
4
|
type UpdateWaasPasswordVariables = Parameters<typeof updateWaasPassword>[0];
|
|
4
5
|
type UpdateWaasPasswordResult = Awaited<ReturnType<typeof updateWaasPassword>>;
|
|
@@ -38,10 +39,6 @@ export type UseUpdateWaasPasswordParams = {
|
|
|
38
39
|
* @see updateWaasPassword
|
|
39
40
|
* @see UseUpdateWaasPasswordParams
|
|
40
41
|
*/
|
|
41
|
-
export declare const useUpdateWaasPassword: ({ mutateParams }?: UseUpdateWaasPasswordParams) =>
|
|
42
|
-
currentPassword: string;
|
|
43
|
-
newPassword: string;
|
|
44
|
-
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
45
|
-
}>;
|
|
42
|
+
export declare const useUpdateWaasPassword: ({ mutateParams, }?: UseUpdateWaasPasswordParams) => UseMutationResult<UpdateWaasPasswordResult, Error, UpdateWaasPasswordVariables>;
|
|
46
43
|
export {};
|
|
47
44
|
//# sourceMappingURL=useUpdateWaasPassword.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateWaasPassword.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"useUpdateWaasPassword.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,2BAA2B,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5E,KAAK,wBAAwB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAE/E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,wBAAwB,EACxB,2BAA2B,CAC5B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB,uBAE/B,2BAA2B,KAAQ,iBAAiB,CACrD,wBAAwB,EACxB,KAAK,EACL,2BAA2B,CAMzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,YAAY,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { upsertAccountPolicyRule } from '@dynamic-labs-sdk/client/waas';
|
|
2
|
+
import type { UseMutationResult } from '@tanstack/react-query';
|
|
3
|
+
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
4
|
+
type UpsertAccountPolicyRuleVariables = Parameters<typeof upsertAccountPolicyRule>[0];
|
|
5
|
+
type UpsertAccountPolicyRuleResult = Awaited<ReturnType<typeof upsertAccountPolicyRule>>;
|
|
6
|
+
/**
|
|
7
|
+
* Parameters for {@link useUpsertAccountPolicyRule}: an optional override of
|
|
8
|
+
* the underlying react-query mutation options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const params: UseUpsertAccountPolicyRuleParams = {
|
|
13
|
+
* mutateParams: { onSuccess: () => console.log('saved') },
|
|
14
|
+
* };
|
|
15
|
+
* ```
|
|
16
|
+
* @see useUpsertAccountPolicyRule
|
|
17
|
+
* @see upsertAccountPolicyRule
|
|
18
|
+
*/
|
|
19
|
+
export type UseUpsertAccountPolicyRuleParams = {
|
|
20
|
+
/**
|
|
21
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
22
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
23
|
+
*/
|
|
24
|
+
mutateParams?: NonNullable<UseBaseMutationParams<UpsertAccountPolicyRuleResult, UpsertAccountPolicyRuleVariables>['mutateParams']>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates or updates a single rule on a business account's account-Layer —
|
|
28
|
+
* the Rules that apply to every wallet in the business account. Build
|
|
29
|
+
* `rule` with `buildAllowPolicyRule` / `buildDenyPolicyRule` — the enclave
|
|
30
|
+
* always mints the rule id.
|
|
31
|
+
*
|
|
32
|
+
* Wraps `upsertAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
|
|
33
|
+
* success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
|
|
34
|
+
* refetch the updated rules.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* const { mutate: upsertRule, isPending } = useUpsertAccountPolicyRule();
|
|
39
|
+
* <button
|
|
40
|
+
* onClick={() => upsertRule({ businessAccountId, rule })}
|
|
41
|
+
* disabled={isPending}
|
|
42
|
+
* >
|
|
43
|
+
* Save rule
|
|
44
|
+
* </button>
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the account-Layer after the rule is applied.
|
|
48
|
+
* @see upsertAccountPolicyRule
|
|
49
|
+
* @see UseUpsertAccountPolicyRuleParams
|
|
50
|
+
*/
|
|
51
|
+
export declare const useUpsertAccountPolicyRule: ({ mutateParams, }?: UseUpsertAccountPolicyRuleParams) => UseMutationResult<UpsertAccountPolicyRuleResult, Error, UpsertAccountPolicyRuleVariables>;
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=useUpsertAccountPolicyRule.d.ts.map
|
package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpsertAccountPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,gCAAgC,GAAG,UAAU,CAChD,OAAO,uBAAuB,CAC/B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,6BAA6B,GAAG,OAAO,CAC1C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,6BAA6B,EAC7B,gCAAgC,CACjC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,0BAA0B,uBAEpC,gCAAgC,KAAQ,iBAAiB,CAC1D,6BAA6B,EAC7B,KAAK,EACL,gCAAgC,CAU9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
|