secure-store-redis
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -59,4 +59,4 @@ "use strict"; | ||
*/ | ||
disconnect(client = this.client) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
disconnect() { | ||
return __awaiter(this, arguments, void 0, function* (client = this.client) { | ||
if (client) { | ||
@@ -104,4 +104,4 @@ log("Redis client quit called"); | ||
*/ | ||
save(key, data, postfix = "") { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
save(key_1, data_1) { | ||
return __awaiter(this, arguments, void 0, function* (key, data, postfix = "") { | ||
if (typeof key !== "string") { | ||
@@ -131,4 +131,4 @@ throw new Error("No hash key specified"); | ||
*/ | ||
get(key, postfix = "") { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
get(key_1) { | ||
return __awaiter(this, arguments, void 0, function* (key, postfix = "") { | ||
if (typeof key !== "string") { | ||
@@ -166,4 +166,4 @@ throw new Error("No hash key specified"); | ||
*/ | ||
delete(key, postfix = "") { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
delete(key_1) { | ||
return __awaiter(this, arguments, void 0, function* (key, postfix = "") { | ||
if (typeof key !== "string") { | ||
@@ -170,0 +170,0 @@ throw new Error("No hash key specified"); |
{ | ||
"name": "secure-store-redis", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "A simple wrapper to encrypt and decrypt data stored in Redis", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
51469