react-native-spike-sdk 4.0.13 → 4.0.23

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.
@@ -76,7 +76,7 @@ dependencies {
76
76
  //noinspection GradleDynamicVersion
77
77
  implementation "com.facebook.react:react-android:0.71.3"
78
78
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
79
- implementation 'com.spikeapi.sdk:spike-sdk:4.0.12'
79
+ implementation 'com.spikeapi.sdk:spike-sdk:4.0.22'
80
80
  implementation 'androidx.core:core-ktx:1.9.0'
81
81
  implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
82
82
  implementation 'com.google.code.gson:gson:2.10.1'
@@ -649,11 +649,11 @@ class SpikeSdkModule(reactContext: ReactApplicationContext) :
649
649
  try {
650
650
  val connection = getConnectionV3(connectionUUID) ?: return@launch promise.reject(
651
651
  SpikeExceptions.SpikeException("Connection not found").mapException(),
652
- "Connection not found (getProviderIntegrationUrl)"
652
+ "Connection not found (getIntegrationInitUrl)"
653
653
  )
654
654
 
655
655
  val providerObject = Provider.values().find { it.value == provider } ?: Provider.UNKNOWN
656
- val result = connection.getProviderIntegrationUrl(providerObject)
656
+ val result = connection.getIntegrationInitUrl(providerObject)
657
657
 
658
658
  promise.resolve(result)
659
659
 
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.SPIKE_SDK_VERSION = void 0;
7
7
  // This file is auto-generated. Do not edit manually.
8
- const SPIKE_SDK_VERSION = exports.SPIKE_SDK_VERSION = "4.0.13";
8
+ const SPIKE_SDK_VERSION = exports.SPIKE_SDK_VERSION = "4.0.23";
9
9
  //# sourceMappingURL=version.js.map
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const SPIKE_SDK_VERSION = "4.0.13";
2
+ export const SPIKE_SDK_VERSION = "4.0.23";
3
3
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const SPIKE_SDK_VERSION = "4.0.13";
1
+ export declare const SPIKE_SDK_VERSION = "4.0.23";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-spike-sdk",
3
- "version": "4.0.13",
3
+ "version": "4.0.23",
4
4
  "iosVersion": "4.0.11",
5
5
  "description": "Spike API for health and productivity data from wearables and IoT devices",
6
6
  "main": "lib/commonjs/index",
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const SPIKE_SDK_VERSION = "4.0.13";
2
+ export const SPIKE_SDK_VERSION = "4.0.23";
3
3