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.
- package/CHANGELOG.md +19 -0
- package/README.md +10 -0
- package/android/build.gradle +2 -1
- package/android/proguard-rules.pro +1 -0
- package/android/src/main/java/com/freeraspreactnative/FreeraspThreatHandler.kt +8 -0
- package/android/src/main/java/com/freeraspreactnative/Threat.kt +5 -2
- package/example/index.d.ts +1 -0
- package/example/ios/FreeraspReactNativeExample.xcodeproj/project.pbxproj +15 -0
- package/example/package.json +8 -3
- package/example/src/App.tsx +18 -0
- package/example/src/checks.ts +10 -6
- package/example/yarn.lock +1167 -1770
- package/ios/FreeraspReactNative.swift +23 -18
- package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +93 -93
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +7 -7
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +4 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +214 -77
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +909 -464
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +7 -7
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +4 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +214 -77
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +214 -77
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +35 -35
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +909 -464
- package/lib/commonjs/definitions.js +3 -1
- package/lib/commonjs/definitions.js.map +1 -1
- package/lib/commonjs/index.js +7 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/definitions.js +3 -1
- package/lib/module/definitions.js.map +1 -1
- package/lib/module/index.js +7 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/plugin/src/index.d.ts +1 -1
- package/lib/typescript/plugin/src/index.d.ts.map +1 -1
- package/lib/typescript/src/definitions.d.ts +4 -0
- package/lib/typescript/src/definitions.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +8 -17
- package/plugin/build/index.d.ts +1 -1
- package/src/definitions.ts +7 -0
- package/src/index.tsx +8 -2
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
240
|
-
* the individual transfers.
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
142
|
+
* messasfL.
|
|
143
143
|
*/
|
|
144
144
|
CURL_EXTERN const char *curl_url_strerror(CURLUcode);
|
|
145
145
|
|