nosnia-audio-recorder 0.3.5 → 0.3.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.
@@ -256,8 +256,4 @@ RCT_EXPORT_MODULE(NosniaAudioPlayer)
256
256
  return std::make_shared<facebook::react::NativeNosniaAudioPlayerSpecJSI>(params);
257
257
  }
258
258
 
259
- + (NSString *)moduleName {
260
- return @"NosniaAudioPlayer";
261
- }
262
-
263
259
  @end
@@ -399,11 +399,6 @@ RCT_EXPORT_MODULE(NosniaAudioRecorder)
399
399
  reject(@"CANCEL_ERROR", exception.reason, nil);
400
400
  }
401
401
  }
402
- resolve(nil);
403
- } @catch (NSException *exception) {
404
- reject(@"CANCEL_ERROR", exception.reason, nil);
405
- }
406
- }
407
402
 
408
403
  - (void)getRecorderStatus:(RCTPromiseResolveBlock)resolve
409
404
  reject:(RCTPromiseRejectBlock)reject {
@@ -500,8 +495,4 @@ RCT_EXPORT_MODULE(NosniaAudioRecorder)
500
495
  return std::make_shared<facebook::react::NativeNosniaAudioRecorderSpecJSI>(params);
501
496
  }
502
497
 
503
- + (NSString *)moduleName {
504
- return @"NosniaAudioRecorder";
505
- }
506
-
507
498
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nosnia-audio-recorder",
3
- "version": "0.3.5",
3
+ "version": "0.3.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",