@middy/util 4.6.4 → 4.6.6

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.cjs +20 -20
  2. package/package.json +3 -3
package/index.cjs CHANGED
@@ -9,32 +9,29 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- createPrefetchClient: function() {
13
- return createPrefetchClient;
14
- },
15
- createClient: function() {
16
- return createClient;
12
+ HttpError: function() {
13
+ return HttpError;
17
14
  },
18
15
  canPrefetch: function() {
19
16
  return canPrefetch;
20
17
  },
21
- getInternal: function() {
22
- return getInternal;
18
+ clearCache: function() {
19
+ return clearCache;
23
20
  },
24
- sanitizeKey: function() {
25
- return sanitizeKey;
21
+ createClient: function() {
22
+ return createClient;
26
23
  },
27
- processCache: function() {
28
- return processCache;
24
+ createError: function() {
25
+ return createError;
26
+ },
27
+ createPrefetchClient: function() {
28
+ return createPrefetchClient;
29
29
  },
30
30
  getCache: function() {
31
31
  return getCache;
32
32
  },
33
- modifyCache: function() {
34
- return modifyCache;
35
- },
36
- clearCache: function() {
37
- return clearCache;
33
+ getInternal: function() {
34
+ return getInternal;
38
35
  },
39
36
  jsonSafeParse: function() {
40
37
  return jsonSafeParse;
@@ -42,14 +39,17 @@ _export(exports, {
42
39
  jsonSafeStringify: function() {
43
40
  return jsonSafeStringify;
44
41
  },
42
+ modifyCache: function() {
43
+ return modifyCache;
44
+ },
45
45
  normalizeHttpResponse: function() {
46
46
  return normalizeHttpResponse;
47
47
  },
48
- HttpError: function() {
49
- return HttpError;
48
+ processCache: function() {
49
+ return processCache;
50
50
  },
51
- createError: function() {
52
- return createError;
51
+ sanitizeKey: function() {
52
+ return sanitizeKey;
53
53
  }
54
54
  });
55
55
  const createPrefetchClient = (options)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/util",
3
- "version": "4.6.4",
3
+ "version": "4.6.6",
4
4
  "description": "🛵 The stylish Node.js middleware engine for AWS Lambda (util package)",
5
5
  "type": "module",
6
6
  "engines": {
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "devDependencies": {
63
63
  "@aws-sdk/client-ssm": "^3.0.0",
64
- "@middy/core": "4.6.4",
64
+ "@middy/core": "4.6.6",
65
65
  "@types/aws-lambda": "^8.10.76",
66
66
  "@types/node": "^20.0.0",
67
67
  "aws-xray-sdk": "^3.3.3"
@@ -71,5 +71,5 @@
71
71
  "type": "github",
72
72
  "url": "https://github.com/sponsors/willfarrell"
73
73
  },
74
- "gitHead": "706ec39ce569407d51007200b995542ad3d7af2b"
74
+ "gitHead": "9784bfe6b02db56b3893e2117de33804358a3932"
75
75
  }