import { sendTransaction } from "thirdweb";
import { setPublisherProfileUri } from "thirdweb/extensions/thirdweb";
 
const transaction = setPublisherProfileUri({
 contract,
 publisher: ...,
 uri: ...,
 overrides: {
   ...
 }
});
 
// Send the transaction
await sendTransaction({ transaction, account });