@infrab4a/connect 5.2.0-beta.1 → 5.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +1 -3
- package/index.esm.js +1 -3
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -9165,8 +9165,6 @@ class PagarmeV5CardAxiosAdapter {
|
|
|
9165
9165
|
exp_month: card.expirationDate.split('/').at(0),
|
|
9166
9166
|
exp_year: card.expirationDate.split('/').at(1),
|
|
9167
9167
|
cvv: card.cvv,
|
|
9168
|
-
brand: card.flag,
|
|
9169
|
-
label: card.flag,
|
|
9170
9168
|
billing_address: {
|
|
9171
9169
|
line_1: `${customer.billingAddress.number}, ${customer.billingAddress.street}, ${customer.billingAddress.district}`,
|
|
9172
9170
|
line_2: `${customer.billingAddress.extension}`,
|
|
@@ -9180,7 +9178,7 @@ class PagarmeV5CardAxiosAdapter {
|
|
|
9180
9178
|
return data;
|
|
9181
9179
|
}
|
|
9182
9180
|
catch (error) {
|
|
9183
|
-
console.warn(error);
|
|
9181
|
+
console.warn(JSON.stringify(error));
|
|
9184
9182
|
throw error;
|
|
9185
9183
|
}
|
|
9186
9184
|
}
|
package/index.esm.js
CHANGED
|
@@ -9140,8 +9140,6 @@ class PagarmeV5CardAxiosAdapter {
|
|
|
9140
9140
|
exp_month: card.expirationDate.split('/').at(0),
|
|
9141
9141
|
exp_year: card.expirationDate.split('/').at(1),
|
|
9142
9142
|
cvv: card.cvv,
|
|
9143
|
-
brand: card.flag,
|
|
9144
|
-
label: card.flag,
|
|
9145
9143
|
billing_address: {
|
|
9146
9144
|
line_1: `${customer.billingAddress.number}, ${customer.billingAddress.street}, ${customer.billingAddress.district}`,
|
|
9147
9145
|
line_2: `${customer.billingAddress.extension}`,
|
|
@@ -9155,7 +9153,7 @@ class PagarmeV5CardAxiosAdapter {
|
|
|
9155
9153
|
return data;
|
|
9156
9154
|
}
|
|
9157
9155
|
catch (error) {
|
|
9158
|
-
console.warn(error);
|
|
9156
|
+
console.warn(JSON.stringify(error));
|
|
9159
9157
|
throw error;
|
|
9160
9158
|
}
|
|
9161
9159
|
}
|