freerasp-react-native 2.0.2 → 3.0.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 (42) hide show
  1. package/README.md +62 -39
  2. package/android/build.gradle +7 -3
  3. package/android/gradle.properties +1 -1
  4. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +4 -0
  5. package/example/android/app/build.gradle +9 -1
  6. package/example/android/build.gradle +1 -1
  7. package/example/src/App.tsx +5 -5
  8. package/example/src/checks.ts +3 -4
  9. package/ios/FreeraspReactNative.swift +11 -8
  10. package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
  11. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  12. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +122 -47
  13. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  14. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +5248 -0
  15. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +54 -0
  16. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +3 -1
  18. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +2 -2
  19. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  20. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  21. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +234 -94
  22. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  23. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +5213 -0
  24. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +54 -0
  25. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  26. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -1
  27. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +5213 -0
  28. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +54 -0
  29. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  30. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -1
  31. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +2 -2
  32. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  33. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +63 -19
  34. package/lib/commonjs/index.js +3 -0
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/module/index.js +4 -1
  37. package/lib/module/index.js.map +1 -1
  38. package/lib/typescript/index.d.ts +1 -1
  39. package/lib/typescript/index.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/src/index.tsx +5 -1
  42. package/example/ios/Podfile.lock +0 -590
@@ -1,4 +1,6 @@
1
- // Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
1
+ #if 0
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)
2
4
  #ifndef TALSECRUNTIME_SWIFT_H
3
5
  #define TALSECRUNTIME_SWIFT_H
4
6
  #pragma clang diagnostic push
@@ -22,10 +24,32 @@
22
24
  #endif
23
25
 
24
26
  #pragma clang diagnostic ignored "-Wauto-import"
27
+ #if defined(__OBJC__)
25
28
  #include <Foundation/Foundation.h>
29
+ #endif
30
+ #if defined(__cplusplus)
31
+ #include <cstdint>
32
+ #include <cstddef>
33
+ #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
38
+ #else
26
39
  #include <stdint.h>
27
40
  #include <stddef.h>
28
41
  #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #if __has_include(<ptrauth.h>)
46
+ # include <ptrauth.h>
47
+ #else
48
+ # ifndef __ptrauth_swift_value_witness_function_pointer
49
+ # define __ptrauth_swift_value_witness_function_pointer(x)
50
+ # endif
51
+ #endif
52
+ #endif
29
53
 
30
54
  #if !defined(SWIFT_TYPEDEFS)
31
55
  # define SWIFT_TYPEDEFS 1
@@ -60,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
60
84
  # if __has_feature(objc_class_property)
61
85
  # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
62
86
  # else
63
- # define SWIFT_CLASS_PROPERTY(...)
87
+ # define SWIFT_CLASS_PROPERTY(...)
64
88
  # endif
65
89
  #endif
66
-
67
- #if __has_attribute(objc_runtime_name)
68
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
69
- #else
70
- # define SWIFT_RUNTIME_NAME(X)
90
+ #if !defined(SWIFT_RUNTIME_NAME)
91
+ # if __has_attribute(objc_runtime_name)
92
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
93
+ # else
94
+ # define SWIFT_RUNTIME_NAME(X)
95
+ # endif
71
96
  #endif
72
- #if __has_attribute(swift_name)
73
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
74
- #else
75
- # define SWIFT_COMPILE_NAME(X)
97
+ #if !defined(SWIFT_COMPILE_NAME)
98
+ # if __has_attribute(swift_name)
99
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
100
+ # else
101
+ # define SWIFT_COMPILE_NAME(X)
102
+ # endif
76
103
  #endif
77
- #if __has_attribute(objc_method_family)
78
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
79
- #else
80
- # define SWIFT_METHOD_FAMILY(X)
104
+ #if !defined(SWIFT_METHOD_FAMILY)
105
+ # if __has_attribute(objc_method_family)
106
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
107
+ # else
108
+ # define SWIFT_METHOD_FAMILY(X)
109
+ # endif
81
110
  #endif
82
- #if __has_attribute(noescape)
83
- # define SWIFT_NOESCAPE __attribute__((noescape))
84
- #else
85
- # define SWIFT_NOESCAPE
111
+ #if !defined(SWIFT_NOESCAPE)
112
+ # if __has_attribute(noescape)
113
+ # define SWIFT_NOESCAPE __attribute__((noescape))
114
+ # else
115
+ # define SWIFT_NOESCAPE
116
+ # endif
86
117
  #endif
87
- #if __has_attribute(ns_consumed)
88
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
89
- #else
90
- # define SWIFT_RELEASES_ARGUMENT
118
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
119
+ # if __has_attribute(ns_consumed)
120
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
121
+ # else
122
+ # define SWIFT_RELEASES_ARGUMENT
123
+ # endif
91
124
  #endif
92
- #if __has_attribute(warn_unused_result)
93
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
94
- #else
95
- # define SWIFT_WARN_UNUSED_RESULT
125
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
126
+ # if __has_attribute(warn_unused_result)
127
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
128
+ # else
129
+ # define SWIFT_WARN_UNUSED_RESULT
130
+ # endif
96
131
  #endif
97
- #if __has_attribute(noreturn)
98
- # define SWIFT_NORETURN __attribute__((noreturn))
99
- #else
100
- # define SWIFT_NORETURN
132
+ #if !defined(SWIFT_NORETURN)
133
+ # if __has_attribute(noreturn)
134
+ # define SWIFT_NORETURN __attribute__((noreturn))
135
+ # else
136
+ # define SWIFT_NORETURN
137
+ # endif
101
138
  #endif
