@fractalpay/fractalpay-next-dev 0.0.261 → 0.0.262
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 +26 -24
- 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-dev",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.262",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -11394,29 +11394,31 @@ var ModelContentSky = ({ amount, bankAmount, submitBtnText = "Pay", session_toke
|
|
|
11394
11394
|
} }),
|
|
11395
11395
|
/* @__PURE__ */ jsx36("div", { className: "form-group-frac", style: { padding: "0", display: onSubmit ? "none" : "block" }, children: /* @__PURE__ */ jsx36("button", { className: "pay-button", style: { margin: "0px" }, type: "submit", onClick: handlechargeCustomer, children: partialAmount ? formatUSD((_e = Number(partialAmount)) == null ? void 0 : _e.toFixed(2)) : formatUSD((_f = Number(amount)) == null ? void 0 : _f.toFixed(2)) }) })
|
|
11396
11396
|
] }) : paymentGateway == 32 ? /* @__PURE__ */ jsxs21(Fragment20, { children: [
|
|
11397
|
-
/* @__PURE__ */
|
|
11398
|
-
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11397
|
+
onSubmit && /* @__PURE__ */ jsxs21(Fragment20, { children: [
|
|
11398
|
+
/* @__PURE__ */ jsx36(
|
|
11399
|
+
ApplePayButton,
|
|
11400
|
+
{
|
|
11401
|
+
applePayAmount: partialAmount ? partialAmount : amount,
|
|
11402
|
+
applePayMerchantId,
|
|
11403
|
+
applePayMerchantName: merchantName,
|
|
11404
|
+
completeFractalFlow,
|
|
11405
|
+
showLoader
|
|
11406
|
+
}
|
|
11407
|
+
),
|
|
11408
|
+
/* @__PURE__ */ jsx36(
|
|
11409
|
+
GooglePayComponent,
|
|
11410
|
+
{
|
|
11411
|
+
amount: partialAmount ? partialAmount : amount,
|
|
11412
|
+
googlePayEnvironment,
|
|
11413
|
+
googlePayGatewayMerchantId,
|
|
11414
|
+
googlePayMerchantId,
|
|
11415
|
+
googlePayMerchantName: merchantName,
|
|
11416
|
+
completeFractalFlow,
|
|
11417
|
+
setLoading
|
|
11418
|
+
}
|
|
11419
|
+
),
|
|
11420
|
+
/* @__PURE__ */ jsx36("div", { id: "digital-wallet-or", className: "frac-or", children: /* @__PURE__ */ jsx36("span", { children: "or" }) })
|
|
11421
|
+
] }),
|
|
11420
11422
|
/* @__PURE__ */ jsxs21("form", { id: "paymentForm", style: { textAlign: "start" }, ref: cardFormRef, onSubmit: submitFunc, onKeyDown: (e) => {
|
|
11421
11423
|
if (e.key === "Enter" && loading) {
|
|
11422
11424
|
e.preventDefault();
|