@prosopo/config 2.1.10 → 2.1.12

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.
@@ -24,59 +24,43 @@ export default function getTestConfig(): {
24
24
  port: number;
25
25
  };
26
26
  rateLimits: {
27
- "/v1/prosopo/provider/captcha/image": {
27
+ "/v1/prosopo/provider/client/captcha/image": {
28
28
  windowMs: number;
29
29
  limit: number;
30
30
  };
31
- "/v1/prosopo/provider/captcha/pow": {
31
+ "/v1/prosopo/provider/client/captcha/pow": {
32
32
  windowMs: number;
33
33
  limit: number;
34
34
  };
35
- "/v1/prosopo/provider/captcha/frictionless": {
35
+ "/v1/prosopo/provider/client/captcha/frictionless": {
36
36
  windowMs: number;
37
37
  limit: number;
38
38
  };
39
- "/v1/prosopo/provider/solution": {
39
+ "/v1/prosopo/provider/client/solution": {
40
40
  windowMs: number;
41
41
  limit: number;
42
42
  };
43
- "/v1/prosopo/provider/pow/solution": {
43
+ "/v1/prosopo/provider/client/pow/solution": {
44
44
  windowMs: number;
45
45
  limit: number;
46
46
  };
47
- "/v1/prosopo/provider/pow/verify": {
47
+ "/v1/prosopo/provider/client/pow/verify": {
48
48
  windowMs: number;
49
49
  limit: number;
50
50
  };
51
- "/v1/prosopo/provider/image/dapp/verify": {
51
+ "/v1/prosopo/provider/client/image/dapp/verify": {
52
52
  windowMs: number;
53
53
  limit: number;
54
54
  };
55
- "/v1/prosopo/provider/status": {
55
+ "/v1/prosopo/provider/client/status": {
56
56
  windowMs: number;
57
57
  limit: number;
58
58
  };
59
- "/v1/prosopo/provider/details": {
59
+ "/v1/prosopo/provider/public/details": {
60
60
  windowMs: number;
61
61
  limit: number;
62
62
  };
63
- "/v1/prosopo/provider/clients": {
64
- windowMs: number;
65
- limit: number;
66
- };
67
- "/v1/prosopo/provider/events": {
68
- windowMs: number;
69
- limit: number;
70
- };
71
- "/v1/prosopo/provider/admin/dataset": {
72
- windowMs: number;
73
- limit: number;
74
- };
75
- "/v1/prosopo/provider/admin/deregister": {
76
- windowMs: number;
77
- limit: number;
78
- };
79
- "/v1/prosopo/provider/admin/update": {
63
+ "/v1/prosopo/provider/client/events": {
80
64
  windowMs: number;
81
65
  limit: number;
82
66
  };
@@ -86,6 +70,11 @@ export default function getTestConfig(): {
86
70
  };
87
71
  };
88
72
  proxyCount: number;
73
+ authAccount: {
74
+ secret?: string | undefined;
75
+ address?: string | undefined;
76
+ password?: string | undefined;
77
+ };
89
78
  database?: Partial<Record<"development" | "staging" | "production", {
90
79
  type: string;
91
80
  endpoint: string;
@@ -104,5 +93,6 @@ export default function getTestConfig(): {
104
93
  mongoEventsUri?: string | undefined;
105
94
  mongoCaptchaUri?: string | undefined;
106
95
  mongoClientUri?: string | undefined;
96
+ lRules?: Record<string, number> | undefined;
107
97
  };
108
98
  //# sourceMappingURL=test.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/provider/test.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,OAAO,UAAU,aAAa;;;;;;;;;;;;cAuBo9pC,CAAC;eAAqC,CAAC;gBAAsC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAywE,CAAC;oBAAwB,CAAC;;2BAAwE,CAAC;oBAAwB,CAAC;;;;;;EAD38uC"}
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/provider/test.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,OAAO,UAAU,aAAa;;;;;;;;;;;;cAuB6lpC,CAAC;eAAqC,CAAC;gBAAsC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAooD,CAAC;eAAqC,CAAC;gBAAsC,CAAC;;;;;;;;;;wBAA6T,CAAC;oBAAwB,CAAC;;2BAAwE,CAAC;oBAAwB,CAAC;;;;;;;EAD11tC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/config",
3
- "version": "2.1.10",
3
+ "version": "2.1.12",
4
4
  "description": "Prosopo config library",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "build:cjs": "vite build --config vite.cjs.config.ts"
26
26
  },
27
27
  "engines": {
28
- "node": ">=20",
28
+ "node": "20",
29
29
  "npm": ">=9"
30
30
  },
31
31
  "author": "Prosopo Limited",
@@ -36,9 +36,9 @@
36
36
  "@babel/plugin-transform-react-jsx": "7.25.2",
37
37
  "@babel/plugin-transform-runtime": "7.25.4",
38
38
  "@babel/preset-env": "7.25.4",
39
- "@prosopo/common": "2.1.10",
40
- "@prosopo/types": "2.1.10",
41
- "@prosopo/util": "2.1.10",
39
+ "@prosopo/common": "2.1.12",
40
+ "@prosopo/types": "2.1.12",
41
+ "@prosopo/util": "2.1.12",
42
42
  "@rollup/plugin-alias": "5.1.0",
43
43
  "@rollup/plugin-babel": "6.0.4",
44
44
  "@rollup/plugin-commonjs": "26.0.1",