@prosopo/cli 3.1.2 → 3.1.4

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.4
4
+ ### Patch Changes
5
+
6
+ - @prosopo/env@3.1.2
7
+ - @prosopo/provider@3.2.4
8
+
9
+ ## 3.1.3
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [58ab0ce]
13
+ - @prosopo/provider@3.2.3
14
+
3
15
  ## 3.1.2
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.2", GM = new Array(256), HOe = new Array(256 * 256);
9524
+ const VOe = "3.1.4", 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++) {
@@ -106168,6 +106168,7 @@ const t1 = new ti.Schema({
106168
106168
  storedAtTimestamp: { type: Date, required: !1, expires: ZFe },
106169
106169
  geolocation: { type: String, required: !1 },
106170
106170
  vpn: { type: Boolean, required: !1 },
106171
+ parsedUserAgentInfo: { type: Object, required: !1 },
106171
106172
  frictionlessTokenId: {
106172
106173
  type: pS.Schema.Types.ObjectId,
106173
106174
  required: !1
@@ -106203,6 +106204,7 @@ const r1 = new ti.Schema({
106203
106204
  lastUpdatedTimestamp: { type: Number, required: !1 },
106204
106205
  geolocation: { type: String, required: !1 },
106205
106206
  vpn: { type: Boolean, required: !1 },
106207
+ parsedUserAgentInfo: { type: Object, required: !1 },
106206
106208
  frictionlessTokenId: {
106207
106209
  type: pS.Schema.Types.ObjectId,
106208
106210
  required: !1
@@ -106400,7 +106402,10 @@ class rje extends dU {
106400
106402
  })
106401
106403
  );
106402
106404
  fL.info(() => ({
106403
- data: { insertedCount: i.insertedCount },
106405
+ data: {
106406
+ insertedCount: i.insertedCount,
106407
+ totalProcessed: t.length
106408
+ },
106404
106409
  msg: "Mongo Saved Session Events"
106405
106410
  }));
106406
106411
  }
@@ -106418,7 +106423,12 @@ class rje extends dU {
106418
106423
  })
106419
106424
  );
106420
106425
  fL.info(() => ({
106421
- data: { upsertedCount: i.upsertedCount },
106426
+ data: {
106427
+ upsertedCount: i.upsertedCount,
106428
+ matchedCount: i.matchedCount,
106429
+ modifiedCount: i.modifiedCount,
106430
+ totalProcessed: r.length
106431
+ },
106422
106432
  msg: "Mongo Saved Image Events"
106423
106433
  }));
106424
106434
  }
@@ -106436,7 +106446,12 @@ class rje extends dU {
106436
106446
  })
106437
106447
  );
106438
106448
  fL.info(() => ({
106439
- data: { upsertedCount: i.upsertedCount },
106449
+ data: {
106450
+ upsertedCount: i.upsertedCount,
106451
+ matchedCount: i.matchedCount,
106452
+ modifiedCount: i.modifiedCount,
106453
+ totalProcessed: n.length
106454
+ },
106440
106455
  msg: "Mongo Saved PoW Events"
106441
106456
  }));
106442
106457
  }
@@ -123798,9 +123813,14 @@ class zRe extends ES {
123798
123813
  ...await this.getDetectorKeys()
123799
123814
  ].filter((s) => s);
123800
123815
  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
- );
123816
+ const s = r.map((o) => {
123817
+ if (!o) return "";
123818
+ const a = o.slice(0, 5), u = o.slice(
123819
+ Math.floor(o.length / 2) - 5,
123820
+ Math.floor(o.length / 2) + 5
123821
+ ), c = o.slice(-5);
123822
+ return `${a}...${u}...${c}`;
123823
+ });
123804
123824
  return {
123805
123825
  msg: "Decrypting score",
123806
123826
  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.4",
4
4
  "description": "CLI for Prosopo Provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,10 +36,10 @@
36
36
  "@prosopo/common": "3.1.0",
37
37
  "@prosopo/config": "3.1.1",
38
38
  "@prosopo/dotenv": "3.0.5",
39
- "@prosopo/env": "3.1.1",
39
+ "@prosopo/env": "3.1.2",
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.4",
43
43
  "@prosopo/types": "3.0.4",
44
44
  "@prosopo/user-access-policy": "3.3.1",
45
45
  "@prosopo/util": "3.0.3",