@oieduardorabelo/use-user-agent
Advanced tools
Comparing version
@@ -10,3 +10,3 @@ { | ||
}, | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "dist/index.js", | ||
@@ -32,7 +32,7 @@ "module": "dist/use-user-agent.esm.js", | ||
"devDependencies": { | ||
"@types/jest": "^24.0.17", | ||
"@types/react": "^16.9.1", | ||
"@types/react-dom": "^16.8.5", | ||
"@types/jest": "^24.0.18", | ||
"@types/react": "^16.9.2", | ||
"@types/react-dom": "^16.9.0", | ||
"@types/ua-parser-js": "^0.7.33", | ||
"husky": "^3.0.3", | ||
"husky": "^3.0.4", | ||
"prettier": "^1.18.2", | ||
@@ -43,3 +43,3 @@ "prettier-package-json": "^2.1.0", | ||
"react-dom": "^16.9.0", | ||
"tsdx": "^0.7.2", | ||
"tsdx": "^0.9.0", | ||
"tslib": "^1.10.0", | ||
@@ -46,0 +46,0 @@ "typescript": "^3.5.3" |
@@ -55,3 +55,3 @@ # @oieduardorabelo/use-user-agent | ||
function App() { | ||
let details = useUserAgent(); | ||
let details = useUserAgent(); // default is `window.navigator.userAgent` | ||
@@ -58,0 +58,0 @@ if (!details) { |
12926
0.33%