Skip to content

Commit 9a2a9d3

Browse files
author
Michael Laktionov
committed
update version and build
1 parent 2960551 commit 9a2a9d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ var isIEType = function isIEType() {
198198
};
199199

200200
var getBrowserFullVersion = function getBrowserFullVersion() {
201-
return _getUaData.browser.major;
201+
return _getUaData.browser.version;
202202
};
203203
var getBrowserVersion = function getBrowserVersion() {
204-
return _getUaData.browser.version;
204+
return _getUaData.browser.major;
205205
};
206206
var getOsVersion = function getOsVersion() {
207207
return _getUaData.os.version ? _getUaData.os.version : "none";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-device-detect",
3-
"version": "1.6.3",
3+
"version": "1.6.4",
44
"description": "Detect device type and render your component according to it",
55
"main": "dist/index.js",
66
"typings": "./index.d.ts",

0 commit comments

Comments
 (0)