@protontech/autofill 0.0.33690782 → 0.0.35059265

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 (51) hide show
  1. package/features/feature.d.ts +2 -1
  2. package/features/feature.js +15 -10
  3. package/features/feature.spec.js +6 -2
  4. package/features/registry.d.ts +3 -0
  5. package/features/registry.js +9 -0
  6. package/features/sorted.gen.d.ts +14 -0
  7. package/features/sorted.gen.js +22 -0
  8. package/features/v1/abstract.field.js +2 -2
  9. package/features/v1/abstract.form.d.ts +0 -612
  10. package/features/v1/abstract.form.js +1 -2
  11. package/features/v1/index.d.ts +13 -4425
  12. package/features/v1/index.js +12 -14
  13. package/index.d.ts +2 -0
  14. package/index.js +1 -0
  15. package/models/perceptron/index.d.ts +2 -2
  16. package/models/perceptron/index.js +34 -19
  17. package/models/perceptron/params/email-model.json +4 -4
  18. package/models/perceptron/params/login-model.json +94 -94
  19. package/models/perceptron/params/new-password-model.json +18 -18
  20. package/models/perceptron/params/otp-model.json +13 -13
  21. package/models/perceptron/params/password-change-model.json +77 -77
  22. package/models/perceptron/params/password-model.json +20 -20
  23. package/models/perceptron/params/recovery-model.json +70 -70
  24. package/models/perceptron/params/register-model.json +97 -97
  25. package/models/perceptron/params/username-hidden-model.json +8 -8
  26. package/models/perceptron/params/username-model.json +4 -4
  27. package/models/random_forest/index.d.ts +2 -2
  28. package/models/random_forest/index.js +34 -19
  29. package/package.json +6 -3
  30. package/rules/v1/index.d.ts +2 -1
  31. package/rules/v1/index.js +12 -15
  32. package/rulesets.d.ts +9 -2
  33. package/rulesets.js +5 -1
  34. package/scripts/gen-sorted-features.d.ts +1 -0
  35. package/scripts/gen-sorted-features.js +32 -0
  36. package/types/index.d.ts +4 -6
  37. package/types/index.js +3 -3
  38. package/models/prod_20240829/index.d.ts +0 -2
  39. package/models/prod_20240829/index.js +0 -27
  40. package/models/prod_20240829/params/email-model.json +0 -45
  41. package/models/prod_20240829/params/login-model.json +0 -421
  42. package/models/prod_20240829/params/new-password-model.json +0 -125
  43. package/models/prod_20240829/params/otp-model.json +0 -153
  44. package/models/prod_20240829/params/password-change-model.json +0 -421
  45. package/models/prod_20240829/params/password-model.json +0 -125
  46. package/models/prod_20240829/params/recovery-model.json +0 -421
  47. package/models/prod_20240829/params/register-model.json +0 -421
  48. package/models/prod_20240829/params/username-hidden-model.json +0 -41
  49. package/models/prod_20240829/params/username-model.json +0 -45
  50. package/models/v1/index.d.ts +0 -2
  51. package/models/v1/index.js +0 -35
