react-native-update 10.26.0 → 10.26.1
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.
- package/package.json +1 -1
- package/src/core.ts +3 -1
package/package.json
CHANGED
package/src/core.ts
CHANGED
|
@@ -4,7 +4,9 @@ const {
|
|
|
4
4
|
version: v,
|
|
5
5
|
} = require('react-native/Libraries/Core/ReactNativeVersion');
|
|
6
6
|
const RNVersion = `${v.major}.${v.minor}.${v.patch}`;
|
|
7
|
-
const isTurboModuleEnabled =
|
|
7
|
+
const isTurboModuleEnabled =
|
|
8
|
+
// https://github.com/facebook/react-native/pull/48362
|
|
9
|
+
(global as any).__turboModuleProxy || (global as any).RN$Bridgeless;
|
|
8
10
|
|
|
9
11
|
export const PushyModule =
|
|
10
12
|
Platform.OS === 'web'
|