@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
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_useBaseState = require('./useBaseState-M_pLmHLf.cjs');
1
+ const require_useBaseState = require('./useBaseState-BNd25q_I.cjs');
2
2
  let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
3
3
  let _dynamic_labs_sdk_client = require("@dynamic-labs-sdk/client");
4
4
  let _tanstack_react_query = require("@tanstack/react-query");
@@ -1671,6 +1671,70 @@ const useRemoveWalletAccount = ({ mutateParams } = {}) => require_useBaseState.u
1671
1671
  mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.removeWalletAccount)(variables, client)
1672
1672
  });
1673
1673
 
1674
+ //#endregion
1675
+ //#region src/hooks/wrappers/functions/useRemoveSignerPolicyRule/useRemoveSignerPolicyRule.ts
1676
+ /**
1677
+ * Removes a single rule from a signer's policy layer.
1678
+ *
1679
+ * Wraps `removeSignerPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
1680
+ * `mutate({ ruleId, walletAccount })`; the resolved `data` is the
1681
+ * signer-Layer as it stands after the rule is removed. On success,
1682
+ * invalidates {@link useGetSignerPolicyLayer} so mounted consumers refetch
1683
+ * the updated rules.
1684
+ *
1685
+ * @example
1686
+ * ```tsx
1687
+ * const { mutate: removeRule, isPending } = useRemoveSignerPolicyRule();
1688
+ * <button
1689
+ * onClick={() => removeRule({ ruleId, walletAccount })}
1690
+ * disabled={isPending}
1691
+ * >
1692
+ * Remove rule
1693
+ * </button>
1694
+ * ```
1695
+ *
1696
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the signer-Layer after the rule is removed.
1697
+ * @see removeSignerPolicyRule
1698
+ * @see UseRemoveSignerPolicyRuleParams
1699
+ */
1700
+ const useRemoveSignerPolicyRule = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
1701
+ middlewares: [invalidatesQueries("useGetSignerPolicyLayer")],
1702
+ mutateParams,
1703
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.removeSignerPolicyRule)(variables, client)
1704
+ });
1705
+
1706
+ //#endregion
1707
+ //#region src/hooks/wrappers/functions/useRemoveWalletPolicyRule/useRemoveWalletPolicyRule.ts
1708
+ /**
1709
+ * Removes a single rule from a wallet's policy layer.
1710
+ *
1711
+ * Wraps `removeWalletPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
1712
+ * `mutate({ ruleId, walletAccount })`; the resolved `data` is the
1713
+ * wallet-Layer as it stands after the rule is removed. On success,
1714
+ * invalidates {@link useGetWalletPolicyLayer} so mounted consumers refetch
1715
+ * the updated rules.
1716
+ *
1717
+ * @example
1718
+ * ```tsx
1719
+ * const { mutate: removeRule, isPending } = useRemoveWalletPolicyRule();
1720
+ * <button
1721
+ * onClick={() => removeRule({ ruleId, walletAccount })}
1722
+ * disabled={isPending}
1723
+ * >
1724
+ * Remove rule
1725
+ * </button>
1726
+ * ```
1727
+ *
1728
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the wallet-Layer after the rule is removed.
1729
+ * @see removeWalletPolicyRule
1730
+ * @see UseRemoveWalletPolicyRuleParams
1731
+ */
1732
+ const useRemoveWalletPolicyRule = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
1733
+ middlewares: [invalidatesQueries("useGetWalletPolicyLayer")],
1734
+ mutateParams,
1735
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.removeWalletPolicyRule)(variables, client)
1736
+ });
1737
+
1674
1738
  //#endregion
1675
1739
  //#region src/hooks/wrappers/functions/useRequestExternalAuthElevatedToken/useRequestExternalAuthElevatedToken.ts
