@fishjam-cloud/react-native-client 0.25.3 → 0.26.0-rc.0
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 +0 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/package.json +17 -6
package/README.md
CHANGED
|
@@ -54,7 +54,6 @@ This package depends on `@fishjam-cloud/react-native-webrtc`, which is a fork of
|
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
The local development plugin (`examples/mobile-client/common/plugins`) will automatically detect the `file:` dependency and configure:
|
|
57
|
-
|
|
58
57
|
- **iOS Podfile:** Adds `pod 'FishjamReactNativeWebrtc', :path => '...'`
|
|
59
58
|
- **Android settings.gradle:** Includes local project reference
|
|
60
59
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React Native client SDK for building mobile video and audio apps with Fishjam.
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
1
6
|
import './webrtc-polyfill';
|
|
2
7
|
import React from 'react';
|
|
3
8
|
import { type FishjamProviderProps as ReactClientFishjamProviderProps, useMicrophone as useMicrophoneReactClient } from '@fishjam-cloud/react-client';
|
|
4
9
|
export { RTCView, RTCPIPView, type RTCVideoViewProps, type RTCPIPViewProps } from './overrides/RTCView';
|
|
5
|
-
export { ScreenCapturePickerView, startPIP, stopPIP, useCallKit, useCallKitEvent, useCallKitService, } from '@fishjam-cloud/react-native-webrtc';
|
|
6
|
-
export type { CallKitAction, CallKitConfig, MediaStream } from '@fishjam-cloud/react-native-webrtc';
|
|
10
|
+
export { ScreenCapturePickerView, startPIP, stopPIP, AudioDeviceType, useCallKit, useCallKitEvent, useCallKitService, useAudioOutput, } from '@fishjam-cloud/react-native-webrtc';
|
|
11
|
+
export type { CallKitAction, CallKitConfig, MediaStream, AudioDevice, AudioOutputChangedInfo, UseAudioOutputResult, } from '@fishjam-cloud/react-native-webrtc';
|
|
7
12
|
export { useForegroundService, type ForegroundServiceConfig } from './useForegroundService';
|
|
8
|
-
export { useCameraPermissions, useMicrophonePermissions, type PermissionStatus
|
|
13
|
+
export { useCameraPermissions, useMicrophonePermissions, type PermissionStatus } from './hooks/usePermissions';
|
|
9
14
|
export { useCamera, useInitializeDevices, InitializeDevicesSettings, useConnection, useCustomSource, useDataChannel, useLivestreamStreamer, useLivestreamViewer, usePeers, useSandbox, useScreenShare, useUpdatePeerMetadata, useVAD, Variant, } from '@fishjam-cloud/react-client';
|
|
10
15
|
export declare const useMicrophone: () => Omit<ReturnType<typeof useMicrophoneReactClient>, "toggleMicrophoneMute">;
|
|
11
16
|
export type { UseInitializeDevicesParams, JoinRoomConfig, ConnectStreamerConfig, StreamerInputs, UseLivestreamStreamerResult, ConnectViewerConfig, UseLivestreamViewerResult, PeerWithTracks, RoomType, UseSandboxProps, BandwidthLimits, Brand, CustomSource, DeviceError, DeviceItem, InitializeDevicesResult, InitializeDevicesStatus, MiddlewareResult, PeerId, PeerStatus, PersistLastDeviceHandlers, SimulcastBandwidthLimits, StreamConfig, Track, TrackId, TrackMiddleware, TracksMiddleware, TracksMiddlewareResult, AuthErrorReason, JoinErrorReason, UseDataChannelResult, DataCallback, DataChannelOptions, Metadata, ReconnectConfig, ReconnectionStatus, SimulcastBandwidthLimit, SimulcastConfig, TrackBandwidthLimit, } from '@fishjam-cloud/react-client';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,mBAAmB,CAAC;AAC3B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,KAAK,oBAAoB,IAAI,+BAA+B,EAC5D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sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAGrC,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,+BAA+B,EAAE,mBAAmB,GAAG,eAAe,CAAC,CAAC;AAChH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,mEAO1D"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React Native client SDK for building mobile video and audio apps with Fishjam.
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
1
6
|
/* eslint-disable simple-import-sort/imports */
|
|
2
7
|
/* eslint-disable import/no-duplicates */
|
|
3
8
|
/* eslint-disable simple-import-sort/exports */
|
|
@@ -8,9 +13,9 @@ import React from 'react';
|
|
|
8
13
|
import { FishjamProvider as ReactClientFishjamProvider, useMicrophone as useMicrophoneReactClient, } from '@fishjam-cloud/react-client';
|
|
9
14
|
import { FishjamClient } from '@fishjam-cloud/ts-client';
|
|
10
15
|
export { RTCView, RTCPIPView } from './overrides/RTCView';
|
|
11
|
-
export { ScreenCapturePickerView, startPIP, stopPIP, useCallKit, useCallKitEvent, useCallKitService, } from '@fishjam-cloud/react-native-webrtc';
|
|
16
|
+
export { ScreenCapturePickerView, startPIP, stopPIP, AudioDeviceType, useCallKit, useCallKitEvent, useCallKitService, useAudioOutput, } from '@fishjam-cloud/react-native-webrtc';
|
|
12
17
|
export { useForegroundService } from './useForegroundService';
|
|
13
|
-
export { useCameraPermissions, useMicrophonePermissions
|
|
18
|
+
export { useCameraPermissions, useMicrophonePermissions } from './hooks/usePermissions';
|
|
14
19
|
export { useCamera, useInitializeDevices, useConnection, useCustomSource, useDataChannel, useLivestreamStreamer, useLivestreamViewer, usePeers, useSandbox, useScreenShare, useUpdatePeerMetadata, useVAD, Variant, } from '@fishjam-cloud/react-client';
|
|
15
20
|
export const useMicrophone = useMicrophoneReactClient;
|
|
16
21
|
export function FishjamProvider(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fishjam-cloud/react-native-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0-rc.0",
|
|
4
4
|
"description": "React Native client library for Fishjam",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Fishjam Team",
|
|
@@ -25,20 +25,30 @@
|
|
|
25
25
|
"fishjam"
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
|
+
"tsc": "tsc",
|
|
28
29
|
"build": "tsc && EXPO_NONINTERACTIVE=1 expo-module build plugin",
|
|
29
30
|
"lint": "eslint . --ext .ts,.tsx --fix",
|
|
30
|
-
"prepare": "tsc && EXPO_NONINTERACTIVE=1 expo-module build plugin"
|
|
31
|
+
"prepare": "tsc && EXPO_NONINTERACTIVE=1 expo-module build plugin",
|
|
32
|
+
"format": "prettier --write . --ignore-path ./.eslintignore"
|
|
33
|
+
},
|
|
34
|
+
"lint-staged": {
|
|
35
|
+
"*": [
|
|
36
|
+
"yarn format"
|
|
37
|
+
],
|
|
38
|
+
"*.{js,ts,tsx}": [
|
|
39
|
+
"yarn lint"
|
|
40
|
+
]
|
|
31
41
|
},
|
|
32
42
|
"peerDependencies": {
|
|
33
|
-
"@fishjam-cloud/react-native-webrtc": "0.25.
|
|
43
|
+
"@fishjam-cloud/react-native-webrtc": "0.25.6",
|
|
34
44
|
"expo": "*",
|
|
35
45
|
"react": "*",
|
|
36
46
|
"react-native": "*",
|
|
37
47
|
"react-native-get-random-values": "1.11.0"
|
|
38
48
|
},
|
|
39
49
|
"dependencies": {
|
|
40
|
-
"@fishjam-cloud/react-client": "0.
|
|
41
|
-
"@fishjam-cloud/react-native-webrtc": "0.25.
|
|
50
|
+
"@fishjam-cloud/react-client": "0.26.0-rc.0",
|
|
51
|
+
"@fishjam-cloud/react-native-webrtc": "0.25.6",
|
|
42
52
|
"fast-text-encoding": "1.0.6",
|
|
43
53
|
"react-native-get-random-values": "1.11.0",
|
|
44
54
|
"react-native-url-polyfill": "3.0.0"
|
|
@@ -46,7 +56,8 @@
|
|
|
46
56
|
"devDependencies": {
|
|
47
57
|
"eslint-config-expo": "~9.2.0",
|
|
48
58
|
"eslint-plugin-prettier": "^5.5.1",
|
|
49
|
-
"expo-module-scripts": "^
|
|
59
|
+
"expo-module-scripts": "^55.0.2",
|
|
60
|
+
"typescript": "^5.8.3"
|
|
50
61
|
},
|
|
51
62
|
"packageManager": "yarn@4.12.0"
|
|
52
63
|
}
|