@rxap/ngx-sentry 19.3.0-dev.2 → 21.0.1-dev.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.
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
- "version": "19.3.0-dev.2",
2
+ "version": "21.0.1-dev.0",
3
3
  "name": "@rxap/ngx-sentry",
4
4
  "description": "This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application's environment, and a function to initialize Sentry with these configurations. It also includes a generator to add peer dependencies to the package.json.\n",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "dependencies": {
7
- "@nx/devkit": "20.5.0",
7
+ "@nx/devkit": "22.7.5",
8
8
  "tslib": "2.6.2"
9
9
  },
10
10
  "peerDependencies": {
11
- "@rxap/config": "^19.3.0-dev.3",
12
- "@rxap/environment": "^19.2.0-dev.0",
13
- "@sentry/angular": "^8.18.0"
11
+ "@rxap/config": "^21.0.1-dev.0",
12
+ "@rxap/environment": "^21.0.1-dev.0",
13
+ "@sentry/angular": "^10.10.0"
14
14
  },
15
15
  "author": {
16
16
  "name": "Merzough Münker",
@@ -35,27 +35,27 @@
35
35
  "packageGroup": [
36
36
  {
37
37
  "package": "@angular/common",
38
- "version": "19.2.16"
38
+ "version": "21.2.9"
39
39
  },
40
40
  {
41
41
  "package": "@angular/core",
42
- "version": "19.2.16"
42
+ "version": "21.2.9"
43
43
  },
44
44
  {
45
45
  "package": "@angular/router",
46
- "version": "19.2.16"
46
+ "version": "21.2.9"
47
47
  },
48
48
  {
49
49
  "package": "@rxap/config",
50
- "version": "19.3.0-dev.3"
50
+ "version": "21.0.1-dev.0"
51
51
  },
52
52
  {
53
53
  "package": "@rxap/environment",
54
- "version": "19.2.0-dev.0"
54
+ "version": "21.0.1-dev.0"
55
55
  },
56
56
  {
57
57
  "package": "@rxap/utilities",
58
- "version": "16.5.1-dev.1"
58
+ "version": "16.5.2-dev.0"
59
59
  },
60
60
  {
61
61
  "package": "@sentry/angular",
@@ -75,15 +75,16 @@
75
75
  "schematics": "./generators.json",
76
76
  "sideEffects": false,
77
77
  "module": "fesm2022/rxap-ngx-sentry.mjs",
78
- "typings": "index.d.ts",
78
+ "typings": "types/rxap-ngx-sentry.d.ts",
79
79
  "exports": {
80
80
  "./package.json": {
81
81
  "default": "./package.json"
82
82
  },
83
83
  ".": {
84
- "types": "./index.d.ts",
84
+ "types": "./types/rxap-ngx-sentry.d.ts",
85
85
  "default": "./fesm2022/rxap-ngx-sentry.mjs"
86
86
  },
87
87
  "./theme": "./theme.css"
88
- }
88
+ },
89
+ "type": "module"
89
90
  }
@@ -0,0 +1,27 @@
1
+ import { Environment } from '@rxap/environment';
2
+ import { ConfigService } from '@rxap/config';
3
+ import { BrowserOptions } from '@sentry/browser';
4
+
5
+ /**
6
+ * Determines the sentry environment based on the build info object.
7
+ *
8
+ * If the tier is local return undefined.
9
+ * If the tier is production determine the environment based on the tag and branch name.
10
+ *
11
+ * @param environment
12
+ */
13
+ declare function DetermineSentryEnvironment(environment: Environment): string | undefined;
14
+
15
+ /**
16
+ * Determines the sentry release based on the build info object.
17
+ *
18
+ * If the tier is local return undefined.
19
+ * If the tier is production return the tag value as release or undefined.
20
+ *
21
+ * @param environment
22
+ */
23
+ declare function DetermineSentryRelease(environment: Environment): string | undefined;
24
+
25
+ declare function sentryInitBootstrapHook(environment: Environment, custom?: (options: BrowserOptions, config: ConfigService) => BrowserOptions): (config: ConfigService) => void;
26
+
27
+ export { DetermineSentryEnvironment, DetermineSentryRelease, sentryInitBootstrapHook };
package/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './lib/determine-sentry-environment';
2
- export * from './lib/determine-sentry-release';
3
- export * from './lib/sentry-init-bootstrap-hook';
@@ -1,10 +0,0 @@
1
- import { Environment } from '@rxap/environment';
2
- /**
3
- * Determines the sentry environment based on the build info object.
4
- *
5
- * If the tier is local return undefined.
6
- * If the tier is production determine the environment based on the tag and branch name.
7
- *
8
- * @param environment
9
- */
10
- export declare function DetermineSentryEnvironment(environment: Environment): string | undefined;
@@ -1,10 +0,0 @@
1
- import { Environment } from '@rxap/environment';
2
- /**
3
- * Determines the sentry release based on the build info object.
4
- *
5
- * If the tier is local return undefined.
6
- * If the tier is production return the tag value as release or undefined.
7
- *
8
- * @param environment
9
- */
10
- export declare function DetermineSentryRelease(environment: Environment): string | undefined;
@@ -1,4 +0,0 @@
1
- import { ConfigService } from '@rxap/config';
2
- import { Environment } from '@rxap/environment';
3
- import type { BrowserOptions } from '@sentry/browser';
4
- export declare function sentryInitBootstrapHook(environment: Environment, custom?: (options: BrowserOptions, config: ConfigService) => BrowserOptions): (config: ConfigService) => void;