1676
1740
  /**
@@ -1888,6 +1952,42 @@ const useSignInWithSocialRedirect = ({ mutateParams } = {}) => require_useBaseSt
1888
1952
  mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.signInWithSocialRedirect)(variables, client)
1889
1953
  });
1890
1954
 
1955
+ //#endregion
1956
+ //#region src/hooks/wrappers/functions/useScreenTransaction/useScreenTransaction.ts
1957
+ /**
1958
+ * Screens a connected wallet's transaction for sanctioned addresses before you
1959
+ * prompt it to sign, and returns the verdict.
1960
+ *
1961
+ * Wraps `screenTransaction` from `@dynamic-labs-sdk/client`. A `block` verdict
1962
+ * resolves rather than throwing, so branch on `decision` — only screening
1963
+ * failures land in `error`.
1964
+ *
1965
+ * @example
1966
+ * ```tsx
1967
+ * const { mutateAsync: screenTransaction, isPending } = useScreenTransaction();
1968
+ *
1969
+ * const send = async () => {
1970
+ * const { decision } = await screenTransaction({
1971
+ * chain: 'EVM',
1972
+ * context: { evmTransaction: { to } },
1973
+ * });
1974
+ *
1975
+ * if (decision === 'block') return showBlockedDestination();
1976
+ *
1977
+ * await walletClient.sendTransaction(transaction);
1978
+ * };
1979
+ * ```
1980
+ *
1981
+ * @param [params.mutateParams] - Optional react-query `UseMutationOptions` overrides.
1982
+ * @returns A react-query mutation whose `mutateAsync` resolves to the screening verdict.
1983
+ * @see screenTransaction
1984
+ * @see isExternalWalletScreeningEnabled
1985
+ */
1986
+ const useScreenTransaction = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
1987
+ mutateParams,
1988
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.screenTransaction)(variables, client)
1989
+ });
1990
+
1891
1991
  //#endregion
1892
1992
  //#region src/hooks/wrappers/functions/useSignMessage/useSignMessage.ts
1893
1993
  /**
@@ -1913,6 +2013,35 @@ const useSignMessage = ({ mutateParams } = {}) => require_useBaseState.useBaseMu
1913
2013
  mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.signMessage)(variables, client)
1914
2014
  });
1915
2015
 
2016
+ //#endregion
2017
+ //#region src/hooks/wrappers/functions/useSignSerializedTransaction/useSignSerializedTransaction.ts
2018
+ /**
2019
+ * Signs an already-serialized transaction directly.
2020
+ *
2021
+ * Wraps `signSerializedTransaction` from `@dynamic-labs-sdk/client/waas`.
2022
+ * Call `mutate({ walletAccount, serializedTransaction, chainId })`; the
2023
+ * resolved `data` is the raw signature.
2024
+ *
2025
+ * @example
2026
+ * ```tsx
2027
+ * const { mutate: signSerializedTransaction, isPending } = useSignSerializedTransaction();
2028
+ * <button
2029
+ * onClick={() => signSerializedTransaction({ walletAccount, serializedTransaction })}
2030
+ * disabled={isPending}
2031
+ * >
2032
+ * Sign
2033
+ * </button>
2034
+ * ```
2035
+ *
2036
+ * @returns A react-query mutation whose `mutate`/`mutateAsync` calls `signSerializedTransaction` and whose `data` is its resolved value.
2037
+ * @see signSerializedTransaction
2038
+ * @see UseSignSerializedTransactionParams
2039
+ */
2040
+ const useSignSerializedTransaction = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
2041
+ mutateParams,
2042
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.signSerializedTransaction)(variables, client)
2043
+ });
2044
+
1916
2045
  //#endregion
1917
2046
  //#region src/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.ts
1918
2047
  /**
@@ -2244,6 +2373,38 @@ const useGetUserSocialAccounts = () => require_useBaseState.useBaseState({
2244
2373
  selector: (client) => client.user ? (0, _dynamic_labs_sdk_client.getUserSocialAccounts)(client) : []
2245
2374
  });
2246
2375
 
2376
+ //#endregion
2377
+ //#region src/hooks/wrappers/functions/useUpsertWalletPolicyRule/useUpsertWalletPolicyRule.ts
2378
+ /**
2379
+ * Creates or updates a single rule on a wallet's policy layer.
2380
+ *
2381
+ * Wraps `upsertWalletPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
2382
+ * `mutate({ rule, walletAccount })`; the resolved `data` is the wallet-Layer
2383
+ * as it stands after the rule is applied. On success, invalidates
2384
+ * {@link useGetWalletPolicyLayer} so mounted consumers refetch the updated
2385
+ * rules.
2386
+ *
2387
+ * @example
2388
+ * ```tsx
2389
+ * const { mutate: upsertRule, isPending } = useUpsertWalletPolicyRule();
2390
+ * <button
2391
+ * onClick={() => upsertRule({ rule, walletAccount })}
2392
+ * disabled={isPending}
2393
+ * >
2394
+ * Save rule
2395
+ * </button>
2396
+ * ```
2397
+ *
2398
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the wallet-Layer after the rule is applied.
2399
+ * @see upsertWalletPolicyRule
2400
+ * @see UseUpsertWalletPolicyRuleParams
2401
+ */
2402
+ const useUpsertWalletPolicyRule = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
2403
+ middlewares: [invalidatesQueries("useGetWalletPolicyLayer")],
2404
+ mutateParams,
2405
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.upsertWalletPolicyRule)(variables, client)
2406
+ });
2407
+
2247
2408
  //#endregion
