@livekit/react-native 2.7.2 → 2.7.4
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/android/src/main/java/com/livekit/reactnative/LivekitReactNativeModule.kt +1 -1
- package/lib/commonjs/hooks.js +22 -1
- package/lib/commonjs/hooks.js.map +1 -1
- package/lib/module/hooks.js +1 -1
- package/lib/module/hooks.js.map +1 -1
- package/lib/typescript/lib/commonjs/hooks.d.ts +3 -0
- package/lib/typescript/lib/module/hooks.d.ts +1 -1
- package/lib/typescript/src/hooks.d.ts +2 -2
- package/livekit-react-native.podspec +1 -0
- package/package.json +2 -2
- package/src/hooks.ts +5 -0
- /package/ios/{LKAudioProcessingAdapter.h → Headers/LKAudioProcessingAdapter.h} +0 -0
- /package/ios/{LKAudioProcessingManager.h → Headers/LKAudioProcessingManager.h} +0 -0
- /package/ios/{LivekitReactNative.h → Headers/LivekitReactNative.h} +0 -0
|
@@ -124,7 +124,7 @@ class LivekitReactNativeModule(reactContext: ReactApplicationContext) : ReactCon
|
|
|
124
124
|
promise.resolve(Arguments.makeNativeArray(deviceIds))
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
@ReactMethod
|
|
127
|
+
@ReactMethod
|
|
128
128
|
fun selectAudioOutput(deviceId: String, promise: Promise) {
|
|
129
129
|
audioManager.selectAudioOutput(AudioDeviceKind.fromTypeName(deviceId))
|
|
130
130
|
promise.resolve(null)
|
package/lib/commonjs/hooks.js
CHANGED
|
@@ -30,8 +30,11 @@ var _exportNames = {
|
|
|
30
30
|
useTracks: true,
|
|
31
31
|
isTrackReference: true,
|
|
32
32
|
useEnsureTrackRef: true,
|
|
33
|
+
useMaybeTrackRefContext: true,
|
|
33
34
|
useTrackMutedIndicator: true,
|
|
34
|
-
useVisualStableUpdate: true
|
|
35
|
+
useVisualStableUpdate: true,
|
|
36
|
+
useVoiceAssistant: true,
|
|
37
|
+
useTrackTranscription: true
|
|
35
38
|
};
|
|
36
39
|
Object.defineProperty(exports, "ParticipantContext", {
|
|
37
40
|
enumerable: true,
|
|
@@ -117,6 +120,12 @@ Object.defineProperty(exports, "useLocalParticipantPermissions", {
|
|
|
117
120
|
return _componentsReact.useLocalParticipantPermissions;
|
|
118
121
|
}
|
|
119
122
|
});
|
|
123
|
+
Object.defineProperty(exports, "useMaybeTrackRefContext", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () {
|
|
126
|
+
return _componentsReact.useMaybeTrackRefContext;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
120
129
|
Object.defineProperty(exports, "useParticipantContext", {
|
|
121
130
|
enumerable: true,
|
|
122
131
|
get: function () {
|
|
@@ -189,6 +198,12 @@ Object.defineProperty(exports, "useTrackRefContext", {
|
|
|
189
198
|
return _componentsReact.useTrackRefContext;
|
|
190
199
|
}
|
|
191
200
|
});
|
|
201
|
+
Object.defineProperty(exports, "useTrackTranscription", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () {
|
|
204
|
+
return _componentsReact.useTrackTranscription;
|
|
205
|
+
}
|
|
206
|
+
});
|
|
192
207
|
Object.defineProperty(exports, "useTracks", {
|
|
193
208
|
enumerable: true,
|
|
194
209
|
get: function () {
|
|
@@ -201,6 +216,12 @@ Object.defineProperty(exports, "useVisualStableUpdate", {
|
|
|
201
216
|
return _componentsReact.useVisualStableUpdate;
|
|
202
217
|
}
|
|
203
218
|
});
|
|
219
|
+
Object.defineProperty(exports, "useVoiceAssistant", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () {
|
|
222
|
+
return _componentsReact.useVoiceAssistant;
|
|
223
|
+
}
|
|
224
|
+
});
|
|
204
225
|
var _componentsReact = require("@livekit/components-react");
|
|
205
226
|
var _useE2EEManager = require("./hooks/useE2EEManager");
|
|
206
227
|
Object.keys(_useE2EEManager).forEach(function (key) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_componentsReact","require","_useE2EEManager","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_useTrackVolume","_useMultibandTrackVolume"],"sources":["hooks.ts"],"sourcesContent":["export {\n useConnectionState,\n useDataChannel,\n useIsSpeaking,\n useLocalParticipant,\n useLocalParticipantPermissions,\n useParticipantInfo,\n useParticipants,\n useRemoteParticipants,\n useRemoteParticipant,\n useSpeakingParticipants,\n useSortedParticipants,\n useChat,\n useIsEncrypted,\n useRoomInfo,\n useIsMuted,\n useParticipantTracks,\n useLiveKitRoom,\n RoomContext,\n useRoomContext,\n ParticipantContext,\n useParticipantContext,\n TrackRefContext,\n useTrackRefContext,\n useTracks,\n isTrackReference,\n useEnsureTrackRef,\n useTrackMutedIndicator,\n useVisualStableUpdate,\n} from '@livekit/components-react';\nexport type {\n UseLocalParticipantOptions,\n UseParticipantInfoOptions,\n UseParticipantsOptions,\n UseRemoteParticipantOptions,\n UseRemoteParticipantsOptions,\n UseTracksOptions,\n TrackReference,\n TrackReferenceOrPlaceholder,\n UseVisualStableUpdateOptions,\n} from '@livekit/components-react';\n\nexport type { ReceivedDataMessage } from '@livekit/components-core';\nexport * from './hooks/useE2EEManager';\nexport * from './hooks/useTrackVolume';\nexport * from './hooks/useMultibandTrackVolume';\nexport type { UseRNE2EEManagerOptions } from './hooks/useE2EEManager';\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_componentsReact","require","_useE2EEManager","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_useTrackVolume","_useMultibandTrackVolume"],"sources":["hooks.ts"],"sourcesContent":["export {\n useConnectionState,\n useDataChannel,\n useIsSpeaking,\n useLocalParticipant,\n useLocalParticipantPermissions,\n useParticipantInfo,\n useParticipants,\n useRemoteParticipants,\n useRemoteParticipant,\n useSpeakingParticipants,\n useSortedParticipants,\n useChat,\n useIsEncrypted,\n useRoomInfo,\n useIsMuted,\n useParticipantTracks,\n useLiveKitRoom,\n RoomContext,\n useRoomContext,\n ParticipantContext,\n useParticipantContext,\n TrackRefContext,\n useTrackRefContext,\n useTracks,\n isTrackReference,\n useEnsureTrackRef,\n useMaybeTrackRefContext,\n useTrackMutedIndicator,\n useVisualStableUpdate,\n useVoiceAssistant,\n useTrackTranscription,\n} from '@livekit/components-react';\nexport type {\n AgentState,\n UseLocalParticipantOptions,\n UseParticipantInfoOptions,\n UseParticipantsOptions,\n UseRemoteParticipantOptions,\n UseRemoteParticipantsOptions,\n UseTracksOptions,\n TrackReference,\n TrackReferenceOrPlaceholder,\n UseVisualStableUpdateOptions,\n TrackTranscriptionOptions,\n} from '@livekit/components-react';\n\nexport type { ReceivedDataMessage } from '@livekit/components-core';\nexport * from './hooks/useE2EEManager';\nexport * from './hooks/useTrackVolume';\nexport * from './hooks/useMultibandTrackVolume';\nexport type { UseRNE2EEManagerOptions } from './hooks/useE2EEManager';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAgDA,IAAAC,eAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,eAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,eAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,eAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,eAAA,GAAAd,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAW,eAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAS,eAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,eAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AACA,IAAAU,wBAAA,GAAAf,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAY,wBAAA,EAAAX,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAU,wBAAA,CAAAV,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,wBAAA,CAAAV,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/lib/module/hooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useTrackMutedIndicator, useVisualStableUpdate } from '@livekit/components-react';
|
|
1
|
+
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useMaybeTrackRefContext, useTrackMutedIndicator, useVisualStableUpdate, useVoiceAssistant, useTrackTranscription } from '@livekit/components-react';
|
|
2
2
|
export * from './hooks/useE2EEManager';
|
|
3
3
|
export * from './hooks/useTrackVolume';
|
|
4
4
|
export * from './hooks/useMultibandTrackVolume';
|
package/lib/module/hooks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useConnectionState","useDataChannel","useIsSpeaking","useLocalParticipant","useLocalParticipantPermissions","useParticipantInfo","useParticipants","useRemoteParticipants","useRemoteParticipant","useSpeakingParticipants","useSortedParticipants","useChat","useIsEncrypted","useRoomInfo","useIsMuted","useParticipantTracks","useLiveKitRoom","RoomContext","useRoomContext","ParticipantContext","useParticipantContext","TrackRefContext","useTrackRefContext","useTracks","isTrackReference","useEnsureTrackRef","useTrackMutedIndicator","useVisualStableUpdate"],"sources":["hooks.ts"],"sourcesContent":["export {\n useConnectionState,\n useDataChannel,\n useIsSpeaking,\n useLocalParticipant,\n useLocalParticipantPermissions,\n useParticipantInfo,\n useParticipants,\n useRemoteParticipants,\n useRemoteParticipant,\n useSpeakingParticipants,\n useSortedParticipants,\n useChat,\n useIsEncrypted,\n useRoomInfo,\n useIsMuted,\n useParticipantTracks,\n useLiveKitRoom,\n RoomContext,\n useRoomContext,\n ParticipantContext,\n useParticipantContext,\n TrackRefContext,\n useTrackRefContext,\n useTracks,\n isTrackReference,\n useEnsureTrackRef,\n useTrackMutedIndicator,\n useVisualStableUpdate,\n} from '@livekit/components-react';\nexport type {\n UseLocalParticipantOptions,\n UseParticipantInfoOptions,\n UseParticipantsOptions,\n UseRemoteParticipantOptions,\n UseRemoteParticipantsOptions,\n UseTracksOptions,\n TrackReference,\n TrackReferenceOrPlaceholder,\n UseVisualStableUpdateOptions,\n} from '@livekit/components-react';\n\nexport type { ReceivedDataMessage } from '@livekit/components-core';\nexport * from './hooks/useE2EEManager';\nexport * from './hooks/useTrackVolume';\nexport * from './hooks/useMultibandTrackVolume';\nexport type { UseRNE2EEManagerOptions } from './hooks/useE2EEManager';\n"],"mappings":"AAAA,SACEA,kBAAkB,EAClBC,cAAc,EACdC,aAAa,EACbC,mBAAmB,EACnBC,8BAA8B,EAC9BC,kBAAkB,EAClBC,eAAe,EACfC,qBAAqB,EACrBC,oBAAoB,EACpBC,uBAAuB,EACvBC,qBAAqB,EACrBC,OAAO,EACPC,cAAc,EACdC,WAAW,EACXC,UAAU,EACVC,oBAAoB,EACpBC,cAAc,EACdC,WAAW,EACXC,cAAc,EACdC,kBAAkB,EAClBC,qBAAqB,EACrBC,eAAe,EACfC,kBAAkB,EAClBC,SAAS,EACTC,gBAAgB,EAChBC,iBAAiB,EACjBC,sBAAsB,EACtBC,qBAAqB,QAChB,2BAA2B;
|
|
1
|
+
{"version":3,"names":["useConnectionState","useDataChannel","useIsSpeaking","useLocalParticipant","useLocalParticipantPermissions","useParticipantInfo","useParticipants","useRemoteParticipants","useRemoteParticipant","useSpeakingParticipants","useSortedParticipants","useChat","useIsEncrypted","useRoomInfo","useIsMuted","useParticipantTracks","useLiveKitRoom","RoomContext","useRoomContext","ParticipantContext","useParticipantContext","TrackRefContext","useTrackRefContext","useTracks","isTrackReference","useEnsureTrackRef","useMaybeTrackRefContext","useTrackMutedIndicator","useVisualStableUpdate","useVoiceAssistant","useTrackTranscription"],"sources":["hooks.ts"],"sourcesContent":["export {\n useConnectionState,\n useDataChannel,\n useIsSpeaking,\n useLocalParticipant,\n useLocalParticipantPermissions,\n useParticipantInfo,\n useParticipants,\n useRemoteParticipants,\n useRemoteParticipant,\n useSpeakingParticipants,\n useSortedParticipants,\n useChat,\n useIsEncrypted,\n useRoomInfo,\n useIsMuted,\n useParticipantTracks,\n useLiveKitRoom,\n RoomContext,\n useRoomContext,\n ParticipantContext,\n useParticipantContext,\n TrackRefContext,\n useTrackRefContext,\n useTracks,\n isTrackReference,\n useEnsureTrackRef,\n useMaybeTrackRefContext,\n useTrackMutedIndicator,\n useVisualStableUpdate,\n useVoiceAssistant,\n useTrackTranscription,\n} from '@livekit/components-react';\nexport type {\n AgentState,\n UseLocalParticipantOptions,\n UseParticipantInfoOptions,\n UseParticipantsOptions,\n UseRemoteParticipantOptions,\n UseRemoteParticipantsOptions,\n UseTracksOptions,\n TrackReference,\n TrackReferenceOrPlaceholder,\n UseVisualStableUpdateOptions,\n TrackTranscriptionOptions,\n} from '@livekit/components-react';\n\nexport type { ReceivedDataMessage } from '@livekit/components-core';\nexport * from './hooks/useE2EEManager';\nexport * from './hooks/useTrackVolume';\nexport * from './hooks/useMultibandTrackVolume';\nexport type { UseRNE2EEManagerOptions } from './hooks/useE2EEManager';\n"],"mappings":"AAAA,SACEA,kBAAkB,EAClBC,cAAc,EACdC,aAAa,EACbC,mBAAmB,EACnBC,8BAA8B,EAC9BC,kBAAkB,EAClBC,eAAe,EACfC,qBAAqB,EACrBC,oBAAoB,EACpBC,uBAAuB,EACvBC,qBAAqB,EACrBC,OAAO,EACPC,cAAc,EACdC,WAAW,EACXC,UAAU,EACVC,oBAAoB,EACpBC,cAAc,EACdC,WAAW,EACXC,cAAc,EACdC,kBAAkB,EAClBC,qBAAqB,EACrBC,eAAe,EACfC,kBAAkB,EAClBC,SAAS,EACTC,gBAAgB,EAChBC,iBAAiB,EACjBC,uBAAuB,EACvBC,sBAAsB,EACtBC,qBAAqB,EACrBC,iBAAiB,EACjBC,qBAAqB,QAChB,2BAA2B;AAgBlC,cAAc,wBAAwB;AACtC,cAAc,wBAAwB;AACtC,cAAc,iCAAiC","ignoreList":[]}
|
|
@@ -13,6 +13,7 @@ export const useIsSpeaking: any;
|
|
|
13
13
|
export const useLiveKitRoom: any;
|
|
14
14
|
export const useLocalParticipant: any;
|
|
15
15
|
export const useLocalParticipantPermissions: any;
|
|
16
|
+
export const useMaybeTrackRefContext: any;
|
|
16
17
|
export const useParticipantContext: any;
|
|
17
18
|
export const useParticipantInfo: any;
|
|
18
19
|
export const useParticipantTracks: any;
|
|
@@ -25,5 +26,7 @@ export const useSortedParticipants: any;
|
|
|
25
26
|
export const useSpeakingParticipants: any;
|
|
26
27
|
export const useTrackMutedIndicator: any;
|
|
27
28
|
export const useTrackRefContext: any;
|
|
29
|
+
export const useTrackTranscription: any;
|
|
28
30
|
export const useTracks: any;
|
|
29
31
|
export const useVisualStableUpdate: any;
|
|
32
|
+
export const useVoiceAssistant: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from "./hooks/useE2EEManager";
|
|
2
2
|
export * from "./hooks/useTrackVolume";
|
|
3
3
|
export * from "./hooks/useMultibandTrackVolume";
|
|
4
|
-
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useTrackMutedIndicator, useVisualStableUpdate } from "@livekit/components-react";
|
|
4
|
+
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useMaybeTrackRefContext, useTrackMutedIndicator, useVisualStableUpdate, useVoiceAssistant, useTrackTranscription } from "@livekit/components-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useTrackMutedIndicator, useVisualStableUpdate, } from '@livekit/components-react';
|
|
2
|
-
export type { UseLocalParticipantOptions, UseParticipantInfoOptions, UseParticipantsOptions, UseRemoteParticipantOptions, UseRemoteParticipantsOptions, UseTracksOptions, TrackReference, TrackReferenceOrPlaceholder, UseVisualStableUpdateOptions, } from '@livekit/components-react';
|
|
1
|
+
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useMaybeTrackRefContext, useTrackMutedIndicator, useVisualStableUpdate, useVoiceAssistant, useTrackTranscription, } from '@livekit/components-react';
|
|
2
|
+
export type { AgentState, UseLocalParticipantOptions, UseParticipantInfoOptions, UseParticipantsOptions, UseRemoteParticipantOptions, UseRemoteParticipantsOptions, UseTracksOptions, TrackReference, TrackReferenceOrPlaceholder, UseVisualStableUpdateOptions, TrackTranscriptionOptions, } from '@livekit/components-react';
|
|
3
3
|
export type { ReceivedDataMessage } from '@livekit/components-core';
|
|
4
4
|
export * from './hooks/useE2EEManager';
|
|
5
5
|
export * from './hooks/useTrackVolume';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/react-native",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.4",
|
|
4
4
|
"description": "LiveKit for React Native",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"typescript": "5.0.4"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@livekit/react-native-webrtc": "^125.0.
|
|
86
|
+
"@livekit/react-native-webrtc": "^125.0.9",
|
|
87
87
|
"livekit-client": "^2.9.0",
|
|
88
88
|
"react": "*",
|
|
89
89
|
"react-native": "*"
|
package/src/hooks.ts
CHANGED
|
@@ -25,10 +25,14 @@ export {
|
|
|
25
25
|
useTracks,
|
|
26
26
|
isTrackReference,
|
|
27
27
|
useEnsureTrackRef,
|
|
28
|
+
useMaybeTrackRefContext,
|
|
28
29
|
useTrackMutedIndicator,
|
|
29
30
|
useVisualStableUpdate,
|
|
31
|
+
useVoiceAssistant,
|
|
32
|
+
useTrackTranscription,
|
|
30
33
|
} from '@livekit/components-react';
|
|
31
34
|
export type {
|
|
35
|
+
AgentState,
|
|
32
36
|
UseLocalParticipantOptions,
|
|
33
37
|
UseParticipantInfoOptions,
|
|
34
38
|
UseParticipantsOptions,
|
|
@@ -38,6 +42,7 @@ export type {
|
|
|
38
42
|
TrackReference,
|
|
39
43
|
TrackReferenceOrPlaceholder,
|
|
40
44
|
UseVisualStableUpdateOptions,
|
|
45
|
+
TrackTranscriptionOptions,
|
|
41
46
|
} from '@livekit/components-react';
|
|
42
47
|
|
|
43
48
|
export type { ReceivedDataMessage } from '@livekit/components-core';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|