@aspan-corporation/ac-shared 0.0.7 → 0.0.9
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/lib/index.js +1 -1
- package/lib/logger.d.ts +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -257,7 +257,7 @@ var putCommand = async (putCommandInput, logger) => {
|
|
|
257
257
|
// src/logger.ts
|
|
258
258
|
import { Logger as Logger3 } from "@aws-lambda-powertools/logger";
|
|
259
259
|
var rootLogger = new Logger3();
|
|
260
|
-
var getLoggerWithScope = (scope) => {
|
|
260
|
+
var getLoggerWithScope = (scope, logger = rootLogger) => {
|
|
261
261
|
const childLogger = rootLogger.createChild();
|
|
262
262
|
childLogger.appendKeys({ scope });
|
|
263
263
|
return childLogger;
|
package/lib/logger.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aspan-corporation/ac-shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
"build:types": "tsc --emitDeclarationOnly --declaration"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
+
"@types/aws-lambda": "^8.10.137",
|
|
19
|
+
"@types/node": "^20.12.5",
|
|
20
|
+
"esbuild": "^0.20.2",
|
|
21
|
+
"typescript": "^5.4.4"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
18
24
|
"@aws-lambda-powertools/idempotency": "^2.19.0",
|
|
19
25
|
"@aws-lambda-powertools/logger": "^2.19.0",
|
|
20
26
|
"@aws-lambda-powertools/metrics": "^2.19.0",
|
|
@@ -23,12 +29,6 @@
|
|
|
23
29
|
"@aws-sdk/client-s3": "^3.550.0",
|
|
24
30
|
"@aws-sdk/lib-dynamodb": "^3.549.0",
|
|
25
31
|
"@aws-sdk/lib-storage": "^3.550.0",
|
|
26
|
-
"@types/aws-lambda": "^8.10.137",
|
|
27
|
-
"@types/node": "^20.12.5",
|
|
28
|
-
"esbuild": "^0.20.2",
|
|
29
|
-
"typescript": "^5.4.4"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
32
|
"@middy/core": "^4.7.0",
|
|
33
33
|
"aws-lambda": "^1.0.7"
|
|
34
34
|
},
|