@prosopo/cli 2.6.1 → 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
@@ -1,5 +1,25 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 2.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [cf59998]
8
+ - @prosopo/provider@2.8.0
9
+ - @prosopo/env@2.6.3
10
+
11
+ ## 2.6.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [6ff193a]
16
+ - @prosopo/types@2.6.2
17
+ - @prosopo/provider@2.7.1
18
+ - @prosopo/api@2.6.2
19
+ - @prosopo/env@2.6.2
20
+ - @prosopo/keyring@2.6.2
21
+ - @prosopo/user-access-policy@2.6.2
22
+
3
23
  ## 2.6.1
4
24
 
5
25
  ### Patch Changes
@@ -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.1", D0 = new Array(256), VL = new Array(256 * 256);
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++) {
@@ -70643,10 +70643,10 @@ var cs;
70643
70643
  e.image = "image", e.pow = "pow", e.frictionless = "frictionless";
70644
70644
  })(cs || (cs = {}));
70645
70645
  const Og = fo(cs), uie = cs.frictionless, lie = [], fie = 0.5, die = 4, hie = 0.8, Dz = _t({
70646
- captchaType: Og.default(uie),
70647
- domains: ar(ut()).default([...lie]),
70648
- frictionlessThreshold: sn().default(fie),
70649
- powDifficulty: sn().default(die),
70646
+ captchaType: Og.optional().default(uie),
70647
+ domains: ar(ut()).optional().default([...lie]),
70648
+ frictionlessThreshold: sn().optional().default(fie),
70649
+ powDifficulty: sn().optional().default(die),
70650
70650
  imageThreshold: sn().default(hie)
70651
70651
  }), b6 = 60 * 1e3, ql = b6, Nz = ql * 2, Pz = ql * 3, w6 = ql * 15, Ag = b6, Cg = Ag * 2, kz = Ag * 3, Bz = b6 * 15;
70652
70652
  var xp;
@@ -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.1",
3
+ "version": "2.6.3",
4
4
  "description": "CLI for Prosopo Provider",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -29,17 +29,17 @@
29
29
  "@polkadot/keyring": "12.6.2",
30
30
  "@polkadot/types-codec": "10.13.1",
31
31
  "@polkadot/util-crypto": "12.6.2",
32
- "@prosopo/api": "2.6.1",
32
+ "@prosopo/api": "2.6.2",
33
33
  "@prosopo/api-express-router": "2.6.0",
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.1",
38
- "@prosopo/keyring": "2.6.1",
37
+ "@prosopo/env": "2.6.3",
38
+ "@prosopo/keyring": "2.6.2",
39
39
  "@prosopo/locale": "2.6.0",
40
- "@prosopo/provider": "2.7.0",
41
- "@prosopo/types": "2.6.1",
42
- "@prosopo/user-access-policy": "2.6.1",
40
+ "@prosopo/provider": "2.8.0",
41
+ "@prosopo/types": "2.6.2",
42
+ "@prosopo/user-access-policy": "2.6.2",
43
43
  "@prosopo/util": "2.6.0",
44
44
  "cors": "2.8.5",
45
45
  "cron-parser": "4.9.0",