omnipay-reactnative-sdk 0.8.7 → 0.8.8

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.
@@ -54,7 +54,7 @@ public class OmnipayActivityModule extends ReactContextBaseJavaModule {
54
54
  private void sendEvent(ReactContext reactContext,
55
55
  String eventName,
56
56
  @Nullable WritableMap params) {
57
- this.reactContext
57
+ reactContext
58
58
  .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
59
59
  .emit(eventName, params);
60
60
  }
@@ -170,7 +170,7 @@ public class OmnipayActivityModule extends ReactContextBaseJavaModule {
170
170
  try {
171
171
  WritableMap params = Arguments.createMap();
172
172
  params.putString("data", datax);
173
- sendEvent(this.reactContext, "OmnipayEvent", params);
173
+ sendEvent(reactContext, "OmnipayEvent", params);
174
174
  }
175
175
  catch (Exception ex) {
176
176
  ex.printStackTrace();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnipay-reactnative-sdk",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "Omnipay react native sdk",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",