capacitor-freerasp 2.4.1 → 2.5.1

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 (64) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/aheaditec/freerasp/FreeraspPlugin.kt +61 -46
  4. package/android/src/main/java/com/aheaditec/freerasp/PluginThreatHandler.kt +25 -27
  5. package/android/src/main/java/com/aheaditec/freerasp/dispatchers/ExecutionStateDispatcher.kt +35 -16
  6. package/android/src/main/java/com/aheaditec/freerasp/dispatchers/ThreatDispatcher.kt +42 -24
  7. package/android/src/main/java/com/aheaditec/freerasp/utils/RandomGenerator.kt +1 -2
  8. package/dist/esm/api/listeners/raspExecutionState.js +23 -11
  9. package/dist/esm/api/listeners/raspExecutionState.js.map +1 -1
  10. package/dist/esm/api/listeners/threat.js +25 -12
  11. package/dist/esm/api/listeners/threat.js.map +1 -1
  12. package/dist/esm/api/methods/capacitor.js +7 -1
  13. package/dist/esm/api/methods/capacitor.js.map +1 -1
  14. package/dist/esm/channels/threat.js +2 -5
  15. package/dist/esm/channels/threat.js.map +1 -1
  16. package/dist/esm/models/threat.js +1 -0
  17. package/dist/esm/models/threat.js.map +1 -1
  18. package/dist/esm/types/types.d.ts +6 -1
  19. package/dist/esm/types/types.js.map +1 -1
  20. package/dist/plugin.cjs.js +58 -28
  21. package/dist/plugin.cjs.js.map +1 -1
  22. package/dist/plugin.js +58 -28
  23. package/dist/plugin.js.map +1 -1
  24. package/ios/Plugin/FreeraspPlugin.m +1 -0
  25. package/ios/Plugin/FreeraspPlugin.swift +28 -8
  26. package/ios/Plugin/TalsecRuntime.xcframework/Info.plist +5 -5
  27. package/ios/Plugin/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  28. package/ios/Plugin/TalsecRuntime.xcframework/_CodeSignature/CodeResources +95 -62
  29. package/ios/Plugin/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
  30. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  31. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
  32. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +7 -7
  33. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +4 -4
  34. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
  35. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  36. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  37. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +360 -103
  38. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
  39. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  40. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
  41. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/PrivacyInfo.xcprivacy +8 -0
  42. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  43. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/_CodeSignature/CodeResources +377 -0
  44. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  45. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  46. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +7 -7
  47. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +4 -4
  48. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
  49. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  50. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  51. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +367 -110
  52. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
  53. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  54. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
  55. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +367 -110
  56. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
  57. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  58. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
  59. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/PrivacyInfo.xcprivacy +8 -0
  60. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  61. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +42 -53
  62. package/ios/Plugin/models/SecurityThreat.swift +2 -0
  63. package/ios/Plugin/utils/EventIdentifiers.swift +2 -2
  64. package/package.json +1 -1
@@ -5,6 +5,7 @@
5
5
  import CryptoKit
6
6
  import Foundation
7
7
  import LocalAuthentication
8
+ import Network
8
9
  import TalsecRuntime.Private
9
10
  import Security
10
11
  import Swift
@@ -52,6 +53,7 @@ public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Sw
52
53
  case unofficialStore
53
54
  case screenshot
54
55
  case screenRecording
56
+ case timeSpoofing
55
57
  public init?(rawValue: Swift.String)
56
58
  public typealias AllCases = [TalsecRuntime.SecurityThreat]
57
59
  public typealias RawValue = Swift.String
@@ -5,6 +5,7 @@
5
5
  import CryptoKit
6
6
  import Foundation
7
7
  import LocalAuthentication
8
+ import Network
8
9
  import TalsecRuntime.Private
9
10
  import Security
10
11
  import Swift
@@ -52,6 +53,7 @@ public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Sw
52
53
  case unofficialStore
53
54
  case screenshot
54
55
  case screenRecording
56
+ case timeSpoofing
55
57
  public init?(rawValue: Swift.String)
56
58
  public typealias AllCases = [TalsecRuntime.SecurityThreat]
57
59
  public typealias RawValue = Swift.String
@@ -4,6 +4,14 @@
4
4
  <dict>
5
5
  <key>NSPrivacyAccessedAPITypes</key>
6
6
  <array>
7
+ <dict>
8
+ <key>NSPrivacyAccessedAPIType</key>
9
+ <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
10
+ <key>NSPrivacyAccessedAPITypeReasons</key>
11
+ <array>
12
+ <string>35F9.1</string>
13
+ </array>
14
+ </dict>
7
15
  <dict>
8
16
  <key>NSPrivacyAccessedAPIType</key>
