New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mercadopago/sdk-react

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercadopago/sdk-react - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

2

package.json
{
"name": "@mercadopago/sdk-react",
"version": "0.0.22",
"version": "0.0.23",
"description": "Mercado Pago SDK React",

@@ -5,0 +5,0 @@ "main": "cjs/index.js",

@@ -50,3 +50,3 @@ # React SDK MercadoPago

Before starts verify if you have installed Node version `14.18.0` or superior.
Before starts verify if you have installed Node version `v16.20.2` or superior.

@@ -319,3 +319,3 @@ <br/>

```javascript
import { createCardToken } from '@mercadopago/sdk-react/coreMethods';
import { createCardToken } from '@mercadopago/sdk-react/esm/coreMethods';
const cardToken = await createCardToken({

@@ -332,2 +332,4 @@ cardNumber: '<CREDIT_CARD_NUMBER>',

> When importing directly from `/coreMethods`, you have to explicitly choose between the `/esm` or `/cjs` export formats. For example, use `import { createCardToken } from '@mercadopago/sdk-react/esm/coreMethods';` for ECMAScript modules, or `const { createCardToken } = require('@mercadopago/sdk-react/cjs/coreMethods');` for CommonJS modules. For root imports, this selection is not necessary.
## Run SDK project

@@ -334,0 +336,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc