Skip to content

Commit

Permalink
update version and build
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Laktionov committed Jul 18, 2019
1 parent 2960551 commit 9a2a9d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ var isIEType = function isIEType() {
};

var getBrowserFullVersion = function getBrowserFullVersion() {
return _getUaData.browser.major;
return _getUaData.browser.version;
};
var getBrowserVersion = function getBrowserVersion() {
return _getUaData.browser.version;
return _getUaData.browser.major;
};
var getOsVersion = function getOsVersion() {
return _getUaData.os.version ? _getUaData.os.version : "none";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-device-detect",
"version": "1.6.3",
"version": "1.6.4",
"description": "Detect device type and render your component according to it",
"main": "dist/index.js",
"typings": "./index.d.ts",
Expand Down

0 comments on commit 9a2a9d3

Please sign in to comment.