@prosopo/cli 2.6.2 → 2.6.3
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.
package/CHANGELOG.md
CHANGED
|
@@ -10032,7 +10032,7 @@ function Ri(e, t, n) {
|
|
|
10032
10032
|
throw new Error(`Index ${t} smaller than 0`);
|
|
10033
10033
|
return e[t];
|
|
10034
10034
|
}
|
|
10035
|
-
const zL = "2.6.
|
|
10035
|
+
const zL = "2.6.3", D0 = new Array(256), VL = new Array(256 * 256);
|
|
10036
10036
|
for (let e = 0; e < 256; e++)
|
|
10037
10037
|
D0[e] = e.toString(16).padStart(2, "0");
|
|
10038
10038
|
for (let e = 0; e < 256; e++) {
|
|
@@ -71232,6 +71232,7 @@ const dse = lV.merge(_t({
|
|
|
71232
71232
|
captchaType: String,
|
|
71233
71233
|
frictionlessThreshold: Number,
|
|
71234
71234
|
powDifficulty: Number,
|
|
71235
|
+
imageThreshold: Number,
|
|
71235
71236
|
domains: [String]
|
|
71236
71237
|
});
|
|
71237
71238
|
new er.Schema({
|
|
@@ -89343,7 +89344,7 @@ function Qce(e) {
|
|
|
89343
89344
|
i18n: s.i18n,
|
|
89344
89345
|
logger: s.logger
|
|
89345
89346
|
}));
|
|
89346
|
-
const w = await n.imgCaptchaManager.getRandomCaptchasAndRequestHash(a, u, l, h, m.settings.imageThreshold, O), y = {
|
|
89347
|
+
const w = await n.imgCaptchaManager.getRandomCaptchasAndRequestHash(a, u, l, h, m.settings.imageThreshold ?? 0.8, O), y = {
|
|
89347
89348
|
[Ze.status]: "ok",
|
|
89348
89349
|
[Ze.captchas]: w.captchas.map((A) => ({
|
|
89349
89350
|
...A,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/cli",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.3",
|
|
4
4
|
"description": "CLI for Prosopo Provider",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@prosopo/common": "2.6.0",
|
|
35
35
|
"@prosopo/config": "2.6.0",
|
|
36
36
|
"@prosopo/dotenv": "2.6.0",
|
|
37
|
-
"@prosopo/env": "2.6.
|
|
37
|
+
"@prosopo/env": "2.6.3",
|
|
38
38
|
"@prosopo/keyring": "2.6.2",
|
|
39
39
|
"@prosopo/locale": "2.6.0",
|
|
40
|
-
"@prosopo/provider": "2.
|
|
40
|
+
"@prosopo/provider": "2.8.0",
|
|
41
41
|
"@prosopo/types": "2.6.2",
|
|
42
42
|
"@prosopo/user-access-policy": "2.6.2",
|
|
43
43
|
"@prosopo/util": "2.6.0",
|