@tap-payments/apple-pay-button 0.0.48-development → 0.0.49-development
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.
|
@@ -78,7 +78,6 @@ export var useApplePay = function (_a) {
|
|
|
78
78
|
return __generator(this, function (_m) {
|
|
79
79
|
switch (_m.label) {
|
|
80
80
|
case 0:
|
|
81
|
-
console.log('environment, interfaceObj?.locale, order, customer, merchant, scope', environment, interfaceObj === null || interfaceObj === void 0 ? void 0 : interfaceObj.locale, order, customer, merchant, scope);
|
|
82
81
|
setLoading(true);
|
|
83
82
|
appService.setEnv(environment);
|
|
84
83
|
appService.setBaseUrl();
|
|
@@ -304,6 +303,8 @@ export var useApplePay = function (_a) {
|
|
|
304
303
|
return [2];
|
|
305
304
|
});
|
|
306
305
|
}); };
|
|
306
|
+
if (debug)
|
|
307
|
+
console.log('useApplePay return hooks', { loading: loading, disabled: disabled, applePayRequestData: applePayRequestData, applePayRequestConfiguration: applePayRequestConfiguration });
|
|
307
308
|
return {
|
|
308
309
|
loading: loading,
|
|
309
310
|
onApplePayButtonClicked: onApplePayButtonClicked,
|