@economist/web-apple-pay 0.1.3-beta.36 → 0.1.3-beta.38

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.
package/dist/index.js CHANGED
@@ -1125,10 +1125,10 @@ var isApplePayAvailable = async () => {
1125
1125
  if (bypassApplePayChecks()) {
1126
1126
  return true;
1127
1127
  }
1128
- const applePaySession = window.ApplePaySession;
1129
- if (!applePaySession && !isAppleDeviceOrSafari()) {
1128
+ if (!isAppleDeviceOrSafari()) {
1130
1129
  return false;
1131
1130
  }
1131
+ const applePaySession = window.ApplePaySession;
1132
1132
  if (!applePaySession) {
1133
1133
  return false;
1134
1134
  }
@@ -1120,10 +1120,10 @@ var isApplePayAvailable = async () => {
1120
1120
  if (bypassApplePayChecks()) {
1121
1121
  return true;
1122
1122
  }
1123
- const applePaySession = window.ApplePaySession;
1124
- if (!applePaySession && !isAppleDeviceOrSafari()) {
1123
+ if (!isAppleDeviceOrSafari()) {
1125
1124
  return false;
1126
1125
  }
1126
+ const applePaySession = window.ApplePaySession;
1127
1127
  if (!applePaySession) {
1128
1128
  return false;
1129
1129
  }
@@ -1128,10 +1128,10 @@ var isApplePayAvailable = async () => {
1128
1128
  if (bypassApplePayChecks()) {
1129
1129
  return true;
1130
1130
  }
1131
- const applePaySession = window.ApplePaySession;
1132
- if (!applePaySession && !isAppleDeviceOrSafari()) {
1131
+ if (!isAppleDeviceOrSafari()) {
1133
1132
  return false;
1134
1133
  }
1134
+ const applePaySession = window.ApplePaySession;
1135
1135
  if (!applePaySession) {
1136
1136
  return false;
1137
1137
  }
@@ -1120,10 +1120,10 @@ var isApplePayAvailable = async () => {
1120
1120
  if (bypassApplePayChecks()) {
1121
1121
  return true;
1122
1122
  }
1123
- const applePaySession = window.ApplePaySession;
1124
- if (!applePaySession && !isAppleDeviceOrSafari()) {
1123
+ if (!isAppleDeviceOrSafari()) {
1125
1124
  return false;
1126
1125
  }
1126
+ const applePaySession = window.ApplePaySession;
1127
1127
  if (!applePaySession) {
1128
1128
  return false;
1129
1129
  }
@@ -13,10 +13,10 @@ var isApplePayAvailable = async () => {
13
13
  if (bypassApplePayChecks()) {
14
14
  return true;
15
15
  }
16
- const applePaySession = window.ApplePaySession;
17
- if (!applePaySession && !isAppleDeviceOrSafari()) {
16
+ if (!isAppleDeviceOrSafari()) {
18
17
  return false;
19
18
  }
19
+ const applePaySession = window.ApplePaySession;
20
20
  if (!applePaySession) {
21
21
  return false;
22
22
  }
package/dist/src/index.js CHANGED
@@ -1125,10 +1125,10 @@ var isApplePayAvailable = async () => {
1125
1125
  if (bypassApplePayChecks()) {
1126
1126
  return true;
1127
1127
  }
1128
- const applePaySession = window.ApplePaySession;
1129
- if (!applePaySession && !isAppleDeviceOrSafari()) {
1128
+ if (!isAppleDeviceOrSafari()) {
1130
1129
  return false;
1131
1130
  }
1131
+ const applePaySession = window.ApplePaySession;
1132
1132
  if (!applePaySession) {
1133
1133
  return false;
1134
1134
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@economist/web-apple-pay",
3
3
  "description": "Web component package for Apple Pay checkout UI",
4
- "version": "0.1.3-beta.36",
4
+ "version": "0.1.3-beta.38",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",