@coralogix/react-native-plugin 0.2.3 → 0.2.5
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/CHANGELOG.md +13 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/cxsdk/CxSdkModule.kt +8 -0
- package/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 0.2.5 (2025-12-08)
|
|
2
|
+
|
|
3
|
+
Fix: Resolved an issue where severity mapping bug by treating the value as Double instead of Int.
|
|
4
|
+
|
|
5
|
+
## 0.2.4 (2025-12-07)
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
- Fixed network request duration reporting to use milliseconds instead of nanoseconds, ensuring accurate timing metrics in network request data
|
|
11
|
+
- Fixed severity 0, sometimes being sent as fallback to 0
|
|
12
|
+
- Patch: Bump Android native version to 2.6.2
|
|
13
|
+
|
|
1
14
|
## 0.2.3 (2025-12-04)
|
|
2
15
|
|
|
3
16
|
### 🩹 Fixes
|
package/android/build.gradle
CHANGED
|
@@ -75,7 +75,7 @@ dependencies {
|
|
|
75
75
|
implementation "com.facebook.react:react-android"
|
|
76
76
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
77
77
|
|
|
78
|
-
implementation "com.coralogix:android-sdk:2.6.
|
|
78
|
+
implementation "com.coralogix:android-sdk:2.6.2"
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
react {
|
|
@@ -395,6 +395,14 @@ class CxSdkModule(reactContext: ReactApplicationContext) :
|
|
|
395
395
|
is Int -> writableMap.putInt(key, value)
|
|
396
396
|
is Double -> writableMap.putDouble(key, value)
|
|
397
397
|
is Float -> writableMap.putDouble(key, value.toDouble())
|
|
398
|
+
is Long -> {
|
|
399
|
+
if (key == "severity") {
|
|
400
|
+
writableMap.putInt(key, value.toInt())
|
|
401
|
+
} else {
|
|
402
|
+
writableMap.putString(key, value.toString())
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
398
406
|
is String -> writableMap.putString(key, value)
|
|
399
407
|
is Map<*, *> -> {
|
|
400
408
|
@Suppress("UNCHECKED_CAST")
|
package/index.cjs.js
CHANGED
package/index.esm.js
CHANGED