@pelcro/react-pelcro-js 3.23.0-beta.3 → 3.23.0-beta.4
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/dist/index.cjs.js +3 -1
- package/dist/index.esm.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17444,8 +17444,10 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17444
17444
|
// convert to multiline string
|
|
17445
17445
|
return errorMessages.join("\n");
|
|
17446
17446
|
} else {
|
|
17447
|
+
var _err$details2;
|
|
17447
17448
|
console.log("Handling the error the normal way");
|
|
17448
|
-
|
|
17449
|
+
console.log(err);
|
|
17450
|
+
return getErrorMessages(err === null || err === void 0 ? void 0 : (_err$details2 = err.details) === null || _err$details2 === void 0 ? void 0 : _err$details2.responseStatus);
|
|
17449
17451
|
}
|
|
17450
17452
|
};
|
|
17451
17453
|
const submitUsingCybersource = (state, dispatch) => {
|
package/dist/index.esm.js
CHANGED
|
@@ -17414,8 +17414,10 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17414
17414
|
// convert to multiline string
|
|
17415
17415
|
return errorMessages.join("\n");
|
|
17416
17416
|
} else {
|
|
17417
|
+
var _err$details2;
|
|
17417
17418
|
console.log("Handling the error the normal way");
|
|
17418
|
-
|
|
17419
|
+
console.log(err);
|
|
17420
|
+
return getErrorMessages(err === null || err === void 0 ? void 0 : (_err$details2 = err.details) === null || _err$details2 === void 0 ? void 0 : _err$details2.responseStatus);
|
|
17419
17421
|
}
|
|
17420
17422
|
};
|
|
17421
17423
|
const submitUsingCybersource = (state, dispatch) => {
|