capacitor-freerasp 2.4.1 → 2.5.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 (61) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/aheaditec/freerasp/FreeraspPlugin.kt +60 -46
  4. package/android/src/main/java/com/aheaditec/freerasp/PluginThreatHandler.kt +9 -4
  5. package/android/src/main/java/com/aheaditec/freerasp/dispatchers/ExecutionStateDispatcher.kt +33 -16
  6. package/android/src/main/java/com/aheaditec/freerasp/dispatchers/ThreatDispatcher.kt +40 -24
  7. package/dist/esm/api/listeners/raspExecutionState.js +23 -11
  8. package/dist/esm/api/listeners/raspExecutionState.js.map +1 -1
  9. package/dist/esm/api/listeners/threat.js +25 -12
  10. package/dist/esm/api/listeners/threat.js.map +1 -1
  11. package/dist/esm/api/methods/capacitor.js +7 -1
  12. package/dist/esm/api/methods/capacitor.js.map +1 -1
  13. package/dist/esm/channels/threat.js +2 -5
  14. package/dist/esm/channels/threat.js.map +1 -1
  15. package/dist/esm/models/threat.js +1 -0
  16. package/dist/esm/models/threat.js.map +1 -1
  17. package/dist/esm/types/types.d.ts +6 -1
  18. package/dist/esm/types/types.js.map +1 -1
  19. package/dist/plugin.cjs.js +58 -28
  20. package/dist/plugin.cjs.js.map +1 -1
  21. package/dist/plugin.js +58 -28
  22. package/dist/plugin.js.map +1 -1
  23. package/ios/Plugin/FreeraspPlugin.m +1 -0
  24. package/ios/Plugin/FreeraspPlugin.swift +28 -8
  25. package/ios/Plugin/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  26. package/ios/Plugin/TalsecRuntime.xcframework/_CodeSignature/CodeResources +84 -62
  27. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  28. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
  29. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +7 -7
  30. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +4 -4
  31. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
  32. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  33. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  34. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +359 -102
  35. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
  36. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  37. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
  38. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/PrivacyInfo.xcprivacy +8 -0
  39. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  40. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  41. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  42. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +7 -7
  43. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +4 -4
  44. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
  45. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  46. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  47. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +366 -109
  48. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
  49. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  50. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
  51. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +366 -109
  52. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
  53. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  54. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
  55. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/PrivacyInfo.xcprivacy +8 -0
  56. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  57. package/ios/Plugin/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +46 -35
  58. package/ios/Plugin/models/SecurityThreat.swift +2 -0
  59. package/ios/Plugin/utils/EventIdentifiers.swift +2 -2
  60. package/package.json +1 -1
  61. package/ios/Plugin/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
@@ -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
+ ZkQjO7x88G+caDsZYp0KwmxL2Aw=
14
18
  </data>
15
19
  <key>Headers/TalsecRuntime-Swift.h</key>
16
20
  <data>
17
- MqWD2qxGFZS4IS6VVlbeFOu4/zo=
21
+ e8NHq3kv5aJaHHerjM8ZeujEqdM=
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
+ iFWnikL7Q4/IueAgDYwGRmEleGM=
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
+ uiqvup6PKoHdlfWDHt23/MFb6S8=
46
50
  </data>
47
51
  <key>Headers/options.h</key>
48
52
  <data>
49
- jgKjZkIB4sAKRVgNpzwrJ5R6BnI=
53
+ BEbKsYMr7aX3LyFIzTUiXnN2gw4=
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
+ f2PBpUaDVeZCOLX7BzSyHsj638o=
66
70
  </data>
67
71
  <key>Headers/websockets.h</key>
68
72
  <data>
@@ -70,47 +74,47 @@
70
74
  </data>
71
75
  <key>Info.plist</key>
72
76
  <data>
73
- Dzja35wc+f4Y/yJuzktrj1qsCU0=
77
+ EKBJ39Er6bsGyBj2kUGZV2YaI5Q=
74
78
  </data>
75
79
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
76
80
  <data>
77
- NTg7yIg8Nc6VPtjx/jY/XQPV0vI=
81
+ 9SzHs3a64Cr2q5YQehUN0YZKyck=
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=
93
+ llw484UKAnWPJb8CJpVj2CaHHDE=
90
94
  </data>
91
95
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
92
96
  <data>
93
- MVPc1jR0r9jmgDhs8qwBMtHslWc=
97
+ PN3+1EhJEIPZjyIBCJ09Ed0m++g=
94
98
  </data>
95
99
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
96
100
  <data>
