@axinom/mosaic-service-common 0.30.0-rc.6 → 0.30.0

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.
@@ -9,7 +9,7 @@ export declare const MosaicErrors: {
9
9
  readonly code: "INTERNAL_SERVER_ERROR";
10
10
  };
11
11
  readonly UnhandledDatabaseError: {
12
- readonly message: "An unhandled database-related error has occurred. Please contact the service support.";
12
+ readonly message: "An unhandled database-related has occurred. Please contact the service support.";
13
13
  readonly code: "UNHANDLED_DATABASE_ERROR";
14
14
  };
15
15
  readonly UnhandledError: {
@@ -12,7 +12,7 @@ exports.MosaicErrors = {
12
12
  code: 'INTERNAL_SERVER_ERROR',
13
13
  },
14
14
  UnhandledDatabaseError: {
15
- message: 'An unhandled database-related error has occurred. Please contact the service support.',
15
+ message: 'An unhandled database-related has occurred. Please contact the service support.',
16
16
  code: 'UNHANDLED_DATABASE_ERROR',
17
17
  },
18
18
  UnhandledError: {
@@ -1 +1 @@
1
- {"version":3,"file":"mosaic-errors.js","sourceRoot":"","sources":["../../../src/common/errors/mosaic-errors.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACU,QAAA,YAAY,GAAG;IAC1B,mBAAmB,EAAE;QACnB,OAAO,EACL,qFAAqF;QACvF,IAAI,EAAE,uBAAuB;KAC9B;IACD,sBAAsB,EAAE;QACtB,OAAO,EACL,uFAAuF;QACzF,IAAI,EAAE,0BAA0B;KACjC;IACD,cAAc,EAAE;QACd,OAAO,EACL,sEAAsE;QACxE,IAAI,EAAE,iBAAiB;KACxB;IACD,2GAA2G;IAC3G,wBAAwB,EAAE;QACxB,OAAO,EACL,gHAAgH;QAClH,IAAI,EAAE,4BAA4B;KACnC;IACD,sFAAsF;IACtF,8BAA8B,EAAE;QAC9B,OAAO,EACL,2FAA2F;QAC7F,IAAI,EAAE,mCAAmC;KAC1C;IACD,uBAAuB,EAAE;QACvB,OAAO,EACL,+HAA+H;QACjI,IAAI,EAAE,2BAA2B;KAClC;IACD,YAAY,EAAE;QACZ,OAAO,EACL,2FAA2F;QAC7F,IAAI,EAAE,eAAe;KACtB;IACD,eAAe,EAAE;QACf,OAAO,EAAE,mDAAmD;QAC5D,IAAI,EAAE,kBAAkB;KACzB;IACD,YAAY,EAAE;QACZ,OAAO,EACL,+EAA+E;QACjF,IAAI,EAAE,eAAe;KACtB;CACO,CAAC"}
1
+ {"version":3,"file":"mosaic-errors.js","sourceRoot":"","sources":["../../../src/common/errors/mosaic-errors.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACU,QAAA,YAAY,GAAG;IAC1B,mBAAmB,EAAE;QACnB,OAAO,EACL,qFAAqF;QACvF,IAAI,EAAE,uBAAuB;KAC9B;IACD,sBAAsB,EAAE;QACtB,OAAO,EACL,iFAAiF;QACnF,IAAI,EAAE,0BAA0B;KACjC;IACD,cAAc,EAAE;QACd,OAAO,EACL,sEAAsE;QACxE,IAAI,EAAE,iBAAiB;KACxB;IACD,2GAA2G;IAC3G,wBAAwB,EAAE;QACxB,OAAO,EACL,gHAAgH;QAClH,IAAI,EAAE,4BAA4B;KACnC;IACD,sFAAsF;IACtF,8BAA8B,EAAE;QAC9B,OAAO,EACL,2FAA2F;QAC7F,IAAI,EAAE,mCAAmC;KAC1C;IACD,uBAAuB,EAAE;QACvB,OAAO,EACL,+HAA+H;QACjI,IAAI,EAAE,2BAA2B;KAClC;IACD,YAAY,EAAE;QACZ,OAAO,EACL,2FAA2F;QAC7F,IAAI,EAAE,eAAe;KACtB;IACD,eAAe,EAAE;QACf,OAAO,EAAE,mDAAmD;QAC5D,IAAI,EAAE,kBAAkB;KACzB;IACD,YAAY,EAAE;QACZ,OAAO,EACL,+EAA+E;QACjF,IAAI,EAAE,eAAe;KACtB;CACO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-service-common",
3
- "version": "0.30.0-rc.6",
3
+ "version": "0.30.0",
4
4
  "description": "Common helpers and PostgreSQL-related functionality",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "03134b934baa215bbae0f024d9dc112d0a3dc661"
73
+ "gitHead": "c64cc582e131b50adfc21b0c8ad940469780f43b"
74
74
  }
@@ -1099,7 +1099,7 @@ describe('graphqlErrorHandler', () => {
1099
1099
  expect(formattedError).toEqual({
1100
1100
  timestamp: formattedError.timestamp,
1101
1101
  message:
1102
- 'An unhandled database-related error has occurred. Please contact the service support.',
1102
+ 'An unhandled database-related has occurred. Please contact the service support.',
1103
1103
  code: MosaicErrors.UnhandledDatabaseError.code,
1104
1104
  path: ['assetsCount'],
1105
1105
  details: undefined,
@@ -1112,7 +1112,7 @@ describe('graphqlErrorHandler', () => {
1112
1112
  expect(loggedObject).toMatchObject({
1113
1113
  loglevel: 'ERROR',
1114
1114
  message:
1115
- 'An unhandled database-related error has occurred. Please contact the service support.',
1115
+ 'An unhandled database-related has occurred. Please contact the service support.',
1116
1116
  context: 'GraphQLErrorHandler',
1117
1117
  component: 'navy-asset-service_test',
1118
1118
  details: {
@@ -11,7 +11,7 @@ export const MosaicErrors = {
11
11
  },
12
12
  UnhandledDatabaseError: {
13
13
  message:
14
- 'An unhandled database-related error has occurred. Please contact the service support.',
14
+ 'An unhandled database-related has occurred. Please contact the service support.',
15
15
  code: 'UNHANDLED_DATABASE_ERROR',
16
16
  },
17
17
  UnhandledError: {