@rxap/nest-sentry 9.0.3-dev.1 → 9.0.3-dev.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.0.3-dev.2](https://gitlab.com/rxap/nest/compare/@rxap/nest-sentry@9.0.3-dev.1...@rxap/nest-sentry@9.0.3-dev.2) (2023-04-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **logger:** split options into sentry and console ([21e8b59](https://gitlab.com/rxap/nest/commit/21e8b5991b0b30bb30bfc4d11d7b703c2a26904b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [9.0.3-dev.1](https://gitlab.com/rxap/nest/compare/@rxap/nest-sentry@9.0.3-dev.0...@rxap/nest-sentry@9.0.3-dev.1) (2023-03-13)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/nest-sentry",
3
- "version": "9.0.3-dev.1",
3
+ "version": "9.0.3-dev.2",
4
4
  "type": "commonjs",
5
5
  "schematics": "./collection.json",
6
6
  "ng-update": {
@@ -1,8 +1,10 @@
1
1
  import { ConsoleLogger } from '@nestjs/common';
2
2
  import { SentryModuleOptions } from './sentry.interfaces';
3
+ import { ConsoleLoggerOptions } from '@nestjs/common/services/console-logger.service';
3
4
  export declare class SentryLogger extends ConsoleLogger {
4
- protected readonly options: SentryModuleOptions;
5
- constructor(options: SentryModuleOptions);
5
+ protected readonly options: ConsoleLoggerOptions;
6
+ private readonly sentryOptions;
7
+ constructor(options: ConsoleLoggerOptions, sentryOptions: SentryModuleOptions);
6
8
  log(message: string, context?: string, asBreadcrumb?: boolean): void;
7
9
  error(message: string, stack?: string, context?: string): void;
8
10
  warn(message: string, context?: string, asBreadcrumb?: boolean): void;
@@ -6,16 +6,17 @@ const common_1 = require("@nestjs/common");
6
6
  const Sentry = require("@sentry/node");
7
7
  const tokens_1 = require("./tokens");
8
8
  let SentryLogger = class SentryLogger extends common_1.ConsoleLogger {
9
- constructor(options) {
9
+ constructor(options, sentryOptions) {
10
10
  super();
11
11
  this.options = options;
12
+ this.sentryOptions = sentryOptions;
12
13
  }
13
14
  log(message, context, asBreadcrumb) {
14
15
  super.log(message, context);
15
- if (!this.options.dsn) {
16
+ if (!this.sentryOptions.dsn) {
16
17
  return;
17
18
  }
18
- if (this.options.logLevels && !this.options.logLevels.includes('log')) {
19
+ if (this.sentryOptions.logLevels && !this.sentryOptions.logLevels.includes('log')) {
19
20
  return;
20
21
  }
21
22
  try {
@@ -37,10 +38,10 @@ let SentryLogger = class SentryLogger extends common_1.ConsoleLogger {
37
38
  }
38
39
  error(message, stack, context) {
39
40
  super.error(message, stack, context);
40
- if (!this.options.dsn) {
41
+ if (!this.sentryOptions.dsn) {
41
42
  return;
42
43
  }
43
- if (this.options.logLevels && !this.options.logLevels.includes('error')) {
44
+ if (this.sentryOptions.logLevels && !this.sentryOptions.logLevels.includes('error')) {
44
45
  return;
45
46
  }
46
47
  try {
@@ -52,10 +53,10 @@ let SentryLogger = class SentryLogger extends common_1.ConsoleLogger {
52
53
  }
53
54
  warn(message, context, asBreadcrumb) {
54
55
  super.warn(message, context);
55
- if (!this.options.dsn) {
56
+ if (!this.sentryOptions.dsn) {
56
57
  return;
57
58
  }
58
- if (this.options.logLevels && !this.options.logLevels.includes('warn')) {
59
+ if (this.sentryOptions.logLevels && !this.sentryOptions.logLevels.includes('warn')) {
59
60
  return;
60
61
  }
61
62
  try {
@@ -75,10 +76,10 @@ let SentryLogger = class SentryLogger extends common_1.ConsoleLogger {
75
76
  }
76
77
  debug(message, context, asBreadcrumb) {
77
78
  super.debug(message, context);
78
- if (!this.options.dsn) {
79
+ if (!this.sentryOptions.dsn) {
79
80
  return;
80
81
  }
81
- if (this.options.logLevels && !this.options.logLevels.includes('debug')) {
82
+ if (this.sentryOptions.logLevels && !this.sentryOptions.logLevels.includes('debug')) {
82
83
  return;
83
84
  }
84
85
  try {
@@ -99,8 +100,9 @@ let SentryLogger = class SentryLogger extends common_1.ConsoleLogger {
99
100
  };
100
101
  SentryLogger = tslib_1.__decorate([
101
102
  (0, common_1.Injectable)(),
102
- tslib_1.__param(0, (0, common_1.Inject)(tokens_1.SENTRY_MODULE_OPTIONS)),
103
- tslib_1.__metadata("design:paramtypes", [Object])
103
+ tslib_1.__param(0, (0, common_1.Inject)(tokens_1.CONSOLE_LOGGER_OPTIONS)),
104
+ tslib_1.__param(1, (0, common_1.Inject)(tokens_1.SENTRY_MODULE_OPTIONS)),
105
+ tslib_1.__metadata("design:paramtypes", [Object, Object])
104
106
  ], SentryLogger);
105
107
  exports.SentryLogger = SentryLogger;
106
108
  //# sourceMappingURL=sentry.logger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sentry.logger.js","sourceRoot":"","sources":["../../../../../libs/sentry/src/lib/sentry.logger.ts"],"names":[],"mappings":";;;;AAAA,2CAAmE;AACnE,uCAAuC;AAEvC,qCAAiD;AAG1C,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,sBAAa;IAE7C,YAE8B,OAA4B;QAExD,KAAK,EAAE,CAAC;QAFoB,YAAO,GAAP,OAAO,CAAqB;IAG1D,CAAC;IAEQ,GAAG,CAAC,OAAe,EAAE,OAAgB,EAAE,YAAsB;QACpE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5B,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE;YACrB,OAAO;SACR;QACD,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YACrE,OAAO;SACR;QACD,IAAI;YACF,YAAY,CAAC,CAAC;gBACd,MAAM,CAAC,aAAa,CAAC;oBACnB,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,CAAC,OAAO,CAAC,EAAE;YACnF,OAAO;SACR;QACD,IAAI;YACF,YAAY,CAAC,CAAC;gBACd,MAAM,CAAC,aAAa,CAAC;oBACnB,OAAO;oBACP,KAAK,EAAE,OAAO;oBACd,IAAI,EAAE;wBACJ,OAAO;qBACR;iBACF,CAAC,CAAC,CAAC;gBACJ,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;SACpD;QAAC,OAAO,GAAQ,EAAE;YACjB,OAAO,CAAC,KAAK,CAAC,yCAAyC,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC;SACxE;IACH,CAAC;CAEF,CAAA;AAjGY,YAAY;IADxB,IAAA,mBAAU,GAAE;IAIR,mBAAA,IAAA,eAAM,EAAC,+BAAsB,CAAC,CAAA;IAE9B,mBAAA,IAAA,eAAM,EAAC,8BAAqB,CAAC,CAAA;;GALrB,YAAY,CAiGxB;AAjGY,oCAAY"}
@@ -1,8 +1,9 @@
1
1
  import { DynamicModule } from '@nestjs/common';
2
2
  import { SentryModuleAsyncOptions, SentryModuleOptions } from './sentry.interfaces';
3
+ import { ConsoleLoggerOptions } from '@nestjs/common/services/console-logger.service';
3
4
  export declare class SentryModule {
4
- static forRoot(options: SentryModuleOptions): DynamicModule;
5
- static forRootAsync(options: SentryModuleAsyncOptions): DynamicModule;
5
+ static forRoot(options: SentryModuleOptions, { timestamp, logLevels }?: ConsoleLoggerOptions): DynamicModule;
6
+ static forRootAsync(options: SentryModuleAsyncOptions, { timestamp, logLevels }?: ConsoleLoggerOptions): DynamicModule;
6
7
  private static createAsyncProviders;
7
8
  private static createAsyncOptionsProvider;
8
9
  }
@@ -8,7 +8,7 @@ const tokens_1 = require("./tokens");
8
8
  const sentry_logger_1 = require("./sentry.logger");
9
9
  const sentry_service_1 = require("./sentry.service");
10
10
  let SentryModule = SentryModule_1 = class SentryModule {
11
- static forRoot(options) {
11
+ static forRoot(options, { timestamp, logLevels } = {}) {
12
12
  return {
13
13
  exports: [sentry_service_1.SentryService],
14
14
  module: SentryModule_1,
@@ -17,16 +17,24 @@ let SentryModule = SentryModule_1 = class SentryModule {
17
17
  provide: tokens_1.SENTRY_MODULE_OPTIONS,
18
18
  useValue: options,
19
19
  },
20
+ {
21
+ provide: tokens_1.CONSOLE_LOGGER_OPTIONS,
22
+ useValue: { timestamp: timestamp !== null && timestamp !== void 0 ? timestamp : true, logLevels: logLevels !== null && logLevels !== void 0 ? logLevels : ['log', 'error', 'warn'] },
23
+ }
20
24
  ],
21
25
  };
22
26
  }
23
- static forRootAsync(options) {
27
+ static forRootAsync(options, { timestamp, logLevels } = {}) {
24
28
  return {
25
29
  exports: [sentry_service_1.SentryService],
26
30
  imports: options.imports,
27
31
  module: SentryModule_1,
28
32
  providers: [
29
33
  ...this.createAsyncProviders(options),
34
+ {
35
+ provide: tokens_1.CONSOLE_LOGGER_OPTIONS,
36
+ useValue: { timestamp: timestamp !== null && timestamp !== void 0 ? timestamp : true, logLevels: logLevels !== null && logLevels !== void 0 ? logLevels : ['log', 'error', 'warn'] },
37
+ }
30
38
  ],
31
39
  };
32
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sentry.module.js","sourceRoot":"","sources":["../../../../../libs/sentry/src/lib/sentry.module.ts"],"names":[],"mappings":";;;;;AAAA,2CAA+E;AAC/E,qCAAiD;AAEjD,mDAA+C;AAC/C,qDAAiD;AAO1C,IAAM,YAAY,oBAAlB,MAAM,YAAY;IAChB,MAAM,CAAC,OAAO,CAAC,OAA4B;QAChD,OAAO;YACL,OAAO,EAAE,CAAC,8BAAa,CAAC;YACxB,MAAM,EAAE,cAAY;YACpB,SAAS,EAAE;gBACT;oBACE,OAAO,EAAE,8BAAqB;oBAC9B,QAAQ,EAAE,OAAO;iBAClB;aACF;SACF,CAAC;IACJ,CAAC;IAEM,MAAM,CAAC,YAAY,CACxB,OAAiC;QAEjC,OAAO;YACL,OAAO,EAAE,CAAC,8BAAa,CAAC;YACxB,O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,IAAI,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,UAAU,EAAE;YAC7C,OAAO,CAAC,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC,CAAC;SACnD;QACD,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAsC,CAAC;QAChE,OAAO;YACL,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC;YACxC;gBACE,OAAO,EAAE,QAAQ;gBACjB,QAAQ;aACT;SACF,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,0BAA0B,CACvC,OAAiC;QAEjC,IAAI,OAAO,CAAC,UAAU,EAAE;YACtB,OAAO;gBACL,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE;gBAC5B,OAAO,EAAE,8BAAqB;gBAC9B,UAAU,EAAE,OAAO,CAAC,UAAU;aAC/B,CAAC;SACH;QACD,MAAM,MAAM,GAAG;YACb,CAAC,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,WAAW,CAA+B;SACxE,CAAC;QACF,OAAO;YACL,OAAO,EAAE,8BAAqB;YAC9B,UAAU,EAAE,CAAO,cAAoC,EAAE,EAAE,wDACzD,OAAA,MAAM,cAAc,CAAC,yBAAyB,EAAE,CAAA,GAAA;YAClD,MAAM;SACP,CAAC;IACJ,CAAC;CAEF,CAAA;AA5EY,YAAY;IALxB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAE,4BAAY,EAAE,8BAAa,CAAE;QAC1C,OAAO,EAAE,CAAE,4BAAY,EAAE,8BAAa,CAAE;KACzC,CAAC;GACW,YAAY,CA4ExB;AA5EY,oCAAY"}
@@ -1,2 +1,3 @@
1
1
  export declare const SENTRY_MODULE_OPTIONS: unique symbol;
2
2
  export declare const SENTRY_INTERCEPTOR_OPTIONS: unique symbol;
3
+ export declare const CONSOLE_LOGGER_OPTIONS: unique symbol;
package/src/lib/tokens.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SENTRY_INTERCEPTOR_OPTIONS = exports.SENTRY_MODULE_OPTIONS = void 0;
3
+ exports.CONSOLE_LOGGER_OPTIONS = exports.SENTRY_INTERCEPTOR_OPTIONS = exports.SENTRY_MODULE_OPTIONS = void 0;
4
4
  exports.SENTRY_MODULE_OPTIONS = Symbol('SentryModuleOptions');
5
5
  exports.SENTRY_INTERCEPTOR_OPTIONS = Symbol('SENTRY_INTERCEPTOR_OPTIONS');
6
+ exports.CONSOLE_LOGGER_OPTIONS = Symbol('CONSOLE_LOGGER_OPTIONS');
6
7
  //# sourceMappingURL=tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../../libs/sentry/src/lib/tokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AACtD,QAAA,0BAA0B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAA"}
1
+ {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../../libs/sentry/src/lib/tokens.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AACtD,QAAA,0BAA0B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAA;AACjE,QAAA,sBAAsB,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC"}