freerasp-react-native 1.1.0 → 2.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 (104) hide show
  1. package/README.md +85 -104
  2. package/android/build.gradle +8 -5
  3. package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +15 -3
  4. package/example/android/build.gradle +0 -3
  5. package/example/ios/FreeraspReactNativeExample.xcodeproj/project.pbxproj +4 -2
  6. package/example/ios/FreeraspReactNativeExample.xcodeproj/xcshareddata/xcschemes/FreeraspReactNativeExample.xcscheme +1 -19
  7. package/example/ios/Podfile.lock +1 -1
  8. package/example/src/App.tsx +12 -11
  9. package/freerasp-react-native.podspec +1 -1
  10. package/ios/FreeraspReactNative.swift +16 -11
  11. package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator → TalsecRuntime.xcframework/ios-arm64}/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  12. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
  13. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  14. package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +2 -1
  15. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  16. package/ios/{Release/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  17. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  18. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  19. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -1
  20. package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -1
  21. package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  22. package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +13 -13
  23. package/lib/commonjs/index.js.map +1 -1
  24. package/lib/module/index.js.map +1 -1
  25. package/lib/typescript/index.d.ts +16 -15
  26. package/lib/typescript/index.d.ts.map +1 -1
  27. package/package.json +1 -1
  28. package/src/index.tsx +16 -15
  29. package/ios/Debug/TalsecRuntime.xcframework/Info.plist +0 -40
  30. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +0 -25
  31. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +0 -222
  32. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  33. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  34. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +0 -450
  35. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  36. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -51
  37. package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  38. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +0 -14
  39. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +0 -23
  40. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +0 -3029
  41. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +0 -77
  42. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +0 -123
  43. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +0 -50
  44. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +0 -456
  45. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +0 -68
  46. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +0 -33
  47. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +0 -504
  48. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +0 -125
  49. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  50. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +0 -51
  51. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +0 -17
  52. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/cacert.pem +0 -3154
  53. package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/module.modulemap +0 -12
  54. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +0 -14
  55. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +0 -25
  56. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +0 -23
  57. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +0 -3029
  58. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +0 -77
  59. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +0 -123
  60. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +0 -50
  61. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +0 -456
  62. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +0 -68
  63. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +0 -33
  64. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +0 -504
  65. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +0 -125
  66. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  67. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  68. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -51
  69. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +0 -17
  70. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +0 -344
  71. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +0 -3154
  72. package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +0 -12
  73. /package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/Info.plist +0 -0
  74. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +0 -0
  75. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +0 -0
  76. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/curl.h +0 -0
  77. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +0 -0
  78. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/easy.h +0 -0
  79. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +0 -0
  80. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/multi.h +0 -0
  81. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/options.h +0 -0
  82. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +0 -0
  83. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/system.h +0 -0
  84. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +0 -0
  85. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  86. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +0 -0
  87. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/cacert.pem +0 -0
  88. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/module.modulemap +0 -0
  89. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +0 -0
  90. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +0 -0
  91. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +0 -0
  92. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +0 -0
  93. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +0 -0
  94. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +0 -0
  95. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +0 -0
  96. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +0 -0
  97. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +0 -0
  98. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +0 -0
  99. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +0 -0
  100. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  101. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  102. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +0 -0
  103. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +0 -0
  104. /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +0 -0
@@ -215,7 +215,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
215
215
  #endif
216
216
 
217
217
 
218
- SWIFT_EXTERN void __rlcIIALfXLFTiZtCZbETeyK(void);
218
+ SWIFT_EXTERN void __UAEjWMMMrsiAVWBJDVKWmuV(void);
219
219
 
220
220
  #if __has_attribute(external_source_symbol)
221
221
  # pragma clang attribute pop
@@ -439,7 +439,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
439
439
  #endif
440
440
 
441
441
 
442
- SWIFT_EXTERN void __rlcIIALfXLFTiZtCZbETeyK(void);
442
+ SWIFT_EXTERN void __UAEjWMMMrsiAVWBJDVKWmuV(void);
443
443
 
444
444
  #if __has_attribute(external_source_symbol)
445
445
  # pragma clang attribute pop
@@ -19,7 +19,8 @@ public struct TalsecConfig {
19
19
  public let appBundleIds: [Swift.String]
20
20
  public let appTeamId: Swift.String
21
21
  public let watcherMailAddress: Swift.String?
22
- public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?)
22
+ public let isProd: Swift.Bool?
23
+ public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?, isProd: Swift.Bool? = true)
23
24
  }
