react-native-compressor 1.8.20 → 1.8.21

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.
@@ -19,7 +19,7 @@ abstract class CompressorSpec(context: ReactApplicationContext?) : ReactContextB
19
19
  abstract fun generateFilePath(_extension: String, promise: Promise)
20
20
  abstract fun getRealPath(path: String, type: String, promise: Promise)
21
21
  abstract fun getVideoMetaData(filePath: String, promise: Promise)
22
- abstract fun getImageMetaData(String filePath, Promise promise);
22
+ abstract fun getImageMetaData(filePath: String, promise: Promise);
23
23
  abstract fun getFileSize(filePath: String, promise: Promise)
24
24
  abstract fun compress(fileUrl: String, optionMap: ReadableMap, promise: Promise)
25
25
  abstract fun cancelCompression(uuid: String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-compressor",
3
- "version": "1.8.20",
3
+ "version": "1.8.21",
4
4
  "description": "This library compress image, video and audio",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -67,7 +67,9 @@
67
67
  "create-thumbnail",
68
68
  "video-metadata",
69
69
  "media",
70
- "bitrate"
70
+ "bitrate",
71
+ "exif",
72
+ "metadata"
71
73
  ],
72
74
  "repository": "https://github.com/numandev1/react-native-compressor",
73
75
  "author": "numandev1 <muhammadnuman70@gmail.com> (https://github.com/numandev1)",