deep-cache
Advanced tools
Comparing version 1.5.6 to 1.5.7
@@ -92,3 +92,3 @@ /** | ||
return requestIdentifier + '#' + SharedCache._payloadHash(request.payload); | ||
return requestIdentifier + '#' + SharedCache._stringifyPayload(request.payload); | ||
} | ||
@@ -103,3 +103,3 @@ | ||
value: function buildKeyFromLambdaRuntime(runtime) { | ||
return runtime.context && runtime.context.has('invokedFunctionArn') ? runtime.context.getOption('invokedFunctionArn') + '#' + SharedCache._payloadHash(runtime.request.data) : null; | ||
return runtime.context && runtime.context.has('invokedFunctionArn') ? runtime.context.getOption('invokedFunctionArn') + '#' + SharedCache._stringifyPayload(runtime.request.data) : null; | ||
} | ||
@@ -109,3 +109,2 @@ | ||
* @param {Object} payload | ||
* @returns {String} | ||
* @private | ||
@@ -157,12 +156,2 @@ */ | ||
}], [{ | ||
key: '_payloadHash', | ||
value: function _payloadHash(payload) { | ||
return SharedCache._hash(SharedCache._stringifyPayload(payload)); | ||
} | ||
/** | ||
* @param {Object} payload | ||
* @private | ||
*/ | ||
}, { | ||
key: '_stringifyPayload', | ||
@@ -169,0 +158,0 @@ value: function _stringifyPayload(payload) { |
{ | ||
"name": "deep-cache", | ||
"version": "1.5.6", | ||
"version": "1.5.7", | ||
"description": "DEEP Cache Library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
84840
1564