@prosopo/database 3.0.10 → 3.0.11
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 +7 -0
- package/dist/cjs/databases/captcha.cjs +16 -3
- package/dist/databases/captcha.js +16 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -65,7 +65,10 @@ class CaptchaDatabase extends mongo.MongoDatabase {
|
|
|
65
65
|
})
|
|
66
66
|
);
|
|
67
67
|
logger.info(() => ({
|
|
68
|
-
data: {
|
|
68
|
+
data: {
|
|
69
|
+
insertedCount: result.insertedCount,
|
|
70
|
+
totalProcessed: sessionEvents.length
|
|
71
|
+
},
|
|
69
72
|
msg: "Mongo Saved Session Events"
|
|
70
73
|
}));
|
|
71
74
|
}
|
|
@@ -83,7 +86,12 @@ class CaptchaDatabase extends mongo.MongoDatabase {
|
|
|
83
86
|
})
|
|
84
87
|
);
|
|
85
88
|
logger.info(() => ({
|
|
86
|
-
data: {
|
|
89
|
+
data: {
|
|
90
|
+
upsertedCount: result.upsertedCount,
|
|
91
|
+
matchedCount: result.matchedCount,
|
|
92
|
+
modifiedCount: result.modifiedCount,
|
|
93
|
+
totalProcessed: imageCaptchaEvents.length
|
|
94
|
+
},
|
|
87
95
|
msg: "Mongo Saved Image Events"
|
|
88
96
|
}));
|
|
89
97
|
}
|
|
@@ -101,7 +109,12 @@ class CaptchaDatabase extends mongo.MongoDatabase {
|
|
|
101
109
|
})
|
|
102
110
|
);
|
|
103
111
|
logger.info(() => ({
|
|
104
|
-
data: {
|
|
112
|
+
data: {
|
|
113
|
+
upsertedCount: result.upsertedCount,
|
|
114
|
+
matchedCount: result.matchedCount,
|
|
115
|
+
modifiedCount: result.modifiedCount,
|
|
116
|
+
totalProcessed: powCaptchaEvents.length
|
|
117
|
+
},
|
|
105
118
|
msg: "Mongo Saved PoW Events"
|
|
106
119
|
}));
|
|
107
120
|
}
|
|
@@ -63,7 +63,10 @@ class CaptchaDatabase extends MongoDatabase {
|
|
|
63
63
|
})
|
|
64
64
|
);
|
|
65
65
|
logger.info(() => ({
|
|
66
|
-
data: {
|
|
66
|
+
data: {
|
|
67
|
+
insertedCount: result.insertedCount,
|
|
68
|
+
totalProcessed: sessionEvents.length
|
|
69
|
+
},
|
|
67
70
|
msg: "Mongo Saved Session Events"
|
|
68
71
|
}));
|
|
69
72
|
}
|
|
@@ -81,7 +84,12 @@ class CaptchaDatabase extends MongoDatabase {
|
|
|
81
84
|
})
|
|
82
85
|
);
|
|
83
86
|
logger.info(() => ({
|
|
84
|
-
data: {
|
|
87
|
+
data: {
|
|
88
|
+
upsertedCount: result.upsertedCount,
|
|
89
|
+
matchedCount: result.matchedCount,
|
|
90
|
+
modifiedCount: result.modifiedCount,
|
|
91
|
+
totalProcessed: imageCaptchaEvents.length
|
|
92
|
+
},
|
|
85
93
|
msg: "Mongo Saved Image Events"
|
|
86
94
|
}));
|
|
87
95
|
}
|
|
@@ -99,7 +107,12 @@ class CaptchaDatabase extends MongoDatabase {
|
|
|
99
107
|
})
|
|
100
108
|
);
|
|
101
109
|
logger.info(() => ({
|
|
102
|
-
data: {
|
|
110
|
+
data: {
|
|
111
|
+
upsertedCount: result.upsertedCount,
|
|
112
|
+
matchedCount: result.matchedCount,
|
|
113
|
+
modifiedCount: result.modifiedCount,
|
|
114
|
+
totalProcessed: powCaptchaEvents.length
|
|
115
|
+
},
|
|
103
116
|
msg: "Mongo Saved PoW Events"
|
|
104
117
|
}));
|
|
105
118
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/database",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "Prosopo database plugins for provider",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@prosopo/common": "3.1.0",
|
|
39
39
|
"@prosopo/config": "3.1.1",
|
|
40
40
|
"@prosopo/types": "3.0.4",
|
|
41
|
-
"@prosopo/types-database": "3.0.
|
|
41
|
+
"@prosopo/types-database": "3.0.11",
|
|
42
42
|
"@prosopo/user-access-policy": "3.3.1",
|
|
43
43
|
"@typegoose/auto-increment": "4.13.0",
|
|
44
44
|
"axios": "1.10.0",
|