@umituz/react-native-video-editor 1.1.14 → 1.1.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-video-editor",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "description": "Professional video editor with layer-based timeline, text/image/shape/audio/animation layers, and export functionality",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -130,7 +130,7 @@ export const clearVideoCache = async (): Promise<void> => {
130
130
  /**
131
131
  * Delete a specific cached video
132
132
  */
133
- export const deleteSpecificCachedVideo = (url: string): boolean => {
133
+ export const deleteSpecificCachedVideo = async (url: string): Promise<boolean> => {
134
134
  if (!url || url.startsWith("file://")) return false;
135
135
  return deleteCachedFile(url, getVideoCacheDir());
136
136
  };
@@ -62,7 +62,7 @@ export const DraggableLayer: React.FC<DraggableLayerProps> = ({
62
62
  { translateX: state.x },
63
63
  { translateY: state.y },
64
64
  { rotate: `${layer.rotation}deg` },
65
- ],
65
+ ] as const,
66
66
  opacity: layer.opacity,
67
67
  width: state.width,
68
68
  height: state.height,