@rxap/ngx-sentry 19.0.1 → 19.0.2-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.
@@ -102,7 +102,7 @@
102
102
  </ol>
103
103
  <ul class="properties-list">
104
104
  <li>
105
- <b>Version</b> : 19.0.1</li>
105
+ <b>Version</b> : 19.0.2-dev.0</li>
106
106
  <li>
107
107
  <b>Description</b> : 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.
108
108
  </li>
@@ -16,7 +16,7 @@
16
16
  "fileName": "determine-sentry-environment.ts",
17
17
  "line": 14,
18
18
  "character": 16,
19
- "url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14"
19
+ "url": "https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14"
20
20
  }
21
21
  ],
22
22
  "signatures": [
@@ -39,7 +39,7 @@
39
39
  "fileName": "determine-sentry-environment.ts",
40
40
  "line": 14,
41
41
  "character": 16,
42
- "url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14"
42
+ "url": "https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14"
43
43
  }
44
44
  ],
45
45
  "parameters": [
@@ -87,7 +87,7 @@
87
87
  "fileName": "determine-sentry-release.ts",
88
88
  "line": 11,
89
89
  "character": 16,
90
- "url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11"
90
+ "url": "https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11"
91
91
  }
92
92
  ],
93
93
  "signatures": [
@@ -110,7 +110,7 @@
110
110
  "fileName": "determine-sentry-release.ts",
111
111
  "line": 11,
112
112
  "character": 16,
113
- "url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11"
113
+ "url": "https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11"
114
114
  }
115
115
  ],
116
116
  "parameters": [
@@ -158,7 +158,7 @@
158
158
  "fileName": "sentry-init.ts",
159
159
  "line": 7,
160
160
  "character": 16,
161
- "url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/sentry-init.ts#L7"
161
+ "url": "https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/sentry-init.ts#L7"
162
162
  }
163
163
  ],
164
164
  "signatures": [
@@ -173,7 +173,7 @@
173
173
  "fileName": "sentry-init.ts",
174
174
  "line": 7,
175
175
  "character": 16,
176
- "url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/sentry-init.ts#L7"
176
+ "url": "https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/sentry-init.ts#L7"
177
177
  }
178
178
  ],
179
179
  "parameters": [
@@ -216,35 +216,35 @@
216
216
  "readme": [
217
217
  {
218
218
  "kind": "text",
219
- "text": "This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application&#x27;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\n[![npm version](https://img.shields.io/npm/v/@rxap/ngx-sentry?style=flat-square)](https://www.npmjs.com/package/@rxap/ngx-sentry)\n[![commitizen\nfriendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)\n[![styled with\nprettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n![Libraries.io dependency status for latest release, scoped npm\npackage](https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry)\n![npm](https://img.shields.io/npm/dm/@rxap/ngx-sentry)\n![NPM](https://img.shields.io/npm/l/@rxap/ngx-sentry) -\n[Installation](#installation)\n- [Generators](#generators)\n - [init](#init)\n\n# Installation **Add the package to your workspace:** "
219
+ "text": "This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application&#x27;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\n[![npm version](https://img.shields.io/npm/v/@rxap/ngx-sentry?style=flat-square)](https://www.npmjs.com/package/@rxap/ngx-sentry)\n[![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry)\n![npm](https://img.shields.io/npm/dm/@rxap/ngx-sentry)\n![NPM](https://img.shields.io/npm/l/@rxap/ngx-sentry)\n\n- [Installation](#installation)\n- [Generators](#generators)\n - [init](#init)\n\n# Installation\n\n**Add the package to your workspace:**\n"
220
220
  },
221
221
  {
222
222
  "kind": "code",
223
- "text": "```bash yarn add\n@rxap/ngx-sentry\n```"
223
+ "text": "```bash\nyarn add @rxap/ngx-sentry\n```"
224
224
  },
225
225
  {
226
226
  "kind": "text",
227
- "text": "\n**Install peer dependencies:** "
227
+ "text": "\n**Install peer dependencies:**\n"
228
228
  },
229
229
  {
230
230
  "kind": "code",
231
- "text": "```bash yarn add\n @rxap/config@^19.0.1-dev.5 @rxap/environment@^19.0.1-dev.5 @sentry/angular@^8.18.0 \n ```"
231
+ "text": "```bash\nyarn add @rxap/config@^19.0.1 @rxap/environment@^19.0.1 @sentry/angular@^8.18.0 \n```"
232
232
  },
233
233
  {
234
234
  "kind": "text",
235
- "text": "\n**Execute the init generator:** "
235
+ "text": "\n**Execute the init generator:**\n"
236
236
  },
237
237
  {
238
238
  "kind": "code",
239
- "text": "```bash yarn nx g\n @rxap/ngx-sentry:init ```"
239
+ "text": "```bash\nyarn nx g @rxap/ngx-sentry:init\n```"
240
240
  },
241
241
  {
242
242
  "kind": "text",
243
- "text": "\n# Generators\n\n ##\n init\n >\n Initialize the package in the workspace\n\n "
243
+ "text": "\n# Generators\n\n## init\n> Initialize the package in the workspace\n\n"
244
244
  },
245
245
  {
246
246
  "kind": "code",
247
- "text": "```bash nx g\n @rxap/ngx-sentry:init\n ```"
247
+ "text": "```bash\nnx g @rxap/ngx-sentry:init\n```"
248
248
  }
249
249
  ],
250
250
  "symbolIdMap": {
@@ -1,12 +1,10 @@
1
1
  :root {
2
- --light-hl-0: #000000;
3
- --dark-hl-0: #D4D4D4;
4
- --light-hl-1: #001080;
5
- --dark-hl-1: #9CDCFE;
6
- --light-hl-2: #000000;
7
- --dark-hl-2: #C8C8C8;
8
- --light-hl-3: #A31515;
9
- --dark-hl-3: #CE9178;
2
+ --light-hl-0: #795E26;
3
+ --dark-hl-0: #DCDCAA;
4
+ --light-hl-1: #000000;
5
+ --dark-hl-1: #D4D4D4;
6
+ --light-hl-2: #A31515;
7
+ --dark-hl-2: #CE9178;
10
8
  --light-code-background: #FFFFFF;
11
9
  --dark-code-background: #1E1E1E;
12
10
  }
@@ -15,7 +13,6 @@
15
13
  --hl-0: var(--light-hl-0);
16
14
  --hl-1: var(--light-hl-1);
17
15
  --hl-2: var(--light-hl-2);
18
- --hl-3: var(--light-hl-3);
19
16
  --code-background: var(--light-code-background);
20
17
  } }
