UNPKG
@atlas-kitchen/adyen-web
Version:
latest (6.15.0)
6.15.0
docs.adyen.com/checkout
atlas-kitchen/adyen-web
@atlas-kitchen/adyen-web
/
dist
/
es-legacy
/
components
/
ApplePay
/
utils
/
resolve-supported-version.js
3 lines
(2 loc)
•
254 B
JavaScript
View Raw
1
2
3
function
r
(
r
){
try
{
for
(
let
o=r;o>
0
;o--){
var
n;
if
(
null
===(n=
ApplePaySession
)||
void
0
===n?
void
0
:n.
supportsVersion
(o))
return
o}}
catch
(r){
console
.
warn
(r)}
return
null
}
export
{r
as
resolveSupportedVersion};
//# sourceMappingURL=resolve-supported-version.js.map