2248
2409
  //#region src/hooks/wrappers/functions/useVerifyOTP/useVerifyOTP.ts
2249
2410
  /**
@@ -2393,6 +2554,30 @@ const useGetWalletOptionsCatalogue = ({ queryParams, ...args } = {}) => require_
2393
2554
  }
2394
2555
  });
2395
2556
 
2557
+ //#endregion
2558
+ //#region src/hooks/wrappers/functions/useGetWalletPolicyLayer/useGetWalletPolicyLayer.ts
2559
+ /**
2560
+ * Returns a wallet's active policy rules (the wallet-Layer).
2561
+ *
2562
+ * Wraps `getWalletPolicyLayer` from `@dynamic-labs-sdk/client/waas`. The hook
2563
+ * stays disabled until `walletAccount` is defined.
2564
+ *
2565
+ * @example
2566
+ * ```tsx
2567
+ * const { data, isLoading } = useGetWalletPolicyLayer({ walletAccount });
2568
+ * ```
2569
+ *
2570
+ * @returns A react-query result whose `data` is the wallet-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
2571
+ * @see getWalletPolicyLayer
2572
+ * @see UseGetWalletPolicyLayerParams
2573
+ */
2574
+ const useGetWalletPolicyLayer = ({ queryParams, walletAccount }) => require_useBaseState.useBaseQuery({
2575
+ enabled: walletAccount !== void 0,
2576
+ queryFn: (client) => (0, _dynamic_labs_sdk_client_waas.getWalletPolicyLayer)({ walletAccount }, client),
2577
+ queryKey: ["useGetWalletPolicyLayer", walletAccount?.id],
2578
+ queryParams
2579
+ });
2580
+
2396
2581
  //#endregion
2397
2582
  //#region src/hooks/wrappers/functions/useGetWalletProviderDataByKey/useGetWalletProviderDataByKey.ts
2398
2583
  /**
@@ -2651,6 +2836,38 @@ const useExportWaasPrivateKey = ({ mutateParams } = {}) => require_useBaseState.
2651
2836
  mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.exportWaasPrivateKey)(variables, client)
2652
2837
  });
2653
2838
 
2839
+ //#endregion
2840
+ //#region src/hooks/wrappers/functions/useGetSignerPolicyLayer/useGetSignerPolicyLayer.ts
2841
+ /**
2842
+ * Wraps `getSignerPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Returns
2843
+ * a signer's active policy rules (the signer-Layer) — the caller's own
2844
+ * active share set by default, or another share set on the same wallet when
2845
+ * `shareSetId` is given. The hook stays disabled until `walletAccount` is
2846
+ * defined.
2847
+ *
2848
+ * @example
2849
+ * ```tsx
2850
+ * const { data, isLoading } = useGetSignerPolicyLayer({ walletAccount });
2851
+ * ```
2852
+ *
2853
+ * @returns A react-query result whose `data` is the signer-Layer, including its current rules; it stays disabled until `walletAccount` is defined.
2854
+ * @see getSignerPolicyLayer
2855
+ * @see UseGetSignerPolicyLayerParams
2856
+ */
2857
+ const useGetSignerPolicyLayer = ({ queryParams, shareSetId, walletAccount }) => require_useBaseState.useBaseQuery({
2858
+ enabled: walletAccount !== void 0,
2859
+ queryFn: (client) => (0, _dynamic_labs_sdk_client_waas.getSignerPolicyLayer)({
2860
+ shareSetId,
2861
+ walletAccount
2862
+ }, client),
2863
+ queryKey: [
2864
+ "useGetSignerPolicyLayer",
2865
+ walletAccount?.id,
2866
+ shareSetId
2867
+ ],
2868
+ queryParams
2869
+ });
2870
+
2654
2871
  //#endregion
2655
2872
  //#region src/hooks/wrappers/functions/useGetWalletRecoveryState/useGetWalletRecoveryState.ts
