@salla.sa/applepay 2.13.20 → 2.13.22

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 +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/applepay",
3
- "version": "2.13.20",
3
+ "version": "2.13.22",
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": "a79233c706059f13d6bc736ea718547d2da9aa65"
29
+ "gitHead": "59d6382ce8405e5d07bffd60d38a8c26e663b277"
30
30
  }
package/src/index.js CHANGED
@@ -131,6 +131,7 @@ window.SallaApplePay = {
131
131
  };
132
132
 
133
133
  salla.log('🍏 Pay: init ', SallaApplePay.request);
134
+ await SallaApplePay.recalculateTotal();
134
135
 
135
136
  // https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentrequest
136
137
  SallaApplePay.session = new ApplePaySession(version, SallaApplePay.request);