Socket
Socket
Sign inDemoInstall

mercadopago

Package Overview
Dependencies
8
Maintainers
12
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.7 to 2.0.8

1

dist/clients/payment/commonTypes.d.ts

@@ -88,2 +88,3 @@ import { ApiResponse } from '../../types';

verification_code?: string;
bank_transfer_id?: string;
};

@@ -90,0 +91,0 @@ export declare type Barcode = {

2

dist/utils/config/index.js

@@ -27,3 +27,3 @@ "use strict";

AppConfig.PRODUCT_ID = 'bc32b6ntrpp001u8nhkg';
AppConfig.SDK_VERSION = '2.0.7';
AppConfig.SDK_VERSION = '2.0.8';
AppConfig.Headers = {

@@ -30,0 +30,0 @@ AUTHORIZATION: 'Authorization',

{
"name": "mercadopago",
"version": "2.0.7",
"version": "2.0.8",
"description": "Mercadopago SDK for Node.js",

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

@@ -53,4 +53,9 @@ ![SDK Node Mercado Pago](https://github.com/lucmkz/sdk-nodejs/assets/31546923/84211022-6fc5-4db1-8772-117eca84f2d9)

// Step 5: Make the request
payment.create({ body }).then(console.log).catch(console.log);
// Step 5: Create request options object - Optional
const requestOptions = {
idempotencyKey: '<IDEMPOTENCY_KEY>',
};
// Step 6: Make the request
payment.create({ body, requestOptions }).then(console.log).catch(console.log);
```

@@ -57,0 +62,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc