radar-sdk-js
Advanced tools
Comparing version 4.1.17 to 4.1.18-beta.0
@@ -1,2 +0,2 @@ | ||
declare const _default: "4.1.17"; | ||
declare const _default: "4.1.18-beta.0"; | ||
export default _default; |
{ | ||
"name": "radar-sdk-js", | ||
"version": "4.1.17", | ||
"version": "4.1.18-beta.0", | ||
"description": "Web Javascript SDK for Radar, location infrastructure for mobile and web apps.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://radar.com", |
@@ -59,3 +59,3 @@ <p align="center"> | ||
```html | ||
<script src="https://js.radar.com/v4.1.17/radar.min.js"></script> | ||
<script src="https://js.radar.com/v4.1.18-beta.0/radar.min.js"></script> | ||
``` | ||
@@ -77,4 +77,4 @@ | ||
<head> | ||
<link href="https://js.radar.com/v4.1.17/radar.css" rel="stylesheet"> | ||
<script src="https://js.radar.com/v4.1.17/radar.min.js"></script> | ||
<link href="https://js.radar.com/v4.1.18-beta.0/radar.css" rel="stylesheet"> | ||
<script src="https://js.radar.com/v4.1.18-beta.0/radar.min.js"></script> | ||
</head> | ||
@@ -103,4 +103,4 @@ | ||
<head> | ||
<link href="https://js.radar.com/v4.1.17/radar.css" rel="stylesheet"> | ||
<script src="https://js.radar.com/v4.1.17/radar.min.js"></script> | ||
<link href="https://js.radar.com/v4.1.18-beta.0/radar.css" rel="stylesheet"> | ||
<script src="https://js.radar.com/v4.1.18-beta.0/radar.min.js"></script> | ||
</head> | ||
@@ -136,4 +136,4 @@ | ||
<head> | ||
<link href="https://js.radar.com/v4.1.17/radar.css" rel="stylesheet"> | ||
<script src="https://js.radar.com/v4.1.17/radar.min.js"></script> | ||
<link href="https://js.radar.com/v4.1.18-beta.0/radar.css" rel="stylesheet"> | ||
<script src="https://js.radar.com/v4.1.18-beta.0/radar.min.js"></script> | ||
</head> | ||
@@ -140,0 +140,0 @@ |
@@ -47,3 +47,3 @@ import SDK_VERSION from '../version'; | ||
let userAgent = navigator.userAgent; | ||
const mac = userAgent && userAgent.toLowerCase().includes('mac'); | ||
const apple = userAgent && (userAgent.toLowerCase().includes('mac') || userAgent.toLowerCase().includes('iphone') || userAgent.toLowerCase().includes('ipod') || userAgent.toLowerCase().includes('ipad')); | ||
@@ -54,3 +54,3 @@ const response: any = await Http.request({ | ||
data: body, | ||
host: mac ? 'https://radar-verify.com:52516' : 'http://localhost:52516', | ||
host: apple ? 'https://radar-verify.com:52516' : 'http://localhost:52516', | ||
}); | ||
@@ -57,0 +57,0 @@ |
@@ -1,1 +0,1 @@ | ||
export default '4.1.17'; | ||
export default '4.1.18-beta.0'; |
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
323060
1