@marsaude/devtools-shell 0.1.3 → 0.1.4

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": "@marsaude/devtools-shell",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Self-contained draggable DevTools FAB for QA (admin login, CPF/OTP user login, user generator, session switch). Isolated HttpClient/auth, gated out of production.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Mar Saúde",
@@ -224,7 +224,11 @@ declare class DevtoolsSessionService {
224
224
  saveTestSession(session: Omit<DevtoolsSession, 'id' | 'kind'> & {
225
225
  document: string;
226
226
  }): DevtoolsSession;
227
- /** Write a stored session into the host's active-session keys. */
227
+ /**
228
+ * Write a stored session into the host's active-session keys and reload so the
229
+ * host app re-reads it (it only reads these keys at bootstrap). Covers both a
230
+ * fresh login and switching between users.
231
+ */
228
232
  switchTo(id: string): DevtoolsSession | null;
229
233
  removeSession(id: string): void;
230
234
  active(): DevtoolsSession | null;