valtech-components 4.0.201 → 4.0.203

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.
@@ -38,6 +38,7 @@ export declare class OrganizationViewComponent {
38
38
  private nav;
39
39
  private i18n;
40
40
  readonly auth: AuthService;
41
+ private orgSwitch;
41
42
  private orgService;
42
43
  private toast;
43
44
  private errors;
@@ -1,5 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { AuthService } from './auth.service';
3
+ import { Organization } from '../org/types';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * Event emitted when the active organization changes.
@@ -89,6 +90,7 @@ export declare class OrgSwitchService {
89
90
  private auth;
90
91
  private readonly _switching;
91
92
  private readonly _orgChanged;
93
+ private readonly _orgDataUpdated;
92
94
  /**
93
95
  * `true` while a switch is in flight. UI should disable interactions
94
96
  * with org-scoped data and show a loading indicator.
@@ -102,6 +104,13 @@ export declare class OrgSwitchService {
102
104
  * see the updated Firebase user / activeOrg claim.
103
105
  */
104
106
  readonly orgChanged$: Observable<OrgChangedEvent>;
107
+ /**
108
+ * Fires when org data (name, logoUrl, etc.) changes without a full org switch.
109
+ * Subscribe in the app shell to keep the header org avatar up to date.
110
+ */
111
+ readonly orgDataUpdated$: Observable<Organization>;
112
+ /** Notify subscribers that the active org's data was updated. */
113
+ notifyOrgDataUpdated(org: Organization): void;
105
114
  constructor(auth: AuthService);
106
115
  /**
107
116
  * Switch the user's active organization.
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.201";
5
+ export declare const VERSION = "4.0.203";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.201",
3
+ "version": "4.0.203",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"