@middy/ssm 4.0.10 → 4.2.0

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.
Files changed (3) hide show
  1. package/index.cjs +3 -3
  2. package/index.js +3 -3
  3. package/package.json +4 -4
package/index.cjs CHANGED
@@ -72,9 +72,9 @@ const ssmMiddleware = (opts = {})=>{
72
72
  (0, _util.modifyCache)(options.cacheKey, value);
73
73
  throw e;
74
74
  });
75
- for (const internalKey1 of batchInternalKeys){
76
- values[internalKey1] = batchReq.then((params)=>{
77
- return params[options.fetchData[internalKey1]];
75
+ for (const internalKey of batchInternalKeys){
76
+ values[internalKey] = batchReq.then((params)=>{
77
+ return params[options.fetchData[internalKey]];
78
78
  });
79
79
  }
80
80
  batchInternalKeys = [];
package/index.js CHANGED
@@ -64,9 +64,9 @@ const ssmMiddleware = (opts = {})=>{
64
64
  modifyCache(options.cacheKey, value);
65
65
  throw e;
66
66
  });
67
- for (const internalKey1 of batchInternalKeys){
68
- values[internalKey1] = batchReq.then((params)=>{
69
- return params[options.fetchData[internalKey1]];
67
+ for (const internalKey of batchInternalKeys){
68
+ values[internalKey] = batchReq.then((params)=>{
69
+ return params[options.fetchData[internalKey]];
70
70
  });
71
71
  }
72
72
  batchInternalKeys = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/ssm",
3
- "version": "4.0.10",
3
+ "version": "4.2.0",
4
4
  "description": "SSM (EC2 Systems Manager) parameters middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -62,14 +62,14 @@
62
62
  },
63
63
  "homepage": "https://middy.js.org",
64
64
  "dependencies": {
65
- "@middy/util": "4.0.10"
65
+ "@middy/util": "4.2.0"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@aws-sdk/client-ssm": "^3.186.0",
69
- "@middy/core": "4.0.10",
69
+ "@middy/core": "4.2.0",
70
70
  "@types/aws-lambda": "^8.10.101",
71
71
  "aws-xray-sdk": "^3.3.3",
72
72
  "type-fest": "^3.0.0"
73
73
  },
74
- "gitHead": "e2a97d380fc4150781004092ea054f5d0fc7a8c0"
74
+ "gitHead": "438103b15c184995a0a38413f6ed0b8696d13670"
75
75
  }