freerasp-react-native 5.1.1 → 5.2.1

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 +51 -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 {}
@@ -14,11 +14,11 @@
14
14
  </data>
15
15
  <key>Headers/CurlWrapper.h</key>
16
16
  <data>
17
- 6wr8OlswVsoDXIHFSIehCZy5/WM=
17
+ 8usTsHjaqjYY0hE+K3Szo9pNavY=
18
18
  </data>
19
19
  <key>Headers/TalsecRuntime-Swift.h</key>
20
20
  <data>
21
- rS4szR/NzRZ17ToCz3IvSly4C4Q=
21
+ jUShxtcFqrHkgQcNKY+Zsz7yyPA=
22
22
  </data>
23
23
  <key>Headers/TalsecRuntime_iOS.h</key>
24
24
  <data>
@@ -74,15 +74,15 @@
74
74
  </data>
75
75
  <key>Info.plist</key>
76
76
  <data>
77
- vptABHXymKGSOwmcO5Wus5RHxmM=
77
+ yqe7Yu658nnrvaC3u0vV+gffjZ8=
78
78
  </data>
79
79
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json</key>
80
80
  <data>
81
- tJ8SwitWe0HIymJrZeVaqfD/jFE=
81
+ 6yRbZW/KPKBfsGNkYQ4YbicChYk=
82
82
  </data>
83
83
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
84
84
  <data>
85
- 3iPuRGG17GpD7jAh2Lr5CmvFHWg=
85
+ oUnMo1B3NYVgJZkvR8AuakgiSKs=
86
86
  </data>
87
87
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc</key>
88
88
  <data>
@@ -90,7 +90,7 @@
90
90
  </data>
91
91
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface</key>
92
92
  <data>
93
- 3iPuRGG17GpD7jAh2Lr5CmvFHWg=
93
+ oUnMo1B3NYVgJZkvR8AuakgiSKs=
94
94
  </data>
95
95
  <key>Modules/module.modulemap</key>
96
96
  <data>
@@ -129,14 +129,14 @@
129
129
  <dict>
130
130
  <key>hash2</key>
131
131
  <data>
132
- tlBvZyxaTPi2iagbzloWGrPV3lMqGmUyovqjfFkUx6Y=
132
+ XrleHozgFZgjzF8rpu5VVPJqbH9uXCv7tCHer3w2XhE=
133
133
  </data>
134
134
  </dict>
135
135
  <key>Headers/TalsecRuntime-Swift.h</key>
136
136
  <dict>
137
137
  <key>hash2</key>
138
138
  <data>
139
- EiBNXxzN8S69592UrK3nV7KYlWgqgR7mHee8BZA/3/E=
139
+ dcI53OKBITQvTDrqZ9J/NaPaJtLjNph/VHwo/IaKz4U=
140
140
  </data>
141
141
  </dict>
142
142
  <key>Headers/TalsecRuntime_iOS.h</key>
@@ -234,14 +234,14 @@
234
234
  <dict>
235
235
  <key>hash2</key>
236
236
  <data>
237
- 8W2+V7wDi53QuXgpeAQAYmPix7K7Bb3SMYGEpCTZKPs=
237
+ wrY4STe0r0CSGQWNz6vNFARdKRkpNX5MxGp8MISeBQc=
238
238
  </data>
239
239
  </dict>
240
240
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
241
241
  <dict>
242
242
  <key>hash2</key>
243
243
  <data>
244
- iMlvH29nL3TA8mNUhCvWNZpmK/FXRcrelUyF1av6Www=
244
+ rAIhF9eYZrn2+fZrhvDQRpsIooulDGa0u+htIDv+Uhs=
245
245
  </data>
246
246
  </dict>
247
247
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc</key>
@@ -255,7 +255,7 @@
255
255
  <dict>
256
256
  <key>hash2</key>
257
257
  <data>
258
- iMlvH29nL3TA8mNUhCvWNZpmK/FXRcrelUyF1av6Www=
258
+ rAIhF9eYZrn2+fZrhvDQRpsIooulDGa0u+htIDv+Uhs=
259
259
  </data>
260
260
  </dict>
261
261
  <key>Modules/module.modulemap</key>
@@ -16,7 +16,7 @@
16
16
  #include <unistd.h>
17
17
  #include <string.h>
18
18
 
19
- struct cnFEHlOUntKw {
19
+ struct evEbrEWMzoFs {
20
20
  char *memory;
21
21
  size_t size;
22
22
  CURLcode ret;
@@ -303,7 +303,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
303
303
 
304
304
  #if defined(__OBJC__)
305
305
 
306
- SWIFT_EXTERN void __ogaxvQdtgFYrYpwYseONGoK(void) SWIFT_NOEXCEPT;
306
+ SWIFT_EXTERN void __uSvtqRshboCAsXmHPjismCM(void) SWIFT_NOEXCEPT;
307
307
 
308
308
  #endif
309
309
  #if __has_attribute(external_source_symbol)
@@ -618,7 +618,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
618
618
 
619
619
  #if defined(__OBJC__)
620
620
 
621
- SWIFT_EXTERN void __ogaxvQdtgFYrYpwYseONGoK(void) SWIFT_NOEXCEPT;
621
+ SWIFT_EXTERN void __uSvtqRshboCAsXmHPjismCM(void) SWIFT_NOEXCEPT;
622
622
 
623
623
  #endif
624
624
  #if __has_attribute(external_source_symbol)