freerasp-react-native 3.7.2 → 3.8.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 (67) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +10 -0
  3. package/android/build.gradle +2 -1
  4. package/android/proguard-rules.pro +1 -0
  5. package/android/src/main/java/com/freeraspreactnative/FreeraspThreatHandler.kt +8 -0
  6. package/android/src/main/java/com/freeraspreactnative/Threat.kt +5 -2
  7. package/example/index.d.ts +1 -0
  8. package/example/ios/FreeraspReactNativeExample.xcodeproj/project.pbxproj +15 -0
  9. package/example/package.json +8 -3
  10. package/example/src/App.tsx +18 -0
  11. package/example/src/checks.ts +10 -6
  12. package/example/yarn.lock +1167 -1770
  13. package/ios/FreeraspReactNative.swift +23 -18
  14. package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
  15. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  16. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  17. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +93 -93
  18. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
  19. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  20. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
  21. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +7 -7
  22. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +4 -4
  23. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
  24. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +1 -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 +214 -77
  27. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
  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 +1 -0
  30. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  31. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +909 -464
  32. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  33. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  34. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +7 -7
  35. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +4 -4
  36. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
  37. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  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 +214 -77
  40. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
  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 +1 -0
  43. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +214 -77
  44. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
  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 +1 -0
  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 +35 -35
  49. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +909 -464
  50. package/lib/commonjs/definitions.js +3 -1
  51. package/lib/commonjs/definitions.js.map +1 -1
  52. package/lib/commonjs/index.js +7 -1
  53. package/lib/commonjs/index.js.map +1 -1
  54. package/lib/module/definitions.js +3 -1
  55. package/lib/module/definitions.js.map +1 -1
  56. package/lib/module/index.js +7 -1
  57. package/lib/module/index.js.map +1 -1
  58. package/lib/typescript/plugin/src/index.d.ts +1 -1
  59. package/lib/typescript/plugin/src/index.d.ts.map +1 -1
  60. package/lib/typescript/src/definitions.d.ts +4 -0
  61. package/lib/typescript/src/definitions.d.ts.map +1 -1
  62. package/lib/typescript/src/index.d.ts +1 -1
  63. package/lib/typescript/src/index.d.ts.map +1 -1
  64. package/package.json +8 -17
  65. package/plugin/build/index.d.ts +1 -1
  66. package/src/definitions.ts +7 -0
  67. package/src/index.tsx +8 -2
@@ -16,7 +16,7 @@
16
16
  #include <unistd.h>
17
17
  #include <string.h>
18
18
 
