Skip to content

Commit

Permalink
Merge pull request #299 from mercadopago/feature/map-field-transactio…
Browse files Browse the repository at this point in the history
…n_id-to-pix

Add transaction_id to pix
  • Loading branch information
meliguilhermefernandes authored Dec 21, 2023
2 parents 6b0ec44 + 1bcef38 commit 4252000
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Releases

## VERSION 2.0.6
- Add transaction_id to TransactionDetails

## VERSION 2.0.5
- Add Point of Interaction to the root and Address to Payer
- Refactoring e2e tests, createCardToken and createEmailTestUser
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mercadopago",
"version": "2.0.5",
"version": "2.0.6",
"description": "Mercadopago SDK for Node.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/clients/payment/commonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export declare type TransactionDetails = {
installment_amount?: number;
financial_institution?: string;
payable_deferral_period?: any;
transaction_id?: string;
}

export declare type FeeDetails = {
Expand Down
3 changes: 2 additions & 1 deletion src/clients/payment/search/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export declare type TransactionDetails = {
payment_method_reference_id: string;
payable_deferral_period: string;
acquirer_reference: string;
transaction_id?: string;
};

export declare type PaymentSearchPaging = {
Expand All @@ -93,4 +94,4 @@ export declare interface PaymentSearchOptions extends SearchOptions {
export declare type PaymentSearchData = {
options?: PaymentSearchOptions;
requestOptions?: Options;
}
}
2 changes: 1 addition & 1 deletion src/utils/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class AppConfig {
static readonly BASE_URL = 'https://api.mercadopago.com';
static readonly PRODUCT_ID = 'bc32b6ntrpp001u8nhkg';

static SDK_VERSION = '2.0.5';
static SDK_VERSION = '2.0.6';

static readonly Headers = {
AUTHORIZATION: 'Authorization',
Expand Down

0 comments on commit 4252000

Please sign in to comment.