102
139
  #if !defined(SWIFT_CLASS_EXTRA)
103
- # define SWIFT_CLASS_EXTRA
140
+ # define SWIFT_CLASS_EXTRA
104
141
  #endif
105
142
  #if !defined(SWIFT_PROTOCOL_EXTRA)
106
- # define SWIFT_PROTOCOL_EXTRA
143
+ # define SWIFT_PROTOCOL_EXTRA
107
144
  #endif
108
145
  #if !defined(SWIFT_ENUM_EXTRA)
109
- # define SWIFT_ENUM_EXTRA
146
+ # define SWIFT_ENUM_EXTRA
110
147
  #endif
111
148
  #if !defined(SWIFT_CLASS)
112
149
  # if __has_attribute(objc_subclassing_restricted)
@@ -126,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
126
163
  # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127
164
  # endif
128
165
  #endif
129
-
130
166
  #if !defined(SWIFT_PROTOCOL)
131
167
  # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132
168
  # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133
169
  #endif
134
-
135
170
  #if !defined(SWIFT_EXTENSION)
136
171
  # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137
172
  #endif
138
-
139
173
  #if !defined(OBJC_DESIGNATED_INITIALIZER)
140
174
  # if __has_attribute(objc_designated_initializer)
141
175
  # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142
176
  # else
143
- # define OBJC_DESIGNATED_INITIALIZER
177
+ # define OBJC_DESIGNATED_INITIALIZER
144
178
  # endif
145
179
  #endif
146
180
  #if !defined(SWIFT_ENUM_ATTR)
147
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
181
+ # if __has_attribute(enum_extensibility)
148
182
  # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149
183
  # else
150
- # define SWIFT_ENUM_ATTR(_extensibility)
184
+ # define SWIFT_ENUM_ATTR(_extensibility)
151
185
  # endif
152
186
  #endif
153
187
  #if !defined(SWIFT_ENUM)
@@ -176,13 +210,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
176
210
  #if !defined(SWIFT_DEPRECATED_MSG)
177
211
  # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178
212
  #endif
179
- #if __has_feature(attribute_diagnose_if_objc)
180
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
181
- #else
182
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
213
+ #if !defined(SWIFT_DEPRECATED_OBJC)
214
+ # if __has_feature(attribute_diagnose_if_objc)
215
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
216
+ # else
217
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
218
+ # endif
183
219
  #endif
220
+ #if defined(__OBJC__)
184
221
  #if !defined(IBSegueAction)
185
- # define IBSegueAction
222
+ # define IBSegueAction
223
+ #endif
186
224
  #endif
187
225
  #if !defined(SWIFT_EXTERN)
188
226
  # if defined(__cplusplus)
@@ -191,12 +229,40 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
191
229
  # define SWIFT_EXTERN extern
192
230
  # endif
193
231
  #endif
194
- #if __has_feature(modules)
232
+ #if !defined(SWIFT_CALL)
233
+ # define SWIFT_CALL __attribute__((swiftcall))
234
+ #endif
235
+ #if !defined(SWIFT_INDIRECT_RESULT)
236
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
237
+ #endif
238
+ #if !defined(SWIFT_CONTEXT)
239
+ # define SWIFT_CONTEXT __attribute__((swift_context))
240
+ #endif
241
+ #if !defined(SWIFT_ERROR_RESULT)
242
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
243
+ #endif
244
+ #if defined(__cplusplus)
245
+ # define SWIFT_NOEXCEPT noexcept
246
+ #else
247
+ # define SWIFT_NOEXCEPT
248
+ #endif
249
+ #if defined(_WIN32)
250
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
251
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
252
+ #endif
253
+ #else
254
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
255
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
256
+ #endif
257
+ #endif
258
+ #if defined(__OBJC__)
259
+ #if __has_feature(objc_modules)
195
260
  #if __has_warning("-Watimport-in-framework-header")
196
261
  #pragma clang diagnostic ignored "-Watimport-in-framework-header"
197
262
  #endif
198
263
  #endif
199
264
 
265
+ #endif
200
266
  #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
201
267
  #pragma clang diagnostic ignored "-Wduplicate-method-arg"
202
268
  #if __has_warning("-Wpragma-clang-attribute")
@@ -204,6 +270,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
204
270
  #endif
205
271
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
206
272
  #pragma clang diagnostic ignored "-Wnullability"
273
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
207
274
 
208
275
  #if __has_attribute(external_source_symbol)
209
276
  # pragma push_macro("any")
@@ -212,11 +279,19 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
212
279
  # pragma pop_macro("any")
213
280
  #endif
214
281
 
282
+ #if defined(__OBJC__)
215
283
 
216
- SWIFT_EXTERN void __UAEjWMMMrsiAVWBJDVKWmuV(void);
284
+ SWIFT_EXTERN void __vOXbpNRhpnChjnGnjZhWdRZ(void);
217
285
 
286
+ #endif
287
+ #if defined(__cplusplus)
288
+ #endif
218
289
  #if __has_attribute(external_source_symbol)
219
290
  # pragma clang attribute pop
220
291
  #endif
221
292
  #pragma clang diagnostic pop
222
293
  #endif
294
+
295
+ #else
296
+ #error unsupported Swift architecture
297
+ #endif