cat-a-logs 1.1.8 → 1.1.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.

Potentially problematic release.


This version of cat-a-logs might be problematic. Click here for more details.

package/client/index.js CHANGED
@@ -232,7 +232,8 @@ function catalog(trackedVariable_1, metricName_1, metricNamespace_1) {
232
232
  });
233
233
  });
234
234
  }
235
- exports.default = { catalog: catalog };
235
+ export default catalog;
236
+ // exports.default = { catalog: catalog };
236
237
  /*Current Working logger invocation
237
238
  logger.info("Your EMF compliant Structured Metrics Log",
238
239
  Object.assign({
@@ -14,7 +14,7 @@
14
14
  import { Logger } from '@aws-lambda-powertools/logger';
15
15
  const logger = new Logger({ serviceName: 'serverlessAirline' });
16
16
  import Ajv from 'ajv';
17
- import { catalog } from "cat-a-logs/index.js";
17
+ import catalog from "cat-a-logs/index.js";
18
18
 
19
19
  export const lambdaHandler = async (event, context) => {
20
20
  const response = {
@@ -12,7 +12,7 @@
12
12
  "@aws-lambda-powertools/metrics": "^2.11.0",
13
13
  "lambda-log": "^3.1.0",
14
14
  "ajv": "^8.17.1",
15
- "cat-a-logs": "^1.1.7"
15
+ "cat-a-logs": "^1.1.8"
16
16
  },
17
17
  "scripts": {
18
18
  "test": "mocha tests/unit/"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-a-logs",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Create & send structured logs to AWS Cloudwatch logs",
5
5
  "main": "index.js",
6
6
  "exports":{