Commit 65a5e6a
authored
fix: ldclient dependencies (#407)
## Summary
Update Native Session Replay dependencies
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Changes the session replay package’s public TypeScript integration
types and dependency surface, which can break downstream builds if
consumers relied on `react-native-client-sdk` types. Runtime behavior is
largely unchanged, but the updated native pod version could introduce
platform-specific regressions.
>
> **Overview**
> Updates the session replay React Native package to use plugin type
definitions (`LDPlugin`, `LDClientMin`) from
`@launchdarkly/observability-react-native` instead of
`@launchdarkly/react-native-client-sdk`, including adjusting the plugin
adapter `register` signature accordingly.
>
> Exports `LDPlugin` and `LDClientMin` from
`observability-react-native`’s public `index.ts`, and bumps the iOS
example’s `SessionReplayReactNative` CocoaPod from `0.1.0` to `0.2.1`
(lockfile hash update).
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
3d6d84b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent d9e2fae commit 65a5e6a
File tree
3 files changed
+8
-5
lines changed- sdk/@launchdarkly
- observability-react-native/src
- react-native-ld-session-replay
- example/ios
- src
3 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2449 | 2449 | | |
2450 | 2450 | | |
2451 | 2451 | | |
2452 | | - | |
| 2452 | + | |
2453 | 2453 | | |
2454 | 2454 | | |
2455 | 2455 | | |
| |||
2802 | 2802 | | |
2803 | 2803 | | |
2804 | 2804 | | |
2805 | | - | |
| 2805 | + | |
2806 | 2806 | | |
2807 | 2807 | | |
2808 | 2808 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | | - | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments