@middy/dynamodb 5.0.1 → 5.0.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.
Files changed (2) hide show
  1. package/index.js +0 -2
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -18,7 +18,6 @@ const dynamodbMiddleware = (opts = {})=>{
18
18
  ...defaults,
19
19
  ...opts
20
20
  };
21
- // force marshall of Key during cold start
22
21
  for(const internalKey in options.fetchData){
23
22
  options.fetchData[internalKey].Key = marshall(options.fetchData[internalKey].Key);
24
23
  }
@@ -56,7 +55,6 @@ const dynamodbMiddleware = (opts = {})=>{
56
55
  before: dynamodbMiddlewareBefore
57
56
  };
58
57
  };
59
- // used for TS type inference (see index.d.ts)
60
58
  export function dynamoDbReq(req) {
61
59
  return req;
62
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/dynamodb",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "description": "DynamoDB middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -58,14 +58,14 @@
58
58
  "url": "https://github.com/sponsors/willfarrell"
59
59
  },
60
60
  "dependencies": {
61
- "@middy/util": "5.0.1"
61
+ "@middy/util": "5.0.3"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@aws-sdk/client-dynamodb": "^3.245.0",
65
65
  "@aws-sdk/util-dynamodb": "^3.245.0",
66
- "@middy/core": "5.0.1",
66
+ "@middy/core": "5.0.3",
67
67
  "@types/aws-lambda": "^8.10.101",
68
68
  "aws-xray-sdk": "^3.3.3"
69
69
  },
70
- "gitHead": "b2d327653ca8c7786b6481d538be76fde714c0da"
70
+ "gitHead": "87660575a7ac2b52e4153c407a4c63c9449dcd0d"
71
71
  }