@rxap/ngx-sentry 19.1.1-dev.0 → 19.2.0-dev.1
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 +12 -0
- package/compodoc/changelog.html +10 -0
- package/compodoc/dependencies.html +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +0 -59
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +9 -76
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/functions/DetermineSentryEnvironment.html +2 -2
- package/docs/html/functions/DetermineSentryRelease.html +2 -2
- package/docs/html/functions/sentryInitBootstrapHook.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/functions/DetermineSentryEnvironment.md +2 -2
- package/docs/markdown/functions/DetermineSentryRelease.md +2 -2
- package/docs/markdown/functions/sentryInitBootstrapHook.md +2 -2
- package/docs/markdown/globals.md +2 -3
- package/docs/wiki/Function.DetermineSentryEnvironment.md +1 -1
- package/docs/wiki/Function.DetermineSentryRelease.md +1 -1
- package/docs/wiki/Function.sentryInitBootstrapHook.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -1
- package/docs/wiki/globals.md +1 -2
- package/fesm2022/rxap-ngx-sentry.mjs +3 -47
- package/fesm2022/rxap-ngx-sentry.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +6 -6
- package/docs/html/functions/SentryInit.html +0 -1
- package/docs/markdown/functions/SentryInit.md +0 -21
- package/docs/wiki/Function.SentryInit.md +0 -17
- package/lib/sentry-init.d.ts +0 -2
package/docs/markdown/globals.md
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
[**@rxap/ngx-sentry v19.
|
|
1
|
+
[**@rxap/ngx-sentry v19.2.0-dev.1**](README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# @rxap/ngx-sentry v19.
|
|
5
|
+
# @rxap/ngx-sentry v19.2.0-dev.1
|
|
6
6
|
|
|
7
7
|
## Functions
|
|
8
8
|
|
|
9
9
|
- [DetermineSentryEnvironment](functions/DetermineSentryEnvironment.md)
|
|
10
10
|
- [DetermineSentryRelease](functions/DetermineSentryRelease.md)
|
|
11
|
-
- [SentryInit](functions/SentryInit.md)
|
|
12
11
|
- [sentryInitBootstrapHook](functions/sentryInitBootstrapHook.md)
|
|
@@ -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/
|
|
7
|
+
Defined in: [determine-sentry-environment.ts:14](https://gitlab.com/rxap/packages/-/blob/93e21b0862b681fe19d93a427dff6dd079533598/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/
|
|
7
|
+
Defined in: [determine-sentry-release.ts:11](https://gitlab.com/rxap/packages/-/blob/93e21b0862b681fe19d93a427dff6dd079533598/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
|
> **sentryInitBootstrapHook**(`environment`): (`config`) => `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [sentry-init-bootstrap-hook.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [sentry-init-bootstrap-hook.ts:9](https://gitlab.com/rxap/packages/-/blob/93e21b0862b681fe19d93a427dff6dd079533598/packages/angular/sentry/src/lib/sentry-init-bootstrap-hook.ts#L9)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
package/docs/wiki/_Sidebar.md
CHANGED
package/docs/wiki/globals.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
# @rxap/ngx-sentry v19.
|
|
1
|
+
# @rxap/ngx-sentry v19.2.0-dev.1
|
|
2
2
|
|
|
3
3
|
## Functions
|
|
4
4
|
|
|
5
5
|
- [DetermineSentryEnvironment](../wiki/Function.DetermineSentryEnvironment)
|
|
6
6
|
- [DetermineSentryRelease](../wiki/Function.DetermineSentryRelease)
|
|
7
|
-
- [SentryInit](../wiki/Function.SentryInit)
|
|
8
7
|
- [sentryInitBootstrapHook](../wiki/Function.sentryInitBootstrapHook)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DetermineProductionEnvironmentName } from '@rxap/environment';
|
|
2
2
|
import * as Sentry from '@sentry/angular';
|
|
3
|
-
import { ConfigService } from '@rxap/config';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Determines the sentry environment based on the build info object.
|
|
@@ -72,7 +71,7 @@ function sentryInitBootstrapHook(environment) {
|
|
|
72
71
|
})),
|
|
73
72
|
Sentry.browserSessionIntegration(),
|
|
74
73
|
Sentry.captureConsoleIntegration(config.get('sentry.integrations.captureConsole', {
|
|
75
|
-
levels: ['error'
|
|
74
|
+
levels: ['error'],
|
|
76
75
|
})),
|
|
77
76
|
Sentry.extraErrorDataIntegration(config.get('sentry.integrations.extraErrorData')),
|
|
78
77
|
Sentry.httpClientIntegration(config.get('sentry.integrations.httpClient')),
|
|
@@ -100,55 +99,12 @@ function sentryInitBootstrapHook(environment) {
|
|
|
100
99
|
};
|
|
101
100
|
}
|
|
102
101
|
|
|
103
|
-
|
|
104
|
-
const dsn = ConfigService.Get('sentry.dsn', environment.sentry?.dsn, ConfigService.Config);
|
|
105
|
-
if (!dsn) {
|
|
106
|
-
console.warn('No sentry dsn provided. Sentry will not be initialized.');
|
|
107
|
-
}
|
|
108
|
-
Sentry.init({
|
|
109
|
-
dsn: ConfigService.Get('sentry.dsn', environment.sentry?.dsn, ConfigService.Config),
|
|
110
|
-
enabled: ConfigService.Get('sentry.enabled', environment.sentry?.enabled ?? false, ConfigService.Config),
|
|
111
|
-
debug: ConfigService.Get('sentry.debug', environment.sentry?.debug ?? false, ConfigService.Config),
|
|
112
|
-
environment: DetermineSentryEnvironment(environment),
|
|
113
|
-
release: DetermineSentryRelease(environment),
|
|
114
|
-
tunnel: ConfigService.Get('sentry.tunnel', undefined, ConfigService.Config),
|
|
115
|
-
initialScope: {
|
|
116
|
-
user: { ip_address: '{{auto}}' },
|
|
117
|
-
tags: {
|
|
118
|
-
origin: location.origin,
|
|
119
|
-
host: location.host,
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
replaysSessionSampleRate: ConfigService.Get('sentry.replaysSessionSampleRate', 1.0, ConfigService.Config),
|
|
123
|
-
replaysOnErrorSampleRate: ConfigService.Get('sentry.replaysOnErrorSampleRate', 1.0, ConfigService.Config),
|
|
124
|
-
autoSessionTracking: ConfigService.Get('sentry.autoSessionTracking', true, ConfigService.Config),
|
|
125
|
-
maxValueLength: ConfigService.Get('sentry.maxValueLength', Number.MAX_SAFE_INTEGER, ConfigService.Config),
|
|
126
|
-
integrations: [
|
|
127
|
-
Sentry.httpClientIntegration({
|
|
128
|
-
failedRequestTargets: environment.sentry?.integrations?.httpClient?.failedRequestTargets,
|
|
129
|
-
failedRequestStatusCodes: environment.sentry?.integrations?.httpClient?.failedRequestStatusCodes,
|
|
130
|
-
}),
|
|
131
|
-
Sentry.browserTracingIntegration({}),
|
|
132
|
-
Sentry.replayIntegration({
|
|
133
|
-
// Additional SDK configuration goes in here, for example:
|
|
134
|
-
maskAllText: ConfigService.Get('sentry.integrations.replay.maskAllText', true, ConfigService.Config),
|
|
135
|
-
blockAllMedia: ConfigService.Get('sentry.integrations.replay.blockAllMedia', true, ConfigService.Config),
|
|
136
|
-
maskAllInputs: ConfigService.Get('sentry.integrations.replay.maskAllInputs', true, ConfigService.Config),
|
|
137
|
-
}),
|
|
138
|
-
],
|
|
139
|
-
tracesSampleRate: ConfigService.Get('sentry.tracesSampleRate', 1.0, ConfigService.Config),
|
|
140
|
-
ignoreErrors: [
|
|
141
|
-
'Non-Error exception captured',
|
|
142
|
-
],
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// region
|
|
102
|
+
// region
|
|
147
103
|
// endregion
|
|
148
104
|
|
|
149
105
|
/**
|
|
150
106
|
* Generated bundle index. Do not edit.
|
|
151
107
|
*/
|
|
152
108
|
|
|
153
|
-
export { DetermineSentryEnvironment, DetermineSentryRelease,
|
|
109
|
+
export { DetermineSentryEnvironment, DetermineSentryRelease, sentryInitBootstrapHook };
|
|
154
110
|
//# sourceMappingURL=rxap-ngx-sentry.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-ngx-sentry.mjs","sources":["../../../../../packages/angular/sentry/src/lib/determine-sentry-environment.ts","../../../../../packages/angular/sentry/src/lib/determine-sentry-release.ts","../../../../../packages/angular/sentry/src/lib/sentry-init-bootstrap-hook.ts","../../../../../packages/angular/sentry/src/lib/sentry-init.ts","../../../../../packages/angular/sentry/src/index.ts","../../../../../packages/angular/sentry/src/rxap-ngx-sentry.ts"],"sourcesContent":["import {\n DetermineProductionEnvironmentName,\n Environment,\n} from '@rxap/environment';\n\n/**\n * Determines the sentry environment based on the build info object.\n *\n * If the tier is local return undefined.\n * If the tier is production determine the environment based on the tag and branch name.\n *\n * @param environment\n */\nexport function DetermineSentryEnvironment(environment: Environment): string | undefined {\n switch (environment['tier']) {\n case 'local':\n return undefined;\n case 'production':\n return DetermineProductionEnvironmentName(environment);\n default:\n return undefined;\n }\n}\n","import { Environment } from '@rxap/environment';\n\n/**\n * Determines the sentry release based on the build info object.\n *\n * If the tier is local return undefined.\n * If the tier is production return the tag value as release or undefined.\n *\n * @param environment\n */\nexport function DetermineSentryRelease(environment: Environment): string | undefined {\n switch (environment.tier) {\n case 'local':\n return undefined;\n case 'development':\n case 'testing':\n case 'staging':\n case 'production':\n if (environment.tag?.match(/^v\\d+\\.\\d+\\.\\d+/)) {\n // if the tag is a semvar remove the v prefix as sentry does not expect a v as prefix\n return environment.tag.replace(/^v/, '');\n }\n return environment.tag ?? undefined;\n default:\n return undefined;\n }\n}\n","import { ConfigService } from '@rxap/config';\nimport { Environment } from '@rxap/environment';\nimport {\n DetermineSentryRelease\n} from './determine-sentry-release';\nimport * as Sentry from '@sentry/angular';\nimport { DetermineSentryEnvironment } from './determine-sentry-environment';\n\nexport function sentryInitBootstrapHook(environment: Environment) {\n return (config: ConfigService) => {\n\n const dsn = config.get('sentry.dsn', environment.sentry?.dsn);\n\n if (!dsn) {\n console.warn('No sentry dsn provided.');\n }\n\n Sentry.init({\n dsn,\n enabled: config.get('sentry.enabled', environment.sentry?.enabled ?? false),\n debug: config.get('sentry.debug', environment.sentry?.debug ?? false),\n environment: config.get('environment', DetermineSentryEnvironment(environment)),\n release: DetermineSentryRelease(environment),\n transport: Sentry.makeBrowserOfflineTransport(Sentry.makeFetchTransport),\n integrations: [\n Sentry.browserTracingIntegration(config.get('sentry.integrations.browserTracing')),\n Sentry.browserProfilingIntegration(),\n Sentry.replayIntegration(config.get('sentry.integrations.replay', {\n // Additional SDK configuration goes in here, for example:\n maskAllText: true,\n blockAllMedia: true,\n maskAllInputs: true,\n networkDetailAllowUrls: [`${location.origin}/api/`]\n })),\n Sentry.browserSessionIntegration(),\n Sentry.captureConsoleIntegration(config.get('sentry.integrations.captureConsole', {\n levels: ['error', 'warn'],\n })),\n Sentry.extraErrorDataIntegration(config.get('sentry.integrations.extraErrorData')),\n Sentry.httpClientIntegration(config.get('sentry.integrations.httpClient')),\n Sentry.reportingObserverIntegration(config.get('sentry.integrations.reportingObserver')),\n Sentry.feedbackIntegration(config.get('sentry.integrations.feedback')),\n ],\n tracesSampleRate: config.get('sentry.tracesSampleRate', 1.0),\n profilesSampleRate: config.get('sentry.profilesSampleRate', 1.0),\n tracePropagationTargets: [\"localhost\", new RegExp(`${location.origin}/api/`)],\n replaysSessionSampleRate: config.get('sentry.replaysSessionSampleRate', 0.0),\n replaysOnErrorSampleRate: config.get('sentry.replaysOnErrorSampleRate', 1.0),\n maxValueLength: config.get('sentry.maxValueLength', Number.MAX_SAFE_INTEGER),\n sendDefaultPii: config.get('sentry.sendDefaultPii', true),\n\n initialScope: {\n user: { ip_address: '{{auto}}' },\n tags: {\n origin: location.origin,\n host: location.host,\n },\n },\n\n ignoreErrors: [\n 'Non-Error exception captured',\n ],\n });\n\n };\n}\n","import { ConfigService } from '@rxap/config';\nimport { Environment } from '@rxap/environment';\nimport * as Sentry from '@sentry/angular';\nimport { DetermineSentryEnvironment } from './determine-sentry-environment';\nimport { DetermineSentryRelease } from './determine-sentry-release';\n\nexport function SentryInit(environment: Environment) {\n\n const dsn = ConfigService.Get('sentry.dsn', environment.sentry?.dsn, ConfigService.Config);\n\n if (!dsn) {\n console.warn('No sentry dsn provided. Sentry will not be initialized.');\n }\n\n Sentry.init({\n dsn: ConfigService.Get('sentry.dsn', environment.sentry?.dsn, ConfigService.Config),\n enabled: ConfigService.Get('sentry.enabled', environment.sentry?.enabled ?? false, ConfigService.Config),\n debug: ConfigService.Get('sentry.debug', environment.sentry?.debug ?? false, ConfigService.Config),\n environment: DetermineSentryEnvironment(environment),\n release: DetermineSentryRelease(environment),\n tunnel: ConfigService.Get('sentry.tunnel', undefined, ConfigService.Config),\n initialScope: {\n user: { ip_address: '{{auto}}' },\n tags: {\n origin: location.origin,\n host: location.host,\n },\n },\n replaysSessionSampleRate: ConfigService.Get('sentry.replaysSessionSampleRate', 1.0, ConfigService.Config),\n replaysOnErrorSampleRate: ConfigService.Get('sentry.replaysOnErrorSampleRate', 1.0, ConfigService.Config),\n autoSessionTracking: ConfigService.Get('sentry.autoSessionTracking', true, ConfigService.Config),\n maxValueLength: ConfigService.Get('sentry.maxValueLength', Number.MAX_SAFE_INTEGER, ConfigService.Config),\n integrations: [\n Sentry.httpClientIntegration({\n failedRequestTargets: environment.sentry?.integrations?.httpClient?.failedRequestTargets,\n failedRequestStatusCodes: environment.sentry?.integrations?.httpClient?.failedRequestStatusCodes,\n }),\n Sentry.browserTracingIntegration({}),\n Sentry.replayIntegration({\n // Additional SDK configuration goes in here, for example:\n maskAllText: ConfigService.Get('sentry.integrations.replay.maskAllText', true, ConfigService.Config),\n blockAllMedia: ConfigService.Get('sentry.integrations.replay.blockAllMedia', true, ConfigService.Config),\n maskAllInputs: ConfigService.Get('sentry.integrations.replay.maskAllInputs', true, ConfigService.Config),\n }),\n ],\n tracesSampleRate: ConfigService.Get('sentry.tracesSampleRate', 1.0, ConfigService.Config),\n ignoreErrors: [\n 'Non-Error exception captured',\n ],\n });\n}\n","// region \nexport * from './lib/determine-sentry-environment';\nexport * from './lib/determine-sentry-release';\nexport * from './lib/sentry-init-bootstrap-hook';\nexport * from './lib/sentry-init';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAKA;;;;;;;AAOG;AACG,SAAU,0BAA0B,CAAC,WAAwB,EAAA;AACjE,IAAA,QAAQ,WAAW,CAAC,MAAM,CAAC;AACzB,QAAA,KAAK,OAAO;AACV,YAAA,OAAO,SAAS;AAClB,QAAA,KAAK,YAAY;AACf,YAAA,OAAO,kCAAkC,CAAC,WAAW,CAAC;AACxD,QAAA;AACE,YAAA,OAAO,SAAS;;AAEtB;;ACpBA;;;;;;;AAOG;AACG,SAAU,sBAAsB,CAAC,WAAwB,EAAA;AAC7D,IAAA,QAAQ,WAAW,CAAC,IAAI;AACtB,QAAA,KAAK,OAAO;AACV,YAAA,OAAO,SAAS;AAClB,QAAA,KAAK,aAAa;AAClB,QAAA,KAAK,SAAS;AACd,QAAA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AAG,CAAC,yBAAyB,EAAE,GAAG,EAAE,aAAa,CAAC,MAAM,CAAC;AACzF,QAAA,YAAY,EAAE;YACZ,8BAA8B;AAC/B,SAAA;AACF,KAAA,CAAC;AACJ;;AClDA;AAKA;;ACLA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"rxap-ngx-sentry.mjs","sources":["../../../../../packages/angular/sentry/src/lib/determine-sentry-environment.ts","../../../../../packages/angular/sentry/src/lib/determine-sentry-release.ts","../../../../../packages/angular/sentry/src/lib/sentry-init-bootstrap-hook.ts","../../../../../packages/angular/sentry/src/index.ts","../../../../../packages/angular/sentry/src/rxap-ngx-sentry.ts"],"sourcesContent":["import {\n DetermineProductionEnvironmentName,\n Environment,\n} from '@rxap/environment';\n\n/**\n * Determines the sentry environment based on the build info object.\n *\n * If the tier is local return undefined.\n * If the tier is production determine the environment based on the tag and branch name.\n *\n * @param environment\n */\nexport function DetermineSentryEnvironment(environment: Environment): string | undefined {\n switch (environment['tier']) {\n case 'local':\n return undefined;\n case 'production':\n return DetermineProductionEnvironmentName(environment);\n default:\n return undefined;\n }\n}\n","import { Environment } from '@rxap/environment';\n\n/**\n * Determines the sentry release based on the build info object.\n *\n * If the tier is local return undefined.\n * If the tier is production return the tag value as release or undefined.\n *\n * @param environment\n */\nexport function DetermineSentryRelease(environment: Environment): string | undefined {\n switch (environment.tier) {\n case 'local':\n return undefined;\n case 'development':\n case 'testing':\n case 'staging':\n case 'production':\n if (environment.tag?.match(/^v\\d+\\.\\d+\\.\\d+/)) {\n // if the tag is a semvar remove the v prefix as sentry does not expect a v as prefix\n return environment.tag.replace(/^v/, '');\n }\n return environment.tag ?? undefined;\n default:\n return undefined;\n }\n}\n","import { ConfigService } from '@rxap/config';\nimport { Environment } from '@rxap/environment';\nimport {\n DetermineSentryRelease\n} from './determine-sentry-release';\nimport * as Sentry from '@sentry/angular';\nimport { DetermineSentryEnvironment } from './determine-sentry-environment';\n\nexport function sentryInitBootstrapHook(environment: Environment) {\n return (config: ConfigService) => {\n\n const dsn = config.get('sentry.dsn', environment.sentry?.dsn);\n\n if (!dsn) {\n console.warn('No sentry dsn provided.');\n }\n\n Sentry.init({\n dsn,\n enabled: config.get('sentry.enabled', environment.sentry?.enabled ?? false),\n debug: config.get('sentry.debug', environment.sentry?.debug ?? false),\n environment: config.get('environment', DetermineSentryEnvironment(environment)),\n release: DetermineSentryRelease(environment),\n transport: Sentry.makeBrowserOfflineTransport(Sentry.makeFetchTransport),\n integrations: [\n Sentry.browserTracingIntegration(config.get('sentry.integrations.browserTracing')),\n Sentry.browserProfilingIntegration(),\n Sentry.replayIntegration(config.get('sentry.integrations.replay', {\n // Additional SDK configuration goes in here, for example:\n maskAllText: true,\n blockAllMedia: true,\n maskAllInputs: true,\n networkDetailAllowUrls: [`${location.origin}/api/`]\n })),\n Sentry.browserSessionIntegration(),\n Sentry.captureConsoleIntegration(config.get('sentry.integrations.captureConsole', {\n levels: ['error'],\n })),\n Sentry.extraErrorDataIntegration(config.get('sentry.integrations.extraErrorData')),\n Sentry.httpClientIntegration(config.get('sentry.integrations.httpClient')),\n Sentry.reportingObserverIntegration(config.get('sentry.integrations.reportingObserver')),\n Sentry.feedbackIntegration(config.get('sentry.integrations.feedback')),\n ],\n tracesSampleRate: config.get('sentry.tracesSampleRate', 1.0),\n profilesSampleRate: config.get('sentry.profilesSampleRate', 1.0),\n tracePropagationTargets: [\"localhost\", new RegExp(`${location.origin}/api/`)],\n replaysSessionSampleRate: config.get('sentry.replaysSessionSampleRate', 0.0),\n replaysOnErrorSampleRate: config.get('sentry.replaysOnErrorSampleRate', 1.0),\n maxValueLength: config.get('sentry.maxValueLength', Number.MAX_SAFE_INTEGER),\n sendDefaultPii: config.get('sentry.sendDefaultPii', true),\n\n initialScope: {\n user: { ip_address: '{{auto}}' },\n tags: {\n origin: location.origin,\n host: location.host,\n },\n },\n\n ignoreErrors: [\n 'Non-Error exception captured',\n ],\n });\n\n };\n}\n","// region\nexport * from './lib/determine-sentry-environment';\nexport * from './lib/determine-sentry-release';\nexport * from './lib/sentry-init-bootstrap-hook';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKA;;;;;;;AAOG;AACG,SAAU,0BAA0B,CAAC,WAAwB,EAAA;AACjE,IAAA,QAAQ,WAAW,CAAC,MAAM,CAAC;AACzB,QAAA,KAAK,OAAO;AACV,YAAA,OAAO,SAAS;AAClB,QAAA,KAAK,YAAY;AACf,YAAA,OAAO,kCAAkC,CAAC,WAAW,CAAC;AACxD,QAAA;AACE,YAAA,OAAO,SAAS;;AAEtB;;ACpBA;;;;;;;AAOG;AACG,SAAU,sBAAsB,CAAC,WAAwB,EAAA;AAC7D,IAAA,QAAQ,WAAW,CAAC,IAAI;AACtB,QAAA,KAAK,OAAO;AACV,YAAA,OAAO,SAAS;AAClB,QAAA,KAAK,aAAa;AAClB,QAAA,KAAK,SAAS;AACd,QAAA,KAAK,SAAS;AACd,QAAA,KAAK,YAAY;YACf,IAAI,WAAW,CAAC,GAAG,EAAE,KAAK,CAAC,iBAAiB,CAAC,EAAE;;gBAE7C,OAAO,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;;AAE1C,YAAA,OAAO,WAAW,CAAC,GAAG,IAAI,SAAS;AACrC,QAAA;AACE,YAAA,OAAO,SAAS;;AAEtB;;AClBM,SAAU,uBAAuB,CAAC,WAAwB,EAAA;IAC9D,OAAO,CAAC,MAAqB,KAAI;AAE/B,QAAA,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,YAAY,EAAE,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC;QAE7D,IAAI,CAAC,GAAG,EAAE;AACR,YAAA,OAAO,CAAC,IAAI,CAAC,yBAAyB,CAAC;;QAGzC,MAAM,CAAC,IAAI,CAAC;YACV,GAAG;AACH,YAAA,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,gBAAgB,EAAE,WAAW,CAAC,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AAC;AACvE,aAAA;YACD,gBAAgB,EAAE,MAAM,CAAC,GAAG,CAAC,yBAAyB,EAAE,GAAG,CAAC;YAC5D,kBAAkB,EAAE,MAAM,CAAC,GAAG,CAAC,2BAA2B,EAAE,GAAG,CAAC;AAChE,YAAA,uBAAuB,EAAE,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC,CAAA,EAAG,QAAQ,CAAC,MAAM,CAAA,KAAA,CAAO,CAAC,CAAC;YAC7E,wBAAwB,EAAE,MAAM,CAAC,GAAG,CAAC,iCAAiC,EAAE,GAAG,CAAC;YAC5E,wBAAwB,EAAE,MAAM,CAAC,GAAG,CAAC,iCAAiC,EAAE,GAAG,CAAC;YAC5E,cAAc,EAAE,MAAM,CAAC,GAAG,CAAC,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,CAAC;YAC5E,cAAc,EAAE,MAAM,CAAC,GAAG,CAAC,uBAAuB,EAAE,IAAI,CAAC;AAEzD,YAAA,YAAY,EAAE;AACZ,gBAAA,IAAI,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE;AAChC,gBAAA,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ,CAAC,MAAM;oBACvB,IAAI,EAAE,QAAQ,CAAC,IAAI;AACpB,iBAAA;AACF,aAAA;AAED,YAAA,YAAY,EAAE;gBACZ,8BAA8B;AAC/B,aAAA;AACF,SAAA,CAAC;AAEJ,KAAC;AACH;;ACjEA;AAIA;;ACJA;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.
|
|
2
|
+
"version": "19.2.0-dev.1",
|
|
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",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"tslib": "2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@rxap/config": "^19.
|
|
11
|
+
"@rxap/config": "^19.2.0-dev.1",
|
|
12
12
|
"@rxap/environment": "^19.0.4",
|
|
13
13
|
"@sentry/angular": "^8.18.0"
|
|
14
14
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"package": "@rxap/config",
|
|
50
|
-
"version": "19.
|
|
50
|
+
"version": "19.2.0-dev.1"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"package": "@rxap/environment",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"package": "@rxap/utilities",
|
|
58
|
-
"version": "16.
|
|
58
|
+
"version": "16.5.0-dev.0"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"package": "@sentry/angular",
|
|
62
|
-
"version": "
|
|
62
|
+
"version": "10.10.0"
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
},
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"schematics": "./generators.json",
|
|
76
76
|
"sideEffects": false,
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "93e21b0862b681fe19d93a427dff6dd079533598",
|
|
78
78
|
"module": "fesm2022/rxap-ngx-sentry.mjs",
|
|
79
79
|
"typings": "index.d.ts",
|
|
80
80
|
"exports": {
|
|
@@ -1 +0,0 @@
|
|
|
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 - v19.1.1-dev.0</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 - v19.1.1-dev.0</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/578764e2054aada088559336f4c2cf49e388b60e/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 - v19.1.1-dev.0</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,21 +0,0 @@
|
|
|
1
|
-
[**@rxap/ngx-sentry v19.1.1-dev.0**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@rxap/ngx-sentry](../globals.md) / SentryInit
|
|
6
|
-
|
|
7
|
-
# Function: SentryInit()
|
|
8
|
-
|
|
9
|
-
> **SentryInit**(`environment`): `void`
|
|
10
|
-
|
|
11
|
-
Defined in: [sentry-init.ts:7](https://gitlab.com/rxap/packages/-/blob/578764e2054aada088559336f4c2cf49e388b60e/packages/angular/sentry/src/lib/sentry-init.ts#L7)
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
### environment
|
|
16
|
-
|
|
17
|
-
`Environment`
|
|
18
|
-
|
|
19
|
-
## Returns
|
|
20
|
-
|
|
21
|
-
`void`
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
[@rxap/ngx-sentry](../wiki/globals) / SentryInit
|
|
2
|
-
|
|
3
|
-
# Function: SentryInit()
|
|
4
|
-
|
|
5
|
-
> **SentryInit**(`environment`): `void`
|
|
6
|
-
|
|
7
|
-
Defined in: [sentry-init.ts:7](https://gitlab.com/rxap/packages/-/blob/578764e2054aada088559336f4c2cf49e388b60e/packages/angular/sentry/src/lib/sentry-init.ts#L7)
|
|
8
|
-
|
|
9
|
-
## Parameters
|
|
10
|
-
|
|
11
|
-
### environment
|
|
12
|
-
|
|
13
|
-
`Environment`
|
|
14
|
-
|
|
15
|
-
## Returns
|
|
16
|
-
|
|
17
|
-
`void`
|
package/lib/sentry-init.d.ts
DELETED