@marsaude/devtools-shell 0.1.3 → 0.1.5
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
|
+
"version": "0.1.5",
|
|
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,12 @@ declare class DevtoolsSessionService {
|
|
|
224
224
|
saveTestSession(session: Omit<DevtoolsSession, 'id' | 'kind'> & {
|
|
225
225
|
document: string;
|
|
226
226
|
}): DevtoolsSession;
|
|
227
|
-
/**
|
|
227
|
+
/**
|
|
228
|
+
* Write a stored session into the host's active-session keys and send the user
|
|
229
|
+
* to '/' (full navigation) so the host app re-reads it from a clean route — it
|
|
230
|
+
* only reads these keys at bootstrap. Covers both a fresh login and switching
|
|
231
|
+
* between users.
|
|
232
|
+
*/
|
|
228
233
|
switchTo(id: string): DevtoolsSession | null;
|
|
229
234
|
removeSession(id: string): void;
|
|
230
235
|
active(): DevtoolsSession | null;
|