@alpha-lambda/aws-drivers
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -47,2 +47,6 @@ 'use strict'; | ||
calculateTTL(retentionTimeMs) { | ||
return this.msToTTL(Date.now() + retentionTimeMs); | ||
} | ||
delete(context, params) { | ||
@@ -56,2 +60,6 @@ return this._call(context, params, 'delete'); | ||
msToTTL(ms) { | ||
return Math.floor(ms / 1000); | ||
} | ||
put(context, params) { | ||
@@ -128,2 +136,6 @@ return this._call(context, params, 'put'); | ||
ttlToMs(ttl) { | ||
return ttl * 1000; | ||
} | ||
update(context, params) { | ||
@@ -130,0 +142,0 @@ return this._call(context, params, 'update'); |
{ | ||
"name": "@alpha-lambda/aws-drivers", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Wrappers for AWS SDK services that make life easier (sometimes)", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
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
213972
5152