@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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/apple-pay-button",
3
- "version": "0.0.48-development",
3
+ "version": "0.0.49-development",
4
4
  "description": "Apple Pay Button React Component",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",