freerasp-react-native 3.3.1 → 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 +17 -23
  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-simulator -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-simulator -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-simulator -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-simulator -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