@react-native-ohos/react-native-audio 4.2.3-rc.3 → 4.3.0-rc.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.
@@ -5,7 +5,7 @@
5
5
  description: '',
6
6
  main: 'index.ets',
7
7
  type: 'module',
8
- version: '4.2.3-rc.3',
8
+ version: '4.3.0-rc.1',
9
9
  dependencies: {
10
10
  "@rnoh/react-native-openharmony": "^0.72.38"
11
11
  },
package/harmony/audio.har CHANGED
Binary file
package/index.js CHANGED
@@ -10,7 +10,7 @@ import ReactNative, {
10
10
  } from "react-native";
11
11
 
12
12
  // @ts-ignore We want to check whether __turboModuleProxy exitst, it may not
13
- const isTurboModuleEnabled = global.__turboModuleProxy != null;
13
+ const isTurboModuleEnabled = global.nativeModuleProxy != null;
14
14
 
15
15
  const nativeRecorderManager = isTurboModuleEnabled ?
16
16
  require("./NativeAudio").default :
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-ohos/react-native-audio",
3
- "version": "4.2.3-rc.3",
3
+ "version": "4.3.0-rc.1",
4
4
  "description": "React Native extension for recording audio",
5
5
  "main": "index.js",
6
6
  "author": "Joshua Sierles <joshua@diluvia.net> (https://github.com/jsierles)",