@tryvital/vital-core-react-native 0.2.7 → 0.3.0

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.
@@ -12,11 +12,19 @@ class VitalCoreReactNativeModule(reactContext: ReactApplicationContext) :
12
12
  return NAME
13
13
  }
14
14
 
15
- // Example method
16
- // See https://reactnative.dev/docs/native-modules-android
17
15
  @ReactMethod
18
- fun multiply(a: Double, b: Double, promise: Promise) {
19
- promise.resolve(a * b)
16
+ fun setUserId(userId: String, promise: Promise) {
17
+ promise.resolve(null)
18
+ }
19
+
20
+ @ReactMethod
21
+ fun configure(apiKey: String, environment: String, region: String, enableLogs: Boolean, promise: Promise) {
22
+ promise.resolve(null)
23
+ }
24
+
25
+ @ReactMethod
26
+ fun cleanUp(promise: Promise) {
27
+ promise.resolve(null)
20
28
  }
21
29
 
22
30
  companion object {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-core-react-native",
3
- "version": "0.2.7",
3
+ "version": "0.3.0",
4
4
  "description": "test",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",