@dynamic-labs-sdk/react-hooks 1.17.1 → 1.19.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.
Files changed (94) hide show
  1. package/dist/exports/index.d.ts +20 -0
  2. package/dist/exports/index.d.ts.map +1 -1
  3. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts +2 -0
  4. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts.map +1 -0
  5. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts +47 -0
  6. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts.map +1 -0
  7. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts +2 -0
  8. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts.map +1 -0
  9. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts +47 -0
  10. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts.map +1 -0
  11. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts +2 -0
  12. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts.map +1 -0
  13. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts +46 -0
  14. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts.map +1 -0
  15. package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/index.d.ts +2 -0
  16. package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/index.d.ts.map +1 -0
  17. package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts +48 -0
  18. package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts.map +1 -0
  19. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts +2 -0
  20. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts.map +1 -0
  21. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts +46 -0
  22. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts.map +1 -0
  23. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts +2 -0
  24. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts.map +1 -0
  25. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts +47 -0
  26. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts.map +1 -0
  27. package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts +3 -1
  28. package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts.map +1 -1
  29. package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/index.d.ts +2 -0
  30. package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/index.d.ts.map +1 -0
  31. package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts +37 -0
  32. package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts.map +1 -0
  33. package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/index.d.ts +2 -0
  34. package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/index.d.ts.map +1 -0
  35. package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts +48 -0
  36. package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts.map +1 -0
  37. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts +2 -0
  38. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts.map +1 -0
  39. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts +47 -0
  40. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts.map +1 -0
  41. package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/index.d.ts +2 -0
  42. package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/index.d.ts.map +1 -0
  43. package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts +8 -0
  44. package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts.map +1 -0
  45. package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/index.d.ts +2 -0
  46. package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/index.d.ts.map +1 -0
  47. package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts +9 -0
  48. package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts.map +1 -0
  49. package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/index.d.ts +2 -0
  50. package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/index.d.ts.map +1 -0
  51. package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts +8 -0
  52. package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +1 -0
  53. package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/index.d.ts +2 -0
  54. package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/index.d.ts.map +1 -0
  55. package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts +9 -0
  56. package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +1 -0
  57. package/dist/hooks/wrappers/functions/useMergeUserAccounts/index.d.ts +3 -0
  58. package/dist/hooks/wrappers/functions/useMergeUserAccounts/index.d.ts.map +1 -0
  59. package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts +52 -0
  60. package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts.map +1 -0
  61. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts +2 -0
  62. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts.map +1 -0
  63. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts +50 -0
  64. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts.map +1 -0
  65. package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts +4 -1
  66. package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map +1 -1
  67. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts +2 -0
  68. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts.map +1 -0
  69. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts +46 -0
  70. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts.map +1 -0
  71. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts +2 -0
  72. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts.map +1 -0
  73. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts +46 -0
  74. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts.map +1 -0
  75. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts +2 -0
  76. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts.map +1 -0
  77. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts +46 -0
  78. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts.map +1 -0
  79. package/dist/hooks/wrappers/functions/useUnlockWallet/index.d.ts +2 -0
  80. package/dist/hooks/wrappers/functions/useUnlockWallet/index.d.ts.map +1 -0
  81. package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts +46 -0
  82. package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts.map +1 -0
  83. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts +2 -0
  84. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts.map +1 -0
  85. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts +47 -0
  86. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts.map +1 -0
  87. package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts +1 -1
  88. package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts.map +1 -1
  89. package/dist/index.cjs +502 -11
  90. package/dist/index.cjs.map +1 -1
  91. package/dist/index.esm.js +484 -13
  92. package/dist/index.esm.js.map +1 -1
  93. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  94. package/package.json +4 -4
@@ -16,6 +16,7 @@ export { useGetCoinbaseBuyUrl, type UseGetCoinbaseBuyUrlParams, } from '../hooks
16
16
  export { useAddCoinbaseOnrampOrderEventListener, type UseAddCoinbaseOnrampOrderEventListenerParams, } from '../hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener';
17
17
  export { useCompleteDeviceRegistration, type UseCompleteDeviceRegistrationParams, } from '../hooks/wrappers/functions/useCompleteDeviceRegistration';
