@autobusal/admin-agents 1.4.0 → 1.4.1

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.
Files changed (2) hide show
  1. package/Manage.tsx +3 -3
  2. package/package.json +1 -1
package/Manage.tsx CHANGED
@@ -359,10 +359,10 @@ const Manage = ({ url, t }: Props): JSX.Element => {
359
359
  { /* Claude - 2026-09-24: enabling drafts the welcome email too, for the
360
360
  admin to read and send or drop; a regenerated key shows alone */ }
361
361
  { revealToken && (revealToken.welcome ? (
362
- <WelcomeModal agentId={ id } token={ revealToken.token } draft={ revealToken.welcome } t={ t } onClose={ () => setRevealToken(null) } />
363
- ) : (
362
+ <WelcomeModal agentId={ id } kind={ revealToken.kind } token={ revealToken.token } draft={ revealToken.welcome } t={ t } onClose={ () => setRevealToken(null) } />
363
+ ) : revealToken.token ? (
364
364
  <TokenRevealModal token={ revealToken.token } t={ t } onClose={ () => setRevealToken(null) } />
365
- )) }
365
+ ) : null) }
366
366
  </Meta>
367
367
  );
368
368
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/admin-agents",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts",