@agenticmail/enterprise 0.5.382 → 0.5.384

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.
@@ -200,7 +200,7 @@ function App() {
200
200
  } catch {}
201
201
  // Check for updates (admin/owner only)
202
202
  if (u.role === 'admin' || u.role === 'owner') {
203
- apiCall('/admin/system/update-check').then(ui => { if (ui?.updateAvailable) setUpdateInfo(ui); }).catch(() => {});
203
+ apiCall('/system/update-check').then(ui => { if (ui?.updateAvailable) setUpdateInfo(ui); }).catch(() => {});
204
204
  }
205
205
  setAuthed(true);
206
206
  setAuthChecked(true);
@@ -351,7 +351,7 @@ function App() {
351
351
  } catch {}
352
352
  // Check for updates AFTER encryption is ready (admin only)
353
353
  if (d?.user && (d.user.role === 'admin' || d.user.role === 'owner')) {
354
- apiCall('/admin/system/update-check').then(u => { if (u?.updateAvailable) setUpdateInfo(u); }).catch(() => {});
354
+ apiCall('/system/update-check').then(u => { if (u?.updateAvailable) setUpdateInfo(u); }).catch(() => {});
355
355
  }
356
356
  setAuthed(true);
357
357
  } });
@@ -573,7 +573,7 @@ function App() {
573
573
  onClick: async () => {
574
574
  setUpdating(true);
575
575
  try {
576
- const r = await apiCall('/admin/system/update', { method: 'POST' });
576
+ const r = await apiCall('/system/update', { method: 'POST' });
577
577
  if (r?.success) {
578
578
  setUpdateInfo(null);
579
579
  showToast && showToast('Updated to v' + r.to + ' — services restarting...', 'success');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.382",
3
+ "version": "0.5.384",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {