@dynamic-labs-sdk/react-hooks 1.28.0 → 1.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/dist/core.cjs +1 -1
  2. package/dist/core.esm.js +1 -1
  3. package/dist/exports/index.d.ts +17 -0
  4. package/dist/exports/index.d.ts.map +1 -1
  5. package/dist/foundation/useBaseState/useBaseState.d.ts +2 -2
  6. package/dist/foundation/useBaseState/useBaseState.d.ts.map +1 -1
  7. package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts +2 -1
  8. package/dist/hooks/wrappers/functions/useAcknowledgeRecoveryCodes/useAcknowledgeRecoveryCodes.d.ts.map +1 -1
  9. package/dist/hooks/wrappers/functions/useAddBusinessAccountMember/useAddBusinessAccountMember.d.ts +2 -5
  10. package/dist/hooks/wrappers/functions/useAddBusinessAccountMember/useAddBusinessAccountMember.d.ts.map +1 -1
  11. package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts +2 -10
  12. package/dist/hooks/wrappers/functions/useAddBusinessAccountSigner/useAddBusinessAccountSigner.d.ts.map +1 -1
  13. package/dist/hooks/wrappers/functions/useAddCoinbaseOnrampOrderEventListener/useAddCoinbaseOnrampOrderEventListener.d.ts.map +1 -1
  14. package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts +2 -4
  15. package/dist/hooks/wrappers/functions/useAddNetwork/useAddNetwork.d.ts.map +1 -1
  16. package/dist/hooks/wrappers/functions/useAddWalletToBusinessAccount/useAddWalletToBusinessAccount.d.ts +2 -8
  17. package/dist/hooks/wrappers/functions/useAddWalletToBusinessAccount/useAddWalletToBusinessAccount.d.ts.map +1 -1
  18. package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts +2 -1
  19. package/dist/hooks/wrappers/functions/useAssertWalletAccountSigningAvailability/useAssertWalletAccountSigningAvailability.d.ts.map +1 -1
  20. package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts +2 -1
  21. package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts.map +1 -1
  22. package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts +2 -5
  23. package/dist/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.d.ts.map +1 -1
  24. package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts +2 -5
  25. package/dist/hooks/wrappers/functions/useAuthenticatePasskeyMFA/useAuthenticatePasskeyMFA.d.ts.map +1 -1
  26. package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts +3 -6
  27. package/dist/hooks/wrappers/functions/useAuthenticateTotpMfaDevice/useAuthenticateTotpMfaDevice.d.ts.map +1 -1
  28. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts +1 -1
  29. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/index.d.ts.map +1 -1
  30. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts +2 -5
  31. package/dist/hooks/wrappers/functions/useBackupWaasKeySharesToGoogleDrive/useBackupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
  32. package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts +2 -1
  33. package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts.map +1 -1
  34. package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts +2 -1
  35. package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts.map +1 -1
  36. package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts +2 -1
  37. package/dist/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.d.ts.map +1 -1
  38. package/dist/hooks/wrappers/functions/useClaimYieldRewards/index.d.ts +2 -0
  39. package/dist/hooks/wrappers/functions/useClaimYieldRewards/index.d.ts.map +1 -0
  40. package/dist/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.d.ts +43 -0
  41. package/dist/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.d.ts.map +1 -0
  42. package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts +2 -3
  43. package/dist/hooks/wrappers/functions/useCompleteDeviceRegistration/useCompleteDeviceRegistration.d.ts.map +1 -1
  44. package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts +2 -1
  45. package/dist/hooks/wrappers/functions/useCompleteSocialRedirect/useCompleteSocialRedirect.d.ts.map +1 -1
  46. package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts +2 -1
  47. package/dist/hooks/wrappers/functions/useConfirmTransaction/useConfirmTransaction.d.ts.map +1 -1
  48. package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts +2 -4
  49. package/dist/hooks/wrappers/functions/useConnectAndVerifyWithWalletProvider/useConnectAndVerifyWithWalletProvider.d.ts.map +1 -1
  50. package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts +2 -5
  51. package/dist/hooks/wrappers/functions/useConnectWithWalletProvider/useConnectWithWalletProvider.d.ts.map +1 -1
  52. package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts +2 -5
  53. package/dist/hooks/wrappers/functions/useCreateBusinessAccount/useCreateBusinessAccount.d.ts.map +1 -1
  54. package/dist/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.d.ts +2 -1
  55. package/dist/hooks/wrappers/functions/useCreateCoinbaseExchangeTransfer/useCreateCoinbaseExchangeTransfer.d.ts.map +1 -1
  56. package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts +2 -1
  57. package/dist/hooks/wrappers/functions/useCreateCoinbaseOnrampOrder/useCreateCoinbaseOnrampOrder.d.ts.map +1 -1
  58. package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts +2 -1
  59. package/dist/hooks/wrappers/functions/useCreateCryptoDotComPayment/useCreateCryptoDotComPayment.d.ts.map +1 -1
  60. package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts +2 -1
  61. package/dist/hooks/wrappers/functions/useCreateKrakenExchangeTransfer/useCreateKrakenExchangeTransfer.d.ts.map +1 -1
  62. package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts +2 -1
  63. package/dist/hooks/wrappers/functions/useCreateNewMfaRecoveryCodes/useCreateNewMfaRecoveryCodes.d.ts.map +1 -1
  64. package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts +3 -0
  65. package/dist/hooks/wrappers/functions/useCreatePolicy/index.d.ts.map +1 -0
  66. package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts +53 -0
  67. package/dist/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.d.ts.map +1 -0
  68. package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.d.ts +1 -1
  69. package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/index.d.ts.map +1 -1
  70. package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.d.ts +2 -6
  71. package/dist/hooks/wrappers/functions/useCreateWaasOfflineRecoveryShares/useCreateWaasOfflineRecoveryShares.d.ts.map +1 -1
  72. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts +1 -1
  73. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/index.d.ts.map +1 -1
  74. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts +2 -5
  75. package/dist/hooks/wrappers/functions/useCreateWaasWalletAccounts/useCreateWaasWalletAccounts.d.ts.map +1 -1
  76. package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.d.ts +1 -1
  77. package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/index.d.ts.map +1 -1
  78. package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.d.ts +2 -10
  79. package/dist/hooks/wrappers/functions/useCreateWalletForBusinessAccount/useCreateWalletForBusinessAccount.d.ts.map +1 -1
  80. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts +1 -1
  81. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/index.d.ts.map +1 -1
  82. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts +2 -5
  83. package/dist/hooks/wrappers/functions/useDelegateWaasKeyShares/useDelegateWaasKeyShares.d.ts.map +1 -1
  84. package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts +2 -4
  85. package/dist/hooks/wrappers/functions/useDeleteMfaDevice/useDeleteMfaDevice.d.ts.map +1 -1
  86. package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts +2 -3
  87. package/dist/hooks/wrappers/functions/useDeletePasskey/useDeletePasskey.d.ts.map +1 -1
  88. package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts +3 -2
  89. package/dist/hooks/wrappers/functions/useDeleteUser/useDeleteUser.d.ts.map +1 -1
  90. package/dist/hooks/wrappers/functions/useDepositToYieldVault/index.d.ts +2 -0
  91. package/dist/hooks/wrappers/functions/useDepositToYieldVault/index.d.ts.map +1 -0
  92. package/dist/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.d.ts +41 -0
  93. package/dist/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.d.ts.map +1 -0
  94. package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts +2 -1
  95. package/dist/hooks/wrappers/functions/useDetectSocialRedirectUrl/useDetectSocialRedirectUrl.d.ts.map +1 -1
  96. package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts +2 -3
  97. package/dist/hooks/wrappers/functions/useExecuteSwapTransaction/useExecuteSwapTransaction.d.ts.map +1 -1
  98. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts +1 -1
  99. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/index.d.ts.map +1 -1
  100. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts +2 -4
  101. package/dist/hooks/wrappers/functions/useExportWaasClientKeyshares/useExportWaasClientKeyshares.d.ts.map +1 -1
  102. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts +1 -1
  103. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/index.d.ts.map +1 -1
  104. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts +2 -5
  105. package/dist/hooks/wrappers/functions/useExportWaasPrivateKey/useExportWaasPrivateKey.d.ts.map +1 -1
  106. package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts +2 -0
  107. package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/index.d.ts.map +1 -0
  108. package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts +39 -0
  109. package/dist/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.d.ts.map +1 -0
  110. package/dist/hooks/wrappers/functions/useGetActiveNetworkData/useGetActiveNetworkData.d.ts +2 -3
  111. package/dist/hooks/wrappers/functions/useGetActiveNetworkData/useGetActiveNetworkData.d.ts.map +1 -1
  112. package/dist/hooks/wrappers/functions/useGetActiveNetworkId/useGetActiveNetworkId.d.ts +2 -3
  113. package/dist/hooks/wrappers/functions/useGetActiveNetworkId/useGetActiveNetworkId.d.ts.map +1 -1
  114. package/dist/hooks/wrappers/functions/useGetAvailableWalletProvidersData/useGetAvailableWalletProvidersData.d.ts +3 -1
  115. package/dist/hooks/wrappers/functions/useGetAvailableWalletProvidersData/useGetAvailableWalletProvidersData.d.ts.map +1 -1
  116. package/dist/hooks/wrappers/functions/useGetBalanceForAddress/useGetBalanceForAddress.d.ts +2 -3
  117. package/dist/hooks/wrappers/functions/useGetBalanceForAddress/useGetBalanceForAddress.d.ts.map +1 -1
  118. package/dist/hooks/wrappers/functions/useGetBusinessAccount/useGetBusinessAccount.d.ts +2 -5
  119. package/dist/hooks/wrappers/functions/useGetBusinessAccount/useGetBusinessAccount.d.ts.map +1 -1
  120. package/dist/hooks/wrappers/functions/useGetCoinbaseAccounts/useGetCoinbaseAccounts.d.ts +2 -1
  121. package/dist/hooks/wrappers/functions/useGetCoinbaseAccounts/useGetCoinbaseAccounts.d.ts.map +1 -1
  122. package/dist/hooks/wrappers/functions/useGetCoinbaseBuyUrl/useGetCoinbaseBuyUrl.d.ts +2 -1
  123. package/dist/hooks/wrappers/functions/useGetCoinbaseBuyUrl/useGetCoinbaseBuyUrl.d.ts.map +1 -1
  124. package/dist/hooks/wrappers/functions/useGetConnectedAddresses/useGetConnectedAddresses.d.ts +2 -3
  125. package/dist/hooks/wrappers/functions/useGetConnectedAddresses/useGetConnectedAddresses.d.ts.map +1 -1
  126. package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts +2 -1
  127. package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts.map +1 -1
  128. package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts +2 -1
  129. package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts.map +1 -1
  130. package/dist/hooks/wrappers/functions/useGetGoogleDriveBackupReadiness/useGetGoogleDriveBackupReadiness.d.ts +2 -1
  131. package/dist/hooks/wrappers/functions/useGetGoogleDriveBackupReadiness/useGetGoogleDriveBackupReadiness.d.ts.map +1 -1
  132. package/dist/hooks/wrappers/functions/useGetKrakenAccounts/useGetKrakenAccounts.d.ts +2 -1
  133. package/dist/hooks/wrappers/functions/useGetKrakenAccounts/useGetKrakenAccounts.d.ts.map +1 -1
  134. package/dist/hooks/wrappers/functions/useGetKrakenWhitelistedAddresses/useGetKrakenWhitelistedAddresses.d.ts +2 -1
  135. package/dist/hooks/wrappers/functions/useGetKrakenWhitelistedAddresses/useGetKrakenWhitelistedAddresses.d.ts.map +1 -1
  136. package/dist/hooks/wrappers/functions/useGetMfaDevices/useGetMfaDevices.d.ts +2 -1
  137. package/dist/hooks/wrappers/functions/useGetMfaDevices/useGetMfaDevices.d.ts.map +1 -1
  138. package/dist/hooks/wrappers/functions/useGetMfaMethods/useGetMfaMethods.d.ts +2 -1
  139. package/dist/hooks/wrappers/functions/useGetMfaMethods/useGetMfaMethods.d.ts.map +1 -1
  140. package/dist/hooks/wrappers/functions/useGetMfaRecoveryCodes/useGetMfaRecoveryCodes.d.ts +2 -1
  141. package/dist/hooks/wrappers/functions/useGetMfaRecoveryCodes/useGetMfaRecoveryCodes.d.ts.map +1 -1
  142. package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts +2 -1
  143. package/dist/hooks/wrappers/functions/useGetMoonPayCurrencies/useGetMoonPayCurrencies.d.ts.map +1 -1
  144. package/dist/hooks/wrappers/functions/useGetMoonPayUrl/index.d.ts +1 -1
  145. package/dist/hooks/wrappers/functions/useGetMoonPayUrl/index.d.ts.map +1 -1
  146. package/dist/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.d.ts +2 -1
  147. package/dist/hooks/wrappers/functions/useGetMoonPayUrl/useGetMoonPayUrl.d.ts.map +1 -1
  148. package/dist/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.d.ts +2 -1
  149. package/dist/hooks/wrappers/functions/useGetMultichainTokenBalances/useGetMultichainTokenBalances.d.ts.map +1 -1
  150. package/dist/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.d.ts +5 -3
  151. package/dist/hooks/wrappers/functions/useGetNativeBalance/useGetNativeBalance.d.ts.map +1 -1
  152. package/dist/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.d.ts +2 -1
  153. package/dist/hooks/wrappers/functions/useGetPasskeys/useGetPasskeys.d.ts.map +1 -1
  154. package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts +2 -0
  155. package/dist/hooks/wrappers/functions/useGetPolicy/index.d.ts.map +1 -0
  156. package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts +39 -0
  157. package/dist/hooks/wrappers/functions/useGetPolicy/useGetPolicy.d.ts.map +1 -0
  158. package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts +2 -1
  159. package/dist/hooks/wrappers/functions/useGetRegisteredDevices/useGetRegisteredDevices.d.ts.map +1 -1
  160. package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts +2 -0
  161. package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/index.d.ts.map +1 -0
  162. package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts +52 -0
  163. package/dist/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.d.ts.map +1 -0
  164. package/dist/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.d.ts +2 -1
  165. package/dist/hooks/wrappers/functions/useGetSwapQuote/useGetSwapQuote.d.ts.map +1 -1
  166. package/dist/hooks/wrappers/functions/useGetSwapStatus/index.d.ts +1 -1
  167. package/dist/hooks/wrappers/functions/useGetSwapStatus/index.d.ts.map +1 -1
  168. package/dist/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.d.ts +2 -1
  169. package/dist/hooks/wrappers/functions/useGetSwapStatus/useGetSwapStatus.d.ts.map +1 -1
  170. package/dist/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.d.ts +2 -1
  171. package/dist/hooks/wrappers/functions/useGetTokenBalances/useGetTokenBalances.d.ts.map +1 -1
  172. package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts +2 -1
  173. package/dist/hooks/wrappers/functions/useGetTransactionHistory/useGetTransactionHistory.d.ts.map +1 -1
  174. package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts +3 -1
  175. package/dist/hooks/wrappers/functions/useGetUserSocialAccounts/useGetUserSocialAccounts.d.ts.map +1 -1
  176. package/dist/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.d.ts +3 -1
  177. package/dist/hooks/wrappers/functions/useGetWalletAccounts/useGetWalletAccounts.d.ts.map +1 -1
  178. package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts +2 -1
  179. package/dist/hooks/wrappers/functions/useGetWalletConnectCatalog/useGetWalletConnectCatalog.d.ts.map +1 -1
  180. package/dist/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts +2 -1
  181. package/dist/hooks/wrappers/functions/useGetWalletConnectCatalogWalletByWalletProviderKey/useGetWalletConnectCatalogWalletByWalletProviderKey.d.ts.map +1 -1
  182. package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts +2 -1
  183. package/dist/hooks/wrappers/functions/useGetWalletOptionsCatalogue/useGetWalletOptionsCatalogue.d.ts.map +1 -1
  184. package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts +2 -0
  185. package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/index.d.ts.map +1 -0
  186. package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts +48 -0
  187. package/dist/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.d.ts.map +1 -0
  188. package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts +2 -1
  189. package/dist/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.d.ts.map +1 -1
  190. package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts +2 -1
  191. package/dist/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.d.ts.map +1 -1
  192. package/dist/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.d.ts +2 -1
  193. package/dist/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.d.ts.map +1 -1
  194. package/dist/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.d.ts +2 -1
  195. package/dist/hooks/wrappers/functions/useGetYieldPosition/useGetYieldPosition.d.ts.map +1 -1
  196. package/dist/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.d.ts +2 -1
  197. package/dist/hooks/wrappers/functions/useGetYieldRewards/useGetYieldRewards.d.ts.map +1 -1
  198. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts +1 -1
  199. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/index.d.ts.map +1 -1
  200. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts +2 -5
  201. package/dist/hooks/wrappers/functions/useImportWaasPrivateKey/useImportWaasPrivateKey.d.ts.map +1 -1
  202. package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts +2 -1
  203. package/dist/hooks/wrappers/functions/useIsDeviceRegistrationRequired/useIsDeviceRegistrationRequired.d.ts.map +1 -1
  204. package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts +2 -1
  205. package/dist/hooks/wrappers/functions/useIsMfaRequiredForAction/useIsMfaRequiredForAction.d.ts.map +1 -1
  206. package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts +2 -1
  207. package/dist/hooks/wrappers/functions/useIsPendingRecoveryCodesAcknowledgment/useIsPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
  208. package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts +2 -1
  209. package/dist/hooks/wrappers/functions/useIsUserMissingMfaAuth/useIsUserMissingMfaAuth.d.ts.map +1 -1
  210. package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts +2 -1
  211. package/dist/hooks/wrappers/functions/useIsUserOnboardingComplete/useIsUserOnboardingComplete.d.ts.map +1 -1
  212. package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts +2 -1
  213. package/dist/hooks/wrappers/functions/useListBusinessAccounts/useListBusinessAccounts.d.ts.map +1 -1
  214. package/dist/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.d.ts +2 -1
  215. package/dist/hooks/wrappers/functions/useListYieldVaults/useListYieldVaults.d.ts.map +1 -1
  216. package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts +2 -1
  217. package/dist/hooks/wrappers/functions/useLogout/useLogout.d.ts.map +1 -1
  218. package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts +2 -1
  219. package/dist/hooks/wrappers/functions/useMergeUserAccounts/useMergeUserAccounts.d.ts.map +1 -1
  220. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts +1 -1
  221. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/index.d.ts.map +1 -1
  222. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts +2 -8
  223. package/dist/hooks/wrappers/functions/useMigrateFromFireblocks/useMigrateFromFireblocks.d.ts.map +1 -1
  224. package/dist/hooks/wrappers/functions/useOnEvent/useOnEvent.d.ts.map +1 -1
  225. package/dist/hooks/wrappers/functions/useOnWalletProviderEvent/useOnWalletProviderEvent.d.ts.map +1 -1
  226. package/dist/hooks/wrappers/functions/useOnceEvent/useOnceEvent.d.ts.map +1 -1
  227. package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts +2 -1
  228. package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts.map +1 -1
  229. package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts +2 -6
  230. package/dist/hooks/wrappers/functions/useProveWalletAccountOwnership/useProveWalletAccountOwnership.d.ts.map +1 -1
  231. package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts +2 -1
  232. package/dist/hooks/wrappers/functions/useRefreshAuth/useRefreshAuth.d.ts.map +1 -1
  233. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts +1 -1
  234. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/index.d.ts.map +1 -1
  235. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts +2 -4
  236. package/dist/hooks/wrappers/functions/useRefreshWaasWalletAccountShares/useRefreshWaasWalletAccountShares.d.ts.map +1 -1
  237. package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts +2 -3
  238. package/dist/hooks/wrappers/functions/useRegisterPasskey/useRegisterPasskey.d.ts.map +1 -1
  239. package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts +2 -1
  240. package/dist/hooks/wrappers/functions/useRegisterTotpMfaDevice/useRegisterTotpMfaDevice.d.ts.map +1 -1
  241. package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts +3 -0
  242. package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/index.d.ts.map +1 -0
  243. package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts +50 -0
  244. package/dist/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.d.ts.map +1 -0
  245. package/dist/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.d.ts +2 -4
  246. package/dist/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.d.ts.map +1 -1
  247. package/dist/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.d.ts +2 -5
  248. package/dist/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.d.ts.map +1 -1
  249. package/dist/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.d.ts +2 -8
  250. package/dist/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.d.ts.map +1 -1
  251. package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts +3 -0
  252. package/dist/hooks/wrappers/functions/useRemovePolicyRules/index.d.ts.map +1 -0
  253. package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts +52 -0
  254. package/dist/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.d.ts.map +1 -0
  255. package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts +3 -0
  256. package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.d.ts.map +1 -0
  257. package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts +52 -0
  258. package/dist/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.d.ts.map +1 -0
  259. package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts +2 -3
  260. package/dist/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.d.ts.map +1 -1
  261. package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts +3 -0
  262. package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.d.ts.map +1 -0
  263. package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts +52 -0
  264. package/dist/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.d.ts.map +1 -0
  265. package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts +2 -3
  266. package/dist/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.d.ts.map +1 -1
  267. package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts +2 -1
  268. package/dist/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.d.ts.map +1 -1
  269. package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts +4 -6
  270. package/dist/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.d.ts.map +1 -1
  271. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts +1 -1
  272. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/index.d.ts.map +1 -1
  273. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts +2 -4
  274. package/dist/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.d.ts.map +1 -1
  275. package/dist/hooks/wrappers/functions/useScreenTransaction/index.d.ts +3 -0
  276. package/dist/hooks/wrappers/functions/useScreenTransaction/index.d.ts.map +1 -0
  277. package/dist/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.d.ts +57 -0
  278. package/dist/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.d.ts.map +1 -0
  279. package/dist/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.d.ts +2 -1
  280. package/dist/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.d.ts.map +1 -1
  281. package/dist/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.d.ts +2 -1
  282. package/dist/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.d.ts.map +1 -1
  283. package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts +2 -3
  284. package/dist/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.d.ts.map +1 -1
  285. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts +1 -1
  286. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.d.ts.map +1 -1
  287. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts +2 -4
  288. package/dist/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.d.ts.map +1 -1
  289. package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts +2 -4
  290. package/dist/hooks/wrappers/functions/useSignInWithExternalJwt/useSignInWithExternalJwt.d.ts.map +1 -1
  291. package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts +2 -1
  292. package/dist/hooks/wrappers/functions/useSignInWithPasskey/useSignInWithPasskey.d.ts.map +1 -1
  293. package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts +2 -1
  294. package/dist/hooks/wrappers/functions/useSignInWithSocialPopUp/useSignInWithSocialPopUp.d.ts.map +1 -1
  295. package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts +2 -1
  296. package/dist/hooks/wrappers/functions/useSignInWithSocialRedirect/useSignInWithSocialRedirect.d.ts.map +1 -1
  297. package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts +2 -6
  298. package/dist/hooks/wrappers/functions/useSignMessage/useSignMessage.d.ts.map +1 -1
  299. package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts +2 -0
  300. package/dist/hooks/wrappers/functions/useSignSerializedTransaction/index.d.ts.map +1 -0
  301. package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts +50 -0
  302. package/dist/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.d.ts.map +1 -0
  303. package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts +2 -1
  304. package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts.map +1 -1
  305. package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts +2 -4
  306. package/dist/hooks/wrappers/functions/useSwitchActiveNetwork/useSwitchActiveNetwork.d.ts.map +1 -1
  307. package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts +2 -3
  308. package/dist/hooks/wrappers/functions/useTransferAmount/useTransferAmount.d.ts.map +1 -1
  309. package/dist/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.d.ts +2 -8
  310. package/dist/hooks/wrappers/functions/useTransferBusinessAccountOwnership/useTransferBusinessAccountOwnership.d.ts.map +1 -1
  311. package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts +2 -3
  312. package/dist/hooks/wrappers/functions/useTransferWalletAccount/useTransferWalletAccount.d.ts.map +1 -1
  313. package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts +2 -3
  314. package/dist/hooks/wrappers/functions/useUnlinkSocialAccount/useUnlinkSocialAccount.d.ts.map +1 -1
  315. package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts +2 -4
  316. package/dist/hooks/wrappers/functions/useUnlockWallet/useUnlockWallet.d.ts.map +1 -1
  317. package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts +2 -4
  318. package/dist/hooks/wrappers/functions/useUpdateBusinessAccount/useUpdateBusinessAccount.d.ts.map +1 -1
  319. package/dist/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.d.ts +2 -5
  320. package/dist/hooks/wrappers/functions/useUpdateBusinessAccountMemberRole/useUpdateBusinessAccountMemberRole.d.ts.map +1 -1
  321. package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts +2 -3
  322. package/dist/hooks/wrappers/functions/useUpdateUser/useUpdateUser.d.ts.map +1 -1
  323. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts +1 -1
  324. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/index.d.ts.map +1 -1
  325. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts +2 -5
  326. package/dist/hooks/wrappers/functions/useUpdateWaasPassword/useUpdateWaasPassword.d.ts.map +1 -1
  327. package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts +3 -0
  328. package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/index.d.ts.map +1 -0
  329. package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts +53 -0
  330. package/dist/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.d.ts.map +1 -0
  331. package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts +3 -0
  332. package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/index.d.ts.map +1 -0
  333. package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts +54 -0
  334. package/dist/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.d.ts.map +1 -0
  335. package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts +2 -0
  336. package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/index.d.ts.map +1 -0
  337. package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts +52 -0
  338. package/dist/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.d.ts.map +1 -0
  339. package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts +2 -1
  340. package/dist/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.d.ts.map +1 -1
  341. package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts +2 -4
  342. package/dist/hooks/wrappers/functions/useVerifyWalletAccount/useVerifyWalletAccount.d.ts.map +1 -1
  343. package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/index.d.ts +2 -0
  344. package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/index.d.ts.map +1 -0
  345. package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts +41 -0
  346. package/dist/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.d.ts.map +1 -0
  347. package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts +2 -1
  348. package/dist/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.d.ts.map +1 -1
  349. package/dist/hooks/wrappers/state/useUser/useUser.d.ts +3 -1
  350. package/dist/hooks/wrappers/state/useUser/useUser.d.ts.map +1 -1
  351. package/dist/index.cjs +513 -1
  352. package/dist/index.cjs.map +1 -1
  353. package/dist/index.esm.js +499 -4
  354. package/dist/index.esm.js.map +1 -1
  355. package/dist/modules/DynamicContext/DynamicProvider.d.ts +12 -2
  356. package/dist/modules/DynamicContext/DynamicProvider.d.ts.map +1 -1
  357. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  358. package/dist/{useBaseState-M_pLmHLf.cjs → useBaseState-BNd25q_I.cjs} +12 -2
  359. package/dist/useBaseState-BNd25q_I.cjs.map +1 -0
  360. package/dist/{useBaseState-CIT5lFjP.esm.js → useBaseState-J0-SE2DJ.esm.js} +12 -2
  361. package/dist/useBaseState-J0-SE2DJ.esm.js.map +1 -0
  362. package/package.json +4 -4
  363. package/dist/useBaseState-CIT5lFjP.esm.js.map +0 -1
  364. package/dist/useBaseState-M_pLmHLf.cjs.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { removeBusinessAccountMember } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RemoveBusinessAccountMemberVariables = Parameters<typeof removeBusinessAccountMember>[0];
