@salla.sa/applepay 2.12.54 → 2.12.59

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/applepay",
3
- "version": "2.12.54",
3
+ "version": "2.12.59",
4
4
  "description": "Salla Apple Pay light",
5
5
  "main": "dist/app.js",
6
6
  "scripts": {
@@ -26,5 +26,5 @@
26
26
  "dependencies": {
27
27
  "axios": "^0.23.0"
28
28
  },
29
- "gitHead": "4b838256ded4be4442e2e6b60178e0e6bcde50a4"
29
+ "gitHead": "67d274acc84be7a12807240194b4ea10ce252966"
30
30
  }
package/src/index.js CHANGED
@@ -256,8 +256,9 @@ window.SallaApplePay = {
256
256
  SallaApplePay.session.completeMerchantValidation(data.data);
257
257
  }
258
258
 
259
- }, ({response}) => {
260
- SallaApplePay.abortValidateMerchant(response);
259
+ }, (error) => {
260
+ console.error(error);
261
+ SallaApplePay.abortValidateMerchant(error?.response);
261
262
  });
262
263
  },
263
264