@absolutejs/auth 0.48.5 → 0.48.6
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/dist/index.js +3 -2
- package/dist/index.js.map +3 -3
- package/dist/session/impersonation.d.ts +1 -0
- package/dist/types.d.ts +7 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -53,6 +53,13 @@ export type Impersonator = {
|
|
|
53
53
|
reason: string;
|
|
54
54
|
returnToSessionId?: UserSessionId;
|
|
55
55
|
startedAt: number;
|
|
56
|
+
/** Sandbox lever, surfaced for the app to enforce: when true, the app should
|
|
57
|
+
* suppress outbound side-effects (emails / SMS / push / notifications)
|
|
58
|
+
* triggered while acting as the member — so an admin can run a flow and watch
|
|
59
|
+
* the behavior WITHOUT the member or their partners being contacted. Like
|
|
60
|
+
* `readOnly`, the package only carries it; enforce it at your emitters.
|
|
61
|
+
* Independent of `readOnly` (a session can act AND suppress = "sandbox"). */
|
|
62
|
+
suppressSideEffects?: boolean;
|
|
56
63
|
};
|
|
57
64
|
export type SessionData<UserType> = {
|
|
58
65
|
/** Snapshot of your user, serialized into the session at login and handed to
|
package/package.json
CHANGED