@wopr-network/platform-ui-core 1.10.0 → 1.11.0

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": "@wopr-network/platform-ui-core",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "Brand-agnostic AI agent platform UI — deploy as any brand via env vars",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,6 +28,7 @@ const DEFAULT_PREFS: NotificationPreferences = {
28
28
  agent_status_changes: false,
29
29
  account_role_changes: true,
30
30
  account_team_invites: true,
31
+ fleet_updates: false,
31
32
  };
32
33
 
33
34
  const mockGetPrefs = vi.fn<() => Promise<NotificationPreferences>>();
@@ -875,6 +875,7 @@ describe("Notifications page - no team language", () => {
875
875
  agent_status_changes: true,
876
876
  account_role_changes: true,
877
877
  account_team_invites: true,
878
+ fleet_updates: true,
878
879
  });
879
880
 
880
881
  const { default: NotificationsPage } = await import(
@@ -76,6 +76,16 @@ const PREF_GROUPS: PrefGroup[] = [
76
76
  },
77
77
  ],
78
78
  },
79
+ {
80
+ title: "Fleet Updates",
81
+ items: [
82
+ {
83
+ key: "fleet_updates",
84
+ label: "Fleet Updates",
85
+ description: "Get notified when updates are available or applied to your fleet.",
86
+ },
87
+ ],
88
+ },
79
89
  ];
80
90
 
81
91
  // ---------------------------------------------------------------------------
package/src/lib/api.ts CHANGED
@@ -1692,6 +1692,7 @@ export interface NotificationPreferences {
1692
1692
  agent_status_changes: boolean;
1693
1693
  account_role_changes: boolean;
1694
1694
  account_team_invites: boolean;
1695
+ fleet_updates: boolean;
1695
1696
  }
1696
1697
 
1697
1698
  // --- Public platform health (no auth required) ---