@guillotinaweb/react-gmi 0.32.2 → 0.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +377 -0
- package/dist/react-gmi.js +2 -2
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +2 -2
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +2 -2
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/react-gmi.modern.js
CHANGED
|
@@ -14518,7 +14518,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
14518
14518
|
_proto.willExpire = function willExpire(expiration) {
|
|
14519
14519
|
var now = new Date().getTime();
|
|
14520
14520
|
|
|
14521
|
-
if (parseInt(expiration)
|
|
14521
|
+
if (parseInt(expiration) < now + 10) {
|
|
14522
14522
|
return true;
|
|
14523
14523
|
}
|
|
14524
14524
|
|
|
@@ -14528,7 +14528,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
14528
14528
|
_proto.isExpired = function isExpired(expiration) {
|
|
14529
14529
|
var now = new Date().getTime();
|
|
14530
14530
|
|
|
14531
|
-
if (parseInt(expiration)
|
|
14531
|
+
if (parseInt(expiration) > now) {
|
|
14532
14532
|
return false;
|
|
14533
14533
|
}
|
|
14534
14534
|
|