react-native-gizwits-sdk-v5 1.6.0 → 1.6.1

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.
@@ -67,11 +67,11 @@ dependencies {
67
67
  // ESPTouch
68
68
  implementation 'com.github.EspressifApp:lib-esptouch-android:1.1.1'
69
69
 
70
- implementation("io.github.gizwits:sdk:1.4.2")
71
- implementation("io.github.gizwits:sdk-bluetooth:1.4.2")
72
- implementation("io.github.gizwits:sdk-lan:1.4.2")
73
- implementation("io.github.gizwits:sdk-mqtt:1.4.2")
74
- // implementation files('libs/sdk-release.aar', 'libs/sdk-bluetooth-release.aar', 'libs/sdk-lan-release.aar', 'libs/sdk-mqtt-release.aar')
70
+ implementation("io.github.gizwits:sdk:1.4.3")
71
+ implementation("io.github.gizwits:sdk-bluetooth:1.4.3")
72
+ implementation("io.github.gizwits:sdk-lan:1.4.3")
73
+ implementation("io.github.gizwits:sdk-mqtt:1.4.3")
74
+ // implementation files('libs/sdk-release.aar', 'libs/sdk-bluetooth-release.aar', 'libs/sdk-lan-release.aar', 'libs/sdk-mqtt-release.aar')
75
75
  implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutine_version")
76
76
  // retrofit
77
77
  implementation("com.squareup.retrofit2:retrofit:$retrofit_version")
package/lib/types.d.ts CHANGED
@@ -55,7 +55,7 @@ export interface GizBaseProfile {
55
55
  export type BlueToothType = 'Mesh' | 'Beacon' | 'Voice' | 'GATT';
56
56
  export type BlueToothVersion = 'BLE4' | 'BLE42' | 'BLE50';
57
57
  export type NetStatus = 0 | 1 | 2;
58
- export type GizWiFiActivatorEventType = 'GIZ_CONNECT_SUCCESS' | 'GIZ_CONFIG_SEND_SUCCESS' | 'GIZ_CONFIG_RECV_SUCCESS' | 'GIZ_CONFIG_SUCCESS';
58
+ export type GizWiFiActivatorEventType = 'START_WIFI_CONFIG' | 'START_CONNECT_DEVICE' | 'CONNECT_DEVICE_SUCCESS' | 'CONNECT_DEVICE_FAIL' | 'START_SEND_WIFI_CONFIG' | 'START_SEND_WIFI_CONFIG_SUCCESS' | 'START_SEND_WIFI_CONFIG_FAIL' | 'WIFI_CONFIG_RECV_SUCCESS' | 'START_SEARCH_RANDOM_CODE' | 'START_SEARCH_RANDOM_CODE_SUCCESS' | 'WIFI_CONFIG_SUCCESS' | 'WIFI_CONFIG_CANCEL' | 'WIFI_CONFIG_FAIL';
59
59
  export interface GizWiFiActivatorEvent {
60
60
  data: GizWiFiActivatorEventType;
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gizwits-sdk-v5",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Gizwits",
5
5
  "homepage": "https://github.com/demchenkoalex/react-native-gizwits-sdk-v5#readme",
6
6
  "main": "lib/index.js",
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
19
19
 
20
20
  s.dependency 'React'
21
21
  s.dependency 'CryptoSwift', '~> 1.8.0'
22
- s.dependency 'GizwitsiOSSDK', '~> 2.0.7'
22
+ s.dependency 'GizwitsiOSSDK', '~> 2.0.8'
23
23
 
24
24
  end