@amplitude/plugin-session-replay-react-native 0.4.2 → 0.4.3
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.
|
@@ -20,7 +20,7 @@ class PluginSessionReplayReactNativeModule(private val reactContext: ReactApplic
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@ReactMethod
|
|
23
|
-
fun setup(apiKey: String, deviceId: String?, sessionId: Double, serverZone: String
|
|
23
|
+
fun setup(apiKey: String, deviceId: String?, sessionId: Double, serverZone: String?, sampleRate: Double, enableRemoteConfig: Boolean, logLevel: Int, autoStart: Boolean) {
|
|
24
24
|
LogcatLogger.logger.logMode = when (logLevel) {
|
|
25
25
|
0 -> Logger.LogMode.OFF
|
|
26
26
|
1 -> Logger.LogMode.ERROR
|
|
@@ -35,7 +35,7 @@ class PluginSessionReplayReactNativeModule(private val reactContext: ReactApplic
|
|
|
35
35
|
API Key: $apiKey
|
|
36
36
|
Device Id: $deviceId
|
|
37
37
|
Session Id: $sessionId
|
|
38
|
-
Server Zone: $serverZone
|
|
38
|
+
Server Zone: ${serverZone ?: "NULL"}
|
|
39
39
|
Sample Rate: $sampleRate
|
|
40
40
|
Enable Remote Config: $enableRemoteConfig
|
|
41
41
|
Log Level: $logLevel
|
package/lib/commonjs/version.js
CHANGED
package/lib/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.4.
|
|
1
|
+
export const VERSION = '0.4.3';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.4.
|
|
1
|
+
export declare const VERSION = "0.4.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amplitude/plugin-session-replay-react-native",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Amplitude Session Replay plugin for React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"analytics",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
]
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "f8a56543f6156b759d4be1411573e216eb359e77"
|
|
96
96
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.4.
|
|
1
|
+
export const VERSION = '0.4.3';
|