UNPKG
@qelos/assets
Version:
latest (3.8.0)
3.8.0
3.7.4
3.7.3
manage assets like images and static files on remote servers
@qelos/assets
/
node_modules
/
@aws-sdk
/
middleware-sdk-s3
/
dist-es
/
s3-express
/
classes
/
S3ExpressIdentityCacheEntry.js
12 lines
(11 loc)
•
331 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
class
S3ExpressIdentityCacheEntry
{
constructor
(_identity, isRefreshing =
false
, accessed = Date.now()) {
this
._identity = _identity;
this
.isRefreshing = isRefreshing;
this
.accessed = accessed; }
get
identity() {
this
.accessed = Date.now();
return
this
._identity; } }