2656
2873
  /**
@@ -2837,6 +3054,260 @@ const useUpdateWaasPassword = ({ mutateParams } = {}) => require_useBaseState.us
2837
3054
  mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.updateWaasPassword)(variables, client)
2838
3055
  });
2839
3056
 
3057
+ //#endregion
3058
+ //#region src/hooks/wrappers/functions/useUpsertSignerPolicyRule/useUpsertSignerPolicyRule.ts
3059
+ /**
3060
+ * Creates or updates a single rule on a signer's policy layer. Build `rule`
3061
+ * with `buildAllowPolicyRule` / `buildDenyPolicyRule` — the enclave always
3062
+ * mints the rule id.
3063
+ *
3064
+ * Wraps `upsertSignerPolicyRule` from `@dynamic-labs-sdk/client/waas`. Call
3065
+ * `mutate({ rule, walletAccount })`; the resolved `data` is the signer-Layer
3066
+ * as it stands after the rule is applied. On success, invalidates
3067
+ * {@link useGetSignerPolicyLayer} so mounted consumers refetch the updated
3068
+ * rules.
3069
+ *
3070
+ * @example
3071
+ * ```tsx
3072
+ * const { mutate: upsertRule, isPending } = useUpsertSignerPolicyRule();
3073
+ * <button
3074
+ * onClick={() => upsertRule({ rule, walletAccount })}
3075
+ * disabled={isPending}
3076
+ * >
3077
+ * Save rule
3078
+ * </button>
3079
+ * ```
3080
+ *
3081
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the signer-Layer after the rule is applied.
3082
+ * @see upsertSignerPolicyRule
3083
+ * @see UseUpsertSignerPolicyRuleParams
3084
+ */
3085
+ const useUpsertSignerPolicyRule = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3086
+ middlewares: [invalidatesQueries("useGetSignerPolicyLayer")],
3087
+ mutateParams,
3088
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.upsertSignerPolicyRule)(variables, client)
3089
+ });
3090
+
3091
+ //#endregion
3092
+ //#region src/hooks/wrappers/functions/useCreatePolicy/useCreatePolicy.ts
3093
+ /**
3094
+ * Creates or updates a wallet's or signer's policy rules from the
3095
+ * `PolicyRules` sugar map, in one atomic `batch` PATCH.
3096
+ *
3097
+ * Wraps `createPolicy` from `@dynamic-labs-sdk/client/waas`. On success,
3098
+ * invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
3099
+ * {@link useGetSignerPolicyLayer} — all three read the same underlying
3100
+ * wallet/signer policy layer this mutates — so mounted consumers of any of
3101
+ * them refetch the updated policy.
3102
+ *
3103
+ * @example
3104
+ * ```tsx
3105
+ * const { mutate: createPolicy, isPending } = useCreatePolicy();
3106
+ * <button
3107
+ * onClick={() => createPolicy({ chain, rules, scope })}
3108
+ * disabled={isPending}
3109
+ * >
3110
+ * Save policy
3111
+ * </button>
3112
+ * ```
3113
+ *
3114
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` creates the policy; the resolved `data` is the policy layer after the batch is applied.
3115
+ * @see createPolicy
3116
+ * @see UseCreatePolicyParams
3117
+ */
3118
+ const useCreatePolicy = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3119
+ middlewares: [invalidatesQueries("useGetPolicy", "useGetWalletPolicyLayer", "useGetSignerPolicyLayer")],
3120
+ mutateParams,
3121
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.createPolicy)(variables, client)
3122
+ });
3123
+
3124
+ //#endregion
3125
+ //#region src/hooks/wrappers/functions/useGetPolicy/useGetPolicy.ts
3126
+ /**
3127
+ * Wraps `getPolicy` from `@dynamic-labs-sdk/client/waas`. Retrieves a policy
3128
+ * layer's rules for the given scope.
3129
+ *
3130
+ * @example
3131
+ * ```tsx
3132
+ * const { data: policy, isLoading } = useGetPolicy({ scope: { walletId } });
3133
+ * ```
3134
+ *
3135
+ * @returns A react-query result whose `data` is the policy detail resolved by `getPolicy`.
3136
+ * @see getPolicy
3137
+ * @see UseGetPolicyParams
3138
+ */
3139
+ const useGetPolicy = ({ queryParams, ...args }) => require_useBaseState.useBaseQuery({
3140
+ queryFn: (client) => (0, _dynamic_labs_sdk_client_waas.getPolicy)(args, client),
3141
+ queryKey: ["useGetPolicy", args],
3142
+ queryParams
3143
+ });
3144
+
3145
+ //#endregion
3146
+ //#region src/hooks/wrappers/functions/useRemovePolicyRules/useRemovePolicyRules.ts
3147
+ /**
3148
+ * Removes one or more rules from a policy layer via a single atomic batch.
3149
+ *
3150
+ * Wraps `removePolicyRules` from `@dynamic-labs-sdk/client/waas`. On success,
3151
+ * invalidates {@link useGetPolicy}, {@link useGetWalletPolicyLayer}, and
3152
+ * {@link useGetSignerPolicyLayer} — all three read the same underlying
3153
+ * wallet/signer policy layer this mutates — so mounted consumers of any of
3154
+ * them refetch the updated rules.
3155
+ *
3156
+ * @example
3157
+ * ```tsx
3158
+ * const { mutate: removeRules, isPending } = useRemovePolicyRules();
3159
+ * <button
3160
+ * onClick={() => removeRules({ chain, rules: ['blockExport'], scope })}
3161
+ * disabled={isPending}
3162
+ * >
3163
+ * Remove rules
3164
+ * </button>
3165
+ * ```
3166
+ *
3167
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rules; the resolved `data` is the policy layer after the batch is applied.
3168
+ * @see removePolicyRules
3169
+ * @see UseRemovePolicyRulesParams
3170
+ */
3171
+ const useRemovePolicyRules = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3172
+ middlewares: [invalidatesQueries("useGetPolicy", "useGetWalletPolicyLayer", "useGetSignerPolicyLayer")],
3173
+ mutateParams,
3174
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.removePolicyRules)(variables, client)
3175
+ });
3176
+
3177
+ //#endregion
3178
+ //#region src/hooks/wrappers/functions/useGetAccountPolicyLayer/useGetAccountPolicyLayer.ts
3179
+ /**
3180
+ * Wraps `getAccountPolicyLayer` from `@dynamic-labs-sdk/client/waas`. Retrieves a business
3181
+ * account's active policy rules (the account-Layer).
3182
+ *
3183
+ * @example
3184
+ * ```tsx
3185
+ * const { data: accountPolicyLayer, isLoading } = useGetAccountPolicyLayer({ businessAccountId });
3186
+ * ```
3187
+ *
3188
+ * @returns A react-query result whose `data` is the account-Layer resolved by `getAccountPolicyLayer`.
3189
+ * @see getAccountPolicyLayer
3190
+ * @see UseGetAccountPolicyLayerParams
3191
+ */
3192
+ const useGetAccountPolicyLayer = ({ queryParams, ...args }) => require_useBaseState.useBaseQuery({
3193
+ queryFn: (client) => (0, _dynamic_labs_sdk_client_waas.getAccountPolicyLayer)(args, client),
3194
+ queryKey: ["useGetAccountPolicyLayer", args],
3195
+ queryParams
3196
+ });
3197
+
3198
+ //#endregion
3199
+ //#region src/hooks/wrappers/functions/useUpsertAccountPolicyRule/useUpsertAccountPolicyRule.ts
3200
+ /**
3201
+ * Creates or updates a single rule on a business account's account-Layer —
3202
+ * the Rules that apply to every wallet in the business account. Build
3203
+ * `rule` with `buildAllowPolicyRule` / `buildDenyPolicyRule` — the enclave
3204
+ * always mints the rule id.
3205
+ *
3206
+ * Wraps `upsertAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
3207
+ * success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
3208
+ * refetch the updated rules.
3209
+ *
3210
+ * @example
3211
+ * ```tsx
3212
+ * const { mutate: upsertRule, isPending } = useUpsertAccountPolicyRule();
3213
+ * <button
3214
+ * onClick={() => upsertRule({ businessAccountId, rule })}
3215
+ * disabled={isPending}
3216
+ * >
3217
+ * Save rule
3218
+ * </button>
3219
+ * ```
3220
+ *
3221
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` upserts the rule; the resolved `data` is the account-Layer after the rule is applied.
3222
+ * @see upsertAccountPolicyRule
3223
+ * @see UseUpsertAccountPolicyRuleParams
3224
+ */
3225
+ const useUpsertAccountPolicyRule = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3226
+ middlewares: [invalidatesQueries("useGetAccountPolicyLayer")],
3227
+ mutateParams,
3228
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.upsertAccountPolicyRule)(variables, client)
3229
+ });
3230
+
3231
+ //#endregion
3232
+ //#region src/hooks/wrappers/functions/useRemoveAccountPolicyRule/useRemoveAccountPolicyRule.ts
3233
+ /**
3234
+ * Removes a single rule from a business account's account-Layer.
3235
+ *
3236
+ * Wraps `removeAccountPolicyRule` from `@dynamic-labs-sdk/client/waas`. On
3237
+ * success, invalidates {@link useGetAccountPolicyLayer} so mounted consumers
3238
+ * refetch the updated rules.
3239
+ *
3240
+ * @example
3241
+ * ```tsx
3242
+ * const { mutate: removeRule, isPending } = useRemoveAccountPolicyRule();
3243
+ * <button
3244
+ * onClick={() => removeRule({ businessAccountId, ruleId })}
3245
+ * disabled={isPending}
3246
+ * >
3247
+ * Remove rule
3248
+ * </button>
3249
+ * ```
3250
+ *
3251
+ * @returns A react-query mutation result whose `mutate`/`mutateAsync` removes the rule; the resolved `data` is the account-Layer after the rule is removed.
3252
+ * @see removeAccountPolicyRule
3253
+ * @see UseRemoveAccountPolicyRuleParams
3254
+ */
3255
+ const useRemoveAccountPolicyRule = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3256
+ middlewares: [invalidatesQueries("useGetAccountPolicyLayer")],
3257
+ mutateParams,
3258
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client_waas.removeAccountPolicyRule)(variables, client)
3259
+ });
3260
+
3261
+ //#endregion
3262
+ //#region src/hooks/wrappers/functions/useClaimYieldRewards/useClaimYieldRewards.ts
3263
+ /**
3264
+ * Wraps `claimYieldRewards` from `@dynamic-labs-sdk/client`. Call
3265
+ * `mutate({ vaultId, walletAccount })` to claim a wallet account's accrued
3266
+ * rewards in a vault; the resolved `data` is `{ transactionHash }`.
3267
+ *
3268
+ * Rejects when there is nothing claimable for this vault right now. Read
3269
+ * accrued rewards with {@link useGetYieldRewards} before calling.
3270
+ *
3271
+ * @example
3272
+ * ```tsx
3273
+ * const { mutate: claim, data } = useClaimYieldRewards();
3274
+ * claim({ vaultId, walletAccount });
3275
+ * ```
3276
+ *
3277
+ * @returns A react-query mutation whose `data` is the claim transaction hash.
3278
+ * @see claimYieldRewards
3279
+ * @see UseClaimYieldRewardsParams
3280
+ */
3281
+ const useClaimYieldRewards = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3282
+ middlewares: [invalidatesQueries("useGetYieldRewards")],
3283
+ mutateParams,
3284
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.claimYieldRewards)(variables, client)
3285
+ });
3286
+
3287
+ //#endregion
3288
+ //#region src/hooks/wrappers/functions/useDepositToYieldVault/useDepositToYieldVault.ts
3289
+ /**
3290
+ * Wraps `depositToYieldVault` from `@dynamic-labs-sdk/client`. Call
3291
+ * `mutate({ amount, vaultId, walletAccount })` to deposit into a vault (using a
3292
+ * `vaultId` from {@link useListYieldVaults}); the resolved `data` is
3293
+ * `{ transactionHash }`.
3294
+ *
3295
+ * @example
3296
+ * ```tsx
3297
+ * const { mutate: deposit, data } = useDepositToYieldVault();
3298
+ * deposit({ amount: '10.5', vaultId, walletAccount });
3299
+ * ```
3300
+ *
3301
+ * @returns A react-query mutation whose `data` is the deposit transaction hash.
3302
+ * @see depositToYieldVault
3303
+ * @see UseDepositToYieldVaultParams
3304
+ */
3305
+ const useDepositToYieldVault = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3306
+ middlewares: [invalidatesQueries("useGetYieldPosition")],
3307
+ mutateParams,
3308
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.depositToYieldVault)(variables, client)
3309
+ });
3310
+
2840
3311
  //#endregion
