@rxap/environment 18.0.4 → 18.0.5-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
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [18.0.5-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/environment@18.0.5-dev.0...@rxap/environment@18.0.5-dev.1) (2024-07-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- add missing dynamic configuration options ([1dc8a4f](https://gitlab.com/rxap/packages/commit/1dc8a4f2a33aaa508804bd919456a0cd784c8c94))
|
|
11
|
+
|
|
12
|
+
## [18.0.5-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/environment@18.0.4...@rxap/environment@18.0.5-dev.0) (2024-07-09)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rxap/environment
|
|
15
|
+
|
|
6
16
|
## [18.0.4](https://gitlab.com/rxap/packages/compare/@rxap/environment@18.0.4-dev.0...@rxap/environment@18.0.4) (2024-06-30)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rxap/environment
|
|
@@ -6,10 +6,10 @@ export class EnvironmentComponent {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
this.environment = inject(RXAP_ENVIRONMENT);
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: EnvironmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: EnvironmentComponent, isStandalone: true, selector: "rxap-environment", host: { classAttribute: "rxap-environment" }, ngImport: i0, template: "<div class=\"p-4\">\n <h2 class=\"text-xl font-bold pb-2\">{{ environment.app }}</h2>\n <table class=\"table-auto\">\n <tr *ngIf=\"environment.name\">\n <th>Environment</th>\n <td>{{environment.name}}</td>\n </tr>\n <tr>\n <th>Production</th>\n <td>{{environment.production}}</td>\n </tr>\n <tr *ngIf=\"environment.serviceWorker !== undefined\">\n <th>Service Worker</th>\n <td>{{environment.serviceWorker}}</td>\n </tr>\n <tr *ngIf=\"environment.release\">\n <th>Release</th>\n <td>{{environment.release}}</td>\n </tr>\n <tr *ngIf=\"environment.commit\">\n <th>Commit</th>\n <td>{{environment.commit}}</td>\n </tr>\n <tr *ngIf=\"environment.timestamp\">\n <th>Timestamp</th>\n <td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>\n </tr>\n <tr *ngIf=\"environment.branch\">\n <th>Branch</th>\n <td>{{environment.branch}}</td>\n </tr>\n <tr *ngIf=\"environment.tag\">\n <th>Tag</th>\n <td>{{environment.tag}}</td>\n </tr>\n <ng-content></ng-content>\n </table>\n</div>\n", styles: [".collapse-button{background-color:transparent;margin:8px 8px 20px;border:none;cursor:pointer;width:calc(100% - 16px)}table th{text-align:left;padding-right:16px}table th,table td{font-size:75%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: EnvironmentComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'rxap-environment', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-environment' }, standalone: true, imports: [NgIf, DatePipe], template: "<div class=\"p-4\">\n <h2 class=\"text-xl font-bold pb-2\">{{ environment.app }}</h2>\n <table class=\"table-auto\">\n <tr *ngIf=\"environment.name\">\n <th>Environment</th>\n <td>{{environment.name}}</td>\n </tr>\n <tr>\n <th>Production</th>\n <td>{{environment.production}}</td>\n </tr>\n <tr *ngIf=\"environment.serviceWorker !== undefined\">\n <th>Service Worker</th>\n <td>{{environment.serviceWorker}}</td>\n </tr>\n <tr *ngIf=\"environment.release\">\n <th>Release</th>\n <td>{{environment.release}}</td>\n </tr>\n <tr *ngIf=\"environment.commit\">\n <th>Commit</th>\n <td>{{environment.commit}}</td>\n </tr>\n <tr *ngIf=\"environment.timestamp\">\n <th>Timestamp</th>\n <td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>\n </tr>\n <tr *ngIf=\"environment.branch\">\n <th>Branch</th>\n <td>{{environment.branch}}</td>\n </tr>\n <tr *ngIf=\"environment.tag\">\n <th>Tag</th>\n <td>{{environment.tag}}</td>\n </tr>\n <ng-content></ng-content>\n </table>\n</div>\n", styles: [".collapse-button{background-color:transparent;margin:8px 8px 20px;border:none;cursor:pointer;width:calc(100% - 16px)}table th{text-align:left;padding-right:16px}table th,table td{font-size:75%}\n"] }]
|
|
15
15
|
}] });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2Vudmlyb25tZW50L3NyYy9saWIvZW52aXJvbm1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB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ybFBhcmFtPzogc3RyaW5nIHwgYm9vbGVhbjtcbiAgICBmcm9tTG9jYWxTdG9yYWdlPzogYm9vbGVhbjtcbiAgICBzY2hlbWE/OiBBbnlTY2hlbWE7XG4gICAgdXJsPzogc3RyaW5nIHwgc3RyaW5nW10gfCAoKGVudmlyb25tZW50OiBFbnZpcm9ubWVudCkgPT4gc3RyaW5nIHwgc3RyaW5nW10pO1xuICAgIC8qKlxuICAgICAqIHN0YXRpYyBjb25maWcgdmFsdWVzXG4gICAgICovXG4gICAgc3RhdGljPzogUmVjb3JkPHN0cmluZywgYW55PjtcbiAgfTtcblxuICBvcmlnaW4/OiBzdHJpbmc7XG5cbiAgb3BlbkFwaT86IHtcbiAgICBsb2FkPzoge1xuICAgICAgb3BlbkFwaVVybD86IHN0cmluZztcbiAgICB9IHwgYm9vbGVhbjtcbiAgfVxuXG4gIFtrZXk6IHN0cmluZ106IGFueTtcbn1cbiJdfQ==
|
|
@@ -8,10 +8,10 @@ class EnvironmentComponent {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.environment = inject(RXAP_ENVIRONMENT);
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: EnvironmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: EnvironmentComponent, isStandalone: true, selector: "rxap-environment", host: { classAttribute: "rxap-environment" }, ngImport: i0, template: "<div class=\"p-4\">\n <h2 class=\"text-xl font-bold pb-2\">{{ environment.app }}</h2>\n <table class=\"table-auto\">\n <tr *ngIf=\"environment.name\">\n <th>Environment</th>\n <td>{{environment.name}}</td>\n </tr>\n <tr>\n <th>Production</th>\n <td>{{environment.production}}</td>\n </tr>\n <tr *ngIf=\"environment.serviceWorker !== undefined\">\n <th>Service Worker</th>\n <td>{{environment.serviceWorker}}</td>\n </tr>\n <tr *ngIf=\"environment.release\">\n <th>Release</th>\n <td>{{environment.release}}</td>\n </tr>\n <tr *ngIf=\"environment.commit\">\n <th>Commit</th>\n <td>{{environment.commit}}</td>\n </tr>\n <tr *ngIf=\"environment.timestamp\">\n <th>Timestamp</th>\n <td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>\n </tr>\n <tr *ngIf=\"environment.branch\">\n <th>Branch</th>\n <td>{{environment.branch}}</td>\n </tr>\n <tr *ngIf=\"environment.tag\">\n <th>Tag</th>\n <td>{{environment.tag}}</td>\n </tr>\n <ng-content></ng-content>\n </table>\n</div>\n", styles: [".collapse-button{background-color:transparent;margin:8px 8px 20px;border:none;cursor:pointer;width:calc(100% - 16px)}table th{text-align:left;padding-right:16px}table th,table td{font-size:75%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: EnvironmentComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'rxap-environment', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-environment' }, standalone: true, imports: [NgIf, DatePipe], template: "<div class=\"p-4\">\n <h2 class=\"text-xl font-bold pb-2\">{{ environment.app }}</h2>\n <table class=\"table-auto\">\n <tr *ngIf=\"environment.name\">\n <th>Environment</th>\n <td>{{environment.name}}</td>\n </tr>\n <tr>\n <th>Production</th>\n <td>{{environment.production}}</td>\n </tr>\n <tr *ngIf=\"environment.serviceWorker !== undefined\">\n <th>Service Worker</th>\n <td>{{environment.serviceWorker}}</td>\n </tr>\n <tr *ngIf=\"environment.release\">\n <th>Release</th>\n <td>{{environment.release}}</td>\n </tr>\n <tr *ngIf=\"environment.commit\">\n <th>Commit</th>\n <td>{{environment.commit}}</td>\n </tr>\n <tr *ngIf=\"environment.timestamp\">\n <th>Timestamp</th>\n <td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>\n </tr>\n <tr *ngIf=\"environment.branch\">\n <th>Branch</th>\n <td>{{environment.branch}}</td>\n </tr>\n <tr *ngIf=\"environment.tag\">\n <th>Tag</th>\n <td>{{environment.tag}}</td>\n </tr>\n <ng-content></ng-content>\n </table>\n</div>\n", styles: [".collapse-button{background-color:transparent;margin:8px 8px 20px;border:none;cursor:pointer;width:calc(100% - 16px)}table th{text-align:left;padding-right:16px}table th,table td{font-size:75%}\n"] }]
|
|
17
17
|
}] });
|
package/lib/environment.d.ts
CHANGED
|
@@ -51,7 +51,8 @@ export interface Environment {
|
|
|
51
51
|
dsn?: string;
|
|
52
52
|
integrations?: {
|
|
53
53
|
httpClient?: {
|
|
54
|
-
failedRequestTargets?: string
|
|
54
|
+
failedRequestTargets?: Array<string | RegExp>;
|
|
55
|
+
failedRequestStatusCodes?: Array<[number, number] | number>;
|
|
55
56
|
};
|
|
56
57
|
BrowserTracing?: {
|
|
57
58
|
tracePropagationTargets?: string[];
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "18.0.
|
|
2
|
+
"version": "18.0.5-dev.1",
|
|
3
3
|
"name": "@rxap/environment",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@nx/devkit": "19.
|
|
6
|
+
"@nx/devkit": "19.4.2",
|
|
7
7
|
"tslib": "2.6.2"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@angular/common": "^18.0.
|
|
11
|
-
"@angular/core": "^18.0.
|
|
10
|
+
"@angular/common": "^18.0.6",
|
|
11
|
+
"@angular/core": "^18.0.6"
|
|
12
12
|
},
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "Merzough Münker",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"packageGroup": [
|
|
34
34
|
{
|
|
35
35
|
"package": "@angular/common",
|
|
36
|
-
"version": "18.0.
|
|
36
|
+
"version": "18.0.6"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"package": "@angular/core",
|
|
40
|
-
"version": "18.0.
|
|
40
|
+
"version": "18.0.6"
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
43
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"directory": "packages/angular/environment"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "8848753cfc9325956a94a6cd1039570862e0d02d",
|
|
55
55
|
"module": "fesm2022/rxap-environment.mjs",
|
|
56
56
|
"typings": "index.d.ts",
|
|
57
57
|
"exports": {
|