From e60bce23cb1d154088d3e30c61b4d83b36fe6510 Mon Sep 17 00:00:00 2001 From: Chagas Date: Thu, 29 Aug 2024 18:15:13 -0300 Subject: [PATCH 1/2] add fields --- CHANGELOG.MD | 5 +++++ package.json | 2 +- src/clients/payment/commonTypes.ts | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 69e7388..730d57f 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,5 +1,10 @@ # Releases +## VERSION 2.0.15 +- Include reference_id in Data in Payment Method in Payment +- Include external_reference_id in Data in Payment Method in Payment +- Include external_resource_url in Data in Payment Method in Payment + ## VERSION 2.0.14 - Change application_fee type for number diff --git a/package.json b/package.json index 8732271..beb3ec9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mercadopago", - "version": "2.0.14", + "version": "2.0.15", "description": "Mercadopago SDK for Node.js", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/clients/payment/commonTypes.ts b/src/clients/payment/commonTypes.ts index 1f28a2f..de874ff 100644 --- a/src/clients/payment/commonTypes.ts +++ b/src/clients/payment/commonTypes.ts @@ -26,6 +26,9 @@ export declare type Rules = { export declare type Data = { routing_data?: MerchantAccount; rules?: Rules; + reference_id?: string; + external_reference_id?: string; + external_resource_url?: string; }; export declare type PaymentMethod = { From aab900921280e3d3fb2cc4fac59475548ca69b9d Mon Sep 17 00:00:00 2001 From: Chagas Date: Mon, 2 Sep 2024 15:51:33 -0300 Subject: [PATCH 2/2] rollback version --- CHANGELOG.MD | 5 ----- package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 730d57f..69e7388 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,10 +1,5 @@ # Releases -## VERSION 2.0.15 -- Include reference_id in Data in Payment Method in Payment -- Include external_reference_id in Data in Payment Method in Payment -- Include external_resource_url in Data in Payment Method in Payment - ## VERSION 2.0.14 - Change application_fee type for number diff --git a/package.json b/package.json index beb3ec9..8732271 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mercadopago", - "version": "2.0.15", + "version": "2.0.14", "description": "Mercadopago SDK for Node.js", "main": "dist/index.js", "types": "dist/index.d.ts",