react-native-inapp-inspector 2.2.6 → 2.2.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.
@@ -1 +1 @@
1
- export declare const LIB_VERSION = "2.2.6";
1
+ export declare const LIB_VERSION = "2.2.8";
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LIB_VERSION = void 0;
4
4
  // AUTO-GENERATED FILE — do not edit by hand.
5
5
  // Regenerated from package.json on every build by scripts/gen-version.js.
6
- exports.LIB_VERSION = '2.2.6';
6
+ exports.LIB_VERSION = '2.2.8';
@@ -1 +1 @@
1
- export declare const LIB_VERSION = "2.2.6";
1
+ export declare const LIB_VERSION = "2.2.8";
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED FILE — do not edit by hand.
2
2
  // Regenerated from package.json on every build by scripts/gen-version.js.
3
- export const LIB_VERSION = '2.2.6';
3
+ export const LIB_VERSION = '2.2.8';
@@ -411,16 +411,7 @@ RCT_EXPORT_MODULE(NetworkInspectorModule);
411
411
  - (void)safeSendEvent:(NSString *)eventName body:(id)body {
412
412
  if (!hasListeners) return;
413
413
  @try {
414
- if (self.bridge != nil) {
415
- [self sendEventWithName:eventName body:body];
416
- } else if ([self respondsToSelector:@selector(callableJSModules)]) {
417
- id callable = [self valueForKey:@"callableJSModules"];
418
- if (callable && [callable respondsToSelector:@selector(invokeExpectedMethod:method:args:)]) {
419
- [callable invokeExpectedMethod:@"RCTDeviceEventEmitter"
420
- method:@"emit"
421
- args:body ? @[eventName, body] : @[eventName]];
422
- }
423
- }
414
+ [self sendEventWithName:eventName body:body];
424
415
  } @catch (NSException *ex) {
425
416
  NSLog(@"[InAppInspector] Safe sendEvent error: %@", ex.reason);
426
417
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-inapp-inspector",
3
- "version": "2.2.6",
3
+ "version": "2.2.8",
4
4
  "description": "The zero-config, all-in-one in-app debugger for React Native & Expo. Inspect Network (fetch/axios), Console logs, Stack Traces, Redux State, Firebase Analytics, and JS Bundle size directly on device.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED FILE — do not edit by hand.
2
2
  // Regenerated from package.json on every build by scripts/gen-version.js.
3
- export const LIB_VERSION = '2.2.6';
3
+ export const LIB_VERSION = '2.2.8';