19
- struct NCmNqRjCrtmp {
19
+ struct DyBryTsKEcdk {
20
20
  char *memory;
21
21
  size_t size;
22
22
  CURLcode ret;
@@ -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 __pzeFkLZXYzJqCjNEZXxLjmz(void);
284
+ SWIFT_EXTERN void __XNgzBIgNuEcWxKFwoXGoImx(void);
285
285
 
286
286
  #endif
287
287
  #if defined(__cplusplus)
@@ -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 __pzeFkLZXYzJqCjNEZXxLjmz(void);
577
+ SWIFT_EXTERN void __XNgzBIgNuEcWxKFwoXGoImx(void);
578
578
 
579
579
  #endif
580
580
  #if defined(__cplusplus)
@@ -787,11 +787,11 @@ typedef enum {
787
787
  *
788
788
  * CURLAUTH_NONE - No HTTP authentication
789
789
  * CURLAUTH_BASIC - HTTP Basic authentication (default)
790
- * CURLAUTH_DIGEST - HTTP DiMMyt authentication
790
+ * CURLAUTH_DIGEST - HTTP DisfLt authentication
791
791
  * CURLAUTH_NEGOTIATE - HTTP Negotiate (SPNEGO) authentication
792
792
  * CURLAUTH_GSSNEGOTIATE - Alias for CURLAUTH_NEGOTIATE (deprecated)
793
793
  * CURLAUTH_NTLM - HTTP NTLM authentication
794
- * CURLAUTH_DIGEST_IE - HTTP DiMMyt authentication with IE flavour
794
+ * CURLAUTH_DIGEST_IE - HTTP DisfLt authentication with IE flavour
795
795
  * CURLAUTH_NTLM_WB - HTTP NTLM authentication delegated to winbind helper
796
796
  * CURLAUTH_BEARER - HTTP Bearer token authentication
797
797
  * CURLAUTH_ONLY - Use together with a single other type to force no
@@ -1120,7 +1120,7 @@ typedef enum {
1120
1120
  /* Specified file stream to upload from (use as input): */
1121
1121
  CURLOPT(CURLOPT_READDATA, CURLOPTTYPE_CBPOINT, 9),
1122
1122
 
1123
- /* Buffer to receive error messaMMy in, must be at least CURL_ERROR_SIZE
1123
+ /* Buffer to receive error messasfL in, must be at least CURL_ERROR_SIZE
1124
1124
  * bytes big. */
1125
1125
  CURLOPT(CURLOPT_ERRORBUFFER, CURLOPTTYPE_OBJECTPOINT, 10),
1126
1126
 
@@ -1500,7 +1500,7 @@ typedef enum {
1500
1500
  Note that setting multiple bits may cause extra network round-trips. */
1501
1501
  CURLOPT(CURLOPT_PROXYAUTH, CURLOPTTYPE_VALUES, 111),
1502
1502
 
1503
- /* Option that chanMMy the timeout, in seconds, associated with getting a
1503
+ /* Option that chansfL the timeout, in seconds, associated with getting a
1504
1504
  response. This is different from transfer timeout time and essentially
1505
1505
  places a demand on the server to acknowledge commands in a timely
1506
1506
  manner. For FTP, SMTP, IMAP and POP3. */
@@ -3045,7 +3045,7 @@ typedef enum {
3045
3045
  /* The 'CURLVERSION_NOW' is the symbolic name meant to be used by
3046
3046
  basically all programs ever that want to get version information. It is
3047
3047
  meant to be a built-in version number for what kind of struct the caller
3048
- expects. If the struct ever chanMMy, we redefine the NOW to another enum
3048
+ expects. If the struct ever chansfL, we redefine the NOW to another enum
3049
3049
  from above. */
3050
3050
  #define CURLVERSION_NOW CURLVERSION_ELEVENTH
3051
3051
 
@@ -3164,7 +3164,7 @@ CURL_EXTERN curl_version_info_data *curl_version_info(CURLversion);
3164
3164
  *
3165
3165
  * The curl_easy_strerror function may be used to turn a CURLcode value
3166
3166
  * into the equivalent human readable error string. This is useful
3167
- * for printing meaningful error messaMMy.
3167
+ * for printing meaningful error messasfL.
3168
3168
  */
3169
3169
  CURL_EXTERN const char *curl_easy_strerror(CURLcode);
3170
3170
 
@@ -3175,7 +3175,7 @@ CURL_EXTERN const char *curl_easy_strerror(CURLcode);
3175
3175
  *
3176
3176
  * The curl_share_strerror function may be used to turn a CURLSHcode value
3177
3177
  * into the equivalent human readable error string. This is useful
3178
- * for printing meaningful error messaMMy.
3178
+ * for printing meaningful error messasfL.
3179
3179
  */
3180
3180
  CURL_EXTERN const char *curl_share_strerror(CURLSHcode);
3181
3181
 
@@ -236,8 +236,8 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
236
236
  /*
237
237
  * Name: curl_multi_info_read()
238
238
  *
239
- * Desc: Ask the multi handle if there's any messaMMy/informationals from
240
- * the individual transfers. MessaMMy include informationals such as
239
+ * Desc: Ask the multi handle if there's any messasfL/informationals from
240
+ * the individual transfers. MessasfL include informationals such as
241
241
  * error code from the transfer or just the fact that a transfer is
242
242
  * completed. More details on these should be written down as well.
243
243
  *
@@ -257,7 +257,7 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
257
257
  * undoubtably get backwards compatibility problems in the future.
258
258
  *
259
259
  * Returns: A pointer to a filled-in struct, or NULL if it failed or ran out
260
- * of structs. It also writes the number of messaMMy left in the
260
+ * of structs. It also writes the number of messasfL left in the
261
261
  * queue (after this read) in the integer the second argument points
262
262
  * to.
263
263
  */
@@ -269,7 +269,7 @@ CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
269
269
  *
270
270
  * Desc: The curl_multi_strerror function may be used to turn a CURLMcode
271
271
  * value into the equivalent human readable error string. This is
272
- * useful for printing meaningful error messaMMy.
272
+ * useful for printing meaningful error messasfL.
273
273
  *
274
274
  * Returns: A pointer to a null-terminated error message.
275
275
  */
@@ -46,7 +46,7 @@ typedef enum {
46
46
  we prefer another name */
47
47
  #define CURLOT_FLAG_ALIAS (1<<0)
48
48
 
49
- /* The CURLOPTTYPE_* id ranMMy can still be used to figure out what type/size
49
+ /* The CURLOPTTYPE_* id ransfL can still be used to figure out what type/size
50
50
  to use for curl_easy_setopt() for the given id */
51
51
  struct curl_easyoption {
52
52
  const char *name;
@@ -139,7 +139,7 @@ CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what,
139
139
  /*
140
140
  * curl_url_strerror() turns a CURLUcode value into the equivalent human
141
141
  * readable error string. This is useful for printing meaningful error
142
- * messaMMy.
142
+ * messasfL.
143
143
  */
144
144
  CURL_EXTERN const char *curl_url_strerror(CURLUcode);
145
145