@dynamic-labs-sdk/react-hooks 1.12.0 → 1.12.1
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/exports/index.d.ts +15 -15
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useActiveNetworkId/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/{useConsumeMfaToken → useActiveNetworkId}/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useActiveNetworkId/useActiveNetworkId.d.ts +21 -0
- package/dist/hooks/wrappers/functions/useActiveNetworkId/useActiveNetworkId.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/{useCoinbaseOnrampOrderEventListener/useCoinbaseOnrampOrderEventListener.d.ts → useAddCoinbaseOnrampOrderEventListener/useAddCoinbaseOnrampOrderEventListener.d.ts} +4 -4
- package/dist/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/useAddCoinbaseOnrampOrderEventListener.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts +19 -0
- package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/{useAuthenticatePasskeyMfa → useAuthenticatePasskeyMFA}/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/{useAuthenticatePasskeyMfa/useAuthenticatePasskeyMfa.d.ts → useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts} +9 -9
- package/dist/hooks/wrappers/functions/{useAuthenticatePasskeyMfa/useAuthenticatePasskeyMfa.d.ts.map → useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts.map} +1 -1
- package/dist/hooks/wrappers/functions/useConnectedAddresses/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useConnectedAddresses/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useConnectedAddresses/useConnectedAddresses.d.ts +21 -0
- package/dist/hooks/wrappers/functions/useConnectedAddresses/useConnectedAddresses.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/{useKrakenExchangeTransfer/useKrakenExchangeTransfer.d.ts → useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts} +4 -4
- package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useFlow/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useFlow/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useFlow/useFlow.d.ts +30 -0
- package/dist/hooks/wrappers/functions/useFlow/useFlow.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useFlowQuote/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/{useVerifyOtp → useFlowQuote}/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/{useGetFlowQuote/useGetFlowQuote.d.ts → useFlowQuote/useFlowQuote.d.ts} +4 -4
- package/dist/hooks/wrappers/functions/useFlowQuote/useFlowQuote.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts +19 -0
- package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useOnEvent/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useOnEvent/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/{useEvent/useEvent.d.ts → useOnEvent/useOnEvent.d.ts} +2 -2
- package/dist/hooks/wrappers/functions/useOnEvent/useOnEvent.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/index.d.ts +2 -0
- package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/{useWalletProviderEvent/useWalletProviderEvent.d.ts → useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts} +3 -3
- package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useOnceEvent/useOnceEvent.d.ts +1 -1
- package/dist/hooks/wrappers/functions/useSendEmailOTP/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/{useNetworksData → useSendEmailOTP}/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/{useSendEmailOtp/useSendEmailOtp.d.ts → useSendEmailOTP/useSendEmailOTP.d.ts} +10 -10
- package/dist/hooks/wrappers/functions/{useSendEmailOtp/useSendEmailOtp.d.ts.map → useSendEmailOTP/useSendEmailOTP.d.ts.map} +1 -1
- package/dist/hooks/wrappers/functions/useSendSmsOTP/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/{useSendSmsOtp → useSendSmsOTP}/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/{useSendSmsOtp/useSendSmsOtp.d.ts → useSendSmsOTP/useSendSmsOTP.d.ts} +10 -10
- package/dist/hooks/wrappers/functions/{useSendSmsOtp/useSendSmsOtp.d.ts.map → useSendSmsOTP/useSendSmsOTP.d.ts.map} +1 -1
- package/dist/hooks/wrappers/functions/useVerifyOTP/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useVerifyOTP/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/{useVerifyOtp/useVerifyOtp.d.ts → useVerifyOTP/useVerifyOTP.d.ts} +10 -10
- package/dist/hooks/wrappers/functions/{useVerifyOtp/useVerifyOtp.d.ts.map → useVerifyOTP/useVerifyOTP.d.ts.map} +1 -1
- package/dist/hooks/wrappers/functions/useWalletConnectCatalogWalletByWalletProviderKey/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useWalletConnectCatalogWalletByWalletProviderKey/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useWalletConnectCatalogWalletByWalletProviderKey/useWalletConnectCatalogWalletByWalletProviderKey.d.ts +19 -0
- package/dist/hooks/wrappers/functions/useWalletConnectCatalogWalletByWalletProviderKey/useWalletConnectCatalogWalletByWalletProviderKey.d.ts.map +1 -0
- package/dist/index.cjs +119 -152
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +106 -139
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMfa/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useCoinbaseOnrampOrderEventListener/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useCoinbaseOnrampOrderEventListener/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useCoinbaseOnrampOrderEventListener/useCoinbaseOnrampOrderEventListener.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useConsumeMfaToken/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useConsumeMfaToken/useConsumeMfaToken.d.ts +0 -27
- package/dist/hooks/wrappers/functions/useConsumeMfaToken/useConsumeMfaToken.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useEvent/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useEvent/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useEvent/useEvent.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useGetFlow/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useGetFlow/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts +0 -27
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useGetFlowQuote/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useGetFlowQuote/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useIsCaptchaRequired/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useIsCaptchaRequired/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useIsCaptchaRequired/useIsCaptchaRequired.d.ts +0 -13
- package/dist/hooks/wrappers/functions/useIsCaptchaRequired/useIsCaptchaRequired.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts +0 -13
- package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts +0 -14
- package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useKrakenExchangeTransfer/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useKrakenExchangeTransfer/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useKrakenExchangeTransfer/useKrakenExchangeTransfer.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useNetworksData/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useNetworksData/useNetworksData.d.ts +0 -7
- package/dist/hooks/wrappers/functions/useNetworksData/useNetworksData.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useSendEmailOtp/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useSendEmailOtp/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useSendSmsOtp/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useVerifyOtp/index.d.ts +0 -3
- package/dist/hooks/wrappers/functions/useWalletProviderEvent/index.d.ts +0 -2
- package/dist/hooks/wrappers/functions/useWalletProviderEvent/index.d.ts.map +0 -1
- package/dist/hooks/wrappers/functions/useWalletProviderEvent/useWalletProviderEvent.d.ts.map +0 -1
package/dist/exports/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { useAcknowledgeRecoveryCodes, type UseAcknowledgeRecoveryCodesParams, } from '../hooks/wrappers/functions/useAcknowledgeRecoveryCodes';
|
|
2
2
|
export { useActiveNetworkData, type UseActiveNetworkDataParams, } from '../hooks/wrappers/functions/useActiveNetworkData';
|
|
3
|
+
export { useActiveNetworkId, type UseActiveNetworkIdParams, } from '../hooks/wrappers/functions/useActiveNetworkId';
|
|
3
4
|
export { useAddNetwork, type UseAddNetworkParams, } from '../hooks/wrappers/functions/useAddNetwork';
|
|
5
|
+
export { useAssertWalletAccountSigningAvailability, type UseAssertWalletAccountSigningAvailabilityParams, } from '../hooks/wrappers/functions/useAssertWalletAccountSigningAvailability';
|
|
4
6
|
export { useAttachFlowSource, type UseAttachFlowSourceParams, } from '../hooks/wrappers/functions/useAttachFlowSource';
|
|
5
7
|
export { useAuthenticateMfaRecoveryCode, type UseAuthenticateMfaRecoveryCodeParams, } from '../hooks/wrappers/functions/useAuthenticateMfaRecoveryCode';
|
|
6
|
-
export {
|
|
8
|
+
export { useAuthenticatePasskeyMFA, type UseAuthenticatePasskeyMFAParams, } from '../hooks/wrappers/functions/useAuthenticatePasskeyMFA';
|
|
7
9
|
export { useAuthenticateTotpMfaDevice, type UseAuthenticateTotpMfaDeviceParams, } from '../hooks/wrappers/functions/useAuthenticateTotpMfaDevice';
|
|
8
10
|
export { useAvailableWalletProvidersData } from '../hooks/wrappers/functions/useAvailableWalletProvidersData';
|
|
9
11
|
export { useBalanceForAddress, type UseBalanceForAddressParams, } from '../hooks/wrappers/functions/useBalanceForAddress';
|
|
@@ -11,30 +13,28 @@ export { useBroadcastFlow, type UseBroadcastFlowParams, } from '../hooks/wrapper
|
|
|
11
13
|
export { useCancelFlow, type UseCancelFlowParams, } from '../hooks/wrappers/functions/useCancelFlow';
|
|
12
14
|
export { useCheckStepUpAuth, type UseCheckStepUpAuthParams, } from '../hooks/wrappers/functions/useCheckStepUpAuth';
|
|
13
15
|
export { useCoinbaseBuyUrl, type UseCoinbaseBuyUrlParams, } from '../hooks/wrappers/functions/useCoinbaseBuyUrl';
|
|
14
|
-
export {
|
|
16
|
+
export { useAddCoinbaseOnrampOrderEventListener, type UseAddCoinbaseOnrampOrderEventListenerParams, } from '../hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener';
|
|
15
17
|
export { useCompleteDeviceRegistration, type UseCompleteDeviceRegistrationParams, } from '../hooks/wrappers/functions/useCompleteDeviceRegistration';
|
|
16
18
|
export { useCompleteSocialRedirect, type UseCompleteSocialRedirectParams, } from '../hooks/wrappers/functions/useCompleteSocialRedirect';
|
|
17
19
|
export { useConfirmTransaction, type UseConfirmTransactionParams, } from '../hooks/wrappers/functions/useConfirmTransaction';
|
|
18
20
|
export { useConnectAndVerifyWithWalletProvider, type UseConnectAndVerifyWithWalletProviderParams, } from '../hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider';
|
|
21
|
+
export { useConnectedAddresses, type UseConnectedAddressesParams, } from '../hooks/wrappers/functions/useConnectedAddresses';
|
|
19
22
|
export { useConnectWithWalletProvider, type UseConnectWithWalletProviderParams, } from '../hooks/wrappers/functions/useConnectWithWalletProvider';
|
|
20
|
-
export { useConsumeMfaToken, type UseConsumeMfaTokenParams, } from '../hooks/wrappers/functions/useConsumeMfaToken';
|
|
21
23
|
export { useCreateCoinbaseOnrampOrder, type UseCreateCoinbaseOnrampOrderParams, } from '../hooks/wrappers/functions/useCreateCoinbaseOnrampOrder';
|
|
22
24
|
export { useCreateCryptoDotComPayment, type UseCreateCryptoDotComPaymentParams, } from '../hooks/wrappers/functions/useCreateCryptoDotComPayment';
|
|
23
25
|
export { useCreateNewMfaRecoveryCodes, type UseCreateNewMfaRecoveryCodesParams, } from '../hooks/wrappers/functions/useCreateNewMfaRecoveryCodes';
|
|
24
26
|
export { useDeleteMfaDevice, type UseDeleteMfaDeviceParams, } from '../hooks/wrappers/functions/useDeleteMfaDevice';
|
|
25
27
|
export { useDeletePasskey, type UseDeletePasskeyParams, } from '../hooks/wrappers/functions/useDeletePasskey';
|
|
26
28
|
export { useDeleteUser, type UseDeleteUserParams, } from '../hooks/wrappers/functions/useDeleteUser';
|
|
27
|
-
export {
|
|
29
|
+
export { useOnEvent } from '../hooks/wrappers/functions/useOnEvent';
|
|
28
30
|
export { useExecuteSwapTransaction, type UseExecuteSwapTransactionParams, } from '../hooks/wrappers/functions/useExecuteSwapTransaction';
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
+
export { useFlow, type UseFlowParams, } from '../hooks/wrappers/functions/useFlow';
|
|
32
|
+
export { useFlowQuote, type UseFlowQuoteParams, } from '../hooks/wrappers/functions/useFlowQuote';
|
|
31
33
|
export { usePrepareFlowSigning, type UsePrepareFlowSigningParams, } from '../hooks/wrappers/functions/usePrepareFlowSigning';
|
|
32
34
|
export { useGoogleDriveBackupReadiness, type UseGoogleDriveBackupReadinessParams, } from '../hooks/wrappers/functions/useGoogleDriveBackupReadiness';
|
|
33
|
-
export {
|
|
34
|
-
export { useIsUserMissingMfaAuth } from '../hooks/wrappers/functions/useIsUserMissingMfaAuth';
|
|
35
|
-
export { useIsUserOnboardingComplete } from '../hooks/wrappers/functions/useIsUserOnboardingComplete';
|
|
35
|
+
export { useIsMfaRequiredForAction, type UseIsMfaRequiredForActionParams, } from '../hooks/wrappers/functions/useIsMfaRequiredForAction';
|
|
36
36
|
export { useKrakenAccounts, type UseKrakenAccountsParams, } from '../hooks/wrappers/functions/useKrakenAccounts';
|
|
37
|
-
export {
|
|
37
|
+
export { useCreateKrakenExchangeTransfer, type UseCreateKrakenExchangeTransferParams, } from '../hooks/wrappers/functions/useCreateKrakenExchangeTransfer';
|
|
38
38
|
export { useKrakenWhitelistedAddresses, type UseKrakenWhitelistedAddressesParams, } from '../hooks/wrappers/functions/useKrakenWhitelistedAddresses';
|
|
39
39
|
export { useLogout } from '../hooks/wrappers/functions/useLogout';
|
|
40
40
|
export { useMfaDevices, type UseMfaDevicesParams, } from '../hooks/wrappers/functions/useMfaDevices';
|
|
@@ -44,7 +44,6 @@ export { useMoonPayCurrencies, type UseMoonPayCurrenciesParams, } from '../hooks
|
|
|
44
44
|
export { useMoonPayUrl, type UseMoonPayUrlParams, } from '../hooks/wrappers/functions/useMoonPayUrl';
|
|
45
45
|
export { useMultichainTokenBalances, type UseMultichainTokenBalancesParams, } from '../hooks/wrappers/functions/useMultichainTokenBalances';
|
|
46
46
|
export { useNativeBalance } from '../hooks/wrappers/functions/useNativeBalance';
|
|
47
|
-
export { useNetworksData } from '../hooks/wrappers/functions/useNetworksData';
|
|
48
47
|
export { useOnceEvent } from '../hooks/wrappers/functions/useOnceEvent';
|
|
49
48
|
export { usePasskeys, type UsePasskeysParams, } from '../hooks/wrappers/functions/usePasskeys';
|
|
50
49
|
export { useProveWalletAccountOwnership, type UseProveWalletAccountOwnershipParams, } from '../hooks/wrappers/functions/useProveWalletAccountOwnership';
|
|
@@ -56,8 +55,8 @@ export { useRemoveWalletAccount, type UseRemoveWalletAccountParams, } from '../h
|
|
|
56
55
|
export { useRequestExternalAuthElevatedToken, type UseRequestExternalAuthElevatedTokenParams, } from '../hooks/wrappers/functions/useRequestExternalAuthElevatedToken';
|
|
57
56
|
export { useRevokeAllRegisteredDevices, type UseRevokeAllRegisteredDevicesParams, } from '../hooks/wrappers/functions/useRevokeAllRegisteredDevices';
|
|
58
57
|
export { useRevokeRegisteredDevice, type UseRevokeRegisteredDeviceParams, } from '../hooks/wrappers/functions/useRevokeRegisteredDevice';
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
58
|
+
export { useSendEmailOTP, type UseSendEmailOTPParams, } from '../hooks/wrappers/functions/useSendEmailOTP';
|
|
59
|
+
export { useSendSmsOTP, type UseSendSmsOTPParams, } from '../hooks/wrappers/functions/useSendSmsOTP';
|
|
61
60
|
export { useSetDefaultMfaDevice, type UseSetDefaultMfaDeviceParams, } from '../hooks/wrappers/functions/useSetDefaultMfaDevice';
|
|
62
61
|
export { useSignInWithExternalJwt, type UseSignInWithExternalJwtParams, } from '../hooks/wrappers/functions/useSignInWithExternalJwt';
|
|
63
62
|
export { useSignInWithPasskey, type UseSignInWithPasskeyParams, } from '../hooks/wrappers/functions/useSignInWithPasskey';
|
|
@@ -75,12 +74,13 @@ export { useTransferWalletAccount, type UseTransferWalletAccountParams, } from '
|
|
|
75
74
|
export { useUnlinkSocialAccount, type UseUnlinkSocialAccountParams, } from '../hooks/wrappers/functions/useUnlinkSocialAccount';
|
|
76
75
|
export { useUpdateUser, type UseUpdateUserParams, } from '../hooks/wrappers/functions/useUpdateUser';
|
|
77
76
|
export { useUserSocialAccounts } from '../hooks/wrappers/functions/useUserSocialAccounts';
|
|
78
|
-
export {
|
|
77
|
+
export { useVerifyOTP, type UseVerifyOTPParams, } from '../hooks/wrappers/functions/useVerifyOTP';
|
|
79
78
|
export { useVerifyWalletAccount, type UseVerifyWalletAccountParams, } from '../hooks/wrappers/functions/useVerifyWalletAccount';
|
|
80
79
|
export { useWalletAccounts } from '../hooks/wrappers/functions/useWalletAccounts';
|
|
81
80
|
export { useWalletConnectCatalog, type UseWalletConnectCatalogParams, } from '../hooks/wrappers/functions/useWalletConnectCatalog';
|
|
81
|
+
export { useWalletConnectCatalogWalletByWalletProviderKey, type UseWalletConnectCatalogWalletByWalletProviderKeyParams, } from '../hooks/wrappers/functions/useWalletConnectCatalogWalletByWalletProviderKey';
|
|
82
82
|
export { useWalletOptionsCatalogue, type UseWalletOptionsCatalogueParams, } from '../hooks/wrappers/functions/useWalletOptionsCatalogue';
|
|
83
|
-
export {
|
|
83
|
+
export { useOnWalletProviderEvent } from '../hooks/wrappers/functions/useOnWalletProviderEvent';
|
|
84
84
|
export { useInitStatus, type UseInitStatusResult, } from '../hooks/wrappers/state/useInitStatus';
|
|
85
85
|
export { useSessionExpiresAt } from '../hooks/wrappers/state/useSessionExpiresAt';
|
|
86
86
|
export { useUser } from '../hooks/wrappers/state/useUser';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,8BAA8B,EAC9B,KAAK,oCAAoC,GAC1C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,+BAA+B,EAAE,MAAM,6DAA6D,CAAC;AAC9G,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,gBAAgB,EAChB,KAAK,sBAAsB,GAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,KAAK,uBAAuB,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,yCAAyC,EACzC,KAAK,+CAA+C,GACrD,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,GAC/B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,8BAA8B,EAC9B,KAAK,oCAAoC,GAC1C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,+BAA+B,EAAE,MAAM,6DAA6D,CAAC;AAC9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,CAAC;AAC7D,OAAO,EACL,gDAAgD,EAChD,KAAK,sDAAsD,GAC5D,MAAM,8EAA8E,CAAC;AACtF,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/hooks/wrappers/functions/{useConsumeMfaToken → useActiveNetworkId}/index.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useActiveNetworkId/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getActiveNetworkId } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type ActiveNetworkIdResult = Awaited<ReturnType<typeof getActiveNetworkId>>;
|
|
4
|
+
type ActiveNetworkIdArgs = Parameters<typeof getActiveNetworkId>[0];
|
|
5
|
+
export type UseActiveNetworkIdParams = ActiveNetworkIdArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<ActiveNetworkIdResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Returns the active network id for the given wallet account.
|
|
14
|
+
*
|
|
15
|
+
* Wraps `getActiveNetworkId` from `@dynamic-labs-sdk/client`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const useActiveNetworkId: ({ queryParams, ...args }: UseActiveNetworkIdParams) => import("@tanstack/react-query").UseQueryResult<{
|
|
18
|
+
networkId: string;
|
|
19
|
+
}, Error>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=useActiveNetworkId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActiveNetworkId.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useActiveNetworkId/useActiveNetworkId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAC5E,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpE,MAAM,MAAM,wBAAwB,GAAG,mBAAmB,GAAG;IAC3D;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,aAAa,CAAC,CAAC;CACxE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,6BAA8B,wBAAwB;;SAKjF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAClG,YAAY,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { addCoinbaseOnrampOrderEventListener } from '@dynamic-labs-sdk/client';
|
|
2
2
|
type AddCoinbaseOnrampOrderEventListenerParams = Parameters<typeof addCoinbaseOnrampOrderEventListener>[0];
|
|
3
3
|
type CoinbaseOnrampOrderListener = AddCoinbaseOnrampOrderEventListenerParams['listener'];
|
|
4
|
-
export type
|
|
4
|
+
export type UseAddCoinbaseOnrampOrderEventListenerParams = {
|
|
5
5
|
/**
|
|
6
6
|
* Called for each Coinbase onramp order event received via `postMessage`.
|
|
7
7
|
*/
|
|
@@ -16,11 +16,11 @@ export type UseCoinbaseOnrampOrderEventListenerParams = {
|
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```tsx
|
|
19
|
-
*
|
|
19
|
+
* useAddCoinbaseOnrampOrderEventListener({
|
|
20
20
|
* listener: ({ eventName, data }) => console.log(eventName, data),
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare const
|
|
24
|
+
export declare const useAddCoinbaseOnrampOrderEventListener: ({ listener, }: UseAddCoinbaseOnrampOrderEventListenerParams) => void;
|
|
25
25
|
export {};
|
|
26
|
-
//# sourceMappingURL=
|
|
26
|
+
//# sourceMappingURL=useAddCoinbaseOnrampOrderEventListener.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddCoinbaseOnrampOrderEventListener.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/useAddCoinbaseOnrampOrderEventListener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AAK/E,KAAK,yCAAyC,GAAG,UAAU,CACzD,OAAO,mCAAmC,CAC3C,CAAC,CAAC,CAAC,CAAC;AAEL,KAAK,2BAA2B,GAC9B,yCAAyC,CAAC,UAAU,CAAC,CAAC;AAExD,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sCAAsC,kBAEhD,4CAA4C,SAkB9C,CAAC"}
|
package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AACxG,YAAY,EAAE,+CAA+C,EAAE,MAAM,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { assertWalletAccountSigningAvailability } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type AssertWalletAccountSigningAvailabilityResult = Awaited<ReturnType<typeof assertWalletAccountSigningAvailability>>;
|
|
4
|
+
type AssertWalletAccountSigningAvailabilityArgs = Parameters<typeof assertWalletAccountSigningAvailability>[0];
|
|
5
|
+
export type UseAssertWalletAccountSigningAvailabilityParams = AssertWalletAccountSigningAvailabilityArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<AssertWalletAccountSigningAvailabilityResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Resolves when the given wallet account can sign, and errors otherwise.
|
|
14
|
+
*
|
|
15
|
+
* Wraps `assertWalletAccountSigningAvailability` from `@dynamic-labs-sdk/client`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const useAssertWalletAccountSigningAvailability: ({ queryParams, ...args }: UseAssertWalletAccountSigningAvailabilityParams) => import("@tanstack/react-query").UseQueryResult<void, Error>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useAssertWalletAccountSigningAvailability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAssertWalletAccountSigningAvailability.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,0BAA0B,CAAC;AAElF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,4CAA4C,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,sCAAsC,CAAC,CAAC,CAAC;AACvH,KAAK,0CAA0C,GAAG,UAAU,CAAC,OAAO,sCAAsC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/G,MAAM,MAAM,+CAA+C,GAAG,0CAA0C,GAAG;IACzG;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,4CAA4C,CAAC,CAAC,aAAa,CAAC,CAAC;CAC/F,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yCAAyC,6BAA8B,+CAA+C,gEAK/H,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useAuthenticatePasskeyMFA/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { authenticatePasskeyMFA } from '@dynamic-labs-sdk/client';
|
|
2
2
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
|
-
type
|
|
4
|
-
type
|
|
5
|
-
export type
|
|
3
|
+
type AuthenticatePasskeyMFAVariables = Parameters<typeof authenticatePasskeyMFA>[0];
|
|
4
|
+
type AuthenticatePasskeyMFAResult = Awaited<ReturnType<typeof authenticatePasskeyMFA>>;
|
|
5
|
+
export type UseAuthenticatePasskeyMFAParams = {
|
|
6
6
|
/**
|
|
7
7
|
* Optional override of any react-query `UseMutationOptions`
|
|
8
8
|
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
9
|
*/
|
|
10
|
-
mutateParams?: UseBaseMutationParams<
|
|
10
|
+
mutateParams?: UseBaseMutationParams<AuthenticatePasskeyMFAResult, AuthenticatePasskeyMFAVariables>['mutateParams'];
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
13
|
* Completes an MFA challenge using the current user's passkey.
|
|
@@ -18,17 +18,17 @@ export type UseAuthenticatePasskeyMfaParams = {
|
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ```tsx
|
|
21
|
-
* const { mutate:
|
|
22
|
-
*
|
|
23
|
-
* <button onClick={() =>
|
|
21
|
+
* const { mutate: authenticatePasskeyMFA, isPending } =
|
|
22
|
+
* useAuthenticatePasskeyMFA();
|
|
23
|
+
* <button onClick={() => authenticatePasskeyMFA()} disabled={isPending}>
|
|
24
24
|
* Verify with passkey
|
|
25
25
|
* </button>
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const useAuthenticatePasskeyMFA: ({ mutateParams, }?: UseAuthenticatePasskeyMFAParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").VerifyResponse, Error, {
|
|
29
29
|
createMfaToken?: import("@dynamic-labs/sdk-api-core").CreateMfaToken;
|
|
30
30
|
relatedOriginRpId?: string;
|
|
31
31
|
requestedScopes?: import("@dynamic-labs/sdk-api-core").TokenScope[];
|
|
32
32
|
} | undefined>;
|
|
33
33
|
export {};
|
|
34
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=useAuthenticatePasskeyMFA.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"useAuthenticatePasskeyMFA.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,+BAA+B,GAAG,UAAU,CAC/C,OAAO,sBAAsB,CAC9B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B;;;;cAQ9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConnectedAddresses/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getConnectedAddresses } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type ConnectedAddressesResult = Awaited<ReturnType<typeof getConnectedAddresses>>;
|
|
4
|
+
type ConnectedAddressesArgs = Parameters<typeof getConnectedAddresses>[0];
|
|
5
|
+
export type UseConnectedAddressesParams = ConnectedAddressesArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<ConnectedAddressesResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Returns the connected addresses for the given wallet provider.
|
|
14
|
+
*
|
|
15
|
+
* Wraps `getConnectedAddresses` from `@dynamic-labs-sdk/client`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const useConnectedAddresses: ({ queryParams, ...args }: UseConnectedAddressesParams) => import("@tanstack/react-query").UseQueryResult<{
|
|
18
|
+
addresses: string[];
|
|
19
|
+
}, Error>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=useConnectedAddresses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConnectedAddresses.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useConnectedAddresses/useConnectedAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,wBAAwB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC;AAClF,KAAK,sBAAsB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE1E,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,wBAAwB,CAAC,CAAC,aAAa,CAAC,CAAC;CAC3E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,6BAA8B,2BAA2B;;SAKvF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,KAAK,qCAAqC,GAC3C,MAAM,mCAAmC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { createKrakenExchangeTransfer } from '@dynamic-labs-sdk/client';
|
|
|
2
2
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
3
|
type CreateKrakenExchangeTransferVariables = Parameters<typeof createKrakenExchangeTransfer>[0];
|
|
4
4
|
type CreateKrakenExchangeTransferResult = Awaited<ReturnType<typeof createKrakenExchangeTransfer>>;
|
|
5
|
-
export type
|
|
5
|
+
export type UseCreateKrakenExchangeTransferParams = {
|
|
6
6
|
/**
|
|
7
7
|
* Optional override of any react-query `UseMutationOptions`
|
|
8
8
|
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
@@ -14,10 +14,10 @@ export type UseKrakenExchangeTransferParams = {
|
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```tsx
|
|
17
|
-
* const { mutate: transfer, data } =
|
|
17
|
+
* const { mutate: transfer, data } = useCreateKrakenExchangeTransfer();
|
|
18
18
|
* transfer({ accountId, asset, amount, address });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const useCreateKrakenExchangeTransfer: ({ mutateParams, }?: UseCreateKrakenExchangeTransferParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").ExchangeTransferResponse, Error, import("@dynamic-labs-sdk/client").KrakenTransferRequest>;
|
|
22
22
|
export {};
|
|
23
|
-
//# sourceMappingURL=
|
|
23
|
+
//# sourceMappingURL=useCreateKrakenExchangeTransfer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateKrakenExchangeTransfer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,qCAAqC,GAAG,UAAU,CACrD,OAAO,4BAA4B,CACpC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,kCAAkC,GAAG,OAAO,CAC/C,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAChD,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,kCAAkC,EAClC,qCAAqC,CACtC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,uBAEzC,qCAAqC,sLAQpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useFlow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { getFlow } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type GetFlowResult = Awaited<ReturnType<typeof getFlow>>;
|
|
4
|
+
export type UseFlowParams = {
|
|
5
|
+
/**
|
|
6
|
+
* **Pseudo-required.** The ID of the flow to fetch.
|
|
7
|
+
* Accepting `undefined` lets callers wire this up before the flow id
|
|
8
|
+
* has loaded — the hook stays disabled until a real value is supplied.
|
|
9
|
+
*/
|
|
10
|
+
flowId: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
13
|
+
* staleTime, refetchInterval, etc.).
|
|
14
|
+
*/
|
|
15
|
+
queryParams?: UseBaseQueryParams<GetFlowResult>['queryParams'];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Returns the flow with the given ID.
|
|
19
|
+
*
|
|
20
|
+
* Wraps `getFlow` from `@dynamic-labs-sdk/client`. The hook stays disabled
|
|
21
|
+
* until `flowId` is defined.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* const { data: flow, isLoading, refetch } = useFlow({ flowId });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const useFlow: ({ flowId, queryParams }: UseFlowParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs/sdk-api-core").Flow, Error>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=useFlow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFlow.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useFlow/useFlow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,aAAa,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC,aAAa,CAAC,CAAC;CAChE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,OAAO,4BAA6B,aAAa,qGAM1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useFlowQuote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { getFlowQuote } from '@dynamic-labs-sdk/client';
|
|
|
2
2
|
import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
|
|
3
3
|
type GetFlowQuoteVariables = Parameters<typeof getFlowQuote>[0];
|
|
4
4
|
type GetFlowQuoteResult = Awaited<ReturnType<typeof getFlowQuote>>;
|
|
5
|
-
export type
|
|
5
|
+
export type UseFlowQuoteParams = {
|
|
6
6
|
/**
|
|
7
7
|
* Optional override of any react-query `UseMutationOptions`
|
|
8
8
|
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
@@ -17,12 +17,12 @@ export type UseGetFlowQuoteParams = {
|
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```tsx
|
|
20
|
-
* const { mutate: getFlowQuote, isPending } =
|
|
20
|
+
* const { mutate: getFlowQuote, isPending } = useFlowQuote();
|
|
21
21
|
* <button onClick={() => getFlowQuote({ flowId, fromTokenAddress, slippage })} disabled={isPending}>
|
|
22
22
|
* Get flow quote
|
|
23
23
|
* </button>
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const useFlowQuote: ({ mutateParams }?: UseFlowQuoteParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").Flow, Error, import("@dynamic-labs-sdk/client").GetFlowQuoteParams>;
|
|
27
27
|
export {};
|
|
28
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=useFlowQuote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFlowQuote.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useFlowQuote/useFlowQuote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,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,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,kBAAkB,EAClB,qBAAqB,CACtB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY,sBAAsB,kBAAkB,+JAI7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsMfaRequiredForAction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isMfaRequiredForAction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
|
|
3
|
+
type IsMfaRequiredForActionResult = Awaited<ReturnType<typeof isMfaRequiredForAction>>;
|
|
4
|
+
type IsMfaRequiredForActionArgs = Parameters<typeof isMfaRequiredForAction>[0];
|
|
5
|
+
export type UseIsMfaRequiredForActionParams = IsMfaRequiredForActionArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<IsMfaRequiredForActionResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Returns whether MFA is required for the given action.
|
|
14
|
+
*
|
|
15
|
+
* Wraps `isMfaRequiredForAction` from `@dynamic-labs-sdk/client`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const useIsMfaRequiredForAction: ({ queryParams, ...args }: UseIsMfaRequiredForActionParams) => import("@tanstack/react-query").UseQueryResult<boolean, Error>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useIsMfaRequiredForAction.d.ts.map
|
package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMfaRequiredForAction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,4BAA4B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC;AACvF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,+BAA+B,GAAG,0BAA0B,GAAG;IACzE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,4BAA4B,CAAC,CAAC,aAAa,CAAC,CAAC;CAC/E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,6BAA8B,+BAA+B,mEAK/F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnEvent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -5,5 +5,5 @@ import { type OnEventParams } from '@dynamic-labs-sdk/client';
|
|
|
5
5
|
* Uses a ref to always call the latest listener without re-subscribing,
|
|
6
6
|
* and cleans up the subscription on unmount or event name change.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
9
|
-
//# sourceMappingURL=
|
|
8
|
+
export declare const useOnEvent: <E extends keyof DynamicEvents>({ event, listener, }: OnEventParams<E>) => void;
|
|
9
|
+
//# sourceMappingURL=useOnEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOnEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnEvent/useOnEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,0BAA0B,CAAC;AAKvE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,aAAa,wBAGrD,aAAa,CAAC,CAAC,CAAC,SAoBlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnWalletProviderEvent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -8,12 +8,12 @@ import { type OnWalletProviderEventParams, type WalletProviderEvents } from '@dy
|
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```tsx
|
|
11
|
-
*
|
|
11
|
+
* useOnWalletProviderEvent({
|
|
12
12
|
* walletProviderKey: 'metamaskevm',
|
|
13
13
|
* event: 'accountsChanged',
|
|
14
14
|
* callback: ({ addresses }) => console.log(addresses),
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
|
-
export declare const
|
|
19
|
-
//# sourceMappingURL=
|
|
18
|
+
export declare const useOnWalletProviderEvent: <E extends Extract<keyof WalletProviderEvents, string>>({ callback, event, walletProviderKey, }: OnWalletProviderEventParams<E>) => void;
|
|
19
|
+
//# sourceMappingURL=useOnWalletProviderEvent.d.ts.map
|
package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOnWalletProviderEvent.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAE1B,MAAM,0BAA0B,CAAC;AAKlC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,GACnC,CAAC,SAAS,OAAO,CAAC,MAAM,oBAAoB,EAAE,MAAM,CAAC,2CAKpD,2BAA2B,CAAC,CAAC,CAAC,SAqBhC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { type OnceEventParams } from '@dynamic-labs-sdk/client';
|
|
|
3
3
|
* Subscribes to a Dynamic client event for a single occurrence.
|
|
4
4
|
*
|
|
5
5
|
* Wraps `onceEvent` from `@dynamic-labs-sdk/client` — the one-shot sibling of
|
|
6
|
-
* `
|
|
6
|
+
* `useOnEvent`. The listener fires at most once. Uses a ref to always call the
|
|
7
7
|
* latest listener, and cleans up the subscription on unmount or event change.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSendEmailOTP/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
|