react-native-kookit 0.4.6 → 0.4.7

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.
@@ -1553,10 +1553,7 @@ public class ReactNativeKookitModule: Module {
1553
1553
  DispatchQueue.global(qos: .userInitiated).async {
1554
1554
  do {
1555
1555
  // Parse source URL
1556
- guard let sourceURL = URL(string: sourceUri) ?? URL(fileURLWithPath: sourceUri.replacingOccurrences(of: "file://", with: "")) else {
1557
- promise.reject("COPY_ERROR", "Invalid source URI: \(sourceUri)")
1558
- return
1559
- }
1556
+ let sourceURL = URL(string: sourceUri) ?? URL(fileURLWithPath: sourceUri.replacingOccurrences(of: "file://", with: ""))
1560
1557
 
1561
1558
  let destURL = URL(fileURLWithPath: destinationPath.replacingOccurrences(of: "file://", with: ""))
1562
1559
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-kookit",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "React Native module for intercepting volume button presses on iOS and Android, with FTP client functionality",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",