@prosopo/types-database 2.1.9 → 2.1.11
Sign up to get free protection for your applications and to get access to all the features.
package/dist/types/provider.d.ts
CHANGED
@@ -378,7 +378,7 @@ export interface IPAddressBlockRule extends BlockRule {
|
|
378
378
|
dappAccount?: string;
|
379
379
|
}
|
380
380
|
export interface UserAccountBlockRule extends BlockRule {
|
381
|
-
dappAccount
|
381
|
+
dappAccount?: string;
|
382
382
|
userAccount: string;
|
383
383
|
}
|
384
384
|
export type IPBlockRuleRecord = mongoose.Document & IPAddressBlockRule;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EACN,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,eAAe,EAEpB,KAAK,aAAa,EAClB,aAAa,EACb,KAAK,MAAM,EACX,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,IAAI,EACT,KAAK,SAAS,EAEd,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,mBAAmB,EACnB,KAAK,SAAS,EAEd,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,KAAK,EAAE,KAAK,QAAQ,EAAU,MAAM,UAAU,CAAC;AAC5E,OAAO,EASN,KAAK,KAAK,IAAI,MAAM,EACpB,MAAM,KAAK,CAAC;AAEb,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,EAAE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O,CAAC,IAAI,CAAC,CAAC;IAEjB,8BAA8B,CAC7B,SAAS,EAAE,MAAM,GACf,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAEpC,sBAAsB,CACrB,SAAS,EAAE,cAAc,EACzB,MAAM,EAAE,aAAa,EACrB,aAAa,EAAE,OAAO,EACtB,aAAa,EAAE,OAAO,EACtB,aAAa,CAAC,EAAE,MAAM,GACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,mBAAmB,CAAC,aAAa,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElE,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAEpE,kBAAkB,CAAC,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1D,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAEvE,oBAAoB,CACnB,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAEzC,uBAAuB,CAAC,KAAK,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpE,sBAAsB,CACrB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GACjB,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAEnD,yBAAyB,CAAC,KAAK,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxE"}
|
package/dist/types/provider.js
CHANGED
@@ -3,12 +3,14 @@ import { CaptchaSolutionSchema, CaptchaStatus, ScheduledTaskNames, ScheduledTask
|
|
3
3
|
import { Schema } from "mongoose";
|
4
4
|
import { any, array, bigint, boolean, nativeEnum, object, string, } from "zod";
|
5
5
|
import { UserSettingsSchema } from "./client.js";
|
6
|
-
const
|
6
|
+
const ONE_DAY = 60 * 60 * 24;
|
7
|
+
const ONE_WEEK = ONE_DAY * 7;
|
7
8
|
const ONE_MONTH = ONE_WEEK * 4;
|
8
9
|
export const ClientRecordSchema = new Schema({
|
9
10
|
account: String,
|
10
11
|
settings: UserSettingsSchema,
|
11
12
|
});
|
13
|
+
ClientRecordSchema.index({ account: 1 });
|
12
14
|
export var StoredStatusNames;
|
13
15
|
(function (StoredStatusNames) {
|
14
16
|
StoredStatusNames["notStored"] = "notStored";
|
@@ -81,7 +83,7 @@ export const PoWCaptchaRecordSchema = new Schema({
|
|
81
83
|
serverChecked: { type: Boolean, required: true },
|
82
84
|
storedAtTimestamp: { type: Number, required: false },
|
83
85
|
}, { expireAfterSeconds: ONE_MONTH });
|
84
|
-
PoWCaptchaRecordSchema.index({
|
86
|
+
PoWCaptchaRecordSchema.index({ challenge: 1 });
|
85
87
|
export const UserCommitmentRecordSchema = new Schema({
|
86
88
|
userAccount: { type: String, required: true },
|
87
89
|
dappAccount: { type: String, required: true },
|
@@ -179,7 +181,7 @@ export const ScheduledTaskRecordSchema = new Schema({
|
|
179
181
|
export const SessionRecordSchema = new Schema({
|
180
182
|
sessionId: { type: String, required: true, unique: true },
|
181
183
|
createdAt: { type: Date, required: true },
|
182
|
-
});
|
184
|
+
}, { expireAfterSeconds: ONE_DAY });
|
183
185
|
export var BlockRuleType;
|
184
186
|
(function (BlockRuleType) {
|
185
187
|
BlockRuleType["ipAddress"] = "ipAddress";
|
@@ -193,12 +195,14 @@ export const IPBlockRuleRecordSchema = new Schema({
|
|
193
195
|
hardBlock: { type: Boolean, required: false },
|
194
196
|
});
|
195
197
|
IPBlockRuleRecordSchema.index({ ip: 1 }, { unique: true });
|
198
|
+
IPBlockRuleRecordSchema.index({ ip: 1, dappAccount: 1 }, { unique: true });
|
196
199
|
export const UserAccountBlockRuleSchema = new Schema({
|
197
|
-
dappAccount: { type: String, required:
|
200
|
+
dappAccount: { type: String, required: false },
|
198
201
|
userAccount: { type: String, required: true },
|
199
202
|
global: { type: Boolean, required: true },
|
200
203
|
hardBlock: { type: Boolean, required: false },
|
201
204
|
type: { type: String, enum: BlockRuleType, required: true },
|
202
205
|
});
|
206
|
+
UserAccountBlockRuleSchema.index({ userAccount: 1 }, { unique: true });
|
203
207
|
UserAccountBlockRuleSchema.index({ dappAccount: 1, userAccount: 1 }, { unique: true });
|
204
208
|
//# sourceMappingURL=provider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"AAcA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAIN,qBAAqB,EAErB,aAAa,EAab,kBAAkB,EAElB,mBAAmB,EAEnB,eAAe,GACf,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAA4C,MAAM,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EAEN,GAAG,EACH,KAAK,EACL,MAAM,EACN,OAAO,EACP,UAAU,EACV,MAAM,EACN,MAAM,GAEN,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAOjD,MAAM,
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/types/provider.ts"],"names":[],"mappings":"AAcA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAIN,qBAAqB,EAErB,aAAa,EAab,kBAAkB,EAElB,mBAAmB,EAEnB,eAAe,GACf,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAA4C,MAAM,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EAEN,GAAG,EACH,KAAK,EACL,MAAM,EACN,OAAO,EACP,UAAU,EACV,MAAM,EACN,MAAM,GAEN,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAOjD,MAAM,OAAO,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0B,CAAC,KAAK,CAC/B,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,EAClC,EAAE,MAAM,EAAE,IAAI,EAAE,CAChB,CAAC"}
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosopo/types-database",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.11",
|
4
4
|
"description": "Types for prosopo database",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"type": "module",
|
7
7
|
"engines": {
|
8
|
-
"node": "
|
8
|
+
"node": "20",
|
9
9
|
"npm": ">=9"
|
10
10
|
},
|
11
11
|
"exports": {
|
@@ -31,14 +31,14 @@
|
|
31
31
|
},
|
32
32
|
"homepage": "https://github.com/prosopo/captcha#readme",
|
33
33
|
"dependencies": {
|
34
|
-
"@prosopo/common": "2.1.
|
35
|
-
"@prosopo/types": "2.1.
|
34
|
+
"@prosopo/common": "2.1.11",
|
35
|
+
"@prosopo/types": "2.1.11",
|
36
36
|
"mongodb": "6.9.0",
|
37
37
|
"mongoose": "8.6.2",
|
38
38
|
"zod": "3.23.8"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
|
-
"@prosopo/config": "2.1.
|
41
|
+
"@prosopo/config": "2.1.11",
|
42
42
|
"@vitest/coverage-v8": "2.1.1",
|
43
43
|
"concurrently": "9.0.1",
|
44
44
|
"npm-run-all": "4.1.5",
|