18
18
  export { useCompleteSocialRedirect, type UseCompleteSocialRedirectParams, } from '../hooks/wrappers/functions/useCompleteSocialRedirect';
19
+ export { useDetectSocialRedirectUrl, type UseDetectSocialRedirectUrlParams, } from '../hooks/wrappers/functions/useDetectSocialRedirectUrl';
19
20
  export { useConfirmTransaction, type UseConfirmTransactionParams, } from '../hooks/wrappers/functions/useConfirmTransaction';
20
21
  export { useConnectAndVerifyWithWalletProvider, type UseConnectAndVerifyWithWalletProviderParams, } from '../hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider';
21
22
  export { useGetConnectedAddresses, type UseGetConnectedAddressesParams, } from '../hooks/wrappers/functions/useGetConnectedAddresses';
@@ -37,6 +38,7 @@ export { useGetKrakenAccounts, type UseGetKrakenAccountsParams, } from '../hooks
37
38
  export { useCreateKrakenExchangeTransfer, type UseCreateKrakenExchangeTransferParams, } from '../hooks/wrappers/functions/useCreateKrakenExchangeTransfer';
38
39
  export { useGetKrakenWhitelistedAddresses, type UseGetKrakenWhitelistedAddressesParams, } from '../hooks/wrappers/functions/useGetKrakenWhitelistedAddresses';
39
40
  export { useLogout } from '../hooks/wrappers/functions/useLogout';
41
+ export { useMergeUserAccounts, type UseMergeUserAccountsParams, } from '../hooks/wrappers/functions/useMergeUserAccounts';
40
42
  export { useGetMfaDevices, type UseGetMfaDevicesParams, } from '../hooks/wrappers/functions/useGetMfaDevices';
41
43
  export { useGetMfaMethods, type UseGetMfaMethodsParams, } from '../hooks/wrappers/functions/useGetMfaMethods';
42
44
  export { useGetMfaRecoveryCodes, type UseGetMfaRecoveryCodesParams, } from '../hooks/wrappers/functions/useGetMfaRecoveryCodes';
@@ -80,7 +82,25 @@ export { useGetWalletAccounts } from '../hooks/wrappers/functions/useGetWalletAc
80
82
  export { useGetWalletConnectCatalog, type UseGetWalletConnectCatalogParams, } from '../hooks/wrappers/functions/useGetWalletConnectCatalog';
81
83
  export { useGetWalletConnectCatalogWalletByWalletProviderKey, type UseGetWalletConnectCatalogWalletByWalletProviderKeyParams, } from '../hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey';
82
84
  export { useGetWalletOptionsCatalogue, type UseGetWalletOptionsCatalogueParams, } from '../hooks/wrappers/functions/useGetWalletOptionsCatalogue';
85
+ export { useGetWalletProviderDataByKey, type UseGetWalletProviderDataByKeyParams, } from '../hooks/wrappers/functions/useGetWalletProviderDataByKey';
83
86
  export { useOnWalletProviderEvent } from '../hooks/wrappers/functions/useOnWalletProviderEvent';
