mercadopago/sdk-js ? reverse-engineered prompt

Reverse engineered prompt

Build me a client side JavaScript SDK for Mercado Pago that makes it easy for website owners to add payments to their checkout.

I want people to be able to load it from a script tag or install it from npm, then initialize it with a public key and simple options like locale. It should support the main checkout flows for payments, cards, wallet sign in, and a status screen after payment, with a clean developer experience and secure handling of sensitive data. Make sure the package is written in TypeScript and works well in modern browsers, including mobile, and leave clear docs and examples so someone can get started fast.

Please set it up so the SDK is easy to import, easy to initialize, and ready for real world use on an ecommerce site. If anything needs current Mercado Pago docs to get the details right, look them up online and follow the latest guidance.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab