@akhilpulse/samadhaan-session-replay 0.4.1 → 0.4.2
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/README.md +1 -1
- package/package.json +1 -1
- package/src/SessionReplayProvider.tsx +4 -3
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ const { pause, resume, sessionId, status } = useSessionReplay();
|
|
|
80
80
|
Works in **English and Hindi**. Every assistant session (questions + AI steps +
|
|
81
81
|
screenshots) is recorded and visible in the dashboard.
|
|
82
82
|
|
|
83
|
-
**New in 0.4.
|
|
83
|
+
**New in 0.4.2 — floating help button (default trigger).** A small draggable
|
|
84
84
|
`?` button floats at the top-right of the screen. Tapping it starts the voice
|
|
85
85
|
guide; the user can drag it anywhere and it stays inside the screen. This is
|
|
86
86
|
the definitive trigger for **Expo** apps, where the native shake module isn't
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akhilpulse/samadhaan-session-replay",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "React Native SDK for Samadhaan Guided Support — session recording, live remote screen-share, take-control, guided-tour overlays, and Shake-to-Assist AI voice guide.",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -53,7 +53,7 @@ const SessionReplayPixelCopy: PixelCopyNative | undefined =
|
|
|
53
53
|
let pixelCopyDisabled = false; // turned true after a runtime failure to avoid retrying every frame
|
|
54
54
|
|
|
55
55
|
const STORAGE_KEY = "@akhilpulse/samadhaan-session-replay/sessionId";
|
|
56
|
-
const SDK_VERSION = "0.4.
|
|
56
|
+
const SDK_VERSION = "0.4.2";
|
|
57
57
|
|
|
58
58
|
// ---- Module-level session singleton --------------------------------------
|
|
59
59
|
// Multiple SessionReplayProvider mounts (intentional or via React StrictMode's
|
|
@@ -855,8 +855,9 @@ export function SessionReplayProvider({ config, children }: { config: Config; ch
|
|
|
855
855
|
})()}
|
|
856
856
|
|
|
857
857
|
{/* Floating help button — draggable, tap to open the AI voice guide.
|
|
858
|
-
This is the definitive trigger for Expo apps (no native shake module).
|
|
859
|
-
|
|
858
|
+
This is the definitive trigger for Expo apps (no native shake module).
|
|
859
|
+
Hidden during guided tours so it never collides with the End-tour pill. */}
|
|
860
|
+
{!config.disableAssistant && config.showAssistButton !== false && !assistantActive && tourState.phase === "idle" && (
|
|
860
861
|
<Animated.View
|
|
861
862
|
style={[styles.assistFab, { transform: assistFabPan.getTranslateTransform() }]}
|
|
862
863
|
{...assistFabPanResponder.panHandlers}
|