@entur-partner/permission-client-node
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -78,3 +78,3 @@ "use strict"; | ||
InMemoryCache.prototype.clearUserAccessIsCheckedCache = function () { | ||
if ((this.lastUserAccessIsCheckedCleared + this.minimumKeepUserAccessChecked) < Date.now()) { | ||
if (this.lastUserAccessIsCheckedCleared + this.minimumKeepUserAccessChecked < Date.now()) { | ||
this.userAccessIsChecked.clear(); | ||
@@ -81,0 +81,0 @@ this.lastUserAccessIsCheckedCleared = Date.now(); |
@@ -52,3 +52,3 @@ "use strict"; | ||
this.APPLICATIONS_CHANGES_LATEST_PATH = 'applications/{0}/changes?resourceType=permission&scope=latest'; | ||
this.APPLICATIONS_CHANGES_SCOPE_PATH = '/applications/{0}/changes?resourceType=permission&scope={1}'; | ||
this.APPLICATIONS_CHANGES_SCOPE_PATH = 'applications/{0}/changes?resourceType=permission&scope={1}'; | ||
this.AGREEMENTS_GET_PATH = 'agreements?operation={0}&access={1}&responsibilityType={2}&responsibilityKey={3}'; | ||
@@ -189,3 +189,3 @@ this.AGREEMENTS_POST_PATH = 'agreements'; | ||
changes = (_f.sent()).data; | ||
return [2 /*return*/, changes[0].changedAt]; | ||
return [2 /*return*/, new Date(changes[0].changedAt)]; // workarund since axios do not handle date well. | ||
} | ||
@@ -192,0 +192,0 @@ }); |
{ | ||
"info": "This file is automatically generated by utils/UpdateVersionFile.js", | ||
"version": "2.2.0" | ||
"version": "2.2.1" | ||
} |
{ | ||
"name": "@entur-partner/permission-client-node", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"author": "Entur AS", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77723