@fractalpay/fractalpay-next-test 0.0.40 → 0.0.41
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.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
"package.json"(exports, module) {
|
|
40
40
|
module.exports = {
|
|
41
41
|
name: "@fractalpay/fractalpay-next-test",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.41",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -9893,9 +9893,7 @@ width: fit-content;
|
|
|
9893
9893
|
top: 50%;
|
|
9894
9894
|
left: 50%;
|
|
9895
9895
|
transform: translate(-50%, -50%);
|
|
9896
|
-
background:
|
|
9897
|
-
backdrop-filter: blur(12px);
|
|
9898
|
-
-webkit-backdrop-filter: blur(12px);
|
|
9896
|
+
background: #fff;
|
|
9899
9897
|
border-radius: 12px;
|
|
9900
9898
|
z-index: 11111;
|
|
9901
9899
|
max-width: 240px;
|
|
@@ -10275,7 +10273,8 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
|
|
|
10275
10273
|
let dataObj = __spreadValues({
|
|
10276
10274
|
Token: data == null ? void 0 : data.Token,
|
|
10277
10275
|
amount,
|
|
10278
|
-
postal_code: data == null ? void 0 : data.postalCode
|
|
10276
|
+
postal_code: data == null ? void 0 : data.postalCode,
|
|
10277
|
+
require3ds
|
|
10279
10278
|
}, saveCardInfo ? {
|
|
10280
10279
|
card: {
|
|
10281
10280
|
postal_code: cardData == null ? void 0 : cardData.zipCode,
|
|
@@ -10284,6 +10283,9 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
|
|
|
10284
10283
|
name: cardData == null ? void 0 : cardData.cardName
|
|
10285
10284
|
}
|
|
10286
10285
|
} : null);
|
|
10286
|
+
if (require3ds && (data == null ? void 0 : data.stripe_3ds_auth_id)) {
|
|
10287
|
+
dataObj.stripe_3ds_auth_id = data == null ? void 0 : data.stripe_3ds_auth_id;
|
|
10288
|
+
}
|
|
10287
10289
|
const preAuthResponse = await axios9.post(`${masterBaseUrl}api/v1/gateway/preauth/${session_token}`, dataObj);
|
|
10288
10290
|
if ((_a2 = preAuthResponse == null ? void 0 : preAuthResponse.data) == null ? void 0 : _a2.result) {
|
|
10289
10291
|
let addCard;
|