Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This is a fork of mercadopago with the pull request #370 integrated.

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

# Mercado Pago SDK for NodeJS
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mercadopago",
"version": "2.4.0",
"description": "Mercadopago SDK for Node.js",
"version": "2.4.0-fixed1",
"description": "Fork of mercadopago with the pull request #370 integrated",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
Expand All @@ -26,11 +26,11 @@
"sdk",
"integration"
],
"author": "Mercado Pago (https://www.mercadopago.com/developers/en)",
"author": "Mario R. Carro",
"bugs": {
"url": "https://github.com/mercadopago/sdk-nodejs/issues"
"url": "https://github.com/mariocarro/mercadopago-sdk-nodejs/issues"
},
"homepage": "https://github.com/mercadopago/sdk-nodejs#readme",
"homepage": "https://github.com/mariocarro/mercadopago-sdk-nodejs#readme",
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.4.8",
Expand Down
2 changes: 1 addition & 1 deletion src/examples/payment/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ payment.create({ body: {
payer: {
email: '<EMAIL>'
},
// installments: 1, // Required for credit card payments
// installments: 1, // Required for credit card payments
// token: '<CARD_TOKEN>', // Required for credit card payments
},
requestOptions: {
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export declare type Options = {
export declare interface SearchOptions {
limit?: number;
offset?: number;
[key: string]: string | number;
[key: string]: string | number | undefined;
}

export declare interface ApiResponse {
Expand Down
Loading