From 47edadfe448641c1980249c5abf1514a1d257dd5 Mon Sep 17 00:00:00 2001 From: William Van Haevre Date: Fri, 18 Oct 2024 19:03:58 +0200 Subject: [PATCH 1/2] Add SdkVersions interface --- src/api/version/SdkVersions.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/api/version/SdkVersions.ts diff --git a/src/api/version/SdkVersions.ts b/src/api/version/SdkVersions.ts new file mode 100644 index 000000000..801d174c6 --- /dev/null +++ b/src/api/version/SdkVersions.ts @@ -0,0 +1,15 @@ +export interface SdkVersions { + /** + * The version of the react-native SDK. + * + * @public + */ + readonly rn: string; + + /** + * The version of the native SDK dependency, if that applies. + * + * @public + */ + readonly native?: string; +} From 81e4e7044f8c023d0a536f06b0c260d178404551 Mon Sep 17 00:00:00 2001 From: William Van Haevre Date: Fri, 18 Oct 2024 19:05:34 +0200 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index baa516718..a9f97f1bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- Added SdkVersion interface to be used by the sdk and it's connectors to report version info. + ### Fixed - Fixed an issue on Web where all text tracks other than the selected would be set to `disabled` when enabling a text track.