@prosopo/cli 3.1.1 → 3.1.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,17 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 3.1.3
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [58ab0ce]
7
+ - @prosopo/provider@3.2.3
8
+
9
+ ## 3.1.2
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [9e4e7ca]
13
+ - @prosopo/provider@3.2.2
14
+
3
15
  ## 3.1.1
4
16
  ### Patch Changes
5
17
 
@@ -9521,7 +9521,7 @@ function q4e(e) {
9521
9521
  }
9522
9522
  return t.sort((n, i) => i.length - n.length), t;
9523
9523
  }
9524
- const VOe = "3.1.1", GM = new Array(256), HOe = new Array(256 * 256);
9524
+ const VOe = "3.1.3", GM = new Array(256), HOe = new Array(256 * 256);
9525
9525
  for (let e = 0; e < 256; e++)
9526
9526
  GM[e] = e.toString(16).padStart(2, "0");
9527
9527
  for (let e = 0; e < 256; e++) {
@@ -123797,15 +123797,23 @@ class zRe extends ES {
123797
123797
  process.env.BOT_DECRYPTION_KEY,
123798
123798
  ...await this.getDetectorKeys()
123799
123799
  ].filter((s) => s);
123800
- this.logger.debug(() => ({
123801
- msg: "Decrypting score",
123802
- data: {
123803
- keysLength: r.length,
123804
- keys: r.map(
123805
- (s) => s && `${s.slice(0, 5)}...${s.slice(-5)}` || ""
123806
- )
123807
- }
123808
- }));
123800
+ this.logger.debug(() => {
123801
+ const s = r.map((o) => {
123802
+ if (!o) return "";
123803
+ const a = o.slice(0, 5), u = o.slice(
123804
+ Math.floor(o.length / 2) - 5,
123805
+ Math.floor(o.length / 2) + 5
123806
+ ), c = o.slice(-5);
123807
+ return `${a}...${u}...${c}`;
123808
+ });
123809
+ return {
123810
+ msg: "Decrypting score",
123811
+ data: {
123812
+ keysLength: r.length,
123813
+ keys: s
123814
+ }
123815
+ };
123816
+ });
123809
123817
  let n, i;
123810
123818
  for (const [s, o] of r.entries())
123811
123819
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/cli",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "CLI for Prosopo Provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@prosopo/env": "3.1.1",
40
40
  "@prosopo/keyring": "2.8.7",
41
41
  "@prosopo/locale": "3.1.0",
42
- "@prosopo/provider": "3.2.1",
42
+ "@prosopo/provider": "3.2.3",
43
43
  "@prosopo/types": "3.0.4",
44
44
  "@prosopo/user-access-policy": "3.3.1",
45
45
  "@prosopo/util": "3.0.3",