@prosopo/provider 3.2.2 → 3.2.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,20 @@
|
|
|
1
1
|
# @prosopo/provider
|
|
2
2
|
|
|
3
|
+
## 3.2.4
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [625fef8]
|
|
7
|
+
- @prosopo/types-database@3.0.11
|
|
8
|
+
- @prosopo/database@3.0.11
|
|
9
|
+
- @prosopo/datasets@3.0.11
|
|
10
|
+
- @prosopo/env@3.1.2
|
|
11
|
+
- @prosopo/types-env@2.7.15
|
|
12
|
+
|
|
13
|
+
## 3.2.3
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 58ab0ce: logging key fix
|
|
17
|
+
|
|
3
18
|
## 3.2.2
|
|
4
19
|
### Patch Changes
|
|
5
20
|
|
|
@@ -78,14 +78,21 @@ class FrictionlessManager extends captchaManager.CaptchaManager {
|
|
|
78
78
|
...await this.getDetectorKeys()
|
|
79
79
|
].filter((k) => k);
|
|
80
80
|
this.logger.debug(() => {
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
const loggedKeys = decryptKeys.map((key) => {
|
|
82
|
+
if (!key) return "";
|
|
83
|
+
const start = key.slice(0, 5);
|
|
84
|
+
const middle = key.slice(
|
|
85
|
+
Math.floor(key.length / 2) - 5,
|
|
86
|
+
Math.floor(key.length / 2) + 5
|
|
87
|
+
);
|
|
88
|
+
const end = key.slice(-5);
|
|
89
|
+
return `${start}...${middle}...${end}`;
|
|
90
|
+
});
|
|
84
91
|
return {
|
|
85
92
|
msg: "Decrypting score",
|
|
86
93
|
data: {
|
|
87
94
|
keysLength: decryptKeys.length,
|
|
88
|
-
keys:
|
|
95
|
+
keys: loggedKeys
|
|
89
96
|
}
|
|
90
97
|
};
|
|
91
98
|
});
|
|
@@ -76,14 +76,21 @@ class FrictionlessManager extends CaptchaManager {
|
|
|
76
76
|
...await this.getDetectorKeys()
|
|
77
77
|
].filter((k) => k);
|
|
78
78
|
this.logger.debug(() => {
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
const loggedKeys = decryptKeys.map((key) => {
|
|
80
|
+
if (!key) return "";
|
|
81
|
+
const start = key.slice(0, 5);
|
|
82
|
+
const middle = key.slice(
|
|
83
|
+
Math.floor(key.length / 2) - 5,
|
|
84
|
+
Math.floor(key.length / 2) + 5
|
|
85
|
+
);
|
|
86
|
+
const end = key.slice(-5);
|
|
87
|
+
return `${start}...${middle}...${end}`;
|
|
88
|
+
});
|
|
82
89
|
return {
|
|
83
90
|
msg: "Decrypting score",
|
|
84
91
|
data: {
|
|
85
92
|
keysLength: decryptKeys.length,
|
|
86
|
-
keys:
|
|
93
|
+
keys: loggedKeys
|
|
87
94
|
}
|
|
88
95
|
};
|
|
89
96
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/provider",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"@prosopo/api-route": "2.6.8",
|
|
25
25
|
"@prosopo/common": "3.1.0",
|
|
26
26
|
"@prosopo/config": "3.1.1",
|
|
27
|
-
"@prosopo/database": "3.0.
|
|
28
|
-
"@prosopo/datasets": "3.0.
|
|
29
|
-
"@prosopo/env": "3.1.
|
|
27
|
+
"@prosopo/database": "3.0.11",
|
|
28
|
+
"@prosopo/datasets": "3.0.11",
|
|
29
|
+
"@prosopo/env": "3.1.2",
|
|
30
30
|
"@prosopo/keyring": "2.8.7",
|
|
31
31
|
"@prosopo/types": "3.0.4",
|
|
32
|
-
"@prosopo/types-database": "3.0.
|
|
33
|
-
"@prosopo/types-env": "2.7.
|
|
32
|
+
"@prosopo/types-database": "3.0.11",
|
|
33
|
+
"@prosopo/types-env": "2.7.15",
|
|
34
34
|
"@prosopo/user-access-policy": "3.3.1",
|
|
35
35
|
"@prosopo/util": "3.0.3",
|
|
36
36
|
"@prosopo/util-crypto": "13.5.2",
|