@prosopo/cli 3.1.2 → 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,11 @@
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
+
3
9
  ## 3.1.2
4
10
  ### Patch Changes
5
11
 
@@ -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.2", 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++) {
@@ -123798,9 +123798,14 @@ class zRe extends ES {
123798
123798
  ...await this.getDetectorKeys()
123799
123799
  ].filter((s) => s);
123800
123800
  this.logger.debug(() => {
123801
- const s = r.map(
123802
- (o) => o && `${o.slice(0, 5)}... ${o.slice(o.length - 5, o.length + 5)} ... ${o.slice(-5)}` || ""
123803
- );
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
+ });
123804
123809
  return {
123805
123810
  msg: "Decrypting score",
123806
123811
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/cli",
3
- "version": "3.1.2",
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.2",
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",