97
- NTg7yIg8Nc6VPtjx/jY/XQPV0vI=
101
+ 9SzHs3a64Cr2q5YQehUN0YZKyck=
98
102
  </data>
99
103
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
100
104
  <data>
101
- a6CNCiaS16+juFzV//lEYSGIMy4=
105
+ 4I0pGIDaoA0k3axTQo3rbxN5Nyc=
102
106
  </data>
103
107
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
104
108
  <data>
105
- T/DL4bHXKHHe/fV93pC4+qoSee4=
109
+ P7E5n+59NoXIZ7ogjimIL7vP1Cs=
106
110
  </data>
107
111
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
108
112
  <data>
109
- a6CNCiaS16+juFzV//lEYSGIMy4=
113
+ 4I0pGIDaoA0k3axTQo3rbxN5Nyc=
110
114
  </data>
111
115
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
112
116
  <data>
113
- 0Jl8w1Z9Inj43WuxzmskBXEEHCg=
117
+ FTqMLTFEHCyiZfGu9yEompPnQMQ=
114
118
  </data>
115
119
  <key>Modules/module.modulemap</key>
116
120
  <data>
@@ -118,7 +122,7 @@
118
122
  </data>
119
123
  <key>PrivacyInfo.xcprivacy</key>
120
124
  <data>
121
- wLuornyoj3Lx3RDlF2QKMsAJxRc=
125
+ EoDY5rl3F+/NSgSM7d7epUYDscA=
122
126
  </data>
123
127
  <key>cacert.pem</key>
124
128
  <data>
@@ -131,6 +135,13 @@
131
135
  </dict>
132
136
  <key>files2</key>
133
137
  <dict>
138
+ <key>.jbroot/libRHProbe.dat</key>
139
+ <dict>
140
+ <key>hash2</key>
141
+ <data>
142
+ 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
143
+ </data>
144
+ </dict>
134
145
  <key>Headers/CryptoBridgingHeader.h</key>
135
146
  <dict>
136
147
  <key>hash2</key>
@@ -142,14 +153,14 @@
142
153
  <dict>
143
154
  <key>hash2</key>
144
155
  <data>
145
- lwrSTYcdtuUGVDgaHIbe1bbQ7VFkbd2gC004O1j6TPc=
156
+ VgYnDeq58Jl7L3WW/alDNpf2HH1/AGa7zvkOkVlt23Q=
146
157
  </data>
147
158
  </dict>
148
159
  <key>Headers/TalsecRuntime-Swift.h</key>
149
160
  <dict>
150
161
  <key>hash2</key>
151
162
  <data>
152
- eOzpjk/89xuYLUDhpP29sxMdg2xIQkS6YODFqKKBMTk=
163
+ 5Rk5zMiRKbRO7a7jerPdFaKVgZHZsUxgvUcVJJI1DLM=
153
164
  </data>
154
165
  </dict>
155
166
  <key>Headers/TalsecRuntime_iOS.h</key>
@@ -163,7 +174,7 @@
163
174
  <dict>
164
175
  <key>hash2</key>
165
176
  <data>
166
- J1Rdz0xMEsZElJMEzlfqhQWF8ySsbbPGdNEKFh+kanw=
177
+ p4Vxjotm0vYqQaHdMm842c6WX6NmAy/LwtSKmosF+CU=
167
178
  </data>
168
179
  </dict>
169
180
  <key>Headers/curlver.h</key>
@@ -198,14 +209,14 @@
198
209
  <dict>
199
210
  <key>hash2</key>
200
211
  <data>
201
- 0u/8fnvcek6E8pW9l9eCVQLDoE6wVE6xNqaEuecr2vY=
212
+ P1BTIDic+uVA2Cp7TbHBJUtTujgF+3hmr1YqySS1VT8=
202
213
  </data>
203
214
  </dict>
204
215
  <key>Headers/options.h</key>
205
216
  <dict>
206
217
  <key>hash2</key>
207
218
  <data>
208
- W9BWyD70kT34RsuOOuud+qqZ6emBkskEHCutDRcBuVk=
219
+ XqlGMH48ZhTbHLtSaZuixWdtxbuJC3K1106RT1uFf2A=
209
220
  </data>
210
221
  </dict>
211
222
  <key>Headers/stdcheaders.h</key>
@@ -233,7 +244,7 @@
233
244
  <dict>
234
245
  <key>hash2</key>
235
246
  <data>
236
- nh6/67Z3VU2snFQmgki0ooYpXB+aA4hL+RMtsurfPPk=
247
+ zgPHWQMwWmpozMM9dBvMyNmN9o35hg5xGWkkpk8dGwo=
237
248
  </data>
