@livekit/react-native 2.6.1 → 2.6.2

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/README.md CHANGED
@@ -23,13 +23,13 @@ Use this SDK to add realtime video, audio and data features to your React Native
23
23
  ### NPM
24
24
 
25
25
  ```sh
26
- npm install @livekit/react-native @livekit/react-native-webrtc
26
+ npm install @livekit/react-native @livekit/react-native-webrtc livekit-client
27
27
  ```
28
28
 
29
29
  ### Yarn
30
30
 
31
31
  ```sh
32
- yarn add @livekit/react-native @livekit/react-native-webrtc
32
+ yarn add @livekit/react-native @livekit/react-native-webrtc livekit-client
33
33
  ```
34
34
 
35
35
  This library depends on `@livekit/react-native-webrtc`, which has additional installation instructions found here:
@@ -23,7 +23,7 @@ class LivekitReactNativeModule(reactContext: ReactApplicationContext) : ReactCon
23
23
  val audioSinkManager = AudioSinkManager(reactContext)
24
24
  val audioManager = AudioSwitchManager(reactContext.applicationContext)
25
25
  override fun getName(): String {
26
- return "LivekitReactNative"
26
+ return "LivekitReactNativeModule"
27
27
  }
28
28
 
29
29
  @ReactMethod
@@ -1,5 +1,2 @@
1
- #import "RCTBridgeModule.h"
2
- #import "RCTEventEmitter.h"
3
- #import "RCTViewManager.h"
4
1
  #import "WebRTCModule.h"
5
2
  #import "WebRTCModule+RTCMediaStream.h"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/react-native",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "LiveKit for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -45,7 +45,6 @@
45
45
  "@livekit/components-react": "^2.8.1",
46
46
  "array.prototype.at": "^1.1.1",
47
47
  "events": "^3.3.0",
48
- "livekit-client": "^2.9.0",
49
48
  "loglevel": "^1.8.0",
50
49
  "promise.allsettled": "^1.0.5",
51
50
  "react-native-url-polyfill": "^1.3.0",
@@ -73,6 +72,7 @@
73
72
  "eslint-plugin-prettier": "^4.2.1",
74
73
  "husky": "^7.0.4",
75
74
  "jest": "^29.6.3",
75
+ "livekit-client": "^2.9.0",
76
76
  "pod-install": "^0.2.2",
77
77
  "prettier": "2.8.8",
78
78
  "react": "18.2.0",
@@ -84,6 +84,7 @@
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@livekit/react-native-webrtc": "^125.0.8",
87
+ "livekit-client": "^2.9.0",
87
88
  "react": "*",
88
89
  "react-native": "*"
89
90
  },