react-native-mytatva-rn-sdk 1.2.84 → 1.2.85

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.
@@ -253,7 +253,7 @@ class AuthenticateSDKService(val scope: CoroutineScope) {
253
253
  )
254
254
 
255
255
  val baseUrl = if (environment == TATVA_ENVIRONMENT.PROD) PROD_BASE_URL else STAGE_BASE_URL
256
- val url = "$baseUrl/helper/device-verification?deviceId=$sensorId&deviceType=CGM&vendor=diasens"
256
+ val url = "$baseUrl/helper/device_verification?deviceId=$sensorId&deviceType=CGM&vendor=diasens"
257
257
 
258
258
  Log.d("API Response", "Device Verification URL: $url")
259
259
 
@@ -322,7 +322,7 @@ class API {
322
322
  onSuccess: @escaping (Int, Bool, String) -> Void,
323
323
  onFailure: @escaping () -> Void
324
324
  ) {
325
- let urlString = (envType.lowercased() == "uat" ? STAGE_BASE_URL : PROD_BASE_URL) + "/helper/device-verification?deviceId=\(sensorId)&deviceType=CGM&vendor=diasens"
325
+ let urlString = (envType.lowercased() == "uat" ? STAGE_BASE_URL : PROD_BASE_URL) + "/helper/device_verification?deviceId=\(sensorId)&deviceType=CGM&vendor=diasens"
326
326
 
327
327
  guard let url = URL(string: urlString) else {
328
328
  print("===>verifyDevice: Invalid URL")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mytatva-rn-sdk",
3
- "version": "1.2.84",
3
+ "version": "1.2.85",
4
4
  "description": "a package to inject data into visit health pwa",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",