@cometchat/calls-sdk-react-native 5.0.5 → 5.0.6
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/dist/index.d.mts +11 -1
- package/dist/index.d.ts +21 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1937,12 +1937,17 @@ declare namespace closedCaptions {
|
|
|
1937
1937
|
let emptyState_1: string;
|
|
1938
1938
|
export { emptyState_1 as emptyState };
|
|
1939
1939
|
}
|
|
1940
|
+
declare namespace audioPlayback {
|
|
1941
|
+
let blockedTitle: string;
|
|
1942
|
+
let blockedSubtitle: string;
|
|
1943
|
+
let blockedButton: string;
|
|
1944
|
+
}
|
|
1940
1945
|
declare namespace general {
|
|
1941
1946
|
let error: string;
|
|
1942
1947
|
}
|
|
1943
1948
|
declare let other: {};
|
|
1944
1949
|
declare namespace __json_default_export {
|
|
1945
|
-
export { header, controlPanel, idealTimeout, participantList, virtualBackground, indicators, notifications, closedCaptions, general, other };
|
|
1950
|
+
export { header, controlPanel, idealTimeout, participantList, virtualBackground, indicators, notifications, closedCaptions, audioPlayback, general, other };
|
|
1946
1951
|
}
|
|
1947
1952
|
//#endregion
|
|
1948
1953
|
//#region calls-sdk-core/i18n/state.d.ts
|
|
@@ -2121,6 +2126,11 @@ declare const useTranslation: () => {
|
|
|
2121
2126
|
closedCaptions: {
|
|
2122
2127
|
emptyState: string;
|
|
2123
2128
|
};
|
|
2129
|
+
audioPlayback: {
|
|
2130
|
+
blockedTitle: string;
|
|
2131
|
+
blockedSubtitle: string;
|
|
2132
|
+
blockedButton: string;
|
|
2133
|
+
};
|
|
2124
2134
|
general: {
|
|
2125
2135
|
error: string;
|
|
2126
2136
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as zustand0 from "zustand";
|
|
2
2
|
import * as zustand_middleware0 from "zustand/middleware";
|
|
3
3
|
import { AppStateStatus } from "react-native";
|
|
4
4
|
import JitsiMeetJS from "@cometchat/calls-lib-webrtc";
|
|
@@ -460,7 +460,7 @@ type Actions$5 = {
|
|
|
460
460
|
isMobileSDK: () => boolean;
|
|
461
461
|
isMobile: () => boolean;
|
|
462
462
|
};
|
|
463
|
-
declare const useBaseStore:
|
|
463
|
+
declare const useBaseStore: zustand0.UseBoundStore<Omit<Omit<zustand0.StoreApi<BaseState & Actions$5>, "subscribe"> & {
|
|
464
464
|
subscribe: {
|
|
465
465
|
(listener: (selectedState: BaseState & Actions$5, previousSelectedState: BaseState & Actions$5) => void): () => void;
|
|
466
466
|
<U>(selector: (state: BaseState & Actions$5) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -546,7 +546,7 @@ type Actions$4 = {
|
|
|
546
546
|
leaveConference: () => Promise<void>;
|
|
547
547
|
endConference: () => Promise<void>;
|
|
548
548
|
};
|
|
549
|
-
declare const useConferenceStore:
|
|
549
|
+
declare const useConferenceStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<ConferenceState & Actions$4>, "subscribe"> & {
|
|
550
550
|
subscribe: {
|
|
551
551
|
(listener: (selectedState: ConferenceState & Actions$4, previousSelectedState: ConferenceState & Actions$4) => void): () => void;
|
|
552
552
|
<U>(selector: (state: ConferenceState & Actions$4) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -980,7 +980,7 @@ type ConfigState = ConfigStateInternal & ConfigStateMobile & ConfigStateWeb & Co
|
|
|
980
980
|
type Actions$3 = {
|
|
981
981
|
reset: () => void;
|
|
982
982
|
};
|
|
983
|
-
declare const useConfigStore:
|
|
983
|
+
declare const useConfigStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<ConfigStateInternal & ConfigStateMobile & ConfigStateWeb & ConfigStateBoth & Actions$3>, "subscribe"> & {
|
|
984
984
|
subscribe: {
|
|
985
985
|
(listener: (selectedState: ConfigStateInternal & ConfigStateMobile & ConfigStateWeb & ConfigStateBoth & Actions$3, previousSelectedState: ConfigStateInternal & ConfigStateMobile & ConfigStateWeb & ConfigStateBoth & Actions$3) => void): () => void;
|
|
986
986
|
<U>(selector: (state: ConfigStateInternal & ConfigStateMobile & ConfigStateWeb & ConfigStateBoth & Actions$3) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -1133,7 +1133,7 @@ type Actions$2 = {
|
|
|
1133
1133
|
disconnect: () => Promise<void>;
|
|
1134
1134
|
reset: () => void;
|
|
1135
1135
|
};
|
|
1136
|
-
declare const useConnectionStore:
|
|
1136
|
+
declare const useConnectionStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<ConnectionState & Actions$2>, "subscribe"> & {
|
|
1137
1137
|
subscribe: {
|
|
1138
1138
|
(listener: (selectedState: ConnectionState & Actions$2, previousSelectedState: ConnectionState & Actions$2) => void): () => void;
|
|
1139
1139
|
<U>(selector: (state: ConnectionState & Actions$2) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -1184,7 +1184,7 @@ type Actions$1 = {
|
|
|
1184
1184
|
getParticipantById: (pid: string) => HumanParticipant | undefined;
|
|
1185
1185
|
reset: () => void;
|
|
1186
1186
|
};
|
|
1187
|
-
declare const useParticipantStore:
|
|
1187
|
+
declare const useParticipantStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<ParticipantsState & Actions$1>, "subscribe"> & {
|
|
1188
1188
|
subscribe: {
|
|
1189
1189
|
(listener: (selectedState: ParticipantsState & Actions$1, previousSelectedState: ParticipantsState & Actions$1) => void): () => void;
|
|
1190
1190
|
<U>(selector: (state: ParticipantsState & Actions$1) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -1232,7 +1232,7 @@ interface ToastActions {
|
|
|
1232
1232
|
clearAll: () => void;
|
|
1233
1233
|
reset: () => void;
|
|
1234
1234
|
}
|
|
1235
|
-
declare const useToastStore:
|
|
1235
|
+
declare const useToastStore: zustand0.UseBoundStore<zustand0.StoreApi<ToastState & ToastActions>>;
|
|
1236
1236
|
declare function showToast(params: {
|
|
1237
1237
|
id?: string;
|
|
1238
1238
|
message: string;
|
|
@@ -1268,7 +1268,7 @@ type Actions = {
|
|
|
1268
1268
|
updateTrack: (originalTrack: any, updatedTrack: Partial<Track>) => void;
|
|
1269
1269
|
updateLocalTrack: (mediaType: MediaType, updatedTrack: Partial<Track>) => void;
|
|
1270
1270
|
};
|
|
1271
|
-
declare const useTracksStore:
|
|
1271
|
+
declare const useTracksStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<TracksState & Actions>, "subscribe"> & {
|
|
1272
1272
|
subscribe: {
|
|
1273
1273
|
(listener: (selectedState: TracksState & Actions, previousSelectedState: TracksState & Actions) => void): () => void;
|
|
1274
1274
|
<U>(selector: (state: TracksState & Actions) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -1360,7 +1360,7 @@ interface TranscriptionActions {
|
|
|
1360
1360
|
toggleShowLiveCaption: () => void;
|
|
1361
1361
|
reset: () => void;
|
|
1362
1362
|
}
|
|
1363
|
-
declare const useTranscriptionStore:
|
|
1363
|
+
declare const useTranscriptionStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<TranscriptionState & TranscriptionActions>, "subscribe"> & {
|
|
1364
1364
|
subscribe: {
|
|
1365
1365
|
(listener: (selectedState: TranscriptionState & TranscriptionActions, previousSelectedState: TranscriptionState & TranscriptionActions) => void): () => void;
|
|
1366
1366
|
<U>(selector: (state: TranscriptionState & TranscriptionActions) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -1937,12 +1937,17 @@ declare namespace closedCaptions {
|
|
|
1937
1937
|
let emptyState_1: string;
|
|
1938
1938
|
export { emptyState_1 as emptyState };
|
|
1939
1939
|
}
|
|
1940
|
+
declare namespace audioPlayback {
|
|
1941
|
+
let blockedTitle: string;
|
|
1942
|
+
let blockedSubtitle: string;
|
|
1943
|
+
let blockedButton: string;
|
|
1944
|
+
}
|
|
1940
1945
|
declare namespace general {
|
|
1941
1946
|
let error: string;
|
|
1942
1947
|
}
|
|
1943
1948
|
declare let other: {};
|
|
1944
1949
|
declare namespace __json_default_export {
|
|
1945
|
-
export { header, controlPanel, idealTimeout, participantList, virtualBackground, indicators, notifications, closedCaptions, general, other };
|
|
1950
|
+
export { header, controlPanel, idealTimeout, participantList, virtualBackground, indicators, notifications, closedCaptions, audioPlayback, general, other };
|
|
1946
1951
|
}
|
|
1947
1952
|
//#endregion
|
|
1948
1953
|
//#region calls-sdk-core/i18n/state.d.ts
|
|
@@ -1952,7 +1957,7 @@ interface TranslationState {
|
|
|
1952
1957
|
translations: Record<string, typeof __json_default_export>;
|
|
1953
1958
|
currentLocale: CometChatSupportedLocale | Omit<string, CometChatSupportedLocale>;
|
|
1954
1959
|
}
|
|
1955
|
-
declare const useTranslationStore:
|
|
1960
|
+
declare const useTranslationStore: zustand0.UseBoundStore<Omit<zustand0.StoreApi<Omit<TranslationState, "reset" | "setLocale"> & {
|
|
1956
1961
|
reset: () => void;
|
|
1957
1962
|
setLocale: (locale: CometChatSupportedLocale) => void;
|
|
1958
1963
|
}>, "subscribe"> & {
|
|
@@ -2121,6 +2126,11 @@ declare const useTranslation: () => {
|
|
|
2121
2126
|
closedCaptions: {
|
|
2122
2127
|
emptyState: string;
|
|
2123
2128
|
};
|
|
2129
|
+
audioPlayback: {
|
|
2130
|
+
blockedTitle: string;
|
|
2131
|
+
blockedSubtitle: string;
|
|
2132
|
+
blockedButton: string;
|
|
2133
|
+
};
|
|
2124
2134
|
general: {
|
|
2125
2135
|
error: string;
|
|
2126
2136
|
};
|