@datadog/mobile-react-native-session-replay 2.2.0-alpha.0 → 2.3.1-alpha.0
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/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/{DatadogSDKReactNativeSessionReplayPackage.kt → DdSDKReactNativeSessionReplayPackage.kt} +1 -1
- package/android/src/newarch/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplay.kt +1 -1
- package/ios/Sources/DdSessionReplay.h +1 -1
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ import com.facebook.react.module.model.ReactModuleInfoProvider
|
|
|
15
15
|
/**
|
|
16
16
|
* Package of native dd-sdk-reactnative native modules.
|
|
17
17
|
*/
|
|
18
|
-
class
|
|
18
|
+
class DdSDKReactNativeSessionReplayPackage : TurboReactPackage() {
|
|
19
19
|
override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {
|
|
20
20
|
return when (name) {
|
|
21
21
|
DdSessionReplayImplementation.NAME -> DdSessionReplay(reactContext)
|
|
@@ -17,7 +17,7 @@ class DdSessionReplay(
|
|
|
17
17
|
reactContext: ReactApplicationContext
|
|
18
18
|
) : NativeDdSessionReplaySpec(reactContext) {
|
|
19
19
|
|
|
20
|
-
private val implementation = DdSessionReplayImplementation()
|
|
20
|
+
private val implementation = DdSessionReplayImplementation(reactContext)
|
|
21
21
|
|
|
22
22
|
override fun getName(): String = DdSessionReplayImplementation.NAME
|
|
23
23
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
11
11
|
|
|
12
|
-
#import <
|
|
12
|
+
#import <DdSDKReactNativeSessionReplay/DdSDKReactNativeSessionReplay.h>
|
|
13
13
|
@interface DdSessionReplay: NSObject <NativeDdSessionReplaySpec>
|
|
14
14
|
|
|
15
15
|
#else
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/mobile-react-native-session-replay",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1-alpha.0",
|
|
4
4
|
"description": "A client-side React Native module to enable session replay with Datadog",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datadog",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
82
|
"codegenConfig": {
|
|
83
|
-
"name": "
|
|
83
|
+
"name": "DdSDKReactNativeSessionReplay",
|
|
84
84
|
"type": "modules",
|
|
85
85
|
"jsSrcsDir": "./src/specs",
|
|
86
86
|
"android": {
|