21
18
 
@@ -23,7 +20,6 @@
23
20
  --hl-0: var(--dark-hl-0);
24
21
  --hl-1: var(--dark-hl-1);
25
22
  --hl-2: var(--dark-hl-2);
26
- --hl-3: var(--dark-hl-3);
27
23
  --code-background: var(--dark-code-background);
28
24
  } }
29
25
 
@@ -31,7 +27,6 @@
31
27
  --hl-0: var(--light-hl-0);
32
28
  --hl-1: var(--light-hl-1);
33
29
  --hl-2: var(--light-hl-2);
34
- --hl-3: var(--light-hl-3);
35
30
  --code-background: var(--light-code-background);
36
31
  }
37
32
 
@@ -39,12 +34,10 @@
39
34
  --hl-0: var(--dark-hl-0);
40
35
  --hl-1: var(--dark-hl-1);
41
36
  --hl-2: var(--dark-hl-2);
42
- --hl-3: var(--dark-hl-3);
43
37
  --code-background: var(--dark-code-background);
44
38
  }
45
39
 
46
40
  .hl-0 { color: var(--hl-0); }
47
41
  .hl-1 { color: var(--hl-1); }
48
42
  .hl-2 { color: var(--hl-2); }
49
- .hl-3 { color: var(--hl-3); }
50
43
  pre, code { background: var(--code-background); }
@@ -1,4 +1,4 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DetermineSentryEnvironment | @rxap/ngx-sentry</title><meta name="description" content="Documentation for @rxap/ngx-sentry"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/ngx-sentry</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/ngx-sentry</a></li><li><a href="DetermineSentryEnvironment.html">DetermineSentryEnvironment</a></li></ul><h1>Function DetermineSentryEnvironment</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="determinesentryenvironment" class="tsd-anchor"></a><span class="tsd-kind-call-signature">DetermineSentryEnvironment</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">environment</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Environment</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#determinesentryenvironment" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Determines the sentry environment based on the build info object.</p>
2
2
  <p>If the tier is local return undefined.
3
3
  If the tier is production determine the environment based on the tag and branch name.</p>
4
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signature-type">Environment</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14">determine-sentry-environment.ts:14</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
4
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signature-type">Environment</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14">determine-sentry-environment.ts:14</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,4 +1,4 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DetermineSentryRelease | @rxap/ngx-sentry</title><meta name="description" content="Documentation for @rxap/ngx-sentry"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/ngx-sentry</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/ngx-sentry</a></li><li><a href="DetermineSentryRelease.html">DetermineSentryRelease</a></li></ul><h1>Function DetermineSentryRelease</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="determinesentryrelease" class="tsd-anchor"></a><span class="tsd-kind-call-signature">DetermineSentryRelease</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">environment</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Environment</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><a href="#determinesentryrelease" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Determines the sentry release based on the build info object.</p>
2
2
  <p>If the tier is local return undefined.
3
3
  If the tier is production return the tag value as release or undefined.</p>
4
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signature-type">Environment</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11">determine-sentry-release.ts:11</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
4
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signature-type">Environment</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11">determine-sentry-release.ts:11</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SentryInit | @rxap/ngx-sentry</title><meta name="description" content="Documentation for @rxap/ngx-sentry"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/ngx-sentry</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/ngx-sentry</a></li><li><a href="SentryInit.html">SentryInit</a></li></ul><h1>Function SentryInit</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="sentryinit" class="tsd-anchor"></a><span class="tsd-kind-call-signature">SentryInit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">environment</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Environment</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#sentryinit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signature-type">Environment</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/sentry-init.ts#L7">sentry-init.ts:7</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SentryInit | @rxap/ngx-sentry</title><meta name="description" content="Documentation for @rxap/ngx-sentry"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@rxap/ngx-sentry</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@rxap/ngx-sentry</a></li><li><a href="SentryInit.html">SentryInit</a></li></ul><h1>Function SentryInit</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="sentryinit" class="tsd-anchor"></a><span class="tsd-kind-call-signature">SentryInit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">environment</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Environment</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#sentryinit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signature-type">Environment</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/sentry-init.ts#L7">sentry-init.ts:7</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,33 +1,34 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@rxap/ngx-sentry</title><meta name="description" content="Documentation for @rxap/ngx-sentry"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@rxap/ngx-sentry</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>@rxap/ngx-sentry</h1></div><div class="tsd-panel tsd-typography"><p>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.</p>
2
2
  <p><a href="https://www.npmjs.com/package/@rxap/ngx-sentry"><img src="https://img.shields.io/npm/v/@rxap/ngx-sentry?style=flat-square" alt="npm version"></a>
3
- <a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen
4
- friendly"></a>
5
- <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square" alt="styled with
6
- prettier"></a>
7
- <img src="https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry" alt="Libraries.io dependency status for latest release, scoped npm
8
- package">
3
+ <a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly"></a>
4
+ <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square" alt="styled with prettier"></a>
5
+ <img src="https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry" alt="Libraries.io dependency status for latest release, scoped npm package">
9
6
  <img src="https://img.shields.io/npm/dm/@rxap/ngx-sentry" alt="npm">
10
- <img src="https://img.shields.io/npm/l/@rxap/ngx-sentry" alt="NPM"> -
11
- <a href="#installation">Installation</a></p>
7
+ <img src="https://img.shields.io/npm/l/@rxap/ngx-sentry" alt="NPM"></p>
12
8
  <ul>
9
+ <li><a href="#installation">Installation</a></li>
13
10
  <li><a href="#generators">Generators</a>
14
11
  <ul>
15
12
  <li><a href="#init">init</a></li>
16
13
  </ul>
17
14
  </li>
18
15
  </ul>
19
- <a id="installation-add-the-package-to-your-workspace-bash-yarn-add" class="tsd-anchor"></a><h1 class="tsd-anchor-link">Installation <strong>Add the package to your workspace:</strong> ```bash yarn add<a href="#installation-add-the-package-to-your-workspace-bash-yarn-add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p>@rxap/ngx-sentry</p>
20
- <pre><code><span class="hl-0">**</span><span class="hl-1">Install</span><span class="hl-0"> </span><span class="hl-1">peer</span><span class="hl-0"> </span><span class="hl-2">dependencies</span><span class="hl-0">:** </span><span class="hl-3">```bash yarn add</span><br/><span class="hl-3"> @rxap/config@^19.0.1-dev.5 @rxap/environment@^19.0.1-dev.5 @sentry/angular@^8.18.0 </span>
21
- </code><button>Copy</button></pre>
16
+ <a id="installation" class="tsd-anchor"></a><h1 class="tsd-anchor-link">Installation<a href="#installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p><strong>Add the package to your workspace:</strong></p>
17
+ <pre><code class="bash"><span class="hl-0">yarn</span><span class="hl-1"> </span><span class="hl-2">add</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-sentry</span>
18
+ </code><button type="button">Copy</button></pre>
22
19
 
