Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d43e5ac

Browse files
authoredJan 2, 2025
Merge pull request #356 from mercadopago/fix/responde-nodes
[Feature] network_transaction_data in forward_data
2 parents e0a97ac + 3a74712 commit d43e5ac

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed
 

‎CHANGELOG.MD

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Releases
2+
3+
## VERSION 2.2.0
4+
- Include `network_transaction_data` in `forward_data` in Payment
5+
26
## VERSION 2.1.1
37
- Fix `X-Expand-Responde-Nodes` header to request options
48

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mercadopago",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "Mercadopago SDK for Node.js",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

‎src/clients/payment/create/types.ts

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ export declare type PayerRequest = {
5656

5757
export declare type ForwardDataRequest = {
5858
sub_merchant?: SubMerchant,
59+
network_transaction_data?: NetworkTransactionData,
60+
}
61+
62+
export declare type NetworkTransactionData = {
63+
network_transaction_id?: string,
5964
}
6065

6166
export declare interface AddressRequest extends Address {

‎src/utils/config/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class AppConfig {
55
static readonly BASE_URL = 'https://api.mercadopago.com';
66
static readonly PRODUCT_ID = 'bc32b6ntrpp001u8nhkg';
77

8-
static SDK_VERSION = '2.1.1';
8+
static SDK_VERSION = '2.2.0';
99

1010
static readonly Headers = {
1111
AUTHORIZATION: 'Authorization',

0 commit comments

Comments
 (0)