freerasp-react-native 3.4.0 → 3.6.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 (53) hide show
  1. package/README.md +13 -19
  2. package/android/build.gradle +3 -2
  3. package/android/gradle.properties +2 -1
  4. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +58 -48
  5. package/android/src/main/java/com/freeraspreactnative/FreeraspThreatHandler.kt +52 -0
  6. package/android/src/main/java/com/freeraspreactnative/Threat.kt +44 -0
  7. package/ios/FreeraspReactNative.m +8 -1
  8. package/ios/FreeraspReactNative.swift +82 -13
  9. package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
  10. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  11. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  12. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  13. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +142 -160
  14. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -2
  15. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  16. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +3 -2
  17. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  18. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  19. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +4 -4
  20. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  21. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +142 -160
  22. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -2
  23. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  24. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -2
  25. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +142 -160
  26. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -2
  27. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  28. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -2
  29. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  30. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +25 -25
  31. package/lib/commonjs/definitions.js +32 -0
  32. package/lib/commonjs/definitions.js.map +1 -0
  33. package/lib/commonjs/index.js +83 -20
  34. package/lib/commonjs/index.js.map +1 -1
  35. package/lib/commonjs/utils.js +16 -0
  36. package/lib/commonjs/utils.js.map +1 -0
  37. package/lib/module/definitions.js +25 -0
  38. package/lib/module/definitions.js.map +1 -0
  39. package/lib/module/index.js +84 -21
  40. package/lib/module/index.js.map +1 -1
  41. package/lib/module/utils.js +8 -0
  42. package/lib/module/utils.js.map +1 -0
  43. package/lib/typescript/definitions.d.ts +43 -0
  44. package/lib/typescript/definitions.d.ts.map +1 -0
  45. package/lib/typescript/index.d.ts +3 -32
  46. package/lib/typescript/index.d.ts.map +1 -1
  47. package/lib/typescript/utils.d.ts +3 -0
  48. package/lib/typescript/utils.d.ts.map +1 -0
  49. package/package.json +1 -1
  50. package/src/definitions.ts +77 -0
  51. package/src/index.tsx +93 -60
  52. package/src/utils.ts +9 -0
  53. package/android/src/main/java/com/freeraspreactnative/FreeraspDeviceStateListener.kt +0 -25
@@ -1,7 +1,8 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
3
- // swift-module-flags: -target arm64-apple-ios11.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
2
+ // swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
3
+ // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
4
4
  // swift-module-flags-ignorable: -enable-bare-slash-regex
5
+ import CryptoKit
5
6
  import Foundation
6
7
  import LocalAuthentication
7
8
  import TalsecRuntime.Private
@@ -1,7 +1,8 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
3
- // swift-module-flags: -target arm64-apple-ios11.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
2
+ // swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
3
+ // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
4
4
  // swift-module-flags-ignorable: -enable-bare-slash-regex
5
+ import CryptoKit
5
6
  import Foundation
6
7
  import LocalAuthentication
7
8
  import TalsecRuntime.Private
@@ -16,7 +16,7 @@
16
16
  #include <unistd.h>
17
17
  #include <string.h>
18
18
 
19
- struct MRBKHkNLymuB {
19
+ struct IJEoyzefwvew {
20
20
  char *memory;
21
21
  size_t size;
22
22
  CURLcode ret;
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
3
+ // Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
4
4
  #ifndef TALSECRUNTIME_SWIFT_H
5
5
  #define TALSECRUNTIME_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -281,7 +281,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
281
281
 
282
282
  #if defined(__OBJC__)
283
283
 
284
- SWIFT_EXTERN void __gEpMdsSyQvqeuMjBPsfuvPt(void);
284
+ SWIFT_EXTERN void __FlQXVgtWTdusubZZgVYGfrP(void);
285
285
 
286
286
  #endif
287
287
  #if defined(__cplusplus)
@@ -293,7 +293,7 @@ SWIFT_EXTERN void __gEpMdsSyQvqeuMjBPsfuvPt(void);
293
293
  #endif
294
294
 
295
295
  #elif defined(__x86_64__) && __x86_64__
296
- // Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
296
+ // Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
297
297
  #ifndef TALSECRUNTIME_SWIFT_H
298
298
  #define TALSECRUNTIME_SWIFT_H
299
299
  #pragma clang diagnostic push
@@ -574,7 +574,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
574
574
 
575
575
  #if defined(__OBJC__)
576
576
 
577
- SWIFT_EXTERN void __gEpMdsSyQvqeuMjBPsfuvPt(void);
577
+ SWIFT_EXTERN void __FlQXVgtWTdusubZZgVYGfrP(void);
578
578
 
579
579
  #endif
580
580
  #if defined(__cplusplus)