87
+ export { useIsDeviceRegistrationRequired } from '../hooks/wrappers/functions/useIsDeviceRegistrationRequired';
88
+ export { useIsUserMissingMfaAuth } from '../hooks/wrappers/functions/useIsUserMissingMfaAuth';
89
+ export { useIsPendingRecoveryCodesAcknowledgment } from '../hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment';
90
+ export { useIsUserOnboardingComplete } from '../hooks/wrappers/functions/useIsUserOnboardingComplete';
91
+ export { useBackupWaasKeySharesToGoogleDrive, type UseBackupWaasKeySharesToGoogleDriveParams, } from '../hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive';
92
+ export { useCreateWaasWalletAccounts, type UseCreateWaasWalletAccountsParams, } from '../hooks/wrappers/functions/useCreateWaasWalletAccounts';
93
+ export { useDelegateWaasKeyShares, type UseDelegateWaasKeySharesParams, } from '../hooks/wrappers/functions/useDelegateWaasKeyShares';
94
+ export { useExportWaasClientKeyshares, type UseExportWaasClientKeysharesParams, } from '../hooks/wrappers/functions/useExportWaasClientKeyshares';
95
+ export { useExportWaasPrivateKey, type UseExportWaasPrivateKeyParams, } from '../hooks/wrappers/functions/useExportWaasPrivateKey';
96
+ export { useGetWalletRecoveryState, type UseGetWalletRecoveryStateParams, } from '../hooks/wrappers/functions/useGetWalletRecoveryState';
97
+ export { useImportWaasPrivateKey, type UseImportWaasPrivateKeyParams, } from '../hooks/wrappers/functions/useImportWaasPrivateKey';
98
+ export { useMigrateFromFireblocks, type UseMigrateFromFireblocksParams, } from '../hooks/wrappers/functions/useMigrateFromFireblocks';
99
+ export { useRefreshWaasWalletAccountShares, type UseRefreshWaasWalletAccountSharesParams, } from '../hooks/wrappers/functions/useRefreshWaasWalletAccountShares';
100
+ export { useRevokeWaasDelegation, type UseRevokeWaasDelegationParams, } from '../hooks/wrappers/functions/useRevokeWaasDelegation';
101
+ export { useSetWaasWalletAccountPassword, type UseSetWaasWalletAccountPasswordParams, } from '../hooks/wrappers/functions/useSetWaasWalletAccountPassword';
102
+ export { useUnlockWallet, type UseUnlockWalletParams, } from '../hooks/wrappers/functions/useUnlockWallet';
103
+ export { useUpdateWaasPassword, type UseUpdateWaasPasswordParams, } from '../hooks/wrappers/functions/useUpdateWaasPassword';
84
104
  export { useInitStatus, type UseInitStatusResult, } from '../hooks/wrappers/state/useInitStatus';
85
105
  export { useSessionExpiresAt } from '../hooks/wrappers/state/useSessionExpiresAt';
86
106
  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,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,GACjC,MAAM,mDAAmD,CAAC;AAC3D,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,+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L,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,wBAAwB,EACxB,KAAK,8BAA8B,GACpC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,iCAAiC,EACjC,KAAK,uCAAuC,GAC7C,MAAM,+DAA+D,CAAC;AACvE,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,+BAA+B,EAC/B,KAAK,qCAAqC,GAC3C,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,eAAe,EACf,KAAK,qBAAqB,GAC3B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,GACjC,MAAM,mDAAmD,CAAC;AAC3D,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"}
