tf-checkout-react 1.0.99-beta.14 → 1.0.99-beta.15
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/tf-checkout-react.cjs.development.js +3 -4
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +3 -4
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +2 -2
|
@@ -2599,10 +2599,9 @@ var BillingInfoContainer = function BillingInfoContainer(_ref3) {
|
|
|
2599
2599
|
|
|
2600
2600
|
var hideTtfOptIn = _get(cartInfoData, 'hide_ttf_opt_in', true);
|
|
2601
2601
|
|
|
2602
|
-
var
|
|
2603
|
-
|
|
2604
|
-
var expirationTime = _get(cartInfoData, 'expires_at'); // Get prevProps
|
|
2602
|
+
var expirationTime = _get(cartInfoData, 'expiresAt');
|
|
2605
2603
|
|
|
2604
|
+
var flagRequirePhone = getQueryVariable('phone_required') === 'true'; // Get prevProps
|
|
2606
2605
|
|
|
2607
2606
|
var prevData = React.useRef(data);
|
|
2608
2607
|
React.useEffect(function () {
|
|
@@ -2882,7 +2881,7 @@ var BillingInfoContainer = function BillingInfoContainer(_ref3) {
|
|
|
2882
2881
|
open: true
|
|
2883
2882
|
}, React__default.createElement(material.CircularProgress, {
|
|
2884
2883
|
color: "inherit"
|
|
2885
|
-
})), expirationTime && enableTimer && React__default.createElement(TimerWidget, {
|
|
2884
|
+
})), !!expirationTime && enableTimer && React__default.createElement(TimerWidget, {
|
|
2886
2885
|
expires_at: expirationTime,
|
|
2887
2886
|
onCountdownFinish: onCountdownFinish
|
|
2888
2887
|
}), React__default.createElement(formik.Formik, {
|