@tap-payments/apple-pay-button 0.0.50-development → 0.0.51-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.
|
@@ -153,6 +153,7 @@ export var useApplePay = function (_a) {
|
|
|
153
153
|
case 7:
|
|
154
154
|
err_1 = _m.sent();
|
|
155
155
|
onError === null || onError === void 0 ? void 0 : onError(err_1.errors || err_1);
|
|
156
|
+
console.log('error in initialize', err_1);
|
|
156
157
|
return [3, 9];
|
|
157
158
|
case 8:
|
|
158
159
|
setLoading(false);
|
package/build/utils/config.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSEncrypt } from 'jsencrypt';
|
|
2
2
|
export var validateSupportedNetworks = function (supportedNetworksOptions, merchantSupportedNetworks) {
|
|
3
|
+
console.log('supportedNetworksOptions', supportedNetworksOptions, 'merchantSupportedNetworks', merchantSupportedNetworks);
|
|
3
4
|
var toLowerCase = function (item) { return item.toLowerCase(); };
|
|
4
5
|
if (!supportedNetworksOptions)
|
|
5
6
|
throw new Error("There is no supported networks available in your acceptance object");
|