23
- <p><strong>Execute the init generator:</strong> <code>bash yarn nx g @rxap/ngx-sentry:init </code></p>
24
- <a id="generators" class="tsd-anchor"></a><h1 class="tsd-anchor-link">Generators<a href="#generators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><pre><code>##
25
- init
26
- &gt;
27
- Initialize the package in the workspace
20
+ <p><strong>Install peer dependencies:</strong></p>
21
+ <pre><code class="bash"><span class="hl-0">yarn</span><span class="hl-1"> </span><span class="hl-2">add</span><span class="hl-1"> </span><span class="hl-2">@rxap/config@^19.0.1</span><span class="hl-1"> </span><span class="hl-2">@rxap/environment@^19.0.1</span><span class="hl-1"> </span><span class="hl-2">@sentry/angular@^8.18.0</span><span class="hl-1"> </span>
22
+ </code><button type="button">Copy</button></pre>
28
23
 
29
- ```bash nx g
30
- @rxap/ngx-sentry:init
31
- ```
32
- </code></pre>
33
- </div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#installation-add-the-package-to-your-workspace-bash-yarn-add"><span>Installation <wbr/>Add the package to your workspace: ```bash yarn add</span></a><a href="#generators"><span>Generators</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
24
+ <p><strong>Execute the init generator:</strong></p>
25
+ <pre><code class="bash"><span class="hl-0">yarn</span><span class="hl-1"> </span><span class="hl-2">nx</span><span class="hl-1"> </span><span class="hl-2">g</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-sentry:init</span>
26
+ </code><button type="button">Copy</button></pre>
27
+
28
+ <a id="generators" class="tsd-anchor"></a><h1 class="tsd-anchor-link">Generators<a href="#generators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><a id="init" class="tsd-anchor"></a><h2 class="tsd-anchor-link">init<a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><blockquote>
29
+ <p>Initialize the package in the workspace</p>
30
+ </blockquote>
31
+ <pre><code class="bash"><span class="hl-0">nx</span><span class="hl-1"> </span><span class="hl-2">g</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-sentry:init</span>
32
+ </code><button type="button">Copy</button></pre>
33
+
34
+ </div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#installation"><span>Installation</span></a><a href="#generators"><span>Generators</span></a><ul><li><a href="#init"><span>init</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html">@rxap/ngx-sentry</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -5,33 +5,35 @@
5
5
  This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application&#x27;s environment, and a function to initialize Sentry with these configurations. It also includes a generator to add peer dependencies to the package.json.
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@rxap/ngx-sentry?style=flat-square)](https://www.npmjs.com/package/@rxap/ngx-sentry)
8
- [![commitizen
9
- friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
10
- [![styled with
11
- prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
12
- ![Libraries.io dependency status for latest release, scoped npm
13
- package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry)
8
+ [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
9
+ [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
10
+ ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry)
14
11
  ![npm](https://img.shields.io/npm/dm/@rxap/ngx-sentry)
15
- ![NPM](https://img.shields.io/npm/l/@rxap/ngx-sentry) -
16
- [Installation](#installation)
12
+ ![NPM](https://img.shields.io/npm/l/@rxap/ngx-sentry)
13
+
14
+ - [Installation](#installation)
17
15
  - [Generators](#generators)
18
- - [init](#init)
16
+ - [init](#init)
17
+
18
+ # Installation
19
19
 
20
- # Installation **Add the package to your workspace:** ```bash yarn add
21
- @rxap/ngx-sentry
20
+ **Add the package to your workspace:**
21
+ ```bash
22
+ yarn add @rxap/ngx-sentry
23
+ ```
24
+ **Install peer dependencies:**
25
+ ```bash
26
+ yarn add @rxap/config@^19.0.1 @rxap/environment@^19.0.1 @sentry/angular@^8.18.0
27
+ ```
28
+ **Execute the init generator:**
29
+ ```bash
30
+ yarn nx g @rxap/ngx-sentry:init
22
31
  ```
23
- **Install peer dependencies:** ```bash yarn add
24
- @rxap/config@^19.0.1-dev.5 @rxap/environment@^19.0.1-dev.5 @sentry/angular@^8.18.0
25
- ```
26
- **Execute the init generator:** ```bash yarn nx g
27
- @rxap/ngx-sentry:init ```
28
32
  # Generators
29
33
 
30
- ##
31
- init
32
- >
33
- Initialize the package in the workspace
34
+ ## init
35
+ > Initialize the package in the workspace
34
36
 
35
- ```bash nx g
36
- @rxap/ngx-sentry:init
37
- ```
37
+ ```bash
38
+ nx g @rxap/ngx-sentry:init
39
+ ```
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **DetermineSentryEnvironment**(`environment`): `undefined` \| `string`
10
10
 
11
- Defined in: [determine-sentry-environment.ts:14](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14)
11
+ Defined in: [determine-sentry-environment.ts:14](https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14)
12
12
 
13
13
  Determines the sentry environment based on the build info object.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **DetermineSentryRelease**(`environment`): `undefined` \| `string`
10
10
 
11
- Defined in: [determine-sentry-release.ts:11](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11)
11
+ Defined in: [determine-sentry-release.ts:11](https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11)
12
12
 
13
13
  Determines the sentry release based on the build info object.
14
14
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  > **SentryInit**(`environment`): `void`
10
10
 
11
- Defined in: [sentry-init.ts:7](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/sentry-init.ts#L7)
11
+ Defined in: [sentry-init.ts:7](https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/sentry-init.ts#L7)
12
12
 
13
13
  ## Parameters
14
14
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **DetermineSentryEnvironment**(`environment`): `undefined` \| `string`
6
6
 
7
- Defined in: [determine-sentry-environment.ts:14](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14)
7
+ Defined in: [determine-sentry-environment.ts:14](https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-environment.ts#L14)
8
8
 
9
9
  Determines the sentry environment based on the build info object.
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **DetermineSentryRelease**(`environment`): `undefined` \| `string`
6
6
 
7
- Defined in: [determine-sentry-release.ts:11](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11)
7
+ Defined in: [determine-sentry-release.ts:11](https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/determine-sentry-release.ts#L11)
8
8
 
9
9
  Determines the sentry release based on the build info object.
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **SentryInit**(`environment`): `void`
6
6
 
7
- Defined in: [sentry-init.ts:7](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/sentry/src/lib/sentry-init.ts#L7)
7
+ Defined in: [sentry-init.ts:7](https://gitlab.com/rxap/packages/-/blob/9978b20018f781a5952245bfe2db15ab7612611c/packages/angular/sentry/src/lib/sentry-init.ts#L7)
8
8
 
9
9
  ## Parameters
10
10
 
package/docs/wiki/Home.md CHANGED
@@ -1,33 +1,35 @@
1
1
  This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application&#x27;s environment, and a function to initialize Sentry with these configurations. It also includes a generator to add peer dependencies to the package.json.
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@rxap/ngx-sentry?style=flat-square)](https://www.npmjs.com/package/@rxap/ngx-sentry)
4
- [![commitizen
5
- friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
6
- [![styled with
7
- prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
8
- ![Libraries.io dependency status for latest release, scoped npm
9
- package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry)
4
+ [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
5
+ [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
+ ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-sentry)
10
7
  ![npm](https://img.shields.io/npm/dm/@rxap/ngx-sentry)
11
- ![NPM](https://img.shields.io/npm/l/@rxap/ngx-sentry) -
12
- [Installation](../wiki/#installation)
8
+ ![NPM](https://img.shields.io/npm/l/@rxap/ngx-sentry)
9
+
10
+ - [Installation](../wiki/#installation)
13
11
  - [Generators](../wiki/#generators)
14
- - [init](../wiki/#init)
12
+ - [init](../wiki/#init)
13
+
14
+ # Installation
15
15
 
16
- # Installation **Add the package to your workspace:** ```bash yarn add
17
- @rxap/ngx-sentry
16
+ **Add the package to your workspace:**
17
+ ```bash
18
+ yarn add @rxap/ngx-sentry
19
+ ```
20
+ **Install peer dependencies:**
21
+ ```bash
22
+ yarn add @rxap/config@^19.0.1 @rxap/environment@^19.0.1 @sentry/angular@^8.18.0
23
+ ```
24
+ **Execute the init generator:**
25
+ ```bash
26
+ yarn nx g @rxap/ngx-sentry:init
18
27
  ```
19
- **Install peer dependencies:** ```bash yarn add
20
- @rxap/config@^19.0.1-dev.5 @rxap/environment@^19.0.1-dev.5 @sentry/angular@^8.18.0
21
- ```
22
- **Execute the init generator:** ```bash yarn nx g
23
- @rxap/ngx-sentry:init ```
24
28
  # Generators
25
29
 
26
- ##
27
- init
28
- >
29
- Initialize the package in the workspace
30
+ ## init
31
+ > Initialize the package in the workspace
30
32
 
31
- ```bash nx g
32
- @rxap/ngx-sentry:init
33
- ```
33
+ ```bash
34
+ nx g @rxap/ngx-sentry:init
35
+ ```