react-native-gizwits-sdk-v5 1.3.10 → 1.3.12

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.
@@ -63,10 +63,10 @@ dependencies {
63
63
  implementation "org.eclipse.paho:org.eclipse.paho.client.mqttv3:$mqtt_version"
64
64
 
65
65
 
66
- implementation("io.github.gizwits:sdk:1.0.10")
67
- implementation("io.github.gizwits:sdk-bluetooth:1.0.10")
68
- implementation("io.github.gizwits:sdk-lan:1.0.10")
69
- implementation("io.github.gizwits:sdk-mqtt:1.0.10")
66
+ implementation("io.github.gizwits:sdk:1.0.12")
67
+ implementation("io.github.gizwits:sdk-bluetooth:1.0.12")
68
+ implementation("io.github.gizwits:sdk-lan:1.0.12")
69
+ implementation("io.github.gizwits:sdk-mqtt:1.0.12")
70
70
 
71
71
  implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutine_version")
72
72
  // retrofit
@@ -25,7 +25,7 @@ class RNGizUserManagerModule(reactContext: ReactApplicationContext) : ReactConte
25
25
 
26
26
  @ReactMethod
27
27
  fun getAuthorizeData(options: ReadableMap, result: Callback) {
28
- val tokenInfo = GizSDKManager.getUserManager().getUserTokenStream().value
28
+ val tokenInfo = GizSDKManager.getUserManager().getAuthorizeData()
29
29
  val authData = UpdateAuthorizeDataParams(tokenInfo?.token ?: "", tokenInfo?.userId ?: "")
30
30
  GizRNCallbackManager.callbackWithResult(callback = result, result = Result.success(authData))
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gizwits-sdk-v5",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "description": "Gizwits",
5
5
  "homepage": "https://github.com/demchenkoalex/react-native-gizwits-sdk-v5#readme",
6
6
  "main": "lib/index.js",
@@ -20,6 +20,6 @@ Pod::Spec.new do |s|
20
20
  s.dependency 'React'
21
21
  s.dependency 'Sentry', '~> 8.0'
22
22
  s.dependency 'CryptoSwift', '~> 1.8.0'
23
- s.dependency 'GizwitsiOSSDK', '~> 1.0.0'
23
+ s.dependency 'GizwitsiOSSDK', '~> 1.0.1'
24
24
 
25
25
  end