freerasp-react-native 3.8.1 → 3.9.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 (58) hide show
  1. package/CHANGELOG.md +52 -1
  2. package/README.md +20 -556
  3. package/android/build.gradle +1 -1
  4. package/android/proguard-rules.pro +2 -1
  5. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +19 -42
  6. package/android/src/main/java/com/freeraspreactnative/FreeraspThreatHandler.kt +3 -0
  7. package/android/src/main/java/com/freeraspreactnative/Utils.kt +40 -0
  8. package/android/src/main/java/com/freeraspreactnative/exceptions/TalsecException.kt +3 -0
  9. package/example/src/App.tsx +1 -1
  10. package/ios/FreeraspReactNative.swift +1 -1
  11. package/ios/TalsecRuntime.xcframework/Info.plist +9 -5
  12. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  13. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  14. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +105 -105
  15. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
  16. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  17. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +22 -5
  18. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +57 -43
  19. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +4 -4
  20. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +13 -5
  21. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +18 -4
  22. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
  23. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +1 -11
  24. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +5 -1
  25. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  26. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +217 -2211
  27. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -3
  28. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  29. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +3 -3
  30. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  31. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  32. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +44 -10
  33. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +57 -43
  34. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +4 -4
  35. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +13 -5
  36. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +18 -4
  37. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
  38. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +1 -11
  39. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +5 -1
  40. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  41. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +220 -2193
  42. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -3
  43. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  44. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -3
  45. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +220 -2193
  46. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -3
  47. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  48. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -3
  49. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  50. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +39 -39
  51. package/lib/commonjs/index.js +8 -4
  52. package/lib/commonjs/index.js.map +1 -1
  53. package/lib/module/index.js +8 -4
  54. package/lib/module/index.js.map +1 -1
  55. package/lib/typescript/src/index.d.ts.map +1 -1
  56. package/package.json +2 -2
  57. package/plugin/build/index.d.ts +1 -1
  58. package/src/index.tsx +8 -4
package/CHANGELOG.md CHANGED
@@ -5,6 +5,57 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.9.0] - 2024-09-25
9
+
10
+ - Android SDK version: 11.1.0
11
+ - iOS SDK version: 6.6.0
12
+
13
+ ### React Native
14
+
15
+ #### Fixed
16
+
17
+ - Fixed incorrect path to types in package.json
18
+
19
+ #### Changed
20
+
21
+ - Improved error messages when validation of the freeRASP configuration fails
22
+
23
+ ### Android
24
+
25
+ #### Added
26
+
27
+ - Added the auditing of the internal execution for the future check optimization and overall security improvements.
28
+
29
+ #### Fixed
30
+
31
+ - Fixed native crashes (SEGFAULT errors) in `ifpip` method
32
+ - Fixed collision for command line tools (like ping) invoked without absolute path
33
+
34
+ #### Changed
35
+
36
+ - ❗️Breaking: Changed the way TalsecConfig is created, we introduced a Builder pattern to make the process more streamlined and readable
37
+ - Updated OpenSSL to version 3.0.14
38
+ - Updated CURL to version 8.8.0
39
+ - Refactored fetching the list of installed applications for root and hook detection.
40
+
41
+ ### iOS
42
+
43
+ #### Added
44
+
45
+ - [Dopamine](https://github.com/opa334/Dopamine) jailbreak detection.
46
+
47
+ #### Changed
48
+
49
+ - Updated OpenSSL to version 3.0.14
50
+ - Updated CURL to version 8.8.0
51
+
52
+ ## [3.8.2] - 2024-09-02
53
+
54
+ ### React Native
55
+
56
+ #### Fixed
57
+ - Updated proguard rules to resolve build issues in RN 0.75.x
58
+
8
59
  ## [3.8.1] - 2024-06-19
9
60
 
10
61
  ### React Native
@@ -22,13 +73,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
73
  ### Android
23
74
 
24
75
  - ⚡ Added new threat `devMode` for Developer mode detection
25
- - ⚡ Enhanced and accelerated the data collection logic
26
76
  - ⚡ Fixed proguard warning in specific versions of RN
27
77
  - ⚡ Fixed issue with Arabic alphabet in logs caused by the device’s default system locale
28
78
  - ✔️ Increased the version of the GMS dependency
29
79
  - ✔️ Updated CA bundle
30
80
 
31
81
  ### iOS
82
+ - ⚡ Enhanced and accelerated the data collection logic
32
83
  - ⚡ Fixed issue with Arabic alphabet in logs caused by the device’s default system locale
33
84
  - ⚡ Passcode check is now periodical
34
85
  - ✔️ Updated CA bundle