@miden-npm/react 2.1.0 → 2.1.1
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 +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3016,7 +3016,6 @@ function PayByCard({
|
|
|
3016
3016
|
onPaymentAuthorized?.({
|
|
3017
3017
|
paymentId: response.transactionReference,
|
|
3018
3018
|
paymentDate: response?.data?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3019
|
-
// optional if present
|
|
3020
3019
|
paymentStatus: "authorized",
|
|
3021
3020
|
message
|
|
3022
3021
|
});
|
|
@@ -3523,7 +3522,7 @@ var PayByTransfer = ({
|
|
|
3523
3522
|
setPaymentReferenceStatus("pending");
|
|
3524
3523
|
onPaymentAuthorized?.({
|
|
3525
3524
|
paymentId: transactionReference,
|
|
3526
|
-
paymentDate: response
|
|
3525
|
+
paymentDate: response?.data?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3527
3526
|
paymentStatus: "pending",
|
|
3528
3527
|
message
|
|
3529
3528
|
});
|
|
@@ -3531,7 +3530,7 @@ var PayByTransfer = ({
|
|
|
3531
3530
|
setPaymentReferenceStatus("confirmed");
|
|
3532
3531
|
onPaymentAuthorized?.({
|
|
3533
3532
|
paymentId: transactionReference,
|
|
3534
|
-
paymentDate: response
|
|
3533
|
+
paymentDate: response?.data?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3535
3534
|
paymentStatus: "confirmed",
|
|
3536
3535
|
message
|
|
3537
3536
|
});
|
|
@@ -3542,7 +3541,7 @@ var PayByTransfer = ({
|
|
|
3542
3541
|
setMessage("Transaction confirmed !!");
|
|
3543
3542
|
onPaymentAuthorized?.({
|
|
3544
3543
|
paymentId: transactionReference,
|
|
3545
|
-
paymentDate: response
|
|
3544
|
+
paymentDate: response?.data?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3546
3545
|
paymentStatus: "confirmed",
|
|
3547
3546
|
message
|
|
3548
3547
|
});
|
|
@@ -3924,7 +3923,7 @@ var PayByStableCoin = ({
|
|
|
3924
3923
|
setPaymentReferenceStatus("pending");
|
|
3925
3924
|
onPaymentAuthorized?.({
|
|
3926
3925
|
paymentId: transactionReference,
|
|
3927
|
-
paymentDate: response
|
|
3926
|
+
paymentDate: response?.data?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3928
3927
|
paymentStatus: "pending",
|
|
3929
3928
|
message
|
|
3930
3929
|
});
|
|
@@ -3933,7 +3932,7 @@ var PayByStableCoin = ({
|
|
|
3933
3932
|
setPaymentReferenceStatus("confirmed");
|
|
3934
3933
|
onPaymentAuthorized?.({
|
|
3935
3934
|
paymentId: transactionReference,
|
|
3936
|
-
paymentDate: response
|
|
3935
|
+
paymentDate: response?.data?.updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
3937
3936
|
paymentStatus: "confirmed",
|
|
3938
3937
|
message
|
|
3939
3938
|
});
|