@@ -1,13 +1,13 @@
1
1
  {
2
- "bias": 3.163503885269165,
2
+ "bias": 3.1635043621063232,
3
3
  "coeffs": [
4
4
  [
5
5
  "password--attrConfirm",
6
- -2.803438901901245
6
+ -2.803439140319824
7
7
  ],
8
8
  [
9
9
  "password--attrCreate",
10
- -1.198984980583191
10
+ -1.1989846229553223
11
11
  ],
12
12
  [
13
13
  "password--attrCurrent",
@@ -19,19 +19,19 @@
19
19
  ],
20
20
  [
21
21
  "password--autocompleteCurrent",
22
- 1.4347081184387207
22
+ 1.4347083568572998
23
23
  ],
24
24
  [
25
25
  "password--autocompleteNew",
26
- -6.174221515655518
26
+ -6.174221992492676
27
27
  ],
28
28
  [
29
29
  "password--autocompleteOTP",
30
- -1.9344940185546875
30
+ -1.934494137763977
31
31
  ],
32
32
  [
33
33
  "password--autocompleteOff",
34
- -1.9959008693695068
34
+ -1.9959003925323486
35
35
  ],
36
36
  [
37
37
  "password--fieldCC",
@@ -47,7 +47,7 @@
47
47
  ],
48
48
  [
49
49
  "password--fieldLogin",
50
- 7.1168036460876465
50
+ 7.116803169250488
51
51
  ],
52
52
  [
53
53
  "password--fieldRegister",
@@ -59,11 +59,11 @@
59
59
  ],
60
60
  [
61
61
  "password--labelCreate",
62
- -4.940610408782959
62
+ -4.940610885620117
63
63
  ],
64
64
  [
65
65
  "password--labelCurrent",
66
- 2.943845510482788
66
+ 2.943845272064209
67
67
  ],
68
68
  [
69
69
  "password--nextPwConfirm",
@@ -71,7 +71,7 @@
71
71
  ],
72
72
  [
73
73
  "password--nextPwCurrent",
74
- -0.0007364622433669865
74
+ -0.000736462592612952
75
75
  ],
76
76
  [
77
77
  "password--nextPwField",
@@ -79,7 +79,7 @@
79
79
  ],
80
80
  [
81
81
  "password--nextPwNew",
82
- 3.5548436641693115
82
+ 3.5548434257507324
83
83
  ],
84
84
  [
85
85
  "password--passwordOutlier",
@@ -87,7 +87,7 @@
87
87
  ],
88
88
  [
89
89
  "password--prevPwCurrent",
90
- -1.4101134538650513
90
+ -1.4101133346557617
91
91
  ],
92
92
  [
93
93
  "password--prevPwField",
@@ -95,15 +95,15 @@
95
95
  ],
96
96
  [
97
97
  "password--prevPwNew",
98
- -2.841886281967163
98
+ -2.841886043548584
99
99
  ],
100
100
  [
101
101
  "password--textConfirm",
102
- -0.9127426147460938
102
+ -0.9127426743507385
103
103
  ],
104
104
  [
105
105
  "password--textCreate",
106
- -4.5491533279418945
106
+ -4.549152851104736
107
107
  ],
108
108
  [
109
109
  "password--textCurrent",
@@ -111,11 +111,11 @@
111
111
  ],
112
112
  [
113
113
  "password--fieldLogin,autocompleteNew",
114
- 1.9040064811706543
114
+ 1.904007077217102
115
115
  ],
116
116
  [
117
117
  "password--fieldLogin,maybeNew",
118
- 1.4597890377044678
118
+ 1.4597893953323364
119
119
  ],
120
120
  [
121
121
  "password--fieldRegister,autocompleteCurrent",
@@ -123,11 +123,11 @@
123
123
  ],
124
124
  [
125
125
  "password--fieldRegister,maybeCurrent",
126
- -0.1014399379491806
126
+ -0.1014399453997612
127
127
  ],
128
128
  [
129
129
  "password--prevPwCurrent,nextPwNew",
130
- -1.3695015907287598
130
+ -1.3695014715194702
131
131
  ]
132
132
  ]
133
133
  }
