nosnia-audio-recorder 0.8.6 → 0.8.7

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.
@@ -47,10 +47,9 @@ class NosniaAudioRecorderModule(private val reactContext: ReactApplicationContex
47
47
  progressHandler.postDelayed(this, 100) // Update every 100ms
48
48
  }
49
49
  }
50
- }
51
50
 
52
51
  private fun sendEvent(eventName: String, params: WritableMap?) {
53
- reactApplicationContext
52
+ reactContext
54
53
  .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
55
54
  .emit(eventName, params)
56
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nosnia-audio-recorder",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "This is a modern audio recorder which actually works cross platform",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",