@vkontakte/videoplayer-shared 1.0.40 → 1.0.41
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/es2015.cjs.js +4 -4
- package/es2015.esm.js +4 -4
- package/es2018.cjs.js +4 -4
- package/es2018.esm.js +4 -4
- package/esnext.cjs.js +4 -4
- package/esnext.esm.js +4 -4
- package/evergreen.esm.js +4 -4
- package/package.json +1 -1
- package/types/utils/flattenObject.d.ts +2 -1
package/package.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Функция, которая "сплющивает" вложенный объект. Делает так, чтобы все проперти в объекте были примитивами и
|
|
3
3
|
* не содержали вложенных объектов
|
|
4
4
|
* @param obj - исходный объект
|
|
5
|
+
* @param maxDeep - максимальная глубина рекурсивного обхода
|
|
5
6
|
* @param separator - символ разделитель. По умолчанию точка '.'
|
|
6
7
|
* @return - новый сплющенный объект, который не содержит больше вложенных объектов
|
|
7
8
|
*/
|
|
8
|
-
export declare const flattenObject: (obj: Record<string, any> | undefined, separator?: string) => Record<string, any>;
|
|
9
|
+
export declare const flattenObject: (obj: Record<string, any> | undefined, maxDeep?: number, separator?: string) => Record<string, any>;
|