freerasp-react-native 5.1.1 → 5.2.0

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +5 -5
  4. package/android/src/main/java/com/freeraspreactnative/PluginThreatHandler.kt +28 -24
  5. package/android/src/main/java/com/freeraspreactnative/ScreenProtector.kt +1 -1
  6. package/android/src/main/java/com/freeraspreactnative/dispatchers/ThreatDispatcher.kt +1 -1
  7. package/android/src/main/java/com/freeraspreactnative/events/ThreatEvent.kt +3 -1
  8. package/android/src/main/java/com/freeraspreactnative/interfaces/PluginThreatListener.kt +1 -1
  9. package/android/src/main/java/com/freeraspreactnative/utils/Extensions.kt +5 -5
  10. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  11. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +38 -38
  12. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
  13. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/.jbroot/libRHProbe.dat +0 -0
  14. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  15. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
  16. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  17. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +446 -312
  18. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -0
  19. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +4 -0
  20. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  21. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/_CodeSignature/CodeResources +11 -11
  22. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/.jbroot/libRHProbe.dat +0 -0
  23. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  24. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  25. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  26. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +439 -305
  27. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -0
  28. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
  29. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +439 -305
  30. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -0
  31. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -0
  32. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  33. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +17 -17
  34. package/ios/TalsecRuntimePackage/Package.swift +2 -2
  35. package/lib/commonjs/api/listeners/threat.js +4 -1
  36. package/lib/commonjs/api/listeners/threat.js.map +1 -1
  37. package/lib/commonjs/models/threat.js +2 -1
  38. package/lib/commonjs/models/threat.js.map +1 -1
  39. package/lib/module/api/listeners/threat.js +4 -1
  40. package/lib/module/api/listeners/threat.js.map +1 -1
  41. package/lib/module/models/threat.js +2 -1
  42. package/lib/module/models/threat.js.map +1 -1
  43. package/lib/typescript/src/api/listeners/threat.d.ts.map +1 -1
  44. package/lib/typescript/src/models/threat.d.ts +1 -0
  45. package/lib/typescript/src/models/threat.d.ts.map +1 -1
  46. package/lib/typescript/src/types/types.d.ts +1 -0
  47. package/lib/typescript/src/types/types.d.ts.map +1 -1
  48. package/package.json +1 -1
  49. package/src/api/listeners/threat.ts +3 -0
  50. package/src/models/threat.ts +2 -0
  51. package/src/types/types.ts +1 -0
@@ -64,5 +64,9 @@ public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Sw
64
64
  get
65
65
  }
66
66
  }
67
+ public struct ScreenCaptureBlockError : Swift.Error, Swift.Equatable {
68
+ public let message: Swift.String
69
+ public static func == (a: TalsecRuntime.ScreenCaptureBlockError, b: TalsecRuntime.ScreenCaptureBlockError) -> Swift.Bool
70
+ }
67
71
  extension TalsecRuntime.SecurityThreat : Swift.Hashable {}
68
72
  extension TalsecRuntime.SecurityThreat : Swift.RawRepresentable {}
@@ -64,5 +64,9 @@ public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Sw
64
64
  get
65
65
  }
66
66
  }
67
+ public struct ScreenCaptureBlockError : Swift.Error, Swift.Equatable {
68
+ public let message: Swift.String
69
+ public static func == (a: TalsecRuntime.ScreenCaptureBlockError, b: TalsecRuntime.ScreenCaptureBlockError) -> Swift.Bool
70
+ }
67
71
  extension TalsecRuntime.SecurityThreat : Swift.Hashable {}
68
72
  extension TalsecRuntime.SecurityThreat : Swift.RawRepresentable {}