@wolkabout/commons 0.0.44 → 0.0.45

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@wolkabout/commons",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.2.0",
6
6
  "@angular/common": "^21.2.0",
@@ -3,7 +3,7 @@ import { RouterLink, RouterOutlet, RouterLinkActive, Routes, CanActivateFn, Quer
3
3
  import * as i1 from '@angular/material/button';
4
4
  import { MatButtonModule } from '@angular/material/button';
5
5
  import * as _angular_core from '@angular/core';
6
- import { InjectionToken, ElementRef, OnDestroy, TemplateRef, ViewContainerRef, Renderer2, AfterViewInit, AfterViewChecked, OnChanges, PipeTransform, OnInit, DestroyRef, Signal, WritableSignal } from '@angular/core';
6
+ import { InjectionToken, Injector, ElementRef, OnDestroy, TemplateRef, ViewContainerRef, Renderer2, AfterViewInit, AfterViewChecked, OnChanges, PipeTransform, OnInit, DestroyRef, Signal, WritableSignal } from '@angular/core';
7
7
  import * as i2 from '@angular/material/checkbox';
8
8
  import * as i3 from '@angular/material/toolbar';
9
9
  import * as i4 from '@angular/material/menu';
@@ -178,7 +178,7 @@ interface Feature {
178
178
  primaryColor: string;
179
179
  secondaryColor?: string;
180
180
  tertiaryColor?: string;
181
- init?: () => void;
181
+ init?: (injector: Injector) => void;
182
182
  }
183
183
  interface ExternalFeature {
184
184
  remote: string;
@@ -199,7 +199,6 @@ declare class FeatureRegistry {
199
199
  */
200
200
  loadExternalFeatures(features: ExternalFeature[]): void;
201
201
  registerFeature(feature: Feature): void;
202
- initiateFeature(feature: Feature): void;
203
202
  get features$(): Observable<Feature[]>;
204
203
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeatureRegistry, never>;
205
204
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<FeatureRegistry>;