@rhq/rover 0.1.2 → 0.1.3

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.
@@ -1,3 +1,2 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="com.relayhq.rover">
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
2
  </manifest>
@@ -2,8 +2,6 @@ package com.relayhq.rover
2
2
 
3
3
  import expo.modules.kotlin.modules.Module
4
4
  import expo.modules.kotlin.modules.ModuleDefinition
5
- import kotlinx.coroutines.Dispatchers
6
- import kotlinx.coroutines.withContext
7
5
 
8
6
  /**
9
7
  * Expo Module implementation for Relay Rover on Android.
@@ -42,15 +40,11 @@ class RoverModule : Module() {
42
40
  }
43
41
 
44
42
  AsyncFunction("processEmailAsync") { emailJson: String ->
45
- withContext(Dispatchers.Default) {
46
- RoverNativeBridge.processEmailJson(emailJson)
47
- }
43
+ RoverNativeBridge.processEmailJson(emailJson)
48
44
  }
49
45
 
50
46
  AsyncFunction("processBatchAsync") { batchJson: String ->
51
- withContext(Dispatchers.Default) {
52
- RoverNativeBridge.processBatchJson(batchJson)
53
- }
47
+ RoverNativeBridge.processBatchJson(batchJson)
54
48
  }
55
49
  }
56
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhq/rover",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "High-performance React Native and JavaScript bindings for Relay Rover Email Intelligence Engine",
5
5
  "main": "./index.js",
6
6
  "react-native": "./index.native.js",