238
249
  </dict>
239
250
  <key>Headers/websockets.h</key>
@@ -247,70 +258,70 @@
247
258
  <dict>
248
259
  <key>hash2</key>
249
260
  <data>
250
- smJ7d6OZeqWFeidhNPmMvWfZN2+tQ1l1DsAsqzgQt7w=
261
+ UPrBI50Fkp8B6cmrFwWDPtJQQQyZ6fsEXBOfR/+ZSnY=
251
262
  </data>
252
263
  </dict>
253
264
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
254
265
  <dict>
255
266
  <key>hash2</key>
256
267
  <data>
257
- NXBc0P8JjFwBaIgivJQNz7nosY48UZBIGOPTf/bYewI=
268
+ haSQY3upZ2WR6JkXg/Jxpph+ny4EtTDUg9TVsWeNUoU=
258
269
  </data>
259
270
  </dict>
260
271
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
261
272
  <dict>
262
273
  <key>hash2</key>
263
274
  <data>
264
- WobhDnDJimDFi4H93t4PHKChXKRdUDJ9mD4INAfhNA0=
275
+ HuiYD5192nGs4hgWg8fu0oRAx67am62APnwBTlSebrk=
265
276
  </data>
266
277
  </dict>
267
278
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
268
279
  <dict>
269
280
  <key>hash2</key>
270
281
  <data>
271
- NXBc0P8JjFwBaIgivJQNz7nosY48UZBIGOPTf/bYewI=
282
+ haSQY3upZ2WR6JkXg/Jxpph+ny4EtTDUg9TVsWeNUoU=
272
283
  </data>
273
284
  </dict>
274
285
  <key>Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
275
286
  <dict>
276
287
  <key>hash2</key>
277
288
  <data>
278
- +/yfulAGiTOzQ3P/qKQ49L5Vw5hptKlDnWjUl+o+Tyk=
289
+ 1D7r7J/8WqcftsewI2Nh5RBXkyfkA7CZjz08kLArUso=
279
290
  </data>
280
291
  </dict>
281
292
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
282
293
  <dict>
283
294
  <key>hash2</key>
284
295
  <data>
285
- smJ7d6OZeqWFeidhNPmMvWfZN2+tQ1l1DsAsqzgQt7w=
296
+ UPrBI50Fkp8B6cmrFwWDPtJQQQyZ6fsEXBOfR/+ZSnY=
286
297
  </data>
287
298
  </dict>
288
299
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
289
300
  <dict>
290
301
  <key>hash2</key>
291
302
  <data>
292
- FOrAekhc36NfqLLe4rlbHttfKoRbiuV3L9+WnC24NBc=
303
+ 1mruU/68fB6bnmgfh09YUKQnRXtJD6ahwH7mRkndURw=
293
304
  </data>
294
305
  </dict>
295
306
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
296
307
  <dict>
297
308
  <key>hash2</key>
298
309
  <data>
299
- rS8E9vR/8aKK2wuSIY7Q2qIZtlLtddvnA4i3d6ZQPi8=
310
+ QCOzEtn1CrkYuVdPbTvUXGISSciLhey5r2BXEz+3cWI=
300
311
  </data>
301
312
  </dict>
302
313
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
303
314
  <dict>
304
315
  <key>hash2</key>
305
316
  <data>
306
- FOrAekhc36NfqLLe4rlbHttfKoRbiuV3L9+WnC24NBc=
317
+ 1mruU/68fB6bnmgfh09YUKQnRXtJD6ahwH7mRkndURw=
307
318
  </data>
308
319
  </dict>
309
320
  <key>Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
310
321
  <dict>
311
322
  <key>hash2</key>
312
323
  <data>
313
- fNFd8NVDp1XDXnMlkDAOFZA+TaFohGaVwMp0uIwiSwM=
324
+ 9OX3ZQsVo2OYylMk/0yi5ykwawR1fwRk/NW8ZOHUc7g=
314
325
  </data>
315
326
  </dict>
316
327
  <key>Modules/module.modulemap</key>
@@ -324,7 +335,7 @@
324
335
  <dict>
325
336
  <key>hash2</key>
326
337
  <data>
327
- Svr+pZXI7cccZzTW1vTq+pkCOZe6kEQLslDFaL22qzI=
338
+ Tfo6GXW0wL6V4grnszDhSoINMxnjKwgN7Z6h4Ha1EEo=
328
339
  </data>
329
340
  </dict>
330
341
  <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.0",
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",