mblabs-roccato-backend-commons 1.0.76 → 1.0.78

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.
@@ -3,6 +3,7 @@ declare const CONTEXT: {
3
3
  TRACE: string;
4
4
  SESSION: string;
5
5
  TENANT: string;
6
+ MODULE: string;
6
7
  };
7
8
  };
8
9
  export default CONTEXT;
@@ -4,6 +4,7 @@ const KEYS = {
4
4
  TRACE: 'trace',
5
5
  SESSION: 'session',
6
6
  TENANT: 'tenant',
7
+ MODULE: 'module',
7
8
  };
8
9
  const CONTEXT = {
9
10
  KEYS,
package/eslint.config.mjs CHANGED
@@ -35,6 +35,7 @@ export default [
35
35
  'no-tabs': 'error',
36
36
  'no-unneeded-ternary': 'error',
37
37
  'no-whitespace-before-property': 'error',
38
+ 'no-duplicate-imports': 'error',
38
39
  'quote-props': [ 'error', 'consistent' ],
39
40
  'quotes': [ 'error', 'single' ],
40
41
  'semi': [ 'error', 'always' ],
@@ -59,6 +60,10 @@ export default [
59
60
  'no-continue': 'warn',
60
61
  'prefer-destructuring': 'warn',
61
62
  'object-curly-spacing': [ 'error', 'always' ],
63
+ 'object-curly-newline': [ 'error', { 'multiline': true, 'consistent': true } ],
64
+ 'brace-style': [ 'error', '1tbs', { 'allowSingleLine': true } ],
65
+ 'function-paren-newline': [ 'error', 'consistent' ],
66
+ 'function-call-argument-newline': [ 'error', 'consistent' ],
62
67
  'rest-spread-spacing': [ 'error' ],
63
68
  'key-spacing': [ 'error' ],
64
69
  'comma-spacing': [ 'error' ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mblabs-roccato-backend-commons",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,6 +2,7 @@ const KEYS = {
2
2
  TRACE: 'trace',
3
3
  SESSION: 'session',
4
4
  TENANT: 'tenant',
5
+ MODULE: 'module',
5
6
  };
6
7
 
7
8
  const CONTEXT = {
@@ -87,8 +87,7 @@ class AmazonSQSService implements IAmazonSQSService {
87
87
  QueueUrl,
88
88
  ReceiptHandle: message?.ReceiptHandle,
89
89
  })
90
- )
91
- )
90
+ ))
92
91
  );
93
92
 
94
93
  return {