2841
3312
  //#region src/hooks/wrappers/functions/useGetYieldDetails/useGetYieldDetails.ts
2842
3313
  /**
@@ -2937,6 +3408,30 @@ const useListYieldVaults = ({ queryParams } = {}) => require_useBaseState.useBas
2937
3408
  queryParams
2938
3409
  });
2939
3410
 
3411
+ //#endregion
3412
+ //#region src/hooks/wrappers/functions/useWithdrawFromYieldVault/useWithdrawFromYieldVault.ts
3413
+ /**
3414
+ * Wraps `withdrawFromYieldVault` from `@dynamic-labs-sdk/client`. Call
3415
+ * `mutate({ amount, vaultId, walletAccount })` to withdraw from a vault (using a
3416
+ * `vaultId` from {@link useListYieldVaults}); the resolved `data` is
3417
+ * `{ transactionHash }`.
3418
+ *
3419
+ * @example
3420
+ * ```tsx
3421
+ * const { mutate: withdraw, data } = useWithdrawFromYieldVault();
3422
+ * withdraw({ amount: '10.5', vaultId, walletAccount });
3423
+ * ```
3424
+ *
3425
+ * @returns A react-query mutation whose `data` is the withdraw transaction hash.
3426
+ * @see withdrawFromYieldVault
3427
+ * @see UseWithdrawFromYieldVaultParams
3428
+ */
3429
+ const useWithdrawFromYieldVault = ({ mutateParams } = {}) => require_useBaseState.useBaseMutation({
3430
+ middlewares: [invalidatesQueries("useGetYieldPosition")],
3431
+ mutateParams,
3432
+ mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.withdrawFromYieldVault)(variables, client)
3433
+ });
3434
+
2940
3435
  //#endregion
