"use strict";var e=require("react"),s=require("@privy-io/js-sdk-core"),r=require("./internal-context-CdsQ3LEl.js");exports.useDepositAddress=()=>{let{privy:t,refreshSessionAndUser:i}=r.usePrivyInternal();return e.useMemo((()=>({getConfig:()=>s.depositAddress.getConfig(t),generateDepositAddress:e=>s.depositAddress.generateDepositAddress({privy:t,...e,onWalletCreated:i}),getDeposit:e=>s.depositAddress.getDeposit({privy:t,...e}),waitForDeposit:e=>s.depositAddress.waitForDeposit({privy:t,...e}),waitForCompletion:e=>s.depositAddress.waitForCompletion({privy:t,...e})})),[t,i])};
//# sourceMappingURL=hooks.js.map
