@stream-io/video-react-native-sdk 1.30.0 → 1.30.1
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/CHANGELOG.md +11 -0
- package/dist/commonjs/contexts/ThemeContext.js +14 -3
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/module/contexts/ThemeContext.js +13 -1
- package/dist/module/contexts/ThemeContext.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +3 -5
- package/src/contexts/ThemeContext.tsx +20 -2
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.30.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.30.0...@stream-io/video-react-native-sdk-1.30.1) (2026-03-04)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
- `@stream-io/video-client` updated to version `1.44.1`
|
|
10
|
+
- `@stream-io/video-react-bindings` updated to version `1.13.10`
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **react-native-sdk:** remove lodash.merge from theme context ([#2143](https://github.com/GetStream/stream-video-js/issues/2143)) ([d5bae28](https://github.com/GetStream/stream-video-js/commit/d5bae281585135f02a1e72425b7b4863c40a55a2))
|
|
15
|
+
|
|
5
16
|
## [1.30.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.29.4...@stream-io/video-react-native-sdk-1.30.0) (2026-02-27)
|
|
6
17
|
|
|
7
18
|
### Dependency Updates
|
|
@@ -5,14 +5,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useTheme = exports.mergeThemes = exports.ThemeProvider = exports.ThemeContext = exports.StreamTheme = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _lodash = _interopRequireDefault(require("lodash.merge"));
|
|
9
8
|
var _theme = require("../theme/theme");
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
9
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
12
10
|
/**
|
|
13
11
|
* @deprecated Use StreamThemeInputValue instead.
|
|
14
12
|
*/
|
|
15
13
|
|
|
14
|
+
const isObject = value => typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
15
|
+
const merge = (target, source) => {
|
|
16
|
+
for (const key in source) {
|
|
17
|
+
const sourceValue = source[key];
|
|
18
|
+
if (sourceValue === undefined) continue;
|
|
19
|
+
const targetValue = target[key];
|
|
20
|
+
if (isObject(sourceValue) && isObject(targetValue)) {
|
|
21
|
+
merge(targetValue, sourceValue);
|
|
22
|
+
} else {
|
|
23
|
+
target[key] = sourceValue;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
16
27
|
const mergeThemes = params => {
|
|
17
28
|
const {
|
|
18
29
|
style,
|
|
@@ -20,7 +31,7 @@ const mergeThemes = params => {
|
|
|
20
31
|
} = params;
|
|
21
32
|
const finalTheme = !theme || Object.keys(theme).length === 0 ? JSON.parse(JSON.stringify(_theme.defaultTheme)) : JSON.parse(JSON.stringify(theme));
|
|
22
33
|
if (style) {
|
|
23
|
-
(
|
|
34
|
+
merge(finalTheme, style);
|
|
24
35
|
}
|
|
25
36
|
return finalTheme;
|
|
26
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_theme","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isObject","value","Array","isArray","merge","target","source","key","sourceValue","undefined","targetValue","mergeThemes","params","style","theme","finalTheme","keys","length","JSON","parse","stringify","defaultTheme","exports","DEFAULT_BASE_CONTEXT_VALUE","ThemeContext","createContext","StreamTheme","props","children","mergedStyle","modifiedTheme","useMemo","createElement","Provider","ThemeProvider","useTheme","useContext","Error"],"sourceRoot":"../../../src","sources":["contexts/ThemeContext.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAOA,IAAAC,MAAA,GAAAD,OAAA;AAA0D,SAAAD,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,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CAAC;AAACQ,OAAA,CAAAa,QAAA,GAAAA,QAAA","ignoreList":[]}
|
package/dist/commonjs/version.js
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import React, { createContext, useContext, useMemo } from 'react';
|
|
2
|
-
import merge from 'lodash.merge';
|
|
3
2
|
import { defaultTheme } from '../theme/theme';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* @deprecated Use StreamThemeInputValue instead.
|
|
7
6
|
*/
|
|
8
7
|
|
|
8
|
+
const isObject = value => typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
9
|
+
const merge = (target, source) => {
|
|
10
|
+
for (const key in source) {
|
|
11
|
+
const sourceValue = source[key];
|
|
12
|
+
if (sourceValue === undefined) continue;
|
|
13
|
+
const targetValue = target[key];
|
|
14
|
+
if (isObject(sourceValue) && isObject(targetValue)) {
|
|
15
|
+
merge(targetValue, sourceValue);
|
|
16
|
+
} else {
|
|
17
|
+
target[key] = sourceValue;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
9
21
|
export const mergeThemes = params => {
|
|
10
22
|
const {
|
|
11
23
|
style,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","createContext","useContext","useMemo","merge","
|
|
1
|
+
{"version":3,"names":["React","createContext","useContext","useMemo","defaultTheme","isObject","value","Array","isArray","merge","target","source","key","sourceValue","undefined","targetValue","mergeThemes","params","style","theme","finalTheme","Object","keys","length","JSON","parse","stringify","DEFAULT_BASE_CONTEXT_VALUE","ThemeContext","StreamTheme","props","children","mergedStyle","modifiedTheme","createElement","Provider","ThemeProvider","useTheme","Error"],"sourceRoot":"../../../src","sources":["contexts/ThemeContext.tsx"],"mappings":"AAAA,OAAOA,KAAK,IACVC,aAAa,EAEbC,UAAU,EACVC,OAAO,QACF,OAAO;AAEd,SAASC,YAAY,QAAoB,gBAAgB;;AAWzD;AACA;AACA;;AAYA,MAAMC,QAAQ,GAAIC,KAAc,IAC9B,OAAOA,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K;EAErD,MAAMG,aAAa,GAAG9B,OAAO,CAAC,MAAM;IAClC,IAAI6B,WAAW,EAAE;MACf,OAAOA,WAAW;IACpB;IAEA,OAAOhB,WAAW,CAAC;MAAEE,KAAK;MAAEC;IAAM,CAAC,CAAC;EACtC,CAAC,EAAE,CAACa,WAAW,EAAEd,KAAK,EAAEC,KAAK,CAAC,CAAC;EAE/B,oBACEnB,KAAA,CAAAkC,aAAA,CAACN,YAAY,CAACO,QAAQ;IAAC7B,KAAK,EAAE2B;EAAc,GACzCF,QACoB,CAAC;AAE5B,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMK,aAAa,GAAGP,WAAW;AAExC,OAAO,MAAMQ,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMlB,KAAK,GAAGjB,UAAU,CAAC0B,YAAY,CAAC;EAEtC,IAAIT,KAAK,KAAKQ,0BAA0B,EAAE;IACxC,MAAM,IAAIW,KAAK,CACb,sOACF,CAAC;EACH;EACA,OAAO;IAAEnB;EAAM,CAAC;AAClB,CAAC","ignoreList":[]}
|
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '1.30.
|
|
1
|
+
export const version = '1.30.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAgB,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAsBF,eAAO,MAAM,WAAW,GAAI,QAAQ,kBAAkB,UAarD,CAAC;AAIF,eAAO,MAAM,YAAY,sBAExB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAChC,iBAAiB,CAAC,qBAAqB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAiBtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,uFAAc,CAAC;AAEzC,eAAO,MAAM,QAAQ;;CASpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "1.30.
|
|
1
|
+
export declare const version = "1.30.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream-io/video-react-native-sdk",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.1",
|
|
4
4
|
"description": "Stream Video SDK for React Native",
|
|
5
5
|
"author": "https://getstream.io",
|
|
6
6
|
"homepage": "https://getstream.io/video/docs/react-native/",
|
|
@@ -50,10 +50,9 @@
|
|
|
50
50
|
"!**/.*"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@stream-io/video-client": "1.44.
|
|
54
|
-
"@stream-io/video-react-bindings": "1.13.
|
|
53
|
+
"@stream-io/video-client": "1.44.1",
|
|
54
|
+
"@stream-io/video-react-bindings": "1.13.10",
|
|
55
55
|
"intl-pluralrules": "2.0.1",
|
|
56
|
-
"lodash.merge": "^4.6.2",
|
|
57
56
|
"react-native-url-polyfill": "^3.0.0",
|
|
58
57
|
"rxjs": "~7.8.2",
|
|
59
58
|
"text-encoding-polyfill": "0.6.7"
|
|
@@ -137,7 +136,6 @@
|
|
|
137
136
|
"@testing-library/react-native": "13.3.3",
|
|
138
137
|
"@tsconfig/node18": "^18.2.4",
|
|
139
138
|
"@types/jest": "^29.5.14",
|
|
140
|
-
"@types/lodash.merge": "^4.6.9",
|
|
141
139
|
"@types/react": "~19.1.17",
|
|
142
140
|
"@types/react-test-renderer": "^19.1.0",
|
|
143
141
|
"expo": "~54.0.12",
|
|
@@ -5,8 +5,6 @@ import React, {
|
|
|
5
5
|
useMemo,
|
|
6
6
|
} from 'react';
|
|
7
7
|
|
|
8
|
-
import merge from 'lodash.merge';
|
|
9
|
-
|
|
10
8
|
import { defaultTheme, type Theme } from '../theme/theme';
|
|
11
9
|
|
|
12
10
|
export type DeepPartial<T> = {
|
|
@@ -32,6 +30,26 @@ export type ThemeContextValue = {
|
|
|
32
30
|
theme: Theme;
|
|
33
31
|
};
|
|
34
32
|
|
|
33
|
+
const isObject = (value: unknown): value is Record<string, unknown> =>
|
|
34
|
+
typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
35
|
+
|
|
36
|
+
const merge = <T extends Record<string, unknown>>(
|
|
37
|
+
target: T,
|
|
38
|
+
source: DeepPartial<T>,
|
|
39
|
+
) => {
|
|
40
|
+
for (const key in source) {
|
|
41
|
+
const sourceValue = source[key];
|
|
42
|
+
if (sourceValue === undefined) continue;
|
|
43
|
+
|
|
44
|
+
const targetValue = target[key as keyof T];
|
|
45
|
+
if (isObject(sourceValue) && isObject(targetValue)) {
|
|
46
|
+
merge(targetValue, sourceValue as DeepPartial<Record<string, unknown>>);
|
|
47
|
+
} else {
|
|
48
|
+
target[key as keyof T] = sourceValue as T[keyof T];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
|
|
35
53
|
export const mergeThemes = (params: MergedThemesParams) => {
|
|
36
54
|
const { style, theme } = params;
|
|
37
55
|
const finalTheme = (
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.30.
|
|
1
|
+
export const version = '1.30.1';
|