@middy/util
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -137,2 +137,9 @@ export const createPrefetchClient = (options) => { | ||
export const catchInvalidSignatureException = (e, client, command) => { | ||
if (e.__type === 'InvalidSignatureException') { | ||
return client.send(command) | ||
} | ||
throw e | ||
} | ||
export const getCache = (key) => { | ||
@@ -139,0 +146,0 @@ if (!cache[key]) return {} |
{ | ||
"name": "@middy/util", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (util package)", | ||
@@ -58,3 +58,3 @@ "type": "module", | ||
"@aws-sdk/client-ssm": "^3.0.0", | ||
"@middy/core": "5.2.0", | ||
"@middy/core": "5.2.1", | ||
"@types/aws-lambda": "^8.10.76", | ||
@@ -69,3 +69,3 @@ "@types/node": "^20.0.0", | ||
}, | ||
"gitHead": "2d9096a49cd8fb62359517be96d6c93609df41f0" | ||
"gitHead": "4d55da221b9165b4b3e59a12632fd40a149a1e92" | ||
} |
20378
440