@middy/s3 4.5.1 → 4.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
  <h1>Middy s3 middleware</h1>
3
3
  <img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/docs/img/middy-logo.svg"/>
4
- <p><strong>Secrets Manager middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda</strong></p>
4
+ <p><strong>Amazon S3 middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda</strong></p>
5
5
  <p>
6
6
  <a href="https://www.npmjs.com/package/@middy/s3?activeTab=versions">
7
7
  <img src="https://badge.fury.io/js/%40middy%2Fs3.svg" alt="npm version" style="max-width:100%;">
package/index.cjs CHANGED
@@ -58,7 +58,7 @@ const s3Middleware = (opts = {})=>{
58
58
  if (!client) {
59
59
  client = await (0, _util.createClient)(options, request);
60
60
  }
61
- const { value } = (0, _util.processCache)(options, fetch, request);
61
+ const { value } = (0, _util.processCache)(options, fetch, request);
62
62
  Object.assign(request.internal, value);
63
63
  if (options.setToContext) {
64
64
  const data = await (0, _util.getInternal)(Object.keys(options.fetchData), request);
package/index.js CHANGED
@@ -48,7 +48,7 @@ const s3Middleware = (opts = {})=>{
48
48
  if (!client) {
49
49
  client = await createClient(options, request);
50
50
  }
51
- const { value } = processCache(options, fetch, request);
51
+ const { value } = processCache(options, fetch, request);
52
52
  Object.assign(request.internal, value);
53
53
  if (options.setToContext) {
54
54
  const data = await getInternal(Object.keys(options.fetchData), request);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/s3",
3
- "version": "4.5.1",
3
+ "version": "4.5.3",
4
4
  "description": "S3 middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -64,13 +64,13 @@
64
64
  "url": "https://github.com/sponsors/willfarrell"
65
65
  },
66
66
  "dependencies": {
67
- "@middy/util": "4.5.1"
67
+ "@middy/util": "4.5.3"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@aws-sdk/client-s3": "^3.0.0",
71
- "@middy/core": "4.5.1",
71
+ "@middy/core": "4.5.3",
72
72
  "@types/aws-lambda": "^8.10.101",
73
73
  "aws-xray-sdk": "^3.3.3"
74
74
  },
75
- "gitHead": "f6b1c999a7e716b19535ee38070bb3839395c52a"
75
+ "gitHead": "b404cfd9dcdf7eea61525c2f12245f133483ef6b"
76
76
  }