@c8y/tutorial 1020.24.2 → 1020.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@c8y/tutorial",
3
- "version": "1020.24.2",
3
+ "version": "1020.26.2",
4
4
  "description": "This package is used to scaffold a tutorial for Cumulocity IoT Web SDK which explains a lot of concepts.",
5
5
  "dependencies": {
6
- "@c8y/style": "1020.24.2",
7
- "@c8y/ngx-components": "1020.24.2",
8
- "@c8y/client": "1020.24.2",
9
- "@c8y/bootstrap": "1020.24.2",
6
+ "@c8y/style": "1020.26.2",
7
+ "@c8y/ngx-components": "1020.26.2",
8
+ "@c8y/client": "1020.26.2",
9
+ "@c8y/bootstrap": "1020.26.2",
10
10
  "@angular/cdk": "^17.3.9",
11
11
  "ngx-bootstrap": "12.0.0",
12
12
  "leaflet": "1.9.4",
13
13
  "rxjs": "^7.4.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@c8y/options": "1020.24.2",
17
- "@c8y/devkit": "1020.24.2"
16
+ "@c8y/options": "1020.26.2",
17
+ "@c8y/devkit": "1020.26.2"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@angular/common": ">=16 <18"
@@ -131,7 +131,7 @@ export class MockModule {
131
131
  appStateService: AppStateService,
132
132
  private options: OptionsService
133
133
  ) {
134
- if (this.options.get<boolean>('noLogin', false)) {
134
+ if (this.options.get('noLogin', false)) {
135
135
  appStateService.currentUser.next({
136
136
  id: 'NO_LOGIN',
137
137
  userName: 'noLogin',
@@ -14,7 +14,7 @@ export class RealtimeSubjectServiceWithMocking extends RealtimeSubjectService {
14
14
  mockingEnabled = false;
15
15
  constructor(options: OptionsService, realtime: Realtime) {
16
16
  super(realtime);
17
- this.mockingEnabled = options.get<boolean>('noLogin', false);
17
+ this.mockingEnabled = options.get('noLogin', false);
18
18
  }
19
19
 
20
20
  getObservableForChannel<T>(channel: string): Observable<RealtimeMessage<T>> {
@@ -16,7 +16,7 @@ export class MockService {
16
16
  private router: Router,
17
17
  private options: OptionsService
18
18
  ) {
19
- if (this.options.get<boolean>('noLogin', false)) {
19
+ if (this.options.get('noLogin', false)) {
20
20
  this.setupMocks();
21
21
  }
22
22
  }
@@ -10,13 +10,13 @@ export class CleanRealtime {
10
10
  constructor(private options: OptionsService) {}
11
11
 
12
12
  onDestroy() {
13
- if (this.options.get<boolean>('noLogin', false) && this.onDestroy$) {
13
+ if (this.options.get('noLogin', false) && this.onDestroy$) {
14
14
  this.onDestroy$.next();
15
15
  }
16
16
  }
17
17
 
18
18
  stop() {
19
- if (this.options.get<boolean>('noLogin', false) && this.stop$) {
19
+ if (this.options.get('noLogin', false) && this.stop$) {
20
20
  this.stop$.next();
21
21
  }
22
22
  }