9
17
  <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
@@ -4,17 +4,21 @@
4
4
  <dict>
5
5
  <key>files</key>
6
6
  <dict>
7
+ <key>.jbroot/libRHProbe.dat</key>
8
+ <data>
9
+ 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
10
+ </data>
7
11
  <key>Headers/CryptoBridgingHeader.h</key>
8
12
  <data>
9
13
  mOqIZoN2AJlkJSNzs7YiosCwiDw=
10
14
  </data>
11
15
  <key>Headers/CurlWrapper.h</key>
12
16
  <data>
13
- WA1JyO7KWSoJGy5fxmELyR1IkWE=
17
+ NfaD4ZW492g1gx9/WrVywckio1o=
14
18
  </data>
15
19
  <key>Headers/TalsecRuntime-Swift.h</key>
16
20
  <data>
17
- MqWD2qxGFZS4IS6VVlbeFOu4/zo=
21
+ wYrk4E3gcbyJsyMMSpzWZIC6Iqw=
18
22
  </data>
19
23
  <key>Headers/TalsecRuntime_iOS.h</key>
20
24
  <data>
@@ -22,7 +26,7 @@
22
26
  </data>
23
27
  <key>Headers/curl.h</key>
24
28
  <data>
25
- ts72n1gggDFqWROsijjd2V5bmnk=
29
+ mLfbwJxgzpnFoF3PZhOkQXf3vu4=
26
30
  </data>
27
31
  <key>Headers/curlver.h</key>
28
32
  <data>
@@ -42,11 +46,11 @@
42
46
  </data>
43
47
  <key>Headers/multi.h</key>
44
48
  <data>
45
- ghjOT/nVae583cGGQSS51MEGYz0=
49
+ CCqpYO+NKWUyeeWp6/AgXg04RlE=
46
50
  </data>
47
51
  <key>Headers/options.h</key>
48
52
  <data>
49
- jgKjZkIB4sAKRVgNpzwrJ5R6BnI=
53
+ Pgw7zikdIuxcutfv84E86QtzB8g=
50
54
  </data>
51
55
  <key>Headers/stdcheaders.h</key>
52
56
  <data>
@@ -62,7 +66,7 @@
62
66
  </data>
63
67
  <key>Headers/urlapi.h</key>
64
68
  <data>
65
- wmwxqoTKiFpUxhiWu43uFpMfnfc=
69
+ /yXILzgAfQvOojqm3XAHRsAwJrA=
66
70
  </data>
67
71
  <key>Headers/websockets.h</key>
68
72
  <data>
@@ -70,47 +74,39 @@
70
74
  </data>
71
75
  <key>Info.plist</key>
72
76
  <data>
73
- Dzja35wc+f4Y/yJuzktrj1qsCU0=
77
+ eL5oFlB6wq1n2HB8CtBm1T2ZgRw=
74
78
  </data>
75
79
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
76
80
  <data>
77
- NTg7yIg8Nc6VPtjx/jY/XQPV0vI=
81
+ 1wk46CVep6NO9TorYlGZFKKW0FM=
78
82
  </data>
79
83
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
80
84
  <data>
81
- 11Zc3FvUFlGp8W//MH4jQcKagKE=
85
+ llw484UKAnWPJb8CJpVj2CaHHDE=
82
86
  </data>
83
87
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
84
88
  <data>
85
- mJlKnjUfSE3Y8ZQ2INnAMyMsm2g=
89
+ veuVKeP/oKf+WFki2xYyyAtPZ5E=
86
90
  </data>
87
91
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
88
92
  <data>
89
- 11Zc3FvUFlGp8W//MH4jQcKagKE=
90
- </data>
91
- <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
92
- <data>
93
- MVPc1jR0r9jmgDhs8qwBMtHslWc=
93
+ llw484UKAnWPJb8CJpVj2CaHHDE=
94
94
  </data>
95
95
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
96
96
  <data>
97
- NTg7yIg8Nc6VPtjx/jY/XQPV0vI=
97
+ 1wk46CVep6NO9TorYlGZFKKW0FM=
98
98
  </data>
99
99
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
100
100
  <data>
101
- a6CNCiaS16+juFzV//lEYSGIMy4=
101
+ 4I0pGIDaoA0k3axTQo3rbxN5Nyc=
102
102
  </data>
103
103
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
104
104
  <data>
105
- T/DL4bHXKHHe/fV93pC4+qoSee4=
105
+ P7E5n+59NoXIZ7ogjimIL7vP1Cs=
106
106
  </data>
107
107
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
108
108
  <data>
