@coralogix/react-native-plugin 0.2.3 → 0.2.4

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 CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.2.4 (2025-12-07)
2
+
3
+ ### 🩹 Fixes
4
+
5
+
6
+ - Fixed network request duration reporting to use milliseconds instead of nanoseconds, ensuring accurate timing metrics in network request data
7
+ - Fixed severity 0, sometimes being sent as fallback to 0
8
+ - Patch: Bump Android native version to 2.6.2
9
+
1
10
  ## 0.2.3 (2025-12-04)
2
11
 
3
12
  ### 🩹 Fixes
@@ -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.1"
78
+ implementation "com.coralogix:android-sdk:2.6.2"
79
79
  }
80
80
 
81
81
  react {
@@ -372,6 +372,7 @@ class CxSdkModule(reactContext: ReactApplicationContext) :
372
372
  is Int -> array.pushInt(value)
373
373
  is Double -> array.pushDouble(value)
374
374
  is Float -> array.pushDouble(value.toDouble())
375
+ is Long -> array.pushDouble(value.toDouble())
375
376
  is String -> array.pushString(value)
376
377
  is Map<*, *> -> {
377
378
  @Suppress("UNCHECKED_CAST")
@@ -395,6 +396,7 @@ class CxSdkModule(reactContext: ReactApplicationContext) :
395
396
  is Int -> writableMap.putInt(key, value)
396
397
  is Double -> writableMap.putDouble(key, value)
397
398
  is Float -> writableMap.putDouble(key, value.toDouble())
399
+ is Long -> writableMap.putDouble(key, value.toDouble())
398
400
  is String -> writableMap.putString(key, value)
399
401
  is Map<*, *> -> {
400
402
  @Suppress("UNCHECKED_CAST")
package/index.cjs.js CHANGED
@@ -219,7 +219,7 @@ function stopJsRefreshRateSampler() {
219
219
  appStateSub = null;
220
220
  }
221
221
 
222
- var version = "0.2.3";
222
+ var version = "0.2.4";
223
223
  var pkg = {
224
224
  version: version};
225
225
 
package/index.esm.js CHANGED
@@ -217,7 +217,7 @@ function stopJsRefreshRateSampler() {
217
217
  appStateSub = null;
218
218
  }
219
219
 
220
- var version = "0.2.3";
220
+ var version = "0.2.4";
221
221
  var pkg = {
222
222
  version: version};
223
223
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coralogix/react-native-plugin",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Official Coralogix React Native plugin",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Coralogix",