@protontech/autofill 0.0.33835493 → 0.0.35481761

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 (41) hide show
  1. package/features/feature.d.ts +13 -2
  2. package/features/feature.js +37 -17
  3. package/features/feature.spec.js +56 -3
  4. package/features/v1/abstract.field.d.ts +8377 -406
  5. package/features/v1/abstract.field.js +23 -23
  6. package/features/v1/abstract.form.d.ts +3428 -626
  7. package/features/v1/abstract.form.js +198 -199
  8. package/features/v1/field.email.d.ts +3421 -0
  9. package/features/v1/field.email.js +7 -7
  10. package/features/v1/field.otp.d.ts +71178 -0
  11. package/features/v1/field.otp.js +42 -42
  12. package/features/v1/field.password.d.ts +99166 -0
  13. package/features/v1/field.password.js +42 -42
  14. package/features/v1/field.username-hidden.d.ts +908 -0
  15. package/features/v1/field.username-hidden.js +7 -7
  16. package/features/v1/field.username.d.ts +42382 -0
  17. package/features/v1/field.username.js +11 -11
  18. package/features/v1/fields.sorted.gen.d.ts +1441 -0
  19. package/features/v1/fields.sorted.gen.js +344 -0
  20. package/features/v1/forms.sorted.gen.d.ts +734 -0
  21. package/features/v1/forms.sorted.gen.js +334 -0
  22. package/features/v1/index.d.ts +964 -84
  23. package/features/v1/index.js +9 -15
  24. package/features/v1/index.spec.js +34 -20
  25. package/models/perceptron/params/login-model.json +91 -91
  26. package/models/perceptron/params/new-password-model.json +21 -21
  27. package/models/perceptron/params/otp-model.json +29 -29
  28. package/models/perceptron/params/password-change-model.json +72 -72
  29. package/models/perceptron/params/password-model.json +23 -23
  30. package/models/perceptron/params/recovery-model.json +81 -81
  31. package/models/perceptron/params/register-model.json +99 -99
  32. package/models/perceptron/params/username-hidden-model.json +10 -10
  33. package/models/perceptron/params/username-model.json +7 -7
  34. package/models/random_forest/params/otp-model.json +306 -366
  35. package/package.json +3 -3
  36. package/rules/v1/index.js +2 -2
  37. package/scripts/gen-sorted-features.d.ts +1 -0
  38. package/scripts/gen-sorted-features.js +128 -0
  39. package/types/index.d.ts +2 -1
  40. package/utils/fathom.d.ts +1 -2
  41. package/utils/fathom.js +2 -2
