@rnx-kit/react-native-host 0.5.9 → 0.5.10

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.
@@ -60,7 +60,7 @@ using SharedJSRuntimeFactory = std::shared_ptr<facebook::react::JSRuntimeFactory
60
60
 
61
61
  #ifdef USE_FEATURE_FLAGS
62
62
 
63
- // https://github.com/facebook/react-native/blob/0.74-stable/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm#L272-L286
63
+ // https://github.com/facebook/react-native/blob/0.80-stable/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSStable.h
64
64
  class RNXBridgelessFeatureFlags : public facebook::react::ReactNativeFeatureFlagsDefaults
65
65
  {
66
66
  public:
@@ -1,3 +1,10 @@
1
+ #if !__has_include(<ReactCommon/RCTJscInstance.h>)
2
+ #ifdef USE_HERMES
3
+ #undef USE_HERMES
4
+ #endif // !USE_HERMES
5
+ #define USE_HERMES 1
6
+ #endif // !__has_include(<ReactCommon/RCTJscInstance.h>)
7
+
1
8
  #if USE_BRIDGELESS
2
9
 
3
10
  #if __has_include(<react/config/ReactNativeConfig.h>)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnx-kit/react-native-host",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "Simplify React Native initialization",
5
5
  "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/react-native-host#readme",
6
6
  "license": "MIT",