@dynamic-labs-sdk/react-hooks 1.6.0 → 1.7.0
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 +23 -1
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/hooks/useAcknowledgeRecoveryCodes/index.d.ts +2 -0
- package/dist/hooks/useAcknowledgeRecoveryCodes/index.d.ts.map +1 -0
- package/dist/hooks/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts +24 -0
- package/dist/hooks/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts.map +1 -0
- package/dist/hooks/useActiveNetworkData/index.d.ts +2 -0
- package/dist/hooks/useActiveNetworkData/index.d.ts.map +1 -0
- package/dist/hooks/useActiveNetworkData/useActiveNetworkData.d.ts +24 -0
- package/dist/hooks/useActiveNetworkData/useActiveNetworkData.d.ts.map +1 -0
- package/dist/hooks/useAddNetwork/index.d.ts +2 -0
- package/dist/hooks/useAddNetwork/index.d.ts.map +1 -0
- package/dist/hooks/useAddNetwork/useAddNetwork.d.ts +31 -0
- package/dist/hooks/useAddNetwork/useAddNetwork.d.ts.map +1 -0
- package/dist/hooks/useBalanceForAddress/index.d.ts +2 -0
- package/dist/hooks/useBalanceForAddress/index.d.ts.map +1 -0
- package/dist/hooks/useBalanceForAddress/useBalanceForAddress.d.ts +24 -0
- package/dist/hooks/useBalanceForAddress/useBalanceForAddress.d.ts.map +1 -0
- package/dist/hooks/useCoinbaseBuyUrl/index.d.ts +2 -0
- package/dist/hooks/useCoinbaseBuyUrl/index.d.ts.map +1 -0
- package/dist/hooks/useCoinbaseBuyUrl/useCoinbaseBuyUrl.d.ts +22 -0
- package/dist/hooks/useCoinbaseBuyUrl/useCoinbaseBuyUrl.d.ts.map +1 -0
- package/dist/hooks/useCompleteDeviceRegistration/index.d.ts +2 -0
- package/dist/hooks/useCompleteDeviceRegistration/index.d.ts.map +1 -0
- package/dist/hooks/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts +26 -0
- package/dist/hooks/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts.map +1 -0
- package/dist/hooks/useCompleteSocialRedirect/index.d.ts +2 -0
- package/dist/hooks/useCompleteSocialRedirect/index.d.ts.map +1 -0
- package/dist/hooks/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts +24 -0
- package/dist/hooks/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts.map +1 -0
- package/dist/hooks/useConfirmTransaction/index.d.ts +2 -0
- package/dist/hooks/useConfirmTransaction/index.d.ts.map +1 -0
- package/dist/hooks/useConfirmTransaction/useConfirmTransaction.d.ts +23 -0
- package/dist/hooks/useConfirmTransaction/useConfirmTransaction.d.ts.map +1 -0
- package/dist/hooks/useCreateCoinbaseOnrampOrder/index.d.ts +2 -0
- package/dist/hooks/useCreateCoinbaseOnrampOrder/index.d.ts.map +1 -0
- package/dist/hooks/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts +23 -0
- package/dist/hooks/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts.map +1 -0
- package/dist/hooks/useCreateCryptoDotComPayment/index.d.ts +2 -0
- package/dist/hooks/useCreateCryptoDotComPayment/index.d.ts.map +1 -0
- package/dist/hooks/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts +24 -0
- package/dist/hooks/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts.map +1 -0
- package/dist/hooks/useExecuteSwapTransaction/index.d.ts +2 -0
- package/dist/hooks/useExecuteSwapTransaction/index.d.ts.map +1 -0
- package/dist/hooks/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts +25 -0
- package/dist/hooks/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map +1 -0
- package/dist/hooks/useGoogleDriveBackupReadiness/index.d.ts +2 -0
- package/dist/hooks/useGoogleDriveBackupReadiness/index.d.ts.map +1 -0
- package/dist/hooks/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.d.ts +21 -0
- package/dist/hooks/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.d.ts.map +1 -0
- package/dist/hooks/useKrakenWhitelistedAddresses/index.d.ts +2 -0
- package/dist/hooks/useKrakenWhitelistedAddresses/index.d.ts.map +1 -0
- package/dist/hooks/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.d.ts +21 -0
- package/dist/hooks/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.d.ts.map +1 -0
- package/dist/hooks/useProveWalletAccountOwnership/index.d.ts +2 -0
- package/dist/hooks/useProveWalletAccountOwnership/index.d.ts.map +1 -0
- package/dist/hooks/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts +29 -0
- package/dist/hooks/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts.map +1 -0
- package/dist/hooks/useRefreshAuth/index.d.ts +2 -0
- package/dist/hooks/useRefreshAuth/index.d.ts.map +1 -0
- package/dist/hooks/useRefreshAuth/useRefreshAuth.d.ts +24 -0
- package/dist/hooks/useRefreshAuth/useRefreshAuth.d.ts.map +1 -0
- package/dist/hooks/useRequestExternalAuthElevatedToken/index.d.ts +2 -0
- package/dist/hooks/useRequestExternalAuthElevatedToken/index.d.ts.map +1 -0
- package/dist/hooks/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts +26 -0
- package/dist/hooks/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts.map +1 -0
- package/dist/hooks/useRevokeAllRegisteredDevices/index.d.ts +2 -0
- package/dist/hooks/useRevokeAllRegisteredDevices/index.d.ts.map +1 -0
- package/dist/hooks/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts +25 -0
- package/dist/hooks/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts.map +1 -0
- package/dist/hooks/useSignInWithExternalJwt/index.d.ts +2 -0
- package/dist/hooks/useSignInWithExternalJwt/index.d.ts.map +1 -0
- package/dist/hooks/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts +26 -0
- package/dist/hooks/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map +1 -0
- package/dist/hooks/useSignInWithSocialPopUp/index.d.ts +2 -0
- package/dist/hooks/useSignInWithSocialPopUp/index.d.ts.map +1 -0
- package/dist/hooks/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts +24 -0
- package/dist/hooks/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map +1 -0
- package/dist/hooks/useSignInWithSocialRedirect/index.d.ts +2 -0
- package/dist/hooks/useSignInWithSocialRedirect/index.d.ts.map +1 -0
- package/dist/hooks/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts +23 -0
- package/dist/hooks/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts.map +1 -0
- package/dist/hooks/useTransferAmount/index.d.ts +2 -0
- package/dist/hooks/useTransferAmount/index.d.ts.map +1 -0
- package/dist/hooks/useTransferAmount/useTransferAmount.d.ts +25 -0
- package/dist/hooks/useTransferAmount/useTransferAmount.d.ts.map +1 -0
- package/dist/hooks/useTransferWalletAccount/index.d.ts +2 -0
- package/dist/hooks/useTransferWalletAccount/index.d.ts.map +1 -0
- package/dist/hooks/useTransferWalletAccount/useTransferWalletAccount.d.ts +26 -0
- package/dist/hooks/useTransferWalletAccount/useTransferWalletAccount.d.ts.map +1 -0
- package/dist/index.cjs +428 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +408 -37
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/exports/index.d.ts
CHANGED
|
@@ -1,39 +1,61 @@
|
|
|
1
|
+
export { useAcknowledgeRecoveryCodes, type UseAcknowledgeRecoveryCodesParams, } from '../hooks/useAcknowledgeRecoveryCodes';
|
|
2
|
+
export { useActiveNetworkData, type UseActiveNetworkDataParams, } from '../hooks/useActiveNetworkData';
|
|
3
|
+
export { useAddNetwork, type UseAddNetworkParams, } from '../hooks/useAddNetwork';
|
|
1
4
|
export { useAuthenticateMfaRecoveryCode, type UseAuthenticateMfaRecoveryCodeParams, } from '../hooks/useAuthenticateMfaRecoveryCode';
|
|
2
5
|
export { useAuthenticatePasskeyMfa, type UseAuthenticatePasskeyMfaParams, } from '../hooks/useAuthenticatePasskeyMfa';
|
|
3
6
|
export { useAuthenticateTotpMfaDevice, type UseAuthenticateTotpMfaDeviceParams, } from '../hooks/useAuthenticateTotpMfaDevice';
|
|
4
7
|
export { useAvailableWalletProvidersData } from '../hooks/useAvailableWalletProvidersData';
|
|
8
|
+
export { useBalanceForAddress, type UseBalanceForAddressParams, } from '../hooks/useBalanceForAddress';
|
|
9
|
+
export { useCoinbaseBuyUrl, type UseCoinbaseBuyUrlParams, } from '../hooks/useCoinbaseBuyUrl';
|
|
10
|
+
export { useCompleteDeviceRegistration, type UseCompleteDeviceRegistrationParams, } from '../hooks/useCompleteDeviceRegistration';
|
|
11
|
+
export { useCompleteSocialRedirect, type UseCompleteSocialRedirectParams, } from '../hooks/useCompleteSocialRedirect';
|
|
12
|
+
export { useConfirmTransaction, type UseConfirmTransactionParams, } from '../hooks/useConfirmTransaction';
|
|
5
13
|
export { useConsumeMfaToken, type UseConsumeMfaTokenParams, } from '../hooks/useConsumeMfaToken';
|
|
14
|
+
export { useCreateCoinbaseOnrampOrder, type UseCreateCoinbaseOnrampOrderParams, } from '../hooks/useCreateCoinbaseOnrampOrder';
|
|
15
|
+
export { useCreateCryptoDotComPayment, type UseCreateCryptoDotComPaymentParams, } from '../hooks/useCreateCryptoDotComPayment';
|
|
6
16
|
export { useCreateNewMfaRecoveryCodes, type UseCreateNewMfaRecoveryCodesParams, } from '../hooks/useCreateNewMfaRecoveryCodes';
|
|
7
17
|
export { useDeleteMfaDevice, type UseDeleteMfaDeviceParams, } from '../hooks/useDeleteMfaDevice';
|
|
8
18
|
export { useDeletePasskey, type UseDeletePasskeyParams, } from '../hooks/useDeletePasskey';
|
|
9
19
|
export { useDeleteUser, type UseDeleteUserParams, } from '../hooks/useDeleteUser';
|
|
10
20
|
export { useEvent } from '../hooks/useEvent';
|
|
21
|
+
export { useExecuteSwapTransaction, type UseExecuteSwapTransactionParams, } from '../hooks/useExecuteSwapTransaction';
|
|
22
|
+
export { useGoogleDriveBackupReadiness, type UseGoogleDriveBackupReadinessParams, } from '../hooks/useGoogleDriveBackupReadiness';
|
|
11
23
|
export { useInitStatus } from '../hooks/useInitStatus';
|
|
12
24
|
export { useIsCaptchaRequired } from '../hooks/useIsCaptchaRequired';
|
|
13
25
|
export { useIsUserMissingMfaAuth } from '../hooks/useIsUserMissingMfaAuth';
|
|
14
26
|
export { useIsUserOnboardingComplete } from '../hooks/useIsUserOnboardingComplete';
|
|
27
|
+
export { useKrakenWhitelistedAddresses, type UseKrakenWhitelistedAddressesParams, } from '../hooks/useKrakenWhitelistedAddresses';
|
|
15
28
|
export { useLogout } from '../hooks/useLogout';
|
|
16
|
-
export { useMfaDevices, type UseMfaDevicesParams } from '../hooks/useMfaDevices';
|
|
29
|
+
export { useMfaDevices, type UseMfaDevicesParams, } from '../hooks/useMfaDevices';
|
|
17
30
|
export { useMfaMethods, type UseMfaMethodsParams, } from '../hooks/useMfaMethods';
|
|
18
31
|
export { useMfaRecoveryCodes, type UseMfaRecoveryCodesParams, } from '../hooks/useMfaRecoveryCodes';
|
|
19
32
|
export { useMultichainTokenBalances, type UseMultichainTokenBalancesParams, } from '../hooks/useMultichainTokenBalances';
|
|
20
33
|
export { useNativeBalance } from '../hooks/useNativeBalance';
|
|
21
34
|
export { useNetworksData } from '../hooks/useNetworksData';
|
|
22
35
|
export { usePasskeys, type UsePasskeysParams } from '../hooks/usePasskeys';
|
|
36
|
+
export { useProveWalletAccountOwnership, type UseProveWalletAccountOwnershipParams, } from '../hooks/useProveWalletAccountOwnership';
|
|
37
|
+
export { useRefreshAuth, type UseRefreshAuthParams, } from '../hooks/useRefreshAuth';
|
|
23
38
|
export { useRegisteredDevices, type UseRegisteredDevicesParams, } from '../hooks/useRegisteredDevices';
|
|
24
39
|
export { useRegisterPasskey, type UseRegisterPasskeyParams, } from '../hooks/useRegisterPasskey';
|
|
25
40
|
export { useRegisterTotpMfaDevice, type UseRegisterTotpMfaDeviceParams, } from '../hooks/useRegisterTotpMfaDevice';
|
|
26
41
|
export { useRemoveWalletAccount, type UseRemoveWalletAccountParams, } from '../hooks/useRemoveWalletAccount';
|
|
42
|
+
export { useRequestExternalAuthElevatedToken, type UseRequestExternalAuthElevatedTokenParams, } from '../hooks/useRequestExternalAuthElevatedToken';
|
|
43
|
+
export { useRevokeAllRegisteredDevices, type UseRevokeAllRegisteredDevicesParams, } from '../hooks/useRevokeAllRegisteredDevices';
|
|
27
44
|
export { useRevokeRegisteredDevice, type UseRevokeRegisteredDeviceParams, } from '../hooks/useRevokeRegisteredDevice';
|
|
28
45
|
export { useSendEmailOtp, type UseSendEmailOtpParams, } from '../hooks/useSendEmailOtp';
|
|
29
46
|
export { useSendSmsOtp, type UseSendSmsOtpParams, } from '../hooks/useSendSmsOtp';
|
|
30
47
|
export { useSessionExpiresAt } from '../hooks/useSessionExpiresAt';
|
|
31
48
|
export { useSetDefaultMfaDevice, type UseSetDefaultMfaDeviceParams, } from '../hooks/useSetDefaultMfaDevice';
|
|
49
|
+
export { useSignInWithExternalJwt, type UseSignInWithExternalJwtParams, } from '../hooks/useSignInWithExternalJwt';
|
|
32
50
|
export { useSignInWithPasskey, type UseSignInWithPasskeyParams, } from '../hooks/useSignInWithPasskey';
|
|
51
|
+
export { useSignInWithSocialPopUp, type UseSignInWithSocialPopUpParams, } from '../hooks/useSignInWithSocialPopUp';
|
|
52
|
+
export { useSignInWithSocialRedirect, type UseSignInWithSocialRedirectParams, } from '../hooks/useSignInWithSocialRedirect';
|
|
33
53
|
export { useSignMessage, type UseSignMessageParams, } from '../hooks/useSignMessage';
|
|
34
54
|
export { useSwitchActiveNetwork, type UseSwitchActiveNetworkParams, } from '../hooks/useSwitchActiveNetwork';
|
|
35
55
|
export { useTokenBalances, type UseTokenBalancesParams, } from '../hooks/useTokenBalances';
|
|
36
56
|
export { useTransactionHistory, type UseTransactionHistoryParams, } from '../hooks/useTransactionHistory';
|
|
57
|
+
export { useTransferAmount, type UseTransferAmountParams, } from '../hooks/useTransferAmount';
|
|
58
|
+
export { useTransferWalletAccount, type UseTransferWalletAccountParams, } from '../hooks/useTransferWalletAccount';
|
|
37
59
|
export { useUnlinkSocialAccount, type UseUnlinkSocialAccountParams, } from '../hooks/useUnlinkSocialAccount';
|
|
38
60
|
export { useUpdateUser, type UseUpdateUserParams, } from '../hooks/useUpdateUser';
|
|
39
61
|
export { useUser } from '../hooks/useUser';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,8BAA8B,EAC9B,KAAK,oCAAoC,GAC1C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,KAAK,wBAAwB,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gBAAgB,EAChB,KAAK,sBAAsB,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EA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|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAcknowledgeRecoveryCodes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,KAAK,iCAAiC,GACvC,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { acknowledgeRecoveryCodes } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type AcknowledgeRecoveryCodesResult = Awaited<ReturnType<typeof acknowledgeRecoveryCodes>>;
|
|
4
|
+
export type UseAcknowledgeRecoveryCodesParams = {
|
|
5
|
+
/**
|
|
6
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
7
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
8
|
+
*/
|
|
9
|
+
mutateParams?: UseBaseMutationParams<AcknowledgeRecoveryCodesResult, void>['mutateParams'];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Marks the current user's MFA recovery codes as acknowledged. Takes no arguments — call `mutate()` after the user confirms they have stored the codes shown by {@link useMfaRecoveryCodes}.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const { mutate: acknowledge, isPending } = useAcknowledgeRecoveryCodes();
|
|
17
|
+
* <button onClick={() => acknowledge()} disabled={isPending}>
|
|
18
|
+
* I've saved my recovery codes
|
|
19
|
+
* </button>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const useAcknowledgeRecoveryCodes: ({ mutateParams, }?: UseAcknowledgeRecoveryCodesParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client").OTPVerification | undefined, Error, void>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=useAcknowledgeRecoveryCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAcknowledgeRecoveryCodes.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,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,IAAI,CACL,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,uBAErC,iCAAiC,mIAIhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActiveNetworkData/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getActiveNetworkData } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../foundation/useBaseQuery';
|
|
3
|
+
type GetActiveNetworkDataResult = Awaited<ReturnType<typeof getActiveNetworkData>>;
|
|
4
|
+
type GetActiveNetworkDataArgs = Parameters<typeof getActiveNetworkData>[0];
|
|
5
|
+
export type UseActiveNetworkDataParams = GetActiveNetworkDataArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<GetActiveNetworkDataResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `getActiveNetworkData` from `@dynamic-labs-sdk/client`. Returns the network the given wallet account is currently on.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data: network, isLoading } = useActiveNetworkData({ walletAccount });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const useActiveNetworkData: ({ queryParams, ...args }: UseActiveNetworkDataParams) => import("@tanstack/react-query").UseQueryResult<{
|
|
21
|
+
networkData: import("@dynamic-labs-sdk/client").NetworkData | undefined;
|
|
22
|
+
}, Error>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=useActiveNetworkData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActiveNetworkData.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActiveNetworkData/useActiveNetworkData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,KAAK,0BAA0B,GAAG,OAAO,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AACF,KAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,MAAM,0BAA0B,GAAG,wBAAwB,GAAG;IAClE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAAC;CAC7E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,6BAG9B,0BAA0B;wBAJ5B,0BAED;SAOI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAddNetwork/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { addNetwork } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type AddNetworkVariables = Parameters<typeof addNetwork>[0];
|
|
4
|
+
type AddNetworkResult = Awaited<ReturnType<typeof addNetwork>>;
|
|
5
|
+
export type UseAddNetworkParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<AddNetworkResult, AddNetworkVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `addNetwork` from `@dynamic-labs-sdk/client`. Call `mutate({ networkData, walletAccount })` to register a custom network on the given wallet account.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: addNetwork, isPending } = useAddNetwork();
|
|
18
|
+
* <button
|
|
19
|
+
* onClick={() => addNetwork({ networkData, walletAccount })}
|
|
20
|
+
* disabled={isPending}
|
|
21
|
+
* >
|
|
22
|
+
* Add network
|
|
23
|
+
* </button>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare const useAddNetwork: ({ mutateParams }?: UseAddNetworkParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
|
|
27
|
+
networkData: import("@dynamic-labs-sdk/client").NetworkData;
|
|
28
|
+
walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
|
|
29
|
+
}>;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=useAddNetwork.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAddNetwork.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAddNetwork/useAddNetwork.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,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;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,sBAAsB,mBAAmB;;;EAI/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBalanceForAddress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,GAChC,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getBalanceForAddress } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../foundation/useBaseQuery';
|
|
3
|
+
type GetBalanceForAddressResult = Awaited<ReturnType<typeof getBalanceForAddress>>;
|
|
4
|
+
type GetBalanceForAddressArgs = Parameters<typeof getBalanceForAddress>[0];
|
|
5
|
+
export type UseBalanceForAddressParams = GetBalanceForAddressArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<GetBalanceForAddressResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `getBalanceForAddress` from `@dynamic-labs-sdk/client`. Returns the native-token balance for an arbitrary address on the given chain/network.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useBalanceForAddress({ address, chain, networkId });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const useBalanceForAddress: ({ queryParams, ...args }: UseBalanceForAddressParams) => import("@tanstack/react-query").UseQueryResult<{
|
|
21
|
+
balance: string | null;
|
|
22
|
+
}, Error>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=useBalanceForAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBalanceForAddress.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBalanceForAddress/useBalanceForAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,KAAK,0BAA0B,GAAG,OAAO,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AACF,KAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,MAAM,0BAA0B,GAAG,wBAAwB,GAAG;IAClE;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC,aAAa,CAAC,CAAC;CAC7E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,6BAG9B,0BAA0B;;SAKzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCoinbaseBuyUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,KAAK,uBAAuB,GAC7B,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getCoinbaseBuyUrl } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../foundation/useBaseQuery';
|
|
3
|
+
type GetCoinbaseBuyUrlResult = Awaited<ReturnType<typeof getCoinbaseBuyUrl>>;
|
|
4
|
+
type GetCoinbaseBuyUrlArgs = Parameters<typeof getCoinbaseBuyUrl>[0];
|
|
5
|
+
export type UseCoinbaseBuyUrlParams = GetCoinbaseBuyUrlArgs & {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
8
|
+
* staleTime, refetchInterval, etc.).
|
|
9
|
+
*/
|
|
10
|
+
queryParams?: UseBaseQueryParams<GetCoinbaseBuyUrlResult>['queryParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `getCoinbaseBuyUrl` from `@dynamic-labs-sdk/client`. Returns a Coinbase onramp buy URL for the given parameters.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data: buyUrl, isLoading } = useCoinbaseBuyUrl(buyUrlParams);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const useCoinbaseBuyUrl: ({ queryParams, ...args }: UseCoinbaseBuyUrlParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs/sdk-api-core").CoinbaseOnrampGetBuyUrlResponse, Error>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=useCoinbaseBuyUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCoinbaseBuyUrl.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCoinbaseBuyUrl/useCoinbaseBuyUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,KAAK,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAC7E,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC,aAAa,CAAC,CAAC;CAC1E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,6BAG3B,uBAAuB,gIAKtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCompleteDeviceRegistration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,KAAK,mCAAmC,GACzC,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { completeDeviceRegistration } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type CompleteDeviceRegistrationVariables = Parameters<typeof completeDeviceRegistration>[0];
|
|
4
|
+
type CompleteDeviceRegistrationResult = Awaited<ReturnType<typeof completeDeviceRegistration>>;
|
|
5
|
+
export type UseCompleteDeviceRegistrationParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<CompleteDeviceRegistrationResult, CompleteDeviceRegistrationVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `completeDeviceRegistration` from `@dynamic-labs-sdk/client`. Call `mutate({ deviceToken })` with the device token parsed from the redirect URL; the resolved `data` is a `VerifyResponse`.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: completeRegistration, isPending } =
|
|
18
|
+
* useCompleteDeviceRegistration();
|
|
19
|
+
* completeRegistration({ deviceToken });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const useCompleteDeviceRegistration: ({ mutateParams, }?: UseCompleteDeviceRegistrationParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").VerifyResponse, Error, {
|
|
23
|
+
deviceToken: string;
|
|
24
|
+
}>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=useCompleteDeviceRegistration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCompleteDeviceRegistration.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCompleteDeviceRegistration/useCompleteDeviceRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,KAAK,mCAAmC,GAAG,UAAU,CACnD,OAAO,0BAA0B,CAClC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,gCAAgC,GAAG,OAAO,CAC7C,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAC9C,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,gCAAgC,EAChC,mCAAmC,CACpC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,6BAA6B,uBAEvC,mCAAmC;;EAQlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCompleteSocialRedirect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { completeSocialRedirect } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type CompleteSocialRedirectVariables = Parameters<typeof completeSocialRedirect>[0];
|
|
4
|
+
type CompleteSocialRedirectResult = Awaited<ReturnType<typeof completeSocialRedirect>>;
|
|
5
|
+
export type UseCompleteSocialRedirectParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<CompleteSocialRedirectResult, CompleteSocialRedirectVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `completeSocialRedirect` from `@dynamic-labs-sdk/client`. Call `mutate(params)` with the OAuth callback URL once the provider has redirected back to finish the sign-in; the resolved `data` is the signed-in `User` (or `null`).
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: completeSocialRedirect, data: user } =
|
|
18
|
+
* useCompleteSocialRedirect();
|
|
19
|
+
* completeSocialRedirect({ url: new URL(window.location.href) });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const useCompleteSocialRedirect: ({ mutateParams, }?: UseCompleteSocialRedirectParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").SdkUser | null, Error, import("../../../../client/src/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.types").CompleteSocialRedirectParams>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=useCompleteSocialRedirect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCompleteSocialRedirect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCompleteSocialRedirect/useCompleteSocialRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,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;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,+PAQ9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,GACjC,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { confirmTransaction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type ConfirmTransactionVariables = Parameters<typeof confirmTransaction>[0];
|
|
4
|
+
type ConfirmTransactionResult = Awaited<ReturnType<typeof confirmTransaction>>;
|
|
5
|
+
export type UseConfirmTransactionParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<ConfirmTransactionResult, ConfirmTransactionVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `confirmTransaction` from `@dynamic-labs-sdk/client`. Call `mutate({ walletAccount, transactionHash })` to await confirmation of a submitted transaction; the resolved `data` is `void`.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: confirmTransaction, isPending } = useConfirmTransaction();
|
|
18
|
+
* confirmTransaction({ walletAccount, transactionHash });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const useConfirmTransaction: ({ mutateParams, }?: UseConfirmTransactionParams) => import("@tanstack/react-query").UseMutationResult<void, Error, import("@dynamic-labs-sdk/client").ConfirmTransactionParams>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=useConfirmTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmTransaction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfirmTransaction/useConfirmTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,KAAK,2BAA2B,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5E,KAAK,wBAAwB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,wBAAwB,EACxB,2BAA2B,CAC5B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,uBAE/B,2BAA2B,gIAK1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCreateCoinbaseOnrampOrder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createCoinbaseOnrampOrder } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type CreateCoinbaseOnrampOrderVariables = Parameters<typeof createCoinbaseOnrampOrder>[0];
|
|
4
|
+
type CreateCoinbaseOnrampOrderResult = Awaited<ReturnType<typeof createCoinbaseOnrampOrder>>;
|
|
5
|
+
export type UseCreateCoinbaseOnrampOrderParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<CreateCoinbaseOnrampOrderResult, CreateCoinbaseOnrampOrderVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `createCoinbaseOnrampOrder` from `@dynamic-labs-sdk/client`. Call `mutate(orderParams)` to create a Coinbase onramp order; the resolved `data` is the order response.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: createOrder, data: order } = useCreateCoinbaseOnrampOrder();
|
|
18
|
+
* createOrder(orderParams);
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const useCreateCoinbaseOnrampOrder: ({ mutateParams, }?: UseCreateCoinbaseOnrampOrderParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client").CoinbaseOnrampOrderResponse, Error, import("@dynamic-labs-sdk/client").CoinbaseCreateOnrampOrderRequest>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=useCreateCoinbaseOnrampOrder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateCoinbaseOnrampOrder.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,KAAK,kCAAkC,GAAG,UAAU,CAClD,OAAO,yBAAyB,CACjC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,+BAA+B,EAC/B,kCAAkC,CACnC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,kMAQjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCreateCryptoDotComPayment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,KAAK,kCAAkC,GACxC,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createCryptoDotComPayment } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type CreateCryptoDotComPaymentVariables = Parameters<typeof createCryptoDotComPayment>[0];
|
|
4
|
+
type CreateCryptoDotComPaymentResult = Awaited<ReturnType<typeof createCryptoDotComPayment>>;
|
|
5
|
+
export type UseCreateCryptoDotComPaymentParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<CreateCryptoDotComPaymentResult, CreateCryptoDotComPaymentVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `createCryptoDotComPayment` from `@dynamic-labs-sdk/client`. Call `mutate(paymentParams)` to create a Crypto.com Pay payment; the resolved `data` is the payment response.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: createPayment, data: payment } =
|
|
18
|
+
* useCreateCryptoDotComPayment();
|
|
19
|
+
* createPayment(paymentParams);
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const useCreateCryptoDotComPayment: ({ mutateParams, }?: UseCreateCryptoDotComPaymentParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").CryptoDotComPaymentResponse, Error, import("@dynamic-labs-sdk/client").CryptoDotComPaymentCreateRequest>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=useCreateCryptoDotComPayment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateCryptoDotComPayment.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,KAAK,kCAAkC,GAAG,UAAU,CAClD,OAAO,yBAAyB,CACjC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,+BAA+B,GAAG,OAAO,CAC5C,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAC7C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,+BAA+B,EAC/B,kCAAkC,CACnC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,uBAEtC,kCAAkC,oMAQjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useExecuteSwapTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { executeSwapTransaction } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseMutationParams } from '../../foundation/useBaseMutation';
|
|
3
|
+
type ExecuteSwapTransactionVariables = Parameters<typeof executeSwapTransaction>[0];
|
|
4
|
+
type ExecuteSwapTransactionResult = Awaited<ReturnType<typeof executeSwapTransaction>>;
|
|
5
|
+
export type UseExecuteSwapTransactionParams = {
|
|
6
|
+
/**
|
|
7
|
+
* Optional override of any react-query `UseMutationOptions`
|
|
8
|
+
* (`onSuccess`, `onError`, `retry`, etc.).
|
|
9
|
+
*/
|
|
10
|
+
mutateParams?: UseBaseMutationParams<ExecuteSwapTransactionResult, ExecuteSwapTransactionVariables>['mutateParams'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Wraps `executeSwapTransaction` from `@dynamic-labs-sdk/client`. Call `mutate({ walletAccount, signingPayload })` (using a payload from {@link useSwapQuote}) to execute a swap; the resolved `data` is `{ transactionHash }`.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { mutate: executeSwap, data } = useExecuteSwapTransaction();
|
|
18
|
+
* executeSwap({ walletAccount, signingPayload });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const useExecuteSwapTransaction: ({ mutateParams, }?: UseExecuteSwapTransactionParams) => import("@tanstack/react-query").UseMutationResult<{
|
|
22
|
+
transactionHash: string;
|
|
23
|
+
}, Error, import("@dynamic-labs-sdk/client").ExecuteSwapTransactionParams>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=useExecuteSwapTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExecuteSwapTransaction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useExecuteSwapTransaction/useExecuteSwapTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,KAAK,+BAA+B,GAAG,UAAU,CAC/C,OAAO,sBAAsB,CAC9B,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B;;0EAQ9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGoogleDriveBackupReadiness/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,KAAK,mCAAmC,GACzC,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getGoogleDriveBackupReadiness } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../foundation/useBaseQuery';
|
|
3
|
+
type GetGoogleDriveBackupReadinessResult = Awaited<ReturnType<typeof getGoogleDriveBackupReadiness>>;
|
|
4
|
+
export type UseGoogleDriveBackupReadinessParams = {
|
|
5
|
+
/**
|
|
6
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
7
|
+
* staleTime, refetchInterval, etc.).
|
|
8
|
+
*/
|
|
9
|
+
queryParams?: UseBaseQueryParams<GetGoogleDriveBackupReadinessResult>['queryParams'];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Wraps `getGoogleDriveBackupReadiness` from `@dynamic-labs-sdk/client`. Reports whether the user's Google Drive backup is set up and available.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const { data: readiness, isLoading } = useGoogleDriveBackupReadiness();
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare const useGoogleDriveBackupReadiness: ({ queryParams, }?: UseGoogleDriveBackupReadinessParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs-sdk/client").GoogleDriveBackupReadiness, Error>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=useGoogleDriveBackupReadiness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGoogleDriveBackupReadiness.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,KAAK,mCAAmC,GAAG,OAAO,CAChD,UAAU,CAAC,OAAO,6BAA6B,CAAC,CACjD,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,mCAAmC,CAAC,CAAC,aAAa,CAAC,CAAC;CACtF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,sBAEvC,mCAAmC,yHAKlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKrakenWhitelistedAddresses/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,KAAK,mCAAmC,GACzC,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getKrakenWhitelistedAddresses } from '@dynamic-labs-sdk/client';
|
|
2
|
+
import type { UseBaseQueryParams } from '../../foundation/useBaseQuery';
|
|
3
|
+
type GetKrakenWhitelistedAddressesResult = Awaited<ReturnType<typeof getKrakenWhitelistedAddresses>>;
|
|
4
|
+
export type UseKrakenWhitelistedAddressesParams = {
|
|
5
|
+
/**
|
|
6
|
+
* Optional override of any react-query `UseQueryOptions` (retry,
|
|
7
|
+
* staleTime, refetchInterval, etc.).
|
|
8
|
+
*/
|
|
9
|
+
queryParams?: UseBaseQueryParams<GetKrakenWhitelistedAddressesResult>['queryParams'];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Wraps `getKrakenWhitelistedAddresses` from `@dynamic-labs-sdk/client`. Returns the destination addresses whitelisted for Kraken withdrawals.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const { data: addresses, isLoading } = useKrakenWhitelistedAddresses();
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare const useKrakenWhitelistedAddresses: ({ queryParams, }?: UseKrakenWhitelistedAddressesParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs/sdk-api-core").TransferDestinationResponse, Error>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=useKrakenWhitelistedAddresses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKrakenWhitelistedAddresses.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKrakenWhitelistedAddresses/useKrakenWhitelistedAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,KAAK,mCAAmC,GAAG,OAAO,CAChD,UAAU,CAAC,OAAO,6BAA6B,CAAC,CACjD,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD;;;OAGG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,mCAAmC,CAAC,CAAC,aAAa,CAAC,CAAC;CACtF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,sBAEvC,mCAAmC,4HAKlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useProveWalletAccountOwnership/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,KAAK,oCAAoC,GAC1C,MAAM,kCAAkC,CAAC"}
|