109
- a6CNCiaS16+juFzV//lEYSGIMy4=
110
- </data>
111
- <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
112
- <data>
113
- 0Jl8w1Z9Inj43WuxzmskBXEEHCg=
109
+ 4I0pGIDaoA0k3axTQo3rbxN5Nyc=
114
110
  </data>
115
111
  <key>Modules/module.modulemap</key>
116
112
  <data>
@@ -118,7 +114,7 @@
118
114
  </data>
119
115
  <key>PrivacyInfo.xcprivacy</key>
120
116
  <data>
121
- wLuornyoj3Lx3RDlF2QKMsAJxRc=
117
+ EoDY5rl3F+/NSgSM7d7epUYDscA=
122
118
  </data>
123
119
  <key>cacert.pem</key>
124
120
  <data>
@@ -131,6 +127,13 @@
131
127
  </dict>
132
128
  <key>files2</key>
133
129
  <dict>
130
+ <key>.jbroot/libRHProbe.dat</key>
131
+ <dict>
132
+ <key>hash2</key>
133
+ <data>
134
+ 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
135
+ </data>
136
+ </dict>
134
137
  <key>Headers/CryptoBridgingHeader.h</key>
135
138
  <dict>
136
139
  <key>hash2</key>
@@ -142,14 +145,14 @@
142
145
  <dict>
143
146
  <key>hash2</key>
144
147
  <data>
145
- lwrSTYcdtuUGVDgaHIbe1bbQ7VFkbd2gC004O1j6TPc=
148
+ 60kqc6ZOHuNkRlooJo0oLxE7Gfz/QSmz9sPPjCyKB28=
146
149
  </data>
147
150
  </dict>
148
151
  <key>Headers/TalsecRuntime-Swift.h</key>
149
152
  <dict>
150
153
  <key>hash2</key>
151
154
  <data>
152
- eOzpjk/89xuYLUDhpP29sxMdg2xIQkS6YODFqKKBMTk=
155
+ JWbUcvTp98ZUdd6u4ohC2dB5oz315+2AiiXofaYflWY=
153
156
  </data>
154
157
  </dict>
155
158
  <key>Headers/TalsecRuntime_iOS.h</key>
@@ -163,7 +166,7 @@
163
166
  <dict>
164
167
  <key>hash2</key>
165
168
  <data>
166
- J1Rdz0xMEsZElJMEzlfqhQWF8ySsbbPGdNEKFh+kanw=
169
+ fy65KlyL8liq58ZX9PzFUPWJ+YFZXaQPLsiz8TBpwgI=
167
170
  </data>
168
171
  </dict>
169
172
  <key>Headers/curlver.h</key>
@@ -198,14 +201,14 @@
198
201
  <dict>
199
202
  <key>hash2</key>
200
203
  <data>
201
- 0u/8fnvcek6E8pW9l9eCVQLDoE6wVE6xNqaEuecr2vY=
204
+ Zu+lbIsFRos0ACKBmEl0LbBi+AujoSKFMHOaQcVa9u8=
202
205
  </data>
203
206
  </dict>
204
207
  <key>Headers/options.h</key>
205
208
  <dict>
206
209
  <key>hash2</key>
207
210
  <data>
208
- W9BWyD70kT34RsuOOuud+qqZ6emBkskEHCutDRcBuVk=
211
+ Ay82VEWxoOZrPEGsXwqDb6+tLChjFfMNlPicJA8ZKvQ=
209
212
  </data>
210
213
  </dict>
211
214
  <key>Headers/stdcheaders.h</key>
@@ -233,7 +236,7 @@
233
236
  <dict>
234
237
  <key>hash2</key>
235
238
  <data>
236
- nh6/67Z3VU2snFQmgki0ooYpXB+aA4hL+RMtsurfPPk=
239
+ 2Kf6vHQshJ1YxJ9KnRExXIoKU7ctRGXn87++2tgWato=
237
240
  </data>
238
241
  </dict>
239
242
  <key>Headers/websockets.h</key>
@@ -247,70 +250,56 @@
247
250
  <dict>
248
251
  <key>hash2</key>
249
252
  <data>
250
- smJ7d6OZeqWFeidhNPmMvWfZN2+tQ1l1DsAsqzgQt7w=
253
+ vpWicH82TW1JAimhUErZfSse9YeeAaY4jZHQENzzcOY=
251
254
  </data>
252
255
  </dict>
253
256
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
254
257
  <dict>
255
258
  <key>hash2</key>
256
259
  <data>
257
- NXBc0P8JjFwBaIgivJQNz7nosY48UZBIGOPTf/bYewI=
260
+ haSQY3upZ2WR6JkXg/Jxpph+ny4EtTDUg9TVsWeNUoU=
258
261
  </data>
259
262
  </dict>
