freerasp-react-native 6.0.0 → 6.1.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 (63) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/ios/FreeraspReactNative.swift +11 -4
  3. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  4. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +88 -88
  5. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
  6. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  7. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  8. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +292 -265
  9. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +10 -11
  10. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +4 -6
  11. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h +9 -9
  12. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +147 -112
  13. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
  14. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +14 -23
  15. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/typecheck-gcc.h +420 -403
  16. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +29 -28
  17. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h +10 -10
  18. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  19. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +563 -312
  20. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +10 -3
  21. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  22. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +10 -3
  23. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  24. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/_CodeSignature/CodeResources +35 -35
  25. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +483 -1088
  26. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  27. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +4 -4
  28. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +292 -265
  29. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +10 -11
  30. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +4 -6
  31. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h +9 -9
  32. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +147 -112
  33. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
  34. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +14 -23
  35. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/typecheck-gcc.h +420 -403
  36. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +29 -28
  37. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h +10 -10
  38. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  39. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +548 -297
  40. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +10 -3
  41. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  42. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +10 -3
  43. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +548 -297
  44. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +10 -3
  45. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  46. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +10 -3
  47. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  48. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +43 -43
  49. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +483 -1088
  50. package/ios/TalsecRuntimePackage/Package.swift +2 -2
  51. package/ios/dispatchers/ExecutionStateDispatcher.swift +4 -3
  52. package/ios/models/RaspExecutionStates.swift +8 -1
  53. package/ios/utils/EventIdentifiers.swift +2 -2
  54. package/lib/commonjs/models/raspExecutionState.js +1 -2
  55. package/lib/commonjs/models/raspExecutionState.js.map +1 -1
  56. package/lib/module/models/raspExecutionState.js +1 -2
  57. package/lib/module/models/raspExecutionState.js.map +1 -1
  58. package/lib/typescript/src/models/raspExecutionState.d.ts.map +1 -1
  59. package/lib/typescript/src/types/types.d.ts +5 -7
  60. package/lib/typescript/src/types/types.d.ts.map +1 -1
  61. package/package.json +1 -1
  62. package/src/models/raspExecutionState.ts +5 -9
  63. package/src/types/types.ts +5 -7
package/CHANGELOG.md CHANGED
@@ -5,6 +5,39 @@ 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
+ ## [6.1.0] - 2026-11-20
9
+
10
+ - Android SDK version: 20.0.1
11
+ - iOS SDK version: 9.0.0
12
+
13
+ ### React Native
14
+
15
+ #### Changed
16
+
17
+ - `criticalChecksFinished` and `postponedChecksFinished` RASP execution state actions are now also triggered on iOS
18
+ - On iOS, `fastChecksFinished` is triggered when the fast checks are completed, while the postponed checks may still run, the same as on Android
19
+
20
+ ### iOS
21
+
22
+ #### Added
23
+
24
+ - Improved app integrity detection.
25
+
26
+ #### Changed
27
+
28
+ - Improved jailbreak detection.
29
+ - Updated CA bundle.
30
+ - Updated `OpenSSL` dependency to `3.5.8`.
31
+ - Updated `curl` dependency to `8.22.0`.
32
+ - Reduced the SDK size.
33
+
34
+ #### Fixed
35
+
36
+ - Fixed crash in frida port scanning.
37
+ - Fixed stack overflow crash when `blockScreenCapture` is enabled.
38
+ - Fixed missing app integrity detection details in logs for builds with a provisioning profile.
39
+ - Fixed placement of app integrity certificate details in logs.
40
+
8
41
  ## [6.0.0] - 2026-11-11
9
42
 
10
43
  - Android SDK version: 20.0.1
@@ -92,13 +92,13 @@ class FreeraspReactNative: RCTEventEmitter {
92
92
 
93
93
  @objc(storeExternalId:withResolver:withRejecter:)
94
94
  private func storeExternalId(externalId: String, resolve: RCTPromiseResolveBlock, rejecter reject: RCTPromiseRejectBlock) -> Void {
95
- UserDefaults.standard.set(externalId, forKey: "app.talsec.externalid")
95
+ Talsec.storeExternalId(externalId: externalId)
96
96
  resolve("OK - Store external ID")
97
97
  }
98
98
 
99
99
  @objc(removeExternalId:withRejecter:)
100
100
  private func removeExternalId(resolve: RCTPromiseResolveBlock, rejecter reject: RCTPromiseRejectBlock) -> Void {
101
- UserDefaults.standard.removeObject(forKey: "app.talsec.externalid")
101
+ Talsec.removeExternalId()
102
102
  resolve("OK - External ID removed")
103
103
  }
104
104
 
@@ -173,10 +173,17 @@ extension SecurityThreatCenter: @retroactive SecurityThreatHandler, @retroactive
173
173
  ThreatDispatcher.shared.dispatch(threat: securityThreat)
174
174
  }
175
175
 
176
- // The iOS SDK reports its standard checks as a single "all checks" event, which maps to fastChecksFinished.
177
- public func onAllChecksFinished() {
176
+ public func onCriticalChecksFinished() {
177
+ ExecutionStateDispatcher.shared.dispatch(event: RaspExecutionStates.criticalChecksFinished)
178
+ }
179
+
180
+ public func onFastChecksFinished() {
178
181
  ExecutionStateDispatcher.shared.dispatch(event: RaspExecutionStates.fastChecksFinished)
179
182
  }
183
+
184
+ public func onPostponedChecksFinished() {
185
+ ExecutionStateDispatcher.shared.dispatch(event: RaspExecutionStates.postponedChecksFinished)
186
+ }
180
187
  }
181
188
 
182
189