@ddd-ts-kit/sentry 0.1.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -18,7 +18,7 @@ Written against `@sentry/node` 11: the options it relies on (`enableOpenTelemetr
18
18
  // platform/errors.ts: imported second, right after platform/tracing.ts
19
19
  import { reportProcessFailures } from '@ddd-ts-kit/kernel';
20
20
  import { initSentry } from '@ddd-ts-kit/sentry';
21
- import { loadConfig } from '@/platform/config/load-config.js';
21
+ import { loadConfig } from '@/platform/config/load-config';
22
22
 
23
23
  // { dsn?, environment, release?, scrubMessages } of the validated configuration.
24
24
  // Without a DSN nothing starts and nothing is reported.
@@ -29,8 +29,8 @@ reportProcessFailures(errors); // uncaughtException and unhandledRejection: repo
29
29
 
30
30
  ```ts
31
31
  // main.ts
32
- import { tracing } from '@/platform/tracing.js'; // first
33
- import { errors } from '@/platform/errors.js'; // second
32
+ import { tracing } from '@/platform/tracing'; // first
33
+ import { errors } from '@/platform/errors'; // second
34
34
  import { DeadLetterReports } from '@ddd-ts-kit/kernel';
35
35
  import { createApplication, kernelModule } from '@ddd-ts-kit/di';
36
36
  import { reportHttpErrors } from '@ddd-ts-kit/http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/sentry",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Error reporting to Sentry or GlitchTip behind the kernel ErrorReporter port: unexpected failures only, correlated with traces, scrubbed before sending.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,12 +26,12 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@ddd-ts-kit/kernel": "0.1.1"
29
+ "@ddd-ts-kit/kernel": "0.2.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@ddd-ts-kit/di": "0.1.1",
33
- "@ddd-ts-kit/http": "0.1.1",
34
- "@ddd-ts-kit/tracing": "0.1.1",
32
+ "@ddd-ts-kit/di": "0.2.0",
33
+ "@ddd-ts-kit/http": "0.2.0",
34
+ "@ddd-ts-kit/tracing": "0.2.0",
35
35
  "@opentelemetry/api": "^1.9.1",
36
36
  "@opentelemetry/sdk-trace-base": "^2.0.0",
37
37
  "@sentry/node": "^11.6.0"