@@ -1,25 +1,25 @@
1
1
  {
2
- "bias": -0.5452852845191956,
2
+ "bias": -0.5452855229377747,
3
3
  "coeffs": [
4
4
  [
5
5
  "new-password--attrConfirm",
6
- 2.14520525932312
6
+ 2.145205497741699
7
7
  ],
8
8
  [
9
9
  "new-password--attrCreate",
10
- 0.5778966546058655
10
+ 0.5778965950012207
11
11
  ],
12
12
  [
13
13
  "new-password--attrCurrent",
14
- -1.5488977432250977
14
+ -1.5488978624343872
15
15
  ],
16
16
  [
17
17
  "new-password--attrReset",
18
- -0.08878537267446518
18
+ -0.08878538757562637
19
19
  ],
20
20
  [
21
21
  "new-password--autocompleteCurrent",
22
- -1.7373244762420654
22
+ -1.7373242378234863
23
23
  ],
24
24
  [
25
25
  "new-password--autocompleteNew",
@@ -27,15 +27,15 @@
27
27
  ],
28
28
  [
29
29
  "new-password--autocompleteOTP",
30
- -6.41229248046875
30
+ -6.412292957305908
31
31
  ],
32
32
  [
33
33
  "new-password--autocompleteOff",
34
- -0.1778380423784256
34
+ -0.17783798277378082
35
35
  ],
36
36
  [
37
37
  "new-password--fieldCC",
38
- -7.749662399291992
38
+ -7.749661922454834
39
39
  ],
40
40
  [
41
41
  "new-password--fieldExotic",
@@ -51,7 +51,7 @@
51
51
  ],
52
52
  [
53
53
  "new-password--fieldRegister",
54
- 7.078352451324463
54
+ 7.078352928161621
55
55
  ],
56
56
  [
57
57
  "new-password--labelConfirm",
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  [
69
69
  "new-password--nextPwConfirm",
70
- 6.150905609130859
70
+ 6.150906085968018
71
71
  ],
72
72
  [
73
73
  "new-password--nextPwCurrent",
@@ -75,19 +75,19 @@
75
75
  ],
76
76
  [
77
77
  "new-password--nextPwField",
78
- -1.271667242050171
78
+ -1.2716671228408813
79
79
  ],
80
80
  [
81
81
  "new-password--nextPwNew",
82
- -2.0590858459472656
82
+ -2.0590856075286865
83
83
  ],
84
84
  [
85
85
  "new-password--passwordOutlier",
86
- -14.307414054870605
86
+ -14.307415008544922
87
87
  ],
88
88
  [
89
89
  "new-password--prevPwCurrent",
90
- 1.8218131065368652
90
+ 1.8218132257461548
91
91
  ],
92
92
  [
93
93
  "new-password--prevPwField",
@@ -95,7 +95,7 @@
95
95
  ],
96
96
  [
97
97
  "new-password--prevPwNew",
98
- 2.3683602809906006
98
+ 2.3683605194091797
99
99
  ],
100
100
  [
101
101
  "new-password--textConfirm",
@@ -103,11 +103,11 @@
103
103
  ],
104
104
  [
105
105
  "new-password--textCreate",
106
- 5.218682289123535
106
+ 5.218682765960693
107
107
  ],
108
108
  [
109
109
  "new-password--textCurrent",
110
- -0.6788100600242615
110
+ -0.6788100004196167
111
111
  ],
112
112
  [
113
113
  "new-password--fieldLogin,autocompleteNew",
@@ -115,15 +115,15 @@
115
115
  ],
116
116
  [
117
117
  "new-password--fieldLogin,maybeNew",
118
- -2.9041569232940674
118
+ -2.9041571617126465
119
119
  ],
120
120
  [
121
121
  "new-password--fieldRegister,autocompleteCurrent",
122
- 2.1240367889404297
122
+ 2.1240365505218506
123
123
  ],
124
124
  [
125
125
  "new-password--fieldRegister,maybeCurrent",
126
- 0.02828003279864788
126
+ 0.028280029073357582
127
127
  ],
128
128
  [
129
129
  "new-password--prevPwCurrent,nextPwNew",
@@ -1,117 +1,117 @@
1
1
  {
2
- "bias": -4.7398457527160645,
2
+ "bias": -4.965569972991943,
3
3
  "coeffs": [
4
4
  [
5
5
  "otp--attrMFA",
6
- 6.6613945960998535
6
+ 4.788483619689941
7
7
  ],
8
8
  [
9
9
  "otp--attrOTP",
10
- 1.1755399703979492
10
+ 1.0581910610198975
11
11
  ],
12
12
  [
13
13
  "otp--autocompleteOTC",
14
- 6.435840129852295
14
+ 3.723384141921997
15
15
  ],
16
16
  [
17
17
  "otp--fieldCC",
18
- -1.972305178642273
18
+ -3.029210329055786
19
19
  ],
20
20
  [
21
21
  "otp--fieldIdentity",
22
- -2.935760259628296
22
+ -4.196938514709473
23
23
  ],
24
24
  [
25
25
  "otp--formAuthenticator",
26
- 9.9347505569458
26
+ 9.273712158203125
27
27
  ],
28
28
  [
29
29
  "otp--formComplexity",
30
- -4.342885971069336
30
+ -4.522850513458252
31
31
  ],
32
32
  [
33
33
  "otp--formMFA",
34
- 0.8631631731987
34
+ 1.5632493495941162
35
35
  ],
36
36
  [
37
37
  "otp--idMatch",
38
- 6.620510101318359
38
+ 6.893336772918701
39
39
  ],
40
40
  [
41
41
  "otp--labelAuthenticator",
42
- 3.1492226123809814
42
+ 3.155949354171753
43
43
  ],
44
44
  [
45
45
  "otp--labelMFA",
46
- 9.53038501739502
46
+ 8.550812721252441
47
47
  ],
48
48
  [
49
49
  "otp--labelOTP",
50
- 0.4257602095603943
50
+ 0.7417333722114563
51
51
  ],
52
52
  [
53
53
  "otp--nameMatch",
54
- -0.19211307168006897
54
+ -0.3335433006286621
55
55
  ],
56
56
  [
57
57
  "otp--numericMode",
58
- -1.7199307680130005
58
+ -0.022599132731556892
59
59
  ],
60
60
  [
61
61
  "otp--outlierAutocomplete",
62
- -6.185847282409668
62
+ -2.734318971633911
63
63
  ],
64
64
  [
65
65
  "otp--outlierEmailMatchScaled",
66
- -5.495481967926025
66
+ -4.023244380950928
67
67
  ],
68
68
  [
69
69
  "otp--outlierField",
70
- -7.451329231262207
70
+ -6.48042631149292
71
71
  ],
72
72
  [
73
73
  "otp--outlierForm",
74
- 1.8781681060791016
74
+ 3.0551769733428955
75
75
  ],
76
76
  [
77
77
  "otp--outlierHeadings",
78
- -9.15646743774414
78
+ -7.6843647956848145
79
79
  ],
80
80
  [
81
81
  "otp--outlierInputCount",
82
- -5.8055267333984375
82
+ -6.027187347412109
83
83
  ],
84
84
  [
85
85
  "otp--outlierLink",
86
- -3.2309868335723877
86
+ -3.3877320289611816
87
87
  ],
88
88
  [
89
89
  "otp--outlierMaxLength",
90
- -11.20950984954834
90
+ -10.215079307556152
91
91
  ],
92
92
  [
93
93
  "otp--outlierSearch",
94
- -8.073559761047363
94
+ -8.413530349731445
95
95
  ],
96
96
  [
97
97
  "otp--patternOTP",
98
- -1.613316491431442e-36
98
+ 4.295940399169922
99
99
  ],
100
100
  [
101
101
  "otp--siblingOfInterest",
102
- 2.612291097640991
102
+ 1.3552659749984741
103
103
  ],
104
104
  [
105
105
  "otp--singleInput",
106
- 0.5003524422645569
106
+ 0.24302175641059875
107
107
  ],
108
108
  [
109
109
  "otp--textAuthenticator",
110
- 0.31326133012771606
110
+ 0.281171053647995
111
111
  ],
112
112
  [
113
113
  "otp--textMFA",
114
- -0.23756152391433716
114
+ 1.531465768814087
115
115
  ]
116
116
  ]
117
117
  }