@@ -0,0 +1,2 @@
1
+ export { useBackupWaasKeySharesToGoogleDrive, type UseBackupWaasKeySharesToGoogleDriveParams } from './useBackupWaasKeySharesToGoogleDrive';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,KAAK,yCAAyC,EAAE,MAAM,uCAAuC,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { backupWaasKeySharesToGoogleDrive } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
+ type BackupWaasKeySharesToGoogleDriveVariables = Parameters<typeof backupWaasKeySharesToGoogleDrive>[0];
4
+ type BackupWaasKeySharesToGoogleDriveResult = Awaited<ReturnType<typeof backupWaasKeySharesToGoogleDrive>>;
5
+ /**
6
+ * Parameters for {@link useBackupWaasKeySharesToGoogleDrive}: an optional override of the underlying
7
+ * react-query mutation options.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseBackupWaasKeySharesToGoogleDriveParams = {
12
+ * mutateParams: { onSuccess: () => {} },
13
+ * };
14
+ * ```
15
+ * @see useBackupWaasKeySharesToGoogleDrive
16
+ * @see backupWaasKeySharesToGoogleDrive
17
+ */
18
+ export type UseBackupWaasKeySharesToGoogleDriveParams = {
19
+ /**
20
+ * Optional override of any react-query `UseMutationOptions`
21
+ * (`onSuccess`, `onError`, `retry`, etc.).
22
+ */
23
+ mutateParams?: NonNullable<UseBaseMutationParams<BackupWaasKeySharesToGoogleDriveResult, BackupWaasKeySharesToGoogleDriveVariables>['mutateParams']>;
24
+ };
25
+ /**
26
+ * Wraps `backupWaasKeySharesToGoogleDrive` from `@dynamic-labs-sdk/client/waas`. Call `mutate(variables)` to
27
+ * back up an embedded wallet's key shares to the user's Google Drive.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const { mutate, isPending } = useBackupWaasKeySharesToGoogleDrive();
32
+ * <button onClick={() => mutate(variables)} disabled={isPending}>
33
+ * Continue
34
+ * </button>
35
+ * ```
36
+ *
37
+ * @returns A react-query mutation whose `mutate`/`mutateAsync` calls `backupWaasKeySharesToGoogleDrive` and whose `data` is its resolved value.
38
+ * @see backupWaasKeySharesToGoogleDrive
39
+ * @see UseBackupWaasKeySharesToGoogleDriveParams
40
+ */
41
+ export declare const useBackupWaasKeySharesToGoogleDrive: ({ mutateParams }?: UseBackupWaasKeySharesToGoogleDriveParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
+ googleDriveAccessToken?: string;
43
+ password?: string;
44
+ walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
45
+ }>;
46
+ export {};
47
+ //# sourceMappingURL=useBackupWaasKeySharesToGoogleDrive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBackupWaasKeySharesToGoogleDrive.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAEjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,yCAAyC,GAAG,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxG,KAAK,sCAAsC,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC,CAAC;AAE3G;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,yCAAyC,GAAG;IACtD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,sCAAsC,EAAE,yCAAyC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;CACtJ,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,mCAAmC,sBAAsB,yCAAyC;;;;EAI3G,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useCreateWaasWalletAccounts, type UseCreateWaasWalletAccountsParams } from './useCreateWaasWalletAccounts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,KAAK,iCAAiC,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { createWaasWalletAccounts } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
+ type CreateWaasWalletAccountsVariables = Parameters<typeof createWaasWalletAccounts>[0];
4
+ type CreateWaasWalletAccountsResult = Awaited<ReturnType<typeof createWaasWalletAccounts>>;
5
+ /**
6
+ * Parameters for {@link useCreateWaasWalletAccounts}: an optional override of the underlying
7
+ * react-query mutation options.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseCreateWaasWalletAccountsParams = {
12
+ * mutateParams: { onSuccess: () => {} },
13
+ * };
14
+ * ```
15
+ * @see useCreateWaasWalletAccounts
16
+ * @see createWaasWalletAccounts
17
+ */
18
+ export type UseCreateWaasWalletAccountsParams = {
19
+ /**
20
+ * Optional override of any react-query `UseMutationOptions`
21
+ * (`onSuccess`, `onError`, `retry`, etc.).
22
+ */
23
+ mutateParams?: NonNullable<UseBaseMutationParams<CreateWaasWalletAccountsResult, CreateWaasWalletAccountsVariables>['mutateParams']>;
24
+ };
25
+ /**
26
+ * Wraps `createWaasWalletAccounts` from `@dynamic-labs-sdk/client/waas`. Call `mutate(variables)` to
27
+ * create embedded wallet accounts for the signed-in user.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const { mutate, isPending } = useCreateWaasWalletAccounts();
32
+ * <button onClick={() => mutate(variables)} disabled={isPending}>
33
+ * Continue
34
+ * </button>
35
+ * ```
36
+ *
37
+ * @returns A react-query mutation whose `mutate`/`mutateAsync` calls `createWaasWalletAccounts` and whose `data` is its resolved value.
38
+ * @see createWaasWalletAccounts
39
+ * @see UseCreateWaasWalletAccountsParams
40
+ */
41
+ export declare const useCreateWaasWalletAccounts: ({ mutateParams }?: UseCreateWaasWalletAccountsParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
+ chains: import("@dynamic-labs-sdk/client").Chain[] | import("@dynamic-labs-sdk/client/waas").WalletCreationRequirement[];
43
+ password?: string;
44
+ thresholdSignatureScheme?: import("@dynamic-labs-wallet/core").ThresholdSignatureScheme;
45
+ }>;
46
+ export {};
47
+ //# sourceMappingURL=useCreateWaasWalletAccounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCreateWaasWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,iCAAiC,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;AACxF,KAAK,8BAA8B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AAE3F;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,8BAA8B,EAAE,iCAAiC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;CACtI,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,2BAA2B,sBAAsB,iCAAiC;;;;EAI3F,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useDelegateWaasKeyShares, type UseDelegateWaasKeySharesParams } from './useDelegateWaasKeyShares';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDelegateWaasKeyShares/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,KAAK,8BAA8B,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { delegateWaasKeyShares } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
+ type DelegateWaasKeySharesVariables = Parameters<typeof delegateWaasKeyShares>[0];
4
+ type DelegateWaasKeySharesResult = Awaited<ReturnType<typeof delegateWaasKeyShares>>;
5
+ /**
6
+ * Parameters for {@link useDelegateWaasKeyShares}: an optional override of the underlying
7
+ * react-query mutation options.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseDelegateWaasKeySharesParams = {
12
+ * mutateParams: { onSuccess: () => {} },
13
+ * };
14
+ * ```
15
+ * @see useDelegateWaasKeyShares
16
+ * @see delegateWaasKeyShares
17
+ */
18
+ export type UseDelegateWaasKeySharesParams = {
19
+ /**
20
+ * Optional override of any react-query `UseMutationOptions`
21
+ * (`onSuccess`, `onError`, `retry`, etc.).
22
+ */
23
+ mutateParams?: NonNullable<UseBaseMutationParams<DelegateWaasKeySharesResult, DelegateWaasKeySharesVariables>['mutateParams']>;
24
+ };
25
+ /**
26
+ * Wraps `delegateWaasKeyShares` from `@dynamic-labs-sdk/client/waas`. Call `mutate(variables)` to
27
+ * delegate signing access for an embedded wallet to your server.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const { mutate, isPending } = useDelegateWaasKeyShares();
32
+ * <button onClick={() => mutate(variables)} disabled={isPending}>
33
+ * Continue
34
+ * </button>
35
+ * ```
36
+ *
37
+ * @returns A react-query mutation whose `mutate`/`mutateAsync` calls `delegateWaasKeyShares` and whose `data` is its resolved value.
38
+ * @see delegateWaasKeyShares
39
+ * @see UseDelegateWaasKeySharesParams
40
+ */
41
+ export declare const useDelegateWaasKeyShares: ({ mutateParams }?: UseDelegateWaasKeySharesParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
+ password?: string;
43
+ walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
44
+ }>;
45
+ export {};
46
+ //# sourceMappingURL=useDelegateWaasKeyShares.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDelegateWaasKeyShares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,8BAA8B,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;AAClF,KAAK,2BAA2B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC;AAErF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;CAChI,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,sBAAsB,8BAA8B;;;EAIrF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useDetectSocialRedirectUrl, type UseDetectSocialRedirectUrlParams, } from './useDetectSocialRedirectUrl';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDetectSocialRedirectUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,KAAK,gCAAgC,GACtC,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { detectSocialRedirectUrl } from '@dynamic-labs-sdk/client';
2
+ import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
3
+ type DetectSocialRedirectUrlResult = Awaited<ReturnType<typeof detectSocialRedirectUrl>>;
4
+ type DetectSocialRedirectUrlArgs = Parameters<typeof detectSocialRedirectUrl>[0];
5
+ /**
6
+ * Parameters for {@link useDetectSocialRedirectUrl} — the arguments of
7
+ * `detectSocialRedirectUrl` plus an optional react-query options override.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseDetectSocialRedirectUrlParams = { url };
12
+ * ```
13
+ *
14
+ * @see {@link useDetectSocialRedirectUrl} the hook these parameters configure.
15
+ * @see {@link useCompleteSocialRedirect} the mutation you fire once detection
16
+ * returns `true`.
17
+ */
18
+ export type UseDetectSocialRedirectUrlParams = DetectSocialRedirectUrlArgs & {
19
+ /**
20
+ * Optional override of any react-query `UseQueryOptions` (retry,
21
+ * staleTime, refetchInterval, etc.).
22
+ */
23
+ queryParams?: NonNullable<UseBaseQueryParams<DetectSocialRedirectUrlResult>['queryParams']>;
24
+ };
25
+ /**
26
+ * Wraps `detectSocialRedirectUrl` from `@dynamic-labs-sdk/client`. Resolves to
27
+ * `true` when the given URL is an OAuth redirect back from a social provider
28
+ * (started by `signInWithSocialRedirect`), so you can decide whether to run
29
+ * `completeSocialRedirect`.
30
+ *
31
+ * @param params - See {@link UseDetectSocialRedirectUrlParams}.
32
+ * @returns A react-query result whose `data` is `true` when the URL is a social
33
+ * OAuth callback, plus the usual `isLoading`/`error` fields.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * const { data: isReturningFromProvider, isLoading } =
38
+ * useDetectSocialRedirectUrl({ url });
39
+ * ```
40
+ *
41
+ * @see {@link useCompleteSocialRedirect} to finish the redirect sign-in once
42
+ * this returns `true`.
43
+ * @see {@link clearSocialRedirectParams} to clean the OAuth parameters from the
44
+ * URL after completion.
45
+ */
46
+ export declare const useDetectSocialRedirectUrl: ({ queryParams, ...args }: UseDetectSocialRedirectUrlParams) => import("@tanstack/react-query").UseQueryResult<boolean, Error>;
47
+ export {};
48
+ //# sourceMappingURL=useDetectSocialRedirectUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDetectSocialRedirectUrl.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,6BAA6B,GAAG,OAAO,CAC1C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AACF,KAAK,2BAA2B,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gCAAgC,GAAG,2BAA2B,GAAG;IAC3E;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,6BAA6B,CAAC,CAAC,aAAa,CAAC,CACjE,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,0BAA0B,6BAGpC,gCAAgC,mEAK/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useExportWaasClientKeyshares, type UseExportWaasClientKeysharesParams } from './useExportWaasClientKeyshares';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useExportWaasClientKeyshares/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,KAAK,kCAAkC,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { exportWaasClientKeyshares } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
+ type ExportWaasClientKeysharesVariables = Parameters<typeof exportWaasClientKeyshares>[0];
4
+ type ExportWaasClientKeysharesResult = Awaited<ReturnType<typeof exportWaasClientKeyshares>>;
5
+ /**
6
+ * Parameters for {@link useExportWaasClientKeyshares}: an optional override of the underlying
7
+ * react-query mutation options.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseExportWaasClientKeysharesParams = {
12
+ * mutateParams: { onSuccess: () => {} },
13
+ * };
14
+ * ```
15
+ * @see useExportWaasClientKeyshares
16
+ * @see exportWaasClientKeyshares
17
+ */
18
+ export type UseExportWaasClientKeysharesParams = {
19
+ /**
20
+ * Optional override of any react-query `UseMutationOptions`
21
+ * (`onSuccess`, `onError`, `retry`, etc.).
22
+ */
23
+ mutateParams?: NonNullable<UseBaseMutationParams<ExportWaasClientKeysharesResult, ExportWaasClientKeysharesVariables>['mutateParams']>;
24
+ };
25
+ /**
26
+ * Wraps `exportWaasClientKeyshares` from `@dynamic-labs-sdk/client/waas`. Call `mutate(variables)` to
27
+ * export an embedded wallet's client key shares.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const { mutate, isPending } = useExportWaasClientKeyshares();
32
+ * <button onClick={() => mutate(variables)} disabled={isPending}>
33
+ * Continue
34
+ * </button>
35
+ * ```
36
+ *
37
+ * @returns A react-query mutation whose `mutate`/`mutateAsync` calls `exportWaasClientKeyshares` and whose `data` is its resolved value.
38
+ * @see exportWaasClientKeyshares
39
+ * @see UseExportWaasClientKeysharesParams
40
+ */
41
+ export declare const useExportWaasClientKeyshares: ({ mutateParams }?: UseExportWaasClientKeysharesParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
+ password?: string;
43
+ walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
44
+ }>;
45
+ export {};
46
+ //# sourceMappingURL=useExportWaasClientKeyshares.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportWaasClientKeyshares.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,kCAAkC,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1F,KAAK,+BAA+B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC;AAE7F;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,+BAA+B,EAAE,kCAAkC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;CACxI,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,4BAA4B,sBAAsB,kCAAkC;;;EAI7F,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useExportWaasPrivateKey, type UseExportWaasPrivateKeyParams } from './useExportWaasPrivateKey';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useExportWaasPrivateKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { exportWaasPrivateKey } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
+ type ExportWaasPrivateKeyVariables = Parameters<typeof exportWaasPrivateKey>[0];
4
+ type ExportWaasPrivateKeyResult = Awaited<ReturnType<typeof exportWaasPrivateKey>>;
5
+ /**
6
+ * Parameters for {@link useExportWaasPrivateKey}: an optional override of the underlying
7
+ * react-query mutation options.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseExportWaasPrivateKeyParams = {
12
+ * mutateParams: { onSuccess: () => {} },
13
+ * };
14
+ * ```
15
+ * @see useExportWaasPrivateKey
16
+ * @see exportWaasPrivateKey
17
+ */
18
+ export type UseExportWaasPrivateKeyParams = {
19
+ /**
20
+ * Optional override of any react-query `UseMutationOptions`
21
+ * (`onSuccess`, `onError`, `retry`, etc.).
22
+ */
23
+ mutateParams?: NonNullable<UseBaseMutationParams<ExportWaasPrivateKeyResult, ExportWaasPrivateKeyVariables>['mutateParams']>;
24
+ };
25
+ /**
26
+ * Wraps `exportWaasPrivateKey` from `@dynamic-labs-sdk/client/waas`. Call `mutate(variables)` to
27
+ * export an embedded wallet's private key.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const { mutate, isPending } = useExportWaasPrivateKey();
32
+ * <button onClick={() => mutate(variables)} disabled={isPending}>
33
+ * Continue
34
+ * </button>
35
+ * ```
36
+ *
37
+ * @returns A react-query mutation whose `mutate`/`mutateAsync` calls `exportWaasPrivateKey` and whose `data` is its resolved value.
38
+ * @see exportWaasPrivateKey
39
+ * @see UseExportWaasPrivateKeyParams
40
+ */
41
+ export declare const useExportWaasPrivateKey: ({ mutateParams }?: UseExportWaasPrivateKeyParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
+ displayContainer: HTMLElement;
43
+ password?: string;
44
+ walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
45
+ }>;
46
+ export {};
47
+ //# sourceMappingURL=useExportWaasPrivateKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportWaasPrivateKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,6BAA6B,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAChF,KAAK,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC;AAEnF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,0BAA0B,EAAE,6BAA6B,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;CAC9H,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,sBAAsB,6BAA6B;;;;EAInF,CAAC"}
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * Returns the current user's linked social accounts.
3
3
  *
