doofinder
Advanced tools
Comparing version 5.12.0 to 5.12.1
{ | ||
"name": "doofinder", | ||
"description": "Javascript Library for Doofinder Search API", | ||
"version": "5.12.0", | ||
"version": "5.12.1", | ||
"main": "dist/doofinder.js", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -7,2 +7,6 @@ # Changelog | ||
## [5.12.1] - 2020-05-21 | ||
### Fixed | ||
- Fixed session expiry calculation in Local Storage store. | ||
## [5.12.0] - 2020-05-18 | ||
@@ -9,0 +13,0 @@ ### Added |
(function() { | ||
module.exports = { | ||
version: "5.12.0", | ||
version: "5.12.1", | ||
Client: require("./client"), | ||
@@ -5,0 +5,0 @@ Controller: require("./controller"), |
@@ -237,3 +237,3 @@ (function() { | ||
} else { | ||
return new Date().getTime() - this.registered() > this.ttl * 60 * 60 * 1000; | ||
return (new Date().getTime()) - this.__getJSON().registered > this.ttl * 60 * 60 * 1000; | ||
} | ||
@@ -240,0 +240,0 @@ }; |
{ | ||
"name": "doofinder", | ||
"version": "5.12.0", | ||
"version": "5.12.1", | ||
"description": "Javascript Library for Doofinder Search API", | ||
@@ -5,0 +5,0 @@ "main": "lib/doofinder.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1103963