@@ -1,13 +1,13 @@
1
1
  {
2
- "bias": -2.4607722759246826,
2
+ "bias": -2.4607717990875244,
3
3
  "coeffs": [
4
4
  [
5
5
  "recovery--visibleFieldsCountScaled",
6
- 2.638584852218628
6
+ 2.638585329055786
7
7
  ],
8
8
  [
9
9
  "recovery--visibleInputsCountScaled",
10
- 1.4415720701217651
10
+ 1.4415719509124756
11
11
  ],
12
12
  [
13
13
  "recovery--fieldsetsCountScaled",
@@ -23,11 +23,11 @@
23
23
  ],
24
24
  [
25
25
  "recovery--selectsCountScaled",
26
- -4.173792839050293
26
+ -4.173793315887451
27
27
  ],
28
28
  [
29
29
  "recovery--disabledCountScaled",
30
- -0.09392393380403519
30
+ -0.0939238965511322
31
31
  ],
32
32
  [
33
33
  "recovery--radiosCountScaled",
@@ -35,11 +35,11 @@
35
35
  ],
36
36
  [
37
37
  "recovery--readOnlyCountScaled",
38
- 6.996588230133057
38
+ 6.996588706970215
39
39
  ],
40
40
  [
41
41
  "recovery--formComplexityScaled",
42
- -7.132521152496338
42
+ -7.132519721984863
43
43
  ],
44
44
  [
45
45
  "recovery--visibleIdentifiersCountScaled",
@@ -55,27 +55,27 @@
55
55
  ],
56
56
  [
57
57
  "recovery--emailsCountScaled",
58
- 0.7306358218193054
58
+ 0.7306357026100159
59
59
  ],
60
60
  [
61
61
  "recovery--hiddenCountScaled",
62
- 3.7756564617156982
62
+ 3.7756569385528564
63
63
  ],
64
64
  [
65
65
  "recovery--hiddenPasswordsCountScaled",
66
- -4.441102027893066
66
+ -4.441102981567383
67
67
  ],
68
68
  [
69
69
  "recovery--submitsCountScaled",
70
- 0.7697615027427673
70
+ 0.7697613835334778
71
71
  ],
72
72
  [
73
73
  "recovery--identitiesCountScaled",
74
- -2.4982995986938477
74
+ -2.4982993602752686
75
75
  ],
76
76
  [
77
77
  "recovery--ccsCountScaled",
78
- -0.842802107334137
78
+ -0.8428022265434265
79
79
  ],
80
80
  [
81
81
  "recovery--hasTels",
@@ -99,7 +99,7 @@
99
99
  ],
100
100
  [
101
101
  "recovery--hasNumber",
102
- -0.9297000169754028
102
+ -0.9297001361846924
103
103
  ],
104
104
  [
105
105
  "recovery--oneVisibleField",
@@ -107,15 +107,15 @@
107
107
  ],
108
108
  [
109
109
  "recovery--twoVisibleFields",
110
- -6.208211898803711
110
+ -6.208211421966553
111
111
  ],
112
112
  [
113
113
  "recovery--threeOrMoreVisibleFields",
114
- -1.7739930152893066
114
+ -1.7739923000335693
115
115
  ],
116
116
  [
117
117
  "recovery--noPasswords",
118
- 0.23899425566196442
118
+ 0.23899470269680023
119
119
  ],
120
120
  [
121
121
  "recovery--onePassword",
@@ -123,7 +123,7 @@
123
123
  ],
124
124
  [
125
125
  "recovery--twoPasswords",
126
- -1.3477014303207397
126
+ -1.3477011919021606
127
127
  ],
128
128
  [
129
129
  "recovery--threeOrMorePasswords",
@@ -131,23 +131,23 @@
131
131
  ],
132
132
  [
133
133
  "recovery--noIdentifiers",
134
- -5.24464750289917
134
+ -5.244648456573486
135
135
  ],
136
136
  [
137
137
  "recovery--oneIdentifier",
138
- -1.5370241403579712
138
+ -1.537024974822998
139
139
  ],
140
140
  [
141
141
  "recovery--twoIdentifiers",
142
- 3.262336492538452
142
+ 3.262336015701294
143
143
  ],
144
144
  [
145
145
  "recovery--threeOrMoreIdentifiers",
146
- -2.516977548599243
146
+ -2.5169777870178223
147
147
  ],
148
148
  [
149
149
  "recovery--autofocusedIsIdentifier",
150
- 1.0344569683074951
150
+ 1.0344570875167847
151
151
  ],
152
152
  [
153
153
  "recovery--autofocusedIsPassword",
@@ -155,11 +155,11 @@
155
155
  ],
156
156
  [
157
157
  "recovery--visibleRatio",
158
- -1.118340253829956
158
+ -1.1183395385742188
159
159
  ],
160
160
  [
161
161
  "recovery--inputRatio",
162
- -2.73777437210083
162
+ -2.7377750873565674
163
163
  ],
164
164
  [
165
165
  "recovery--hiddenRatio",
@@ -167,7 +167,7 @@
167
167
  ],
168
168
  [
169
169
  "recovery--identifierRatio",
170
- -3.8864951133728027
170
+ -3.8864946365356445
171
171
  ],
172
172
  [
173
173
  "recovery--emailRatio",
@@ -175,7 +175,7 @@
175
175
  ],
176
176
  [
177
177
  "recovery--usernameRatio",
178
- 1.487234115600586
178
+ 1.4872337579727173
179
179
  ],
180
180
  [
181
181
  "recovery--passwordRatio",
@@ -183,11 +183,11 @@
183
183
  ],
184
184
  [
185
185
  "recovery--disabledRatio",
186
- -0.11529175937175751
186
+ -0.11529175192117691
187
187
  ],
188
188
  [
189
189
  "recovery--requiredRatio",
190
- -0.8672489523887634
190
+ -0.86724853515625
191
191
  ],
192
192
  [
193
193
  "recovery--checkboxRatio",
@@ -195,7 +195,7 @@
195
195
  ],
196
196
  [
197
197
  "recovery--hiddenIdentifierRatio",
198
- 0.06713610887527466
198
+ 0.06713663786649704
199
199
  ],
200
200
  [
201
201
  "recovery--hiddenPasswordRatio",
@@ -203,15 +203,15 @@
203
203
  ],
204
204
  [
205
205
  "recovery--pageLogin",
206
- 0.24683307111263275
206
+ 0.24683326482772827
207
207
  ],
208
208
  [
209
209
  "recovery--formTextLogin",
210
- -1.3089786989439745e-05
210
+ -1.3089790627418552e-05
211
211
  ],
212
212
  [
213
213
  "recovery--formAttrsLogin",
214
- 1.560520887374878
214
+ 1.5605207681655884
215
215
  ],
216
216
  [
217
217
  "recovery--headingsLogin",
@@ -219,27 +219,27 @@
219
219
  ],
220
220
  [
221
221
  "recovery--layoutLogin",
222
- 0.043929941952228546
222
+ 0.043930038809776306
223
223
  ],
224
224
  [
225
225
  "recovery--rememberMeCheckbox",
226
- -1.5976451635360718
226
+ -1.5976449251174927
227
227
  ],
228
228
  [
229
229
  "recovery--troubleLink",
230
- 3.233335494995117
230
+ 3.233335256576538
231
231
  ],
232
232
  [
233
233
  "recovery--submitLogin",
234
- 0.4399992525577545
234
+ 0.43999943137168884
235
235
  ],
236
236
  [
237
237
  "recovery--pageRegister",
238
- -1.7381529808044434
238
+ -1.7381528615951538
239
239
  ],
240
240
  [
241
241
  "recovery--formTextRegister",
242
- -0.004387963097542524
242
+ -0.004387961234897375
243
243
  ],
244
244
  [
245
245
  "recovery--formAttrsRegister",
@@ -247,7 +247,7 @@
247
247
  ],
248
248
  [
249
249
  "recovery--headingsRegister",
250
- -1.048626184463501
250
+ -1.0486259460449219
251
251
  ],
252
252
  [
253
253
  "recovery--layoutRegister",
@@ -259,7 +259,7 @@
259
259
  ],
260
260
  [
261
261
  "recovery--pwConfirmRegister",
262
- -1.1711570024490356
262
+ -1.1711571216583252
263
263
  ],
264
264
  [
265
265
  "recovery--submitRegister",
@@ -267,15 +267,15 @@
267
267
  ],
268
268
  [
269
269
  "recovery--TOSRef",
270
- -5.986723899841309
270
+ -5.986724376678467
271
271
  ],
272
272
  [
273
273
  "recovery--pagePwReset",
274
- -2.2017836570739746
274
+ -2.201784133911133
275
275
  ],
276
276
  [
277
277
  "recovery--formTextPwReset",
278
- -2.0704075723187998e-05
278
+ -2.0704079361166805e-05
279
279
  ],
280
280
  [
281
281
  "recovery--formAttrsPwReset",
@@ -287,7 +287,7 @@
287
287
  ],
288
288
  [
289
289
  "recovery--layoutPwReset",
290
- 0.04182944446802139
290
+ 0.041829440742731094
291
291
  ],
292
292
  [
293
293
  "recovery--pageRecovery",
@@ -299,7 +299,7 @@
299
299
  ],
300
300
  [
301
301
  "recovery--formAttrsRecovery",
302
- 2.6148746013641357
302
+ 2.614874839782715
303
303
  ],
304
304
  [
305
305
  "recovery--headingsRecovery",
@@ -307,7 +307,7 @@
307
307
  ],
308
308
  [
309
309
  "recovery--layoutRecovery",
310
- 2.1721582412719727
310
+ 2.1721584796905518
311
311
  ],
312
312
  [
313
313
  "recovery--identifierRecovery",
@@ -315,11 +315,11 @@
315
315
  ],
316
316
  [
317
317
  "recovery--submitRecovery",
318
- 7.611932754516602
318
+ 7.611932277679443
319
319
  ],
320
320
  [
321
321
  "recovery--formTextMFA",
322
- 0.8953113555908203
322
+ 0.8953114151954651
323
323
  ],
324
324
  [
325
325
  "recovery--formAttrsMFA",
@@ -331,31 +331,31 @@
331
331
  ],
332
332
  [
333
333
  "recovery--newsletterForm",
334
- -5.093679904937744
334
+ -5.093679428100586
335
335
  ],
336
336
  [
337
337
  "recovery--searchForm",
338
- 2.6055891513824463
338
+ 2.6055893898010254
339
339
  ],
340
340
  [
341
341
  "recovery--multistepForm",
342
- -2.677457094192505
342
+ -2.677456855773926
343
343
  ],
344
344
  [
345
345
  "recovery--multiAuthForm",
346
- -1.9874005317687988
346
+ -1.9874008893966675
347
347
  ],
348
348
  [
349
349
  "recovery--multistepForm,multiAuthForm",
350
- -1.3790802955627441
350
+ -1.3790804147720337
351
351
  ],
352
352
  [
353
353
  "recovery--visibleRatio,visibleFieldsCountScaled",
354
- 1.791503667831421
354
+ 1.791504144668579
355
355
  ],
356
356
  [
357
357
  "recovery--visibleRatio,visibleIdentifiersCountScaled",
358
- -0.9494102597236633
358
+ -0.9494104981422424
359
359
  ],
360
360
  [
361
361
  "recovery--visibleRatio,visiblePasswordsCountScaled",
@@ -363,27 +363,27 @@
363
363
  ],
364
364
  [
365
365
  "recovery--visibleRatio,hiddenIdentifiersCountScaled",
366
- 1.0118017196655273
366
+ 1.0118012428283691
367
367
  ],
368
368
  [
369
369
  "recovery--visibleRatio,hiddenPasswordsCountScaled",
370
- -0.8004609942436218
370
+ -0.8004611730575562
371
371
  ],
372
372
  [
373
373
  "recovery--visibleRatio,multiAuthForm",
374
- -1.530393123626709
374
+ -1.5303930044174194
375
375
  ],
376
376
  [
377
377
  "recovery--visibleRatio,multistepForm",
378
- 0.636962890625
378
+ 0.6369627118110657
379
379
  ],
380
380
  [
381
381
  "recovery--identifierRatio,visibleFieldsCountScaled",
382
- 4.78097677230835
382
+ 4.780974864959717
383
383
  ],
384
384
  [
385
385
  "recovery--identifierRatio,visibleIdentifiersCountScaled",
386
- -4.398954391479492
386
+ -4.398955345153809
387
387
  ],
388
388
  [
389
389
  "recovery--identifierRatio,visiblePasswordsCountScaled",
@@ -391,7 +391,7 @@
391
391
  ],
392
392
  [
393
393
  "recovery--identifierRatio,hiddenIdentifiersCountScaled",
394
- 2.6882452964782715
394
+ 2.6882450580596924
395
395
  ],
396
396
  [
397
397
  "recovery--identifierRatio,hiddenPasswordsCountScaled",
@@ -407,7 +407,7 @@
407
407
  ],
408
408
  [
409
409
  "recovery--passwordRatio,visibleFieldsCountScaled",
410
- -3.164785385131836
410
+ -3.164785623550415
411
411
  ],
412
412
  [
413
413
  "recovery--passwordRatio,visibleIdentifiersCountScaled",
@@ -415,7 +415,7 @@
415
415
  ],
416
416
  [
417
417
  "recovery--passwordRatio,visiblePasswordsCountScaled",
418
- -3.867450714111328
418
+ -3.8674509525299072
419
419
  ],
420
420
  [
421
421
  "recovery--passwordRatio,hiddenIdentifiersCountScaled",
@@ -423,7 +423,7 @@
423
423
  ],
424
424
  [
425
425
  "recovery--passwordRatio,hiddenPasswordsCountScaled",
426
- -3.002961238962598e-05
426
+ -3.002960693265777e-05
427
427
  ],
428
428
  [
429
429
  "recovery--passwordRatio,multiAuthForm",
@@ -431,7 +431,7 @@
431
431
  ],
432
432
  [
433
433
  "recovery--passwordRatio,multistepForm",
434
- 0.37242916226387024
434
+ 0.37242934107780457
435
435
  ],
436
436
  [
437
437
  "recovery--requiredRatio,visibleFieldsCountScaled",
@@ -439,11 +439,11 @@
439
439
  ],
440
440
  [
441
441
  "recovery--requiredRatio,visibleIdentifiersCountScaled",
442
- -0.7932913303375244
442
+ -0.7932919859886169
443
443
  ],
444
444
  [
445
445
  "recovery--requiredRatio,visiblePasswordsCountScaled",
446
- -1.2200944423675537
446
+ -1.220094084739685
447
447
  ],
448
448
  [
449
449
  "recovery--requiredRatio,hiddenIdentifiersCountScaled",
@@ -455,7 +455,7 @@
455
455
  ],
456
456
  [
457
457
  "recovery--requiredRatio,multiAuthForm",
458
- -0.20280800759792328
458
+ -0.2028079777956009
459
459
  ],
460
460
  [
461
461
  "recovery--requiredRatio,multistepForm",