4
5
  type RemoveBusinessAccountMemberResult = Awaited<ReturnType<typeof removeBusinessAccountMember>>;
@@ -38,9 +39,6 @@ export type UseRemoveBusinessAccountMemberParams = {
38
39
  * @see removeBusinessAccountMember
39
40
  * @see UseRemoveBusinessAccountMemberParams
40
41
  */
41
- export declare const useRemoveBusinessAccountMember: ({ mutateParams, }?: UseRemoveBusinessAccountMemberParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client/waas").BusinessAccountMember, Error, {
42
- businessAccountId: string;
43
- userId: string;
44
- }>;
42
+ export declare const useRemoveBusinessAccountMember: ({ mutateParams, }?: UseRemoveBusinessAccountMemberParams) => UseMutationResult<RemoveBusinessAccountMemberResult, Error, RemoveBusinessAccountMemberVariables>;
45
43
  export {};
46
44
  //# sourceMappingURL=useRemoveBusinessAccountMember.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRemoveBusinessAccountMember.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC;;;EAQnC,CAAC"}
1
+ {"version":3,"file":"useRemoveBusinessAccountMember.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveBusinessAccountMember/useRemoveBusinessAccountMember.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC,KAAQ,iBAAiB,CAC9D,iCAAiC,EACjC,KAAK,EACL,oCAAoC,CASlC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { removeBusinessAccountSigner } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RemoveBusinessAccountSignerVariables = Parameters<typeof removeBusinessAccountSigner>[0];
4
5
  type RemoveBusinessAccountSignerResult = Awaited<ReturnType<typeof removeBusinessAccountSigner>>;
@@ -38,10 +39,6 @@ export type UseRemoveBusinessAccountSignerParams = {
38
39
  * @see removeBusinessAccountSigner
39
40
  * @see UseRemoveBusinessAccountSignerParams
40
41
  */
41
- export declare const useRemoveBusinessAccountSigner: ({ mutateParams, }?: UseRemoveBusinessAccountSignerParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client/waas").BusinessAccountSigner, Error, {
42
- businessAccountId: string;
43
- signerId: string;
44
- walletId: string;
45
- }>;
42
+ export declare const useRemoveBusinessAccountSigner: ({ mutateParams, }?: UseRemoveBusinessAccountSignerParams) => UseMutationResult<RemoveBusinessAccountSignerResult, Error, RemoveBusinessAccountSignerVariables>;
46
43
  export {};
47
44
  //# sourceMappingURL=useRemoveBusinessAccountSigner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRemoveBusinessAccountSigner.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC;;;;EAQnC,CAAC"}
1
+ {"version":3,"file":"useRemoveBusinessAccountSigner.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveBusinessAccountSigner/useRemoveBusinessAccountSigner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC,KAAQ,iBAAiB,CAC9D,iCAAiC,EACjC,KAAK,EACL,oCAAoC,CASlC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { removeBusinessAccountWallet } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RemoveBusinessAccountWalletVariables = Parameters<typeof removeBusinessAccountWallet>[0];
4
5
  type RemoveBusinessAccountWalletResult = Awaited<ReturnType<typeof removeBusinessAccountWallet>>;
@@ -39,13 +40,6 @@ export type UseRemoveBusinessAccountWalletParams = {
39
40
  * @see UseRemoveBusinessAccountWalletParams
40
41
  * @notInstrumented
41
42
  */
42
- export declare const useRemoveBusinessAccountWallet: ({ mutateParams, }?: UseRemoveBusinessAccountWalletParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client/waas").BusinessAccount & {
43
- members: import("@dynamic-labs-sdk/client/waas").BusinessAccountMember[];
44
- signers: import("@dynamic-labs-sdk/client/waas").BusinessAccountSigner[];
45
- wallets?: import("@dynamic-labs-sdk/client/waas").BusinessAccountWalletSummary[];
46
- }, Error, {
47
- businessAccountId: string;
48
- walletId: string;
49
- }>;
43
+ export declare const useRemoveBusinessAccountWallet: ({ mutateParams, }?: UseRemoveBusinessAccountWalletParams) => UseMutationResult<RemoveBusinessAccountWalletResult, Error, RemoveBusinessAccountWalletVariables>;
50
44
  export {};
51
45
  //# sourceMappingURL=useRemoveBusinessAccountWallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRemoveBusinessAccountWallet.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC;;;;;;;EAQnC,CAAC"}
1
+ {"version":3,"file":"useRemoveBusinessAccountWallet.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveBusinessAccountWallet/useRemoveBusinessAccountWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,oCAAoC,GAAG,UAAU,CACpD,OAAO,2BAA2B,CACnC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAC/C,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,iCAAiC,EACjC,oCAAoC,CACrC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,8BAA8B,uBAExC,oCAAoC,KAAQ,iBAAiB,CAC9D,iCAAiC,EACjC,KAAK,EACL,oCAAoC,CASlC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { useRemovePolicyRules } from './useRemovePolicyRules';
2
+ export type { UseRemovePolicyRulesParams } from './useRemovePolicyRules';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemovePolicyRules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { removePolicyRules } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
3
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
4
+ type RemovePolicyRulesVariables = Parameters<typeof removePolicyRules>[0];
5
+ type RemovePolicyRulesResult = Awaited<ReturnType<typeof removePolicyRules>>;
6
+ /**
7
+ * Parameters for {@link useRemovePolicyRules}: an optional override of
8
+ * the underlying react-query mutation options.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * const params: UseRemovePolicyRulesParams = {
13
+ * mutateParams: { onSuccess: () => console.log('removed') },
14
+ * };
15
+ * ```
16
+ * @see useRemovePolicyRules
17
+ * @see removePolicyRules
18
+ */
19
+ export type UseRemovePolicyRulesParams = {
20
+ /**
21
+ * Optional override of any react-query `UseMutationOptions`
22
+ * (`onSuccess`, `onError`, `retry`, etc.).
23
+ */
24
+ mutateParams?: NonNullable<UseBaseMutationParams<RemovePolicyRulesResult, RemovePolicyRulesVariables>['mutateParams']>;
25
+ };
26
+ /**
27
+ * Removes one or more rules from a policy layer via a single atomic batch.
28
+ *
29
+ * Wraps `removePolicyRules` from `@dynamic-labs-sdk/client/waas`. On success,
30
+ * invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
31
+ * {@link useGetSignerPolicyLayer} — all three read the same underlying
32
+ * wallet/signer policy layer this mutates — so mounted consumers of any of
33
+ * them refetch the updated rules.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * const { mutate: removeRules, isPending } = useRemovePolicyRules();
38
+ * <button
39
+ * onClick={() => removeRules({ chain, rules: ['blockExport'], scope })}
40
+ * disabled={isPending}
41
+ * >
42
+ * Remove rules
43
+ * </button>
44
+ * ```
45
+ *
46
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rules; the resolved `data` is the policy layer after the batch is applied.
47
+ * @see removePolicyRules
48
+ * @see UseRemovePolicyRulesParams
49
+ */
50
+ export declare const useRemovePolicyRules: ({ mutateParams, }?: UseRemovePolicyRulesParams) => UseMutationResult<RemovePolicyRulesResult, Error, RemovePolicyRulesVariables>;
51
+ export {};
52
+ //# sourceMappingURL=useRemovePolicyRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRemovePolicyRules.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,KAAK,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,uBAAuB,EACvB,0BAA0B,CAC3B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,oBAAoB,uBAE9B,0BAA0B,KAAQ,iBAAiB,CACpD,uBAAuB,EACvB,KAAK,EACL,0BAA0B,CAYxB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { useRemoveSignerPolicyRule } from './useRemoveSignerPolicyRule';
2
+ export type { UseRemoveSignerPolicyRuleParams } from './useRemoveSignerPolicyRule';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveSignerPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { removeSignerPolicyRule } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
3
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
4
+ type RemoveSignerPolicyRuleVariables = Parameters<typeof removeSignerPolicyRule>[0];
5
+ type RemoveSignerPolicyRuleResult = Awaited<ReturnType<typeof removeSignerPolicyRule>>;
6
+ /**
7
+ * Parameters for {@link useRemoveSignerPolicyRule}: an optional override of
8
+ * the underlying react-query mutation options.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * const params: UseRemoveSignerPolicyRuleParams = {
13
+ * mutateParams: { onSuccess: () => console.log('removed') },
14
+ * };
15
+ * ```
16
+ * @see useRemoveSignerPolicyRule
17
+ * @see removeSignerPolicyRule
18
+ */
19
+ export type UseRemoveSignerPolicyRuleParams = {
20
+ /**
21
+ * Optional override of any react-query `UseMutationOptions`
22
+ * (`onSuccess`, `onError`, `retry`, etc.).
23
+ */
24
+ mutateParams?: NonNullable<UseBaseMutationParams<RemoveSignerPolicyRuleResult, RemoveSignerPolicyRuleVariables>['mutateParams']>;
25
+ };
26
+ /**
27
+ * Removes a single rule from a signer's policy layer.
28
+ *
29
+ * Wraps `removeSignerPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
30
+ * `mutate({ ruleId, walletAccount })`; the resolved `data` is the
31
+ * signer-Layer as it stands after the rule is removed. On success,
32
+ * invalidates {@link useGetSignerPolicyLayer} so mounted consumers refetch
33
+ * the updated rules.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * const { mutate: removeRule, isPending } = useRemoveSignerPolicyRule();
38
+ * <button
39
+ * onClick={() => removeRule({ ruleId, walletAccount })}
40
+ * disabled={isPending}
41
+ * >
42
+ * Remove rule
43
+ * </button>
44
+ * ```
45
+ *
46
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the signer-Layer after the rule is removed.
47
+ * @see removeSignerPolicyRule
48
+ * @see UseRemoveSignerPolicyRuleParams
49
+ */
50
+ export declare const useRemoveSignerPolicyRule: ({ mutateParams, }?: UseRemoveSignerPolicyRuleParams) => UseMutationResult<RemoveSignerPolicyRuleResult, Error, RemoveSignerPolicyRuleVariables>;
51
+ export {};
52
+ //# sourceMappingURL=useRemoveSignerPolicyRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRemoveSignerPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,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;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAU7B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { removeWalletAccount } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RemoveWalletAccountVariables = Parameters<typeof removeWalletAccount>[0];
4
5
  type RemoveWalletAccountResult = Awaited<ReturnType<typeof removeWalletAccount>>;
@@ -27,8 +28,6 @@ export type UseRemoveWalletAccountParams = {
27
28
  * </button>
28
29
  * ```
29
30
  */
30
- export declare const useRemoveWalletAccount: ({ mutateParams, }?: UseRemoveWalletAccountParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
31
- walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
32
- }>;
31
+ export declare const useRemoveWalletAccount: ({ mutateParams, }?: UseRemoveWalletAccountParams) => UseMutationResult<RemoveWalletAccountResult, Error, RemoveWalletAccountVariables>;
33
32
  export {};
34
33
  //# sourceMappingURL=useRemoveWalletAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRemoveWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B;;EAK3B,CAAC"}
1
+ {"version":3,"file":"useRemoveWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveWalletAccount/useRemoveWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B,KAAQ,iBAAiB,CACtD,yBAAyB,EACzB,KAAK,EACL,4BAA4B,CAM1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { useRemoveWalletPolicyRule } from './useRemoveWalletPolicyRule';
2
+ export type { UseRemoveWalletPolicyRuleParams } from './useRemoveWalletPolicyRule';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveWalletPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { removeWalletPolicyRule } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
3
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
4
+ type RemoveWalletPolicyRuleVariables = Parameters<typeof removeWalletPolicyRule>[0];
5
+ type RemoveWalletPolicyRuleResult = Awaited<ReturnType<typeof removeWalletPolicyRule>>;
6
+ /**
7
+ * Parameters for {@link useRemoveWalletPolicyRule}: an optional override of
8
+ * the underlying react-query mutation options.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * const params: UseRemoveWalletPolicyRuleParams = {
13
+ * mutateParams: { onSuccess: () => console.log('removed') },
14
+ * };
15
+ * ```
16
+ * @see useRemoveWalletPolicyRule
17
+ * @see removeWalletPolicyRule
18
+ */
19
+ export type UseRemoveWalletPolicyRuleParams = {
20
+ /**
21
+ * Optional override of any react-query `UseMutationOptions`
22
+ * (`onSuccess`, `onError`, `retry`, etc.).
23
+ */
24
+ mutateParams?: NonNullable<UseBaseMutationParams<RemoveWalletPolicyRuleResult, RemoveWalletPolicyRuleVariables>['mutateParams']>;
25
+ };
26
+ /**
27
+ * Removes a single rule from a wallet's policy layer.
28
+ *
29
+ * Wraps `removeWalletPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
30
+ * `mutate({ ruleId, walletAccount })`; the resolved `data` is the
31
+ * wallet-Layer as it stands after the rule is removed. On success,
32
+ * invalidates {@link useGetWalletPolicyLayer} so mounted consumers refetch
33
+ * the updated rules.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * const { mutate: removeRule, isPending } = useRemoveWalletPolicyRule();
38
+ * <button
39
+ * onClick={() => removeRule({ ruleId, walletAccount })}
40
+ * disabled={isPending}
41
+ * >
42
+ * Remove rule
43
+ * </button>
44
+ * ```
45
+ *
46
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the wallet-Layer after the rule is removed.
47
+ * @see removeWalletPolicyRule
48
+ * @see UseRemoveWalletPolicyRuleParams
49
+ */
50
+ export declare const useRemoveWalletPolicyRule: ({ mutateParams, }?: UseRemoveWalletPolicyRuleParams) => UseMutationResult<RemoveWalletPolicyRuleResult, Error, RemoveWalletPolicyRuleVariables>;
51
+ export {};
52
+ //# sourceMappingURL=useRemoveWalletPolicyRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRemoveWalletPolicyRule.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,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;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,4BAA4B,EAC5B,+BAA+B,CAChC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAU7B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { requestExternalAuthElevatedToken } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RequestExternalAuthElevatedTokenVariables = Parameters<typeof requestExternalAuthElevatedToken>[0];
4
5
  type RequestExternalAuthElevatedTokenResult = Awaited<ReturnType<typeof requestExternalAuthElevatedToken>>;
@@ -19,8 +20,6 @@ export type UseRequestExternalAuthElevatedTokenParams = {
19
20
  * requestElevatedToken({ externalJwt });
20
21
  * ```
21
22
  */
22
- export declare const useRequestExternalAuthElevatedToken: ({ mutateParams, }?: UseRequestExternalAuthElevatedTokenParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs/sdk-api-core").ExternalAuthAssertionResponse, Error, {
23
- externalJwt: string;
24
- }>;
23
+ export declare const useRequestExternalAuthElevatedToken: ({ mutateParams, }?: UseRequestExternalAuthElevatedTokenParams) => UseMutationResult<RequestExternalAuthElevatedTokenResult, Error, RequestExternalAuthElevatedTokenVariables>;
25
24
  export {};
26
25
  //# sourceMappingURL=useRequestExternalAuthElevatedToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRequestExternalAuthElevatedToken.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,yCAAyC,GAAG,UAAU,CACzD,OAAO,gCAAgC,CACxC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,sCAAsC,GAAG,OAAO,CACnD,UAAU,CAAC,OAAO,gCAAgC,CAAC,CACpD,CAAC;AAEF,MAAM,MAAM,yCAAyC,GAAG;IACtD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,sCAAsC,EACtC,yCAAyC,CAC1C,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,mCAAmC,uBAE7C,yCAAyC;;EAQxC,CAAC"}
1
+ {"version":3,"file":"useRequestExternalAuthElevatedToken.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,yCAAyC,GAAG,UAAU,CACzD,OAAO,gCAAgC,CACxC,CAAC,CAAC,CAAC,CAAC;AACL,KAAK,sCAAsC,GAAG,OAAO,CACnD,UAAU,CAAC,OAAO,gCAAgC,CAAC,CACpD,CAAC;AAEF,MAAM,MAAM,yCAAyC,GAAG;IACtD;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,sCAAsC,EACtC,yCAAyC,CAC1C,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,mCAAmC,uBAE7C,yCAAyC,KAAQ,iBAAiB,CACnE,sCAAsC,EACtC,KAAK,EACL,yCAAyC,CASvC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { revokeAllRegisteredDevices } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RevokeAllRegisteredDevicesResult = Awaited<ReturnType<typeof revokeAllRegisteredDevices>>;
4
5
  export type UseRevokeAllRegisteredDevicesParams = {
@@ -20,6 +21,6 @@ export type UseRevokeAllRegisteredDevicesParams = {
20
21
  * </button>
21
22
  * ```
22
23
  */
23
- export declare const useRevokeAllRegisteredDevices: ({ mutateParams, }?: UseRevokeAllRegisteredDevicesParams) => import("@tanstack/react-query").UseMutationResult<void, Error, void>;
24
+ export declare const useRevokeAllRegisteredDevices: ({ mutateParams, }?: UseRevokeAllRegisteredDevicesParams) => UseMutationResult<void, Error, void>;
24
25
  export {};
25
26
  //# sourceMappingURL=useRevokeAllRegisteredDevices.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRevokeAllRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,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,IAAI,CACL,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B,uBAEvC,mCAAmC,yEAMrC,CAAC"}
1
+ {"version":3,"file":"useRevokeAllRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeAllRegisteredDevices/useRevokeAllRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,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,IAAI,CACL,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,6BAA6B,uBAEvC,mCAAmC,KAAQ,iBAAiB,CAC7D,IAAI,EACJ,KAAK,EACL,IAAI,CAOL,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { revokeRegisteredDevice } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
- type RevokeRegisteredDeviceVariables = Parameters<typeof revokeRegisteredDevice>[0];
4
- type RevokeRegisteredDeviceResult = Awaited<ReturnType<typeof revokeRegisteredDevice>>;
4
+ export type RevokeRegisteredDeviceVariables = Parameters<typeof revokeRegisteredDevice>[0];
5
+ export type RevokeRegisteredDeviceResult = Awaited<ReturnType<typeof revokeRegisteredDevice>>;
5
6
  export type UseRevokeRegisteredDeviceParams = {
6
7
  /**
7
8
  * Optional override of any react-query `UseMutationOptions`
@@ -28,8 +29,5 @@ export type UseRevokeRegisteredDeviceParams = {
28
29
  * </button>
29
30
  * ```
30
31
  */
31
- export declare const useRevokeRegisteredDevice: ({ mutateParams, }?: UseRevokeRegisteredDeviceParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
32
- deviceRegistrationId: string;
33
- }>;
34
- export {};
32
+ export declare const useRevokeRegisteredDevice: ({ mutateParams, }?: UseRevokeRegisteredDeviceParams) => UseMutationResult<RevokeRegisteredDeviceResult, Error, RevokeRegisteredDeviceVariables>;
35
33
  //# sourceMappingURL=useRevokeRegisteredDevice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRevokeRegisteredDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,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;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B;;EAUjC,CAAC"}
1
+ {"version":3,"file":"useRevokeRegisteredDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeRegisteredDevice/useRevokeRegisteredDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,sBAAsB,CAC9B,CAAC,CAAC,CAAC,CAAC;AACL,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAChD,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;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,yBAAyB,uBAEnC,+BAA+B,KAAQ,iBAAiB,CACzD,4BAA4B,EAC5B,KAAK,EACL,+BAA+B,CAWhC,CAAC"}
@@ -1,2 +1,2 @@
1
- export { useRevokeWaasDelegation, type UseRevokeWaasDelegationParams } from './useRevokeWaasDelegation';
1
+ export { useRevokeWaasDelegation, type UseRevokeWaasDelegationParams, } from './useRevokeWaasDelegation';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeWaasDelegation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeWaasDelegation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,6BAA6B,GACnC,MAAM,2BAA2B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { revokeWaasDelegation } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type RevokeWaasDelegationVariables = Parameters<typeof revokeWaasDelegation>[0];
4
5
  type RevokeWaasDelegationResult = Awaited<ReturnType<typeof revokeWaasDelegation>>;
@@ -38,9 +39,6 @@ export type UseRevokeWaasDelegationParams = {
38
39
  * @see revokeWaasDelegation
39
40
  * @see UseRevokeWaasDelegationParams
40
41
  */
41
- export declare const useRevokeWaasDelegation: ({ mutateParams }?: UseRevokeWaasDelegationParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
- password?: string;
43
- walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
44
- }>;
42
+ export declare const useRevokeWaasDelegation: ({ mutateParams, }?: UseRevokeWaasDelegationParams) => UseMutationResult<RevokeWaasDelegationResult, Error, RevokeWaasDelegationVariables>;
45
43
  export {};
46
44
  //# sourceMappingURL=useRevokeWaasDelegation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRevokeWaasDelegation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.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
+ {"version":3,"file":"useRevokeWaasDelegation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useRevokeWaasDelegation/useRevokeWaasDelegation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,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,CACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CACxC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,0BAA0B,EAC1B,6BAA6B,CAC9B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,uBAEjC,6BAA6B,KAAQ,iBAAiB,CACvD,0BAA0B,EAC1B,KAAK,EACL,6BAA6B,CAM3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { useScreenTransaction } from './useScreenTransaction';
2
+ export type { UseScreenTransactionParams } from './useScreenTransaction';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useScreenTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { screenTransaction } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
3
+ import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
4
+ type ScreenTransactionVariables = Parameters<typeof screenTransaction>[0];
5
+ type ScreenTransactionResult = Awaited<ReturnType<typeof screenTransaction>>;
6
+ /**
7
+ * Parameters for {@link useScreenTransaction}.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const { mutateAsync } = useScreenTransaction({
12
+ * mutateParams: { onError: (error) => reportScreeningOutage(error) },
13
+ * });
14
+ * ```
15
+ *
16
+ * @see useScreenTransaction
17
+ * @see screenTransaction
18
+ */
19
+ export type UseScreenTransactionParams = {
20
+ /**
21
+ * Optional override of any react-query `UseMutationOptions`
22
+ * (`onSuccess`, `onError`, `retry`, etc.).
23
+ */
24
+ mutateParams?: NonNullable<UseBaseMutationParams<ScreenTransactionResult, ScreenTransactionVariables>['mutateParams']>;
25
+ };
26
+ /**
27
+ * Screens a connected wallet's transaction for sanctioned addresses before you
28
+ * prompt it to sign, and returns the verdict.
29
+ *
30
+ * Wraps `screenTransaction` from `@dynamic-labs-sdk/client`. A `block` verdict
31
+ * resolves rather than throwing, so branch on `decision` — only screening
32
+ * failures land in `error`.
33
+ *
34
+ * @example
35
+ * ```tsx
36
+ * const { mutateAsync: screenTransaction, isPending } = useScreenTransaction();
37
+ *
38
+ * const send = async () => {
39
+ * const { decision } = await screenTransaction({
40
+ * chain: 'EVM',
41
+ * context: { evmTransaction: { to } },
42
+ * });
43
+ *
44
+ * if (decision === 'block') return showBlockedDestination();
45
+ *
46
+ * await walletClient.sendTransaction(transaction);
47
+ * };
48
+ * ```
49
+ *
50
+ * @param [params.mutateParams] - Optional react-query `UseMutationOptions` overrides.
51
+ * @returns A react-query mutation whose `mutateAsync` resolves to the screening verdict.
52
+ * @see screenTransaction
53
+ * @see isExternalWalletScreeningEnabled
54
+ */
55
+ export declare const useScreenTransaction: ({ mutateParams, }?: UseScreenTransactionParams) => UseMutationResult<ScreenTransactionResult, Error, ScreenTransactionVariables>;
56
+ export {};
57
+ //# sourceMappingURL=useScreenTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScreenTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,KAAK,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,uBAAuB,EACvB,0BAA0B,CAC3B,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,oBAAoB,uBAE9B,0BAA0B,KAAQ,iBAAiB,CACpD,uBAAuB,EACvB,KAAK,EACL,0BAA0B,CAKxB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { sendEmailOTP } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type SendEmailOTPVariables = Parameters<typeof sendEmailOTP>[0];
4
5
  type SendEmailOTPResult = Awaited<ReturnType<typeof sendEmailOTP>>;
@@ -29,6 +30,6 @@ export type UseSendEmailOTPParams = {
29
30
  * </button>
30
31
  * ```
31
32
  */
32
- export declare const useSendEmailOTP: ({ mutateParams }?: UseSendEmailOTPParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client").OTPVerification, Error, import("../../../../../../client/src/modules/otp/sendEmailOTP/sendEmailOTP").SendEmailOTPParams>;
33
+ export declare const useSendEmailOTP: ({ mutateParams, }?: UseSendEmailOTPParams) => UseMutationResult<SendEmailOTPResult, Error, SendEmailOTPVariables>;
33
34
  export {};
34
35
  //# sourceMappingURL=useSendEmailOTP.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSendEmailOTP.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.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,qBAAqB,GAAG;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,kBAAkB,EAClB,qBAAqB,CACtB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,sBAAsB,qBAAqB,kNAInE,CAAC"}
1
+ {"version":3,"file":"useSendEmailOTP.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSendEmailOTP/useSendEmailOTP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AAChE,KAAK,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC;AAEnE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,kBAAkB,EAClB,qBAAqB,CACtB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,uBAEzB,qBAAqB,KAAQ,iBAAiB,CAC/C,kBAAkB,EAClB,KAAK,EACL,qBAAqB,CAKnB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { sendSmsOTP } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type SendSmsOTPVariables = Parameters<typeof sendSmsOTP>[0];
4
5
  type SendSmsOTPResult = Awaited<ReturnType<typeof sendSmsOTP>>;
@@ -31,6 +32,6 @@ export type UseSendSmsOTPParams = {
31
32
  * </button>
32
33
  * ```
33
34
  */
34
- export declare const useSendSmsOTP: ({ mutateParams }?: UseSendSmsOTPParams) => import("@tanstack/react-query").UseMutationResult<import("@dynamic-labs-sdk/client").OTPVerification, Error, import("../../../../../../client/src/modules/otp/sendSmsOTP/sendSmsOTP").SendSmsOTPParams>;
35
+ export declare const useSendSmsOTP: ({ mutateParams, }?: UseSendSmsOTPParams) => UseMutationResult<SendSmsOTPResult, Error, SendSmsOTPVariables>;
35
36
  export {};
36
37
  //# sourceMappingURL=useSendSmsOTP.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSendSmsOTP.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,mBAAmB,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5D,KAAK,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,gBAAgB,EAChB,mBAAmB,CACpB,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,aAAa,sBAAsB,mBAAmB,4MAI/D,CAAC"}
1
+ {"version":3,"file":"useSendSmsOTP.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSendSmsOTP/useSendSmsOTP.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,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;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,aAAa,uBAEvB,mBAAmB,KAAQ,iBAAiB,CAC7C,gBAAgB,EAChB,KAAK,EACL,mBAAmB,CAKjB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { setDefaultMfaDevice } from '@dynamic-labs-sdk/client';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type SetDefaultMfaDeviceVariables = Parameters<typeof setDefaultMfaDevice>[0];
4
5
  type SetDefaultMfaDeviceResult = Awaited<ReturnType<typeof setDefaultMfaDevice>>;
@@ -23,8 +24,6 @@ export type UseSetDefaultMfaDeviceParams = {
23
24
  * </button>
24
25
  * ```
25
26
  */
26
- export declare const useSetDefaultMfaDevice: ({ mutateParams, }?: UseSetDefaultMfaDeviceParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
27
- deviceId: string;
28
- }>;
27
+ export declare const useSetDefaultMfaDevice: ({ mutateParams, }?: UseSetDefaultMfaDeviceParams) => UseMutationResult<SetDefaultMfaDeviceResult, Error, SetDefaultMfaDeviceVariables>;
29
28
  export {};
30
29
  //# sourceMappingURL=useSetDefaultMfaDevice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSetDefaultMfaDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B;;EAM3B,CAAC"}
1
+ {"version":3,"file":"useSetDefaultMfaDevice.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIpF,KAAK,4BAA4B,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,KAAK,yBAAyB,GAAG,OAAO,CACtC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAClC,yBAAyB,EACzB,4BAA4B,CAC7B,CAAC,cAAc,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,uBAEhC,4BAA4B,KAAQ,iBAAiB,CACtD,yBAAyB,EACzB,KAAK,EACL,4BAA4B,CAO1B,CAAC"}
@@ -1,2 +1,2 @@
1
- export { useSetWaasWalletAccountPassword, type UseSetWaasWalletAccountPasswordParams } from './useSetWaasWalletAccountPassword';
1
+ export { useSetWaasWalletAccountPassword, type UseSetWaasWalletAccountPasswordParams, } from './useSetWaasWalletAccountPassword';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,KAAK,qCAAqC,EAAE,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSetWaasWalletAccountPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,KAAK,qCAAqC,GAC3C,MAAM,mCAAmC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { setWaasWalletAccountPassword } from '@dynamic-labs-sdk/client/waas';
2
+ import type { UseMutationResult } from '@tanstack/react-query';
2
3
  import type { UseBaseMutationParams } from '../../../../foundation/useBaseMutation';
3
4
  type SetWaasWalletAccountPasswordVariables = Parameters<typeof setWaasWalletAccountPassword>[0];
4
5
  type SetWaasWalletAccountPasswordResult = Awaited<ReturnType<typeof setWaasWalletAccountPassword>>;
@@ -38,9 +39,6 @@ export type UseSetWaasWalletAccountPasswordParams = {
38
39
  * @see setWaasWalletAccountPassword
39
40
  * @see UseSetWaasWalletAccountPasswordParams
40
41
  */
41
- export declare const useSetWaasWalletAccountPassword: ({ mutateParams }?: UseSetWaasWalletAccountPasswordParams) => import("@tanstack/react-query").UseMutationResult<void, Error, {
42
- password: string;
43
- walletAccount: import("@dynamic-labs-sdk/client").WalletAccount;
44
- }>;
42
+ export declare const useSetWaasWalletAccountPassword: ({ mutateParams, }?: UseSetWaasWalletAccountPasswordParams) => UseMutationResult<SetWaasWalletAccountPasswordResult, Error, SetWaasWalletAccountPasswordVariables>;
45
43
  export {};
46
44
  //# sourceMappingURL=useSetWaasWalletAccountPassword.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSetWaasWalletAccountPassword.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAE7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAGpF,KAAK,qCAAqC,GAAG,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;AAChG,KAAK,kCAAkC,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAAC;AAEnG;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,kCAAkC,EAAE,qCAAqC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;CAC9I,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,sBAAsB,qCAAqC;;;EAInG,CAAC"}
1
+ {"version":3,"file":"useSetWaasWalletAccountPassword.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/wrappers/functions/useSetWaasWalletAccountPassword/useSetWaasWalletAccountPassword.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,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;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CACxB,qBAAqB,CACnB,kCAAkC,EAClC,qCAAqC,CACtC,CAAC,cAAc,CAAC,CAClB,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,uBAEzC,qCAAqC,KAAQ,iBAAiB,CAC/D,kCAAkC,EAClC,KAAK,EACL,qCAAqC,CASnC,CAAC"}