24
25
  @_hasMissingDesignatedInitializers public class Talsec {
25
26
  public static func start(config: TalsecRuntime.TalsecConfig)
@@ -19,7 +19,8 @@ public struct TalsecConfig {
19
19
  public let appBundleIds: [Swift.String]
20
20
  public let appTeamId: Swift.String
21
21
  public let watcherMailAddress: Swift.String?
22
- public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?)
22
+ public let isProd: Swift.Bool?
23
+ public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?, isProd: Swift.Bool? = true)
23
24
  }
24
25
  @_hasMissingDesignatedInitializers public class Talsec {
25
26
  public static func start(config: TalsecRuntime.TalsecConfig)
@@ -10,11 +10,11 @@
10
10
  </data>
11
11
  <key>Headers/CurlWrapper.h</key>
12
12
  <data>
13
- ICqGwn3VbwYE732OSIefCOePbZ4=
13
+ aVDfFeJmOoEmC06invl+oX6pn7E=
14
14
  </data>
15
15
  <key>Headers/TalsecRuntime-Swift.h</key>
16
16
  <data>
17
- iuCjjaDQFO/4acwOW0ltVLQn0Vo=
17
+ UJi1GiFqdFjuV5Pre9nquyebNxQ=
18
18
  </data>
19
19
  <key>Headers/TalsecRuntime_iOS.h</key>
20
20
  <data>
@@ -58,7 +58,7 @@
58
58
  </data>
59
59
  <key>Info.plist</key>
60
60
  <data>
61
- 3zU1Ce0KYONYrxaR9soFItn/jco=
61
+ ohmx87cMwBslhcm4scfb20TStEw=
62
62
  </data>
63
63
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
64
64
  <data>
@@ -66,11 +66,11 @@
66
66
  </data>
67
67
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
68
68
  <data>
69
- SiXUBIZsFShGLEKzPhY3pIHWI7k=
69
+ uG8NIHd23VA55F2bpykt8K+2Q9E=
70
70
  </data>
71
71
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
72
72
  <data>
73
- AVS0jLxPC0kvAuZ94KNNfXPkJsI=
73
+ N8254rI/3jC9WwNqKvX/GitPWuY=
74
74
  </data>
75
75
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
76
76
  <data>
@@ -78,11 +78,11 @@
78
78
  </data>
79
79
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
80
80
  <data>
81
- 8tuJ/J40k7umK3MPbEGxvSB0Y/M=
81
+ M6yHRcIIYzHdS0gKK23ipzl5N7A=
82
82
  </data>
83
83
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
84
84
  <data>
85
- Josd/0/qOj0rtV9OS2fx5Jnlkeo=
85
+ mtqeBHvKNCbk3SVNx0w5sUi3I/M=
86
86
  </data>
87
87
  <key>Modules/module.modulemap</key>
88
88
  <data>
@@ -110,14 +110,14 @@
110
110
  <dict>
111
111
  <key>hash2</key>
112
112
  <data>
113
- piCTYJeCdpwZbGKZ1dJrG2WrfpagVKmbRm8FojOO2Oo=
113
+ DMxcxCX0dPfVGr0f7Qrgbz0TOcrc4OwzzPFnAZQaMmE=
114
114
  </data>
115
115
  </dict>
116
116
  <key>Headers/TalsecRuntime-Swift.h</key>
117
117
  <dict>
118
118
  <key>hash2</key>
119
119
  <data>
120
- T4foV0MyTuphvurRGlNzUUmOXwui0myW5QrsPHCChek=
120
+ Puq+tjlxnPH1s7fG2CPYKEdtnO+/V85qi9jG7SAmb7U=
121
121
  </data>
122
122
  </dict>
123
123
  <key>Headers/TalsecRuntime_iOS.h</key>
@@ -201,14 +201,14 @@
201
201
  <dict>
202
202
  <key>hash2</key>
203
203
  <data>
204
- VbpQZ87ArQQH5ZXpo0hbz1dfKWHmOSUdonwckOnGix8=
204
+ OOvSgytU7u+/ylkhEX/1SkSV7LG6F1RVfmfGn+JC3AQ=
205
205
  </data>
206
206
  </dict>
207
207
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
208
208
  <dict>
209
209
  <key>hash2</key>
210
210
  <data>
211
- NXnV5MNkyVoU6RipTg0CwrdniiV6w+Dw4TUImyReZR8=
211
+ GVvoI64lVFKQhxeLiRH4Qm0L9tCvlNCvKVCJs5D6E6c=
212
212
  </data>
213
213
  </dict>
214
214
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -222,14 +222,14 @@
222
222
  <dict>
223
223
  <key>hash2</key>
224
224
  <data>
225
- n0jUGwgfEbjzOImmmLg+9DMOjUeT8IG7ouKoDuYflHw=
225
+ +uFxCMVANKvlEm35tfVDHonkQbWzNBfMq5A6AAMNG1k=
226
226
  </data>
227
227
  </dict>
228
228
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
229
229
  <dict>
230
230
  <key>hash2</key>
231
231
  <data>
232
- SGPkKo62Rj4rDjN9/WHzY1TcFbS+fb7Ax+KzzesRVLA=
232
+ x91mDqg4t14iK+BqEbnKtRwm3OpJ1NxvncCG375az+4=
233
233
  </data>
234
234
  </dict>
235
235
  <key>Modules/module.modulemap</key>
@@ -1 +1 @@
1
- {"version":3,"names":["FreeraspReactNative","NativeModules","eventEmitter","NativeEventEmitter","activeListeners","setThreatListeners","config","push","addListener","console","log","e","warn","message","threat","action","Object","entries","removeThreatListeners","forEach","listener","remove","talsecStart","options","useFreeRasp","actions","useEffect"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA;AACA;AAmCA,MAAM;EAAEA;AAAoB,CAAC,GAAGC,0BAAa;AAE7C,MAAMC,YAAY,GAAG,IAAIC,+BAAkB,CAACH,mBAAmB,CAAC;AAChE,MAAMI,eAAsC,GAAG,EAAE;AAE1C,MAAMC,kBAAkB,GAC7BC,MAAyE,IACtE;EACHF,eAAe,CAACG,IAAI,CAClBL,YAAY,CAACM,WAAW,CAAC,SAAS,EAAE,MAAM;IACxCC,OAAO,CAACC,GAAG,CAAC,qBAAqB,CAAC;EACpC,CAAC,CAAC,CACH;EAEDN,eAAe,CAACG,IAAI,CAClBL,YAAY,CAACM,WAAW,CACtB,qBAAqB,EACpBG,CAAsB,IAAK;IAC1BF,OAAO,CAACG,IAAI,CACT,sDAAqDD,CAAC,CAACE,OAAQ,EAAC,CAClE;EACH,CAAC,CACF,CACF;EAED,KAAK,MAAM,CAACC,MAAM,EAAEC,MAAM,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACX,MAAM,CAAC,EAAE;IACrDF,eAAe,CAACG,IAAI,CAACL,YAAY,CAACM,WAAW,CAACM,MAAM,EAAEC,MAAM,CAAC,CAAC;EAChE;AACF,CAAC;AAAC;AAEK,MAAMG,qBAAqB,GAAG,MAAM;EACzCd,eAAe,CAACe,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAACC,MAAM,EAAE,CAAC;AAC1D,CAAC;AAAC;AAEK,MAAMC,WAAW,GAAIC,OAAqB,IAAW;EAC1D,OAAOvB,mBAAmB,CAACsB,WAAW,CAACC,OAAO,CAAC;AACjD,CAAC;AAAC;AAEK,MAAMC,WAAW,GAAG,CACzBlB,MAAoB,EACpBmB,OAA0E,KACvE;EACH,IAAAC,gBAAS,EAAC,MAAM;IACdrB,kBAAkB,CAACoB,OAAO,CAAC;IAC3BH,WAAW,CAAChB,MAAM,CAAC;IAEnB,OAAO,MAAM;MACXY,qBAAqB,EAAE;IACzB,CAAC;IACD;EACF,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAAC;AAAA,eAEalB,mBAAmB;AAAA"}
1
+ {"version":3,"names":["FreeraspReactNative","NativeModules","eventEmitter","NativeEventEmitter","activeListeners","setThreatListeners","config","push","addListener","console","log","e","warn","message","threat","action","Object","entries","removeThreatListeners","forEach","listener","remove","talsecStart","options","useFreeRasp","actions","useEffect"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA;AACA;AAoCA,MAAM;EAAEA;AAAoB,CAAC,GAAGC,0BAAa;AAE7C,MAAMC,YAAY,GAAG,IAAIC,+BAAkB,CAACH,mBAAmB,CAAC;AAChE,MAAMI,eAAsC,GAAG,EAAE;AAE1C,MAAMC,kBAAkB,GAC7BC,MAAyE,IACtE;EACHF,eAAe,CAACG,IAAI,CAClBL,YAAY,CAACM,WAAW,CAAC,SAAS,EAAE,MAAM;IACxCC,OAAO,CAACC,GAAG,CAAC,qBAAqB,CAAC;EACpC,CAAC,CAAC,CACH;EAEDN,eAAe,CAACG,IAAI,CAClBL,YAAY,CAACM,WAAW,CACtB,qBAAqB,EACpBG,CAAsB,IAAK;IAC1BF,OAAO,CAACG,IAAI,CACT,sDAAqDD,CAAC,CAACE,OAAQ,EAAC,CAClE;EACH,CAAC,CACF,CACF;EAED,KAAK,MAAM,CAACC,MAAM,EAAEC,MAAM,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACX,MAAM,CAAC,EAAE;IACrDF,eAAe,CAACG,IAAI,CAACL,YAAY,CAACM,WAAW,CAACM,MAAM,EAAEC,MAAM,CAAC,CAAC;EAChE;AACF,CAAC;AAAC;AAEK,MAAMG,qBAAqB,GAAG,MAAM;EACzCd,eAAe,CAACe,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAACC,MAAM,EAAE,CAAC;AAC1D,CAAC;AAAC;AAEK,MAAMC,WAAW,GAAIC,OAAqB,IAAW;EAC1D,OAAOvB,mBAAmB,CAACsB,WAAW,CAACC,OAAO,CAAC;AACjD,CAAC;AAAC;AAEK,MAAMC,WAAW,GAAG,CACzBlB,MAAoB,EACpBmB,OAA0E,KACvE;EACH,IAAAC,gBAAS,EAAC,MAAM;IACdrB,kBAAkB,CAACoB,OAAO,CAAC;IAC3BH,WAAW,CAAChB,MAAM,CAAC;IAEnB,OAAO,MAAM;MACXY,qBAAqB,EAAE;IACzB,CAAC;IACD;EACF,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAAC;AAAA,eAEalB,mBAAmB;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":["useEffect","NativeEventEmitter","NativeModules","FreeraspReactNative","eventEmitter","activeListeners","setThreatListeners","config","push","addListener","console","log","e","warn","message","threat","action","Object","entries","removeThreatListeners","forEach","listener","remove","talsecStart","options","useFreeRasp","actions"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAEEC,kBAAkB,EAClBC,aAAa,QAC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B,mBAAmB"}
1
+ {"version":3,"names":["useEffect","NativeEventEmitter","NativeModules","FreeraspReactNative","eventEmitter","activeListeners","setThreatListeners","config","push","addListener","console","log","e","warn","message","threat","action","Object","entries","removeThreatListeners","forEach","listener","remove","talsecStart","options","useFreeRasp","actions"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAEEC,kBAAkB,EAClBC,aAAa,QACR,cAAc;AAgCrB,MAAM;EAAEC;AAAoB,CAAC,GAAGD,aAAa;AAE7C,MAAME,YAAY,GAAG,IAAIH,kBAAkB,CAACE,mBAAmB,CAAC;AAChE,MAAME,eAAsC,GAAG,EAAE;AAEjD,OAAO,MAAMC,kBAAkB,GAC7BC,MAAyE,IACtE;EACHF,eAAe,CAACG,IAAI,CAClBJ,YAAY,CAACK,WAAW,CAAC,SAAS,EAAE,MAAM;IACxCC,OAAO,CAACC,GAAG,CAAC,qBAAqB,CAAC;EACpC,CAAC,CAAC,CACH;EAEDN,eAAe,CAACG,IAAI,CAClBJ,YAAY,CAACK,WAAW,CACtB,qBAAqB,EACpBG,CAAsB,IAAK;IAC1BF,OAAO,CAACG,IAAI,CACT,sDAAqDD,CAAC,CAACE,OAAQ,EAAC,CAClE;EACH,CAAC,CACF,CACF;EAED,KAAK,MAAM,CAACC,MAAM,EAAEC,MAAM,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACX,MAAM,CAAC,EAAE;IACrDF,eAAe,CAACG,IAAI,CAACJ,YAAY,CAACK,WAAW,CAACM,MAAM,EAAEC,MAAM,CAAC,CAAC;EAChE;AACF,CAAC;AAED,OAAO,MAAMG,qBAAqB,GAAG,MAAM;EACzCd,eAAe,CAACe,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAACC,MAAM,EAAE,CAAC;AAC1D,CAAC;AAED,OAAO,MAAMC,WAAW,GAAIC,OAAqB,IAAW;EAC1D,OAAOrB,mBAAmB,CAACoB,WAAW,CAACC,OAAO,CAAC;AACjD,CAAC;AAED,OAAO,MAAMC,WAAW,GAAG,CACzBlB,MAAoB,EACpBmB,OAA0E,KACvE;EACH1B,SAAS,CAAC,MAAM;IACdM,kBAAkB,CAACoB,OAAO,CAAC;IAC3BH,WAAW,CAAChB,MAAM,CAAC;IAEnB,OAAO,MAAM;MACXY,qBAAqB,EAAE;IACzB,CAAC;IACD;EACF,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAED,eAAehB,mBAAmB"}
@@ -1,29 +1,30 @@
1
1
  type TalsecConfig = {
2
- androidConfig: {
2
+ androidConfig?: {
3
3
  packageName: string;
4
4
  certificateHashes: string[];
5
5
  supportedAlternativeStores?: string[];
6
6
  };
7
- iosConfig: {
7
+ iosConfig?: {
8
8
  appBundleId: string;
9
9
  appTeamId: string;
10
10
  };
11
11
  watcherMail: string;
12
+ isProd?: boolean;
12
13
  };
13
14
  type NativeEventEmitterActions = {
14
- 'privilegedAccess'?: () => any;
15
- 'debug'?: () => any;
16
- 'simulator'?: () => any;
17
- 'appIntegrity'?: () => any;
18
- 'unofficialStore'?: () => any;
19
- 'hooks'?: () => any;
20
- 'device binding'?: () => any;
21
- 'deviceID'?: () => any;
22
- 'passcodeChange'?: () => any;
23
- 'passcode'?: () => any;
24
- 'secureHardwareNotAvailable'?: () => any;
25
- 'started'?: () => any;
26
- 'initializationError'?: (reason: {
15
+ privilegedAccess?: () => any;
16
+ debug?: () => any;
17
+ simulator?: () => any;
18
+ appIntegrity?: () => any;
19
+ unofficialStore?: () => any;
20
+ hooks?: () => any;
21
+ deviceBinding?: () => any;
22
+ deviceID?: () => any;
23
+ passcodeChange?: () => any;
24
+ passcode?: () => any;
25
+ secureHardwareNotAvailable?: () => any;
26
+ started?: () => any;
27
+ initializationError?: (reason: {
27
28
  message: string;
28
29
  }) => any;
29
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAOA,KAAK,YAAY,GAAG;IA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DACd,YAAY,qFAYrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freerasp-react-native",
3
- "version": "1.1.0",
3
+ "version": "2.0.0",
4
4
  "description": "React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/index.tsx CHANGED
@@ -6,32 +6,33 @@ import {
6
6
  } from 'react-native';
7
7
 
8
8
  type TalsecConfig = {
9
- androidConfig: {
9
+ androidConfig?: {
10
10
  packageName: string;
11
11
  certificateHashes: string[];
12
12
  supportedAlternativeStores?: string[];
13
13
  };
14
- iosConfig: {
14
+ iosConfig?: {
15
15
  appBundleId: string;
16
16
  appTeamId: string;
17
17
  };
18
18
  watcherMail: string;
19
+ isProd?: boolean;
19
20
  };
20
21
 
21
22
  type NativeEventEmitterActions = {
22
- 'privilegedAccess'?: () => any;
23
- 'debug'?: () => any;
24
- 'simulator'?: () => any;
25
- 'appIntegrity'?: () => any;
26
- 'unofficialStore'?: () => any;
27
- 'hooks'?: () => any;
28
- 'device binding'?: () => any;
29
- 'deviceID'?: () => any;
30
- 'passcodeChange'?: () => any;
31
- 'passcode'?: () => any;
32
- 'secureHardwareNotAvailable'?: () => any;
33
- 'started'?: () => any;
34
- 'initializationError'?: (reason: { message: string }) => any;
23
+ privilegedAccess?: () => any;
24
+ debug?: () => any;
25
+ simulator?: () => any;
26
+ appIntegrity?: () => any;
27
+ unofficialStore?: () => any;
28
+ hooks?: () => any;
29
+ deviceBinding?: () => any;
30
+ deviceID?: () => any;
31
+ passcodeChange?: () => any;
32
+ passcode?: () => any;
33
+ secureHardwareNotAvailable?: () => any;
34
+ started?: () => any;
35
+ initializationError?: (reason: { message: string }) => any;
35
36
  };
36
37
 
37
38
  const { FreeraspReactNative } = NativeModules;
@@ -1,40 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>AvailableLibraries</key>
6
- <array>
7
- <dict>
8
- <key>LibraryIdentifier</key>
9
- <string>ios-arm64</string>
10
- <key>LibraryPath</key>
11
- <string>TalsecRuntime.framework</string>
12
- <key>SupportedArchitectures</key>
13
- <array>
14
- <string>arm64</string>
15
- </array>
16
- <key>SupportedPlatform</key>
17
- <string>ios</string>
18
- </dict>
19
- <dict>
20
- <key>LibraryIdentifier</key>
21
- <string>ios-arm64_x86_64-simulator</string>
22
- <key>LibraryPath</key>
23
- <string>TalsecRuntime.framework</string>
24
- <key>SupportedArchitectures</key>
25
- <array>
26
- <string>arm64</string>
27
- <string>x86_64</string>
28
- </array>
29
- <key>SupportedPlatform</key>
30
- <string>ios</string>
31
- <key>SupportedPlatformVariant</key>
32
- <string>simulator</string>
33
- </dict>
34
- </array>
35
- <key>CFBundlePackageType</key>
36
- <string>XFWK</string>
37
- <key>XCFrameworkFormatVersion</key>
38
- <string>1.0</string>
39
- </dict>
40
- </plist>
@@ -1,25 +0,0 @@
1
- //
2
- // CurlWrapper.h
3
- // Talsec
4
- //
5
- // Created by Jakub Mejtský on 23/07/2019.
6
- // Copyright © 2019 AHEAD iTec, s.r.o. All rights reserved.
7
- //
8
-
9
- #ifndef CurlWrapper_h
10
- #define CurlWrapper_h
11
-
12
- #include "curl.h"
13
- #include <stdio.h>
14
- #include <stdlib.h>
15
- #include <sys/sysctl.h>
16
- #include <unistd.h>
17
- #include <string.h>
18
-
19
- struct tKmUaogdBLYY {
20
- char *memory;
21
- size_t size;
22
- CURLcode ret;
23
- };
24
-
25
- #endif /* CurlWrapper_h */
@@ -1,222 +0,0 @@
1
- // Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
2
- #ifndef TALSECRUNTIME_SWIFT_H
3
- #define TALSECRUNTIME_SWIFT_H
4
- #pragma clang diagnostic push
5
- #pragma clang diagnostic ignored "-Wgcc-compat"
6
-
7
- #if !defined(__has_include)
8
- # define __has_include(x) 0
9
- #endif
10
- #if !defined(__has_attribute)
11
- # define __has_attribute(x) 0
12
- #endif
13
- #if !defined(__has_feature)
14
- # define __has_feature(x) 0
15
- #endif
16
- #if !defined(__has_warning)
17
- # define __has_warning(x) 0
18
- #endif
19
-
20
- #if __has_include(<swift/objc-prologue.h>)
21
- # include <swift/objc-prologue.h>
22
- #endif
23
-
24
- #pragma clang diagnostic ignored "-Wauto-import"
25
- #include <Foundation/Foundation.h>
26
- #include <stdint.h>
27
- #include <stddef.h>
28
- #include <stdbool.h>
29
-
30
- #if !defined(SWIFT_TYPEDEFS)
31
- # define SWIFT_TYPEDEFS 1
32
- # if __has_include(<uchar.h>)
33
- # include <uchar.h>
34
- # elif !defined(__cplusplus)
35
- typedef uint_least16_t char16_t;
36
- typedef uint_least32_t char32_t;
37
- # endif
38
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
39
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
40
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
41
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
42
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
43
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
44
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
45
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
46
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
47
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
48
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
49
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
50
- #endif
51
-
52
- #if !defined(SWIFT_PASTE)
53
- # define SWIFT_PASTE_HELPER(x, y) x##y
54
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
55
- #endif
56
- #if !defined(SWIFT_METATYPE)
57
- # define SWIFT_METATYPE(X) Class
58
- #endif
59
- #if !defined(SWIFT_CLASS_PROPERTY)
60
- # if __has_feature(objc_class_property)
61
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
62
- # else
63
- # define SWIFT_CLASS_PROPERTY(...)
64
- # endif
65
- #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)
71
- #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)
76
- #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)
81
- #endif
82
- #if __has_attribute(noescape)
83
- # define SWIFT_NOESCAPE __attribute__((noescape))
84
- #else
85
- # define SWIFT_NOESCAPE
86
- #endif
87
- #if __has_attribute(ns_consumed)
88
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
89
- #else
90
- # define SWIFT_RELEASES_ARGUMENT
91
- #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
96
- #endif
97
- #if __has_attribute(noreturn)
98
- # define SWIFT_NORETURN __attribute__((noreturn))
99
- #else
100
- # define SWIFT_NORETURN
101
- #endif
102
- #if !defined(SWIFT_CLASS_EXTRA)
103
- # define SWIFT_CLASS_EXTRA
104
- #endif
105
- #if !defined(SWIFT_PROTOCOL_EXTRA)
106
- # define SWIFT_PROTOCOL_EXTRA
107
- #endif
108
- #if !defined(SWIFT_ENUM_EXTRA)
109
- # define SWIFT_ENUM_EXTRA
110
- #endif
111
- #if !defined(SWIFT_CLASS)
112
- # if __has_attribute(objc_subclassing_restricted)
113
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
114
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
115
- # else
116
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
117
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
118
- # endif
119
- #endif
120
- #if !defined(SWIFT_RESILIENT_CLASS)
121
- # if __has_attribute(objc_class_stub)
122
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
123
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
124
- # else
125
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
126
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127
- # endif
128
- #endif
129
-
130
- #if !defined(SWIFT_PROTOCOL)
131
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133
- #endif
134
-
135
- #if !defined(SWIFT_EXTENSION)
136
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137
- #endif
138
-
139
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
140
- # if __has_attribute(objc_designated_initializer)
141
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142
- # else
143
- # define OBJC_DESIGNATED_INITIALIZER
144
- # endif
145
- #endif
146
- #if !defined(SWIFT_ENUM_ATTR)
147
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
148
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149
- # else
150
- # define SWIFT_ENUM_ATTR(_extensibility)
151
- # endif
152
- #endif
153
- #if !defined(SWIFT_ENUM)
154
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
155
- # if __has_feature(generalized_swift_name)
156
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
157
- # else
158
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
159
- # endif
160
- #endif
161
- #if !defined(SWIFT_UNAVAILABLE)
162
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
163
- #endif
164
- #if !defined(SWIFT_UNAVAILABLE_MSG)
165
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
166
- #endif
167
- #if !defined(SWIFT_AVAILABILITY)
168
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
169
- #endif
170
- #if !defined(SWIFT_WEAK_IMPORT)
171
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
172
- #endif
173
- #if !defined(SWIFT_DEPRECATED)
174
- # define SWIFT_DEPRECATED __attribute__((deprecated))
175
- #endif
176
- #if !defined(SWIFT_DEPRECATED_MSG)
177
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178
- #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)
183
- #endif
184
- #if !defined(IBSegueAction)
185
- # define IBSegueAction
186
- #endif
187
- #if !defined(SWIFT_EXTERN)
188
- # if defined(__cplusplus)
189
- # define SWIFT_EXTERN extern "C"
190
- # else
191
- # define SWIFT_EXTERN extern
192
- # endif
193
- #endif
194
- #if __has_feature(modules)
195
- #if __has_warning("-Watimport-in-framework-header")
196
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
197
- #endif
198
- #endif
199
-
200
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
201
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
202
- #if __has_warning("-Wpragma-clang-attribute")
203
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
204
- #endif
205
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
206
- #pragma clang diagnostic ignored "-Wnullability"
207
-
208
- #if __has_attribute(external_source_symbol)
209
- # pragma push_macro("any")
210
- # undef any
211
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="TalsecRuntime",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
212
- # pragma pop_macro("any")
213
- #endif
214
-
215
-
216
- SWIFT_EXTERN void __qUDkADLJQQipzIQYYUcEwdK(void);
217
-
218
- #if __has_attribute(external_source_symbol)
219
- # pragma clang attribute pop
220
- #endif
221
- #pragma clang diagnostic pop
222
- #endif