260
263
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
261
264
  <dict>
262
265
  <key>hash2</key>
263
266
  <data>
264
- WobhDnDJimDFi4H93t4PHKChXKRdUDJ9mD4INAfhNA0=
267
+ HuiYD5192nGs4hgWg8fu0oRAx67am62APnwBTlSebrk=
265
268
  </data>
266
269
  </dict>
267
270
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
268
271
  <dict>
269
272
  <key>hash2</key>
270
273
  <data>
271
- NXBc0P8JjFwBaIgivJQNz7nosY48UZBIGOPTf/bYewI=
272
- </data>
273
- </dict>
274
- <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
275
- <dict>
276
- <key>hash2</key>
277
- <data>
278
- +/yfulAGiTOzQ3P/qKQ49L5Vw5hptKlDnWjUl+o+Tyk=
274
+ haSQY3upZ2WR6JkXg/Jxpph+ny4EtTDUg9TVsWeNUoU=
279
275
  </data>
280
276
  </dict>
281
277
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
282
278
  <dict>
283
279
  <key>hash2</key>
284
280
  <data>
285
- smJ7d6OZeqWFeidhNPmMvWfZN2+tQ1l1DsAsqzgQt7w=
281
+ vpWicH82TW1JAimhUErZfSse9YeeAaY4jZHQENzzcOY=
286
282
  </data>
287
283
  </dict>
288
284
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
289
285
  <dict>
290
286
  <key>hash2</key>
291
287
  <data>
292
- FOrAekhc36NfqLLe4rlbHttfKoRbiuV3L9+WnC24NBc=
288
+ 1mruU/68fB6bnmgfh09YUKQnRXtJD6ahwH7mRkndURw=
293
289
  </data>
294
290
  </dict>
295
291
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
296
292
  <dict>
297
293
  <key>hash2</key>
298
294
  <data>
299
- rS8E9vR/8aKK2wuSIY7Q2qIZtlLtddvnA4i3d6ZQPi8=
295
+ QCOzEtn1CrkYuVdPbTvUXGISSciLhey5r2BXEz+3cWI=
300
296
  </data>
301
297
  </dict>
302
298
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
303
299
  <dict>
304
300
  <key>hash2</key>
305
301
  <data>
306
- FOrAekhc36NfqLLe4rlbHttfKoRbiuV3L9+WnC24NBc=
307
- </data>
308
- </dict>
309
- <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
310
- <dict>
311
- <key>hash2</key>
312
- <data>
313
- fNFd8NVDp1XDXnMlkDAOFZA+TaFohGaVwMp0uIwiSwM=
302
+ 1mruU/68fB6bnmgfh09YUKQnRXtJD6ahwH7mRkndURw=
314
303
  </data>
315
304
  </dict>
316
305
  <key>Modules/module.modulemap</key>
@@ -324,7 +313,7 @@
324
313
  <dict>
325
314
  <key>hash2</key>
326
315
  <data>
327
- Svr+pZXI7cccZzTW1vTq+pkCOZe6kEQLslDFaL22qzI=
316
+ Tfo6GXW0wL6V4grnszDhSoINMxnjKwgN7Z6h4Ha1EEo=
328
317
  </data>
329
318
  </dict>
330
319
  <key>cacert.pem</key>
@@ -32,6 +32,8 @@ extension SecurityThreat {
32
32
  return EventIdentifiers.threatIdentifierList[12]
33
33
  case .screenRecording:
34
34
  return EventIdentifiers.threatIdentifierList[13]
35
+ case .timeSpoofing:
36
+ return EventIdentifiers.threatIdentifierList[14]
35
37
  @unknown default:
36
38
  abort()
37
39
  }
@@ -1,7 +1,7 @@
1
1
  struct EventIdentifiers {
2
2
  static var generatedNumbers: [Int] = {
3
3
  var numbers = [Int]()
4
- for _ in 0..<19 {
4
+ for _ in 0..<20 {
5
5
  numbers.append(RandomGenerator.next())
6
6
  }
7
7
  return numbers
@@ -13,5 +13,5 @@ struct EventIdentifiers {
13
13
  static let raspExecutionStateChannelName: String = String(generatedNumbers[3])
14
14
 
15
15
  static let raspExecutionStateIdentifierList: [Int] = [generatedNumbers[4]]
16
- static let threatIdentifierList: [Int] = generatedNumbers.suffix(14)
16
+ static let threatIdentifierList: [Int] = generatedNumbers.suffix(15)
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-freerasp",
3
- "version": "2.4.1",
3
+ "version": "2.5.1",
4
4
  "description": "Capacitor plugin for improving app security and threat monitoring on Android and iOS mobile devices",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",