4
- * Re-renders when the user changes.
4
+ * Re-renders when the user changes. Resolves to an empty list while no user is
5
+ * authenticated — the guard is required because the selector runs synchronously
6
+ * and `getUserSocialAccounts` throws (`assertDefined`) when there is no user.
5
7
  */
6
8
  export declare const useGetUserSocialAccounts: () => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs-sdk/client").SocialAccount[], Error>;
7
9
  //# sourceMappingURL=useGetUserSocialAccounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useGetUserSocialAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,iHAMjC,CAAC"}
1
+ {"version":3,"file":"useGetUserSocialAccounts.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,iHAMjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useGetWalletProviderDataByKey, type UseGetWalletProviderDataByKeyParams, } from './useGetWalletProviderDataByKey';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletProviderDataByKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,KAAK,mCAAmC,GACzC,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { getWalletProviderDataByKey } from '@dynamic-labs-sdk/client';
2
+ import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
3
+ type GetWalletProviderDataByKeyResult = Awaited<ReturnType<typeof getWalletProviderDataByKey>>;
4
+ type GetWalletProviderDataByKeyArgs = Parameters<typeof getWalletProviderDataByKey>[0];
5
+ export type UseGetWalletProviderDataByKeyParams = GetWalletProviderDataByKeyArgs & {
6
+ /**
7
+ * Optional override of any react-query `UseQueryOptions` (retry,
8
+ * staleTime, enabled, etc.).
9
+ */
10
+ queryParams?: NonNullable<UseBaseQueryParams<GetWalletProviderDataByKeyResult>['queryParams']>;
11
+ };
12
+ /**
13
+ * Wraps `getWalletProviderDataByKey` from `@dynamic-labs-sdk/client`. Returns
14
+ * the display/connection data for a single wallet provider, by key.
15
+ *
16
+ * The underlying data is read from the in-memory wallet provider registry,
17
+ * which EIP-6963 wallets fill asynchronously after mount. The registry emits
18
+ * `walletProviderChanged` on register / priority update, so wiring it keeps the
19
+ * provider data in sync without consumers pairing the hook with a manual
20
+ * `useOnEvent` + `refetch` listener.
21
+ *
22
+ * `walletProviderUnregistered` is intentionally not wired here: this hook reads
23
+ * a single key, and once that key is removed there is no replacement data to
24
+ * fetch — refetching would only make `getWalletProviderDataByKey` throw
25
+ * `NoWalletProviderFoundError`. Skipping it keeps the last-known data instead of
26
+ * forcing the query into an error state.
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * const { data: walletProviderData } = useGetWalletProviderDataByKey({
31
+ * walletProviderKey,
32
+ * });
33
+ * ```
34
+ */
35
+ export declare const useGetWalletProviderDataByKey: ({ queryParams, ...args }: UseGetWalletProviderDataByKeyParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs-sdk/client").WalletProviderData, Error>;
36
+ export {};
37
+ //# sourceMappingURL=useGetWalletProviderDataByKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetWalletProviderDataByKey.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAI9E,KAAK,gCAAgC,GAAG,OAAO,CAC7C,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAC9C,CAAC;AACF,KAAK,8BAA8B,GAAG,UAAU,CAC9C,OAAO,0BAA0B,CAClC,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,mCAAmC,GAC7C,8BAA8B,GAAG;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CACvB,kBAAkB,CAAC,gCAAgC,CAAC,CAAC,aAAa,CAAC,CACpE,CAAC;CACH,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,6BAA6B,6BAGvC,mCAAmC,iHASlC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useGetWalletRecoveryState, type UseGetWalletRecoveryStateParams, } from './useGetWalletRecoveryState';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletRecoveryState/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,KAAK,+BAA+B,GACrC,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,48 @@
1
+ import type { WalletAccount } from '@dynamic-labs-sdk/client';
2
+ import { getWalletRecoveryState } from '@dynamic-labs-sdk/client/waas';
3
+ import type { UseBaseQueryParams } from '../../../../foundation/useBaseQuery';
4
+ type GetWalletRecoveryStateResult = Awaited<ReturnType<typeof getWalletRecoveryState>>;
5
+ /**
6
+ * Parameters for {@link useGetWalletRecoveryState}: the embedded wallet account to read recovery
7
+ * state for, plus optional react-query options.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const params: UseGetWalletRecoveryStateParams = { walletAccount };
12
+ * ```
13
+ * @see useGetWalletRecoveryState
14
+ * @see getWalletRecoveryState
15
+ */
16
+ export type UseGetWalletRecoveryStateParams = {
17
+ /**
18
+ * Optional override of any react-query `UseQueryOptions` (retry,
19
+ * staleTime, refetchInterval, etc.).
20
+ */
21
+ queryParams?: NonNullable<UseBaseQueryParams<GetWalletRecoveryStateResult>['queryParams']>;
22
+ /**
23
+ * **Pseudo-required.** The embedded wallet account to read recovery state
24
+ * for. Accepting `undefined` lets callers wire this up before the wallet
25
+ * account has loaded — the hook stays disabled until a real value is
26
+ * supplied.
27
+ */
28
+ walletAccount: WalletAccount | undefined;
29
+ };
30
+ /**
31
+ * Returns the recovery state of an embedded wallet account — whether the user
32
+ * still needs to set a password, back up their key shares, etc.
33
+ *
34
+ * Wraps `getWalletRecoveryState` from `@dynamic-labs-sdk/client/waas`. The hook
35
+ * stays disabled until `walletAccount` is defined.
36
+ *
37
+ * @example
38
+ * ```tsx
39
+ * const { data, isLoading } = useGetWalletRecoveryState({ walletAccount });
40
+ * ```
41
+ *
42
+ * @returns A react-query result whose `data` is the wallet account's recovery state; it stays disabled until `walletAccount` is defined.
43
+ * @see getWalletRecoveryState
44
+ * @see UseGetWalletRecoveryStateParams
45
+ */
46
+ export declare const useGetWalletRecoveryState: ({ queryParams, walletAccount, }: UseGetWalletRecoveryStateParams) => import("@tanstack/react-query").UseQueryResult<import("@dynamic-labs-wallet/core").WalletRecoveryState, Error>;
47
+ export {};
48
+ //# sourceMappingURL=useGetWalletRecoveryState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetWalletRecoveryState.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,KAAK,4BAA4B,GAAG,OAAO,CACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;IAC3F;;;;;OAKG;IACH,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,oCAGnC,+BAA+B,mHAW9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useImportWaasPrivateKey, type UseImportWaasPrivateKeyParams } from './useImportWaasPrivateKey';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useImportWaasPrivateKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC"}