2941
3436
  //#region src/hooks/wrappers/state/useInitStatus/useInitStatus.ts
2942
3437
  /**
@@ -3029,6 +3524,7 @@ exports.useBackupWaasKeySharesToGoogleDrive = useBackupWaasKeySharesToGoogleDriv
3029
3524
  exports.useBroadcastFlow = useBroadcastFlow;
3030
3525
  exports.useCancelFlow = useCancelFlow;
3031
3526
  exports.useCheckStepUpAuth = useCheckStepUpAuth;
3527
+ exports.useClaimYieldRewards = useClaimYieldRewards;
3032
3528
  exports.useCompleteDeviceRegistration = useCompleteDeviceRegistration;
3033
3529
  exports.useCompleteSocialRedirect = useCompleteSocialRedirect;
3034
3530
  exports.useConfirmTransaction = useConfirmTransaction;
@@ -3040,6 +3536,7 @@ exports.useCreateCoinbaseOnrampOrder = useCreateCoinbaseOnrampOrder;
3040
3536
  exports.useCreateCryptoDotComPayment = useCreateCryptoDotComPayment;
3041
3537
  exports.useCreateKrakenExchangeTransfer = useCreateKrakenExchangeTransfer;
3042
3538
  exports.useCreateNewMfaRecoveryCodes = useCreateNewMfaRecoveryCodes;
3539
+ exports.useCreatePolicy = useCreatePolicy;
3043
3540
  exports.useCreateWaasOfflineRecoveryShares = useCreateWaasOfflineRecoveryShares;
3044
3541
  exports.useCreateWaasWalletAccounts = useCreateWaasWalletAccounts;
3045
3542
  exports.useCreateWalletForBusinessAccount = useCreateWalletForBusinessAccount;
@@ -3047,11 +3544,13 @@ exports.useDelegateWaasKeyShares = useDelegateWaasKeyShares;
3047
3544
  exports.useDeleteMfaDevice = useDeleteMfaDevice;
3048
3545
  exports.useDeletePasskey = useDeletePasskey;
3049
3546
  exports.useDeleteUser = useDeleteUser;
3547
+ exports.useDepositToYieldVault = useDepositToYieldVault;
3050
3548
  exports.useDetectSocialRedirectUrl = useDetectSocialRedirectUrl;
3051
3549
  exports.useDynamicClient = require_useBaseState.useDynamicClient;
3052
3550
  exports.useExecuteSwapTransaction = useExecuteSwapTransaction;
3053
3551
  exports.useExportWaasClientKeyshares = useExportWaasClientKeyshares;
3054
3552
  exports.useExportWaasPrivateKey = useExportWaasPrivateKey;
3553
+ exports.useGetAccountPolicyLayer = useGetAccountPolicyLayer;
3055
3554
  exports.useGetActiveNetworkData = useGetActiveNetworkData;
3056
3555
  exports.useGetActiveNetworkId = useGetActiveNetworkId;
3057
3556
  exports.useGetAvailableWalletProvidersData = useGetAvailableWalletProvidersData;
@@ -3073,7 +3572,9 @@ exports.useGetMoonPayUrl = useGetMoonPayUrl;
3073
3572
  exports.useGetMultichainTokenBalances = useGetMultichainTokenBalances;
3074
3573
  exports.useGetNativeBalance = useGetNativeBalance;
3075
3574
  exports.useGetPasskeys = useGetPasskeys;
3575
+ exports.useGetPolicy = useGetPolicy;
3076
3576
  exports.useGetRegisteredDevices = useGetRegisteredDevices;
3577
+ exports.useGetSignerPolicyLayer = useGetSignerPolicyLayer;
3077
3578
  exports.useGetSwapQuote = useGetSwapQuote;
3078
3579
  exports.useGetSwapStatus = useGetSwapStatus;
3079
3580
  exports.useGetTokenBalances = useGetTokenBalances;
@@ -3083,6 +3584,7 @@ exports.useGetWalletAccounts = useGetWalletAccounts;
3083
3584
  exports.useGetWalletConnectCatalog = useGetWalletConnectCatalog;
3084
3585
  exports.useGetWalletConnectCatalogWalletByWalletProviderKey = useGetWalletConnectCatalogWalletByWalletProviderKey;
3085
3586
  exports.useGetWalletOptionsCatalogue = useGetWalletOptionsCatalogue;
3587
+ exports.useGetWalletPolicyLayer = useGetWalletPolicyLayer;
3086
3588
  exports.useGetWalletProviderDataByKey = useGetWalletProviderDataByKey;
3087
3589
  exports.useGetWalletRecoveryState = useGetWalletRecoveryState;
3088
3590
  exports.useGetYieldDetails = useGetYieldDetails;
@@ -3109,14 +3611,19 @@ exports.useRefreshAuth = useRefreshAuth;
3109
3611
  exports.useRefreshWaasWalletAccountShares = useRefreshWaasWalletAccountShares;
3110
3612
  exports.useRegisterPasskey = useRegisterPasskey;
3111
3613
  exports.useRegisterTotpMfaDevice = useRegisterTotpMfaDevice;
3614
+ exports.useRemoveAccountPolicyRule = useRemoveAccountPolicyRule;
3112
3615
  exports.useRemoveBusinessAccountMember = useRemoveBusinessAccountMember;
3113
3616
  exports.useRemoveBusinessAccountSigner = useRemoveBusinessAccountSigner;
3114
3617
  exports.useRemoveBusinessAccountWallet = useRemoveBusinessAccountWallet;
3618
+ exports.useRemovePolicyRules = useRemovePolicyRules;
3619
+ exports.useRemoveSignerPolicyRule = useRemoveSignerPolicyRule;
3115
3620
  exports.useRemoveWalletAccount = useRemoveWalletAccount;
3621
+ exports.useRemoveWalletPolicyRule = useRemoveWalletPolicyRule;
3116
3622
  exports.useRequestExternalAuthElevatedToken = useRequestExternalAuthElevatedToken;
3117
3623
  exports.useRevokeAllRegisteredDevices = useRevokeAllRegisteredDevices;
3118
3624
  exports.useRevokeRegisteredDevice = useRevokeRegisteredDevice;
3119
3625
  exports.useRevokeWaasDelegation = useRevokeWaasDelegation;
3626
+ exports.useScreenTransaction = useScreenTransaction;
3120
3627
  exports.useSendEmailOTP = useSendEmailOTP;
3121
3628
  exports.useSendSmsOTP = useSendSmsOTP;
3122
3629
  exports.useSessionExpiresAt = useSessionExpiresAt;
@@ -3127,6 +3634,7 @@ exports.useSignInWithPasskey = useSignInWithPasskey;
3127
3634
  exports.useSignInWithSocialPopUp = useSignInWithSocialPopUp;
3128
3635
  exports.useSignInWithSocialRedirect = useSignInWithSocialRedirect;
3129
3636
  exports.useSignMessage = useSignMessage;
3637
+ exports.useSignSerializedTransaction = useSignSerializedTransaction;
3130
3638
  exports.useSubmitFlowTransaction = useSubmitFlowTransaction;
3131
3639
  exports.useSwitchActiveNetwork = useSwitchActiveNetwork;
3132
3640
  exports.useTransferAmount = useTransferAmount;
@@ -3138,7 +3646,11 @@ exports.useUpdateBusinessAccount = useUpdateBusinessAccount;
3138
3646
  exports.useUpdateBusinessAccountMemberRole = useUpdateBusinessAccountMemberRole;
3139
3647
  exports.useUpdateUser = useUpdateUser;
3140
3648
  exports.useUpdateWaasPassword = useUpdateWaasPassword;
3649
+ exports.useUpsertAccountPolicyRule = useUpsertAccountPolicyRule;
3650
+ exports.useUpsertSignerPolicyRule = useUpsertSignerPolicyRule;
3651
+ exports.useUpsertWalletPolicyRule = useUpsertWalletPolicyRule;
3141
3652
  exports.useUser = useUser;
3142
3653
  exports.useVerifyOTP = useVerifyOTP;
3143
3654
  exports.useVerifyWalletAccount = useVerifyWalletAccount;
3655
+ exports.useWithdrawFromYieldVault = useWithdrawFromYieldVault;
3144
3656
  //# sourceMappingURL=index.cjs.map