import{useMemo as e}from"react";import{depositAddress as t}from"@privy-io/js-sdk-core";import{u as r}from"./internal-context-dfitw7Ot.mjs";const o=()=>{let{privy:o,refreshSessionAndUser:i}=r();return e((()=>({getConfig:()=>t.getConfig(o),generateDepositAddress:e=>t.generateDepositAddress({privy:o,...e,onWalletCreated:i}),getDeposit:e=>t.getDeposit({privy:o,...e}),waitForDeposit:e=>t.waitForDeposit({privy:o,...e}),waitForCompletion:e=>t.waitForCompletion({privy:o,...e})})),[o,i])};export{o as useDepositAddress};
//# sourceMappingURL=hooks.mjs.map
