2.0.0 Released #268
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Good afternoon @DaviRolim, thanks for reaching out to us! import MercadoPago from 'MercadoPago'
...
const client = new MercadoPago.default({
accessToken: process.env.MERCADO_PAGO_ACCESS_TOKEN,
}); This happens because the bundle is built and delivered using commonjs. To improve the experience In this case, we released an new patch version on SDK import { MercadoPagoConfig } from 'MercadoPago'
...
const client = new MercadoPagoConfig({
accessToken: process.env.MERCADO_PAGO_ACCESS_TOKEN,
}); This way it is not necessary to add Lucas. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your feedback, any questions or suggestions please don't hesitate to contact us! See you! |
Beta Was this translation helpful? Give feedback.
-
Release SDK Node Mercado Pago V2
TypeScript Support ⭐️
Type of all requests and all responses
Maintained compatibility with Vanilla Javascript
Tests
More than 90% coverage of unit tests
Documentation
Implementation examples from ALL clients
Technical Documentation
Readme improvements
Contribution template
Technical debts
Code registration
Removal of vulnerable libraries and without recent updates
Registration with other Mercado Pago SDKs
Individual Request configuration for client
This discussion was created from the release 2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions