@prosopo/types 0.2.25 → 0.2.29
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/dist/config/config.d.ts +18 -18
- package/package.json +3 -3
package/dist/config/config.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export type BatchCommitConfigOutput = output<typeof BatchCommitConfigSchema>;
|
|
|
36
36
|
export type DatabaseConfigInput = input<typeof DatabaseConfigSchema>;
|
|
37
37
|
export type DatabaseConfigOutput = output<typeof DatabaseConfigSchema>;
|
|
38
38
|
export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
|
|
39
|
-
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
|
|
39
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
|
|
40
40
|
defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
|
|
41
41
|
defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
|
|
42
42
|
account: import("zod").ZodObject<{
|
|
@@ -53,7 +53,7 @@ export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
|
|
|
53
53
|
password?: string | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
}, "strip", import("zod").ZodTypeAny, {
|
|
56
|
-
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
|
|
56
|
+
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log";
|
|
57
57
|
defaultEnvironment: "development" | "staging" | "production";
|
|
58
58
|
defaultNetwork: "development" | "rococo" | "shiden";
|
|
59
59
|
account: {
|
|
@@ -67,12 +67,12 @@ export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
|
|
|
67
67
|
secret?: string | undefined;
|
|
68
68
|
password?: string | undefined;
|
|
69
69
|
};
|
|
70
|
-
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
|
|
70
|
+
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log" | undefined;
|
|
71
71
|
defaultEnvironment?: "development" | "staging" | "production" | undefined;
|
|
72
72
|
defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
|
|
73
73
|
}>;
|
|
74
74
|
export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<{
|
|
75
|
-
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
|
|
75
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
|
|
76
76
|
defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
|
|
77
77
|
defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
|
|
78
78
|
account: import("zod").ZodObject<{
|
|
@@ -152,7 +152,7 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<{
|
|
|
152
152
|
authSource: string;
|
|
153
153
|
}>>>;
|
|
154
154
|
}, "strip", import("zod").ZodTypeAny, {
|
|
155
|
-
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
|
|
155
|
+
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log";
|
|
156
156
|
defaultEnvironment: "development" | "staging" | "production";
|
|
157
157
|
defaultNetwork: "development" | "rococo" | "shiden";
|
|
158
158
|
account: {
|
|
@@ -181,7 +181,7 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<{
|
|
|
181
181
|
secret?: string | undefined;
|
|
182
182
|
password?: string | undefined;
|
|
183
183
|
};
|
|
184
|
-
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
|
|
184
|
+
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log" | undefined;
|
|
185
185
|
defaultEnvironment?: "development" | "staging" | "production" | undefined;
|
|
186
186
|
defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
|
|
187
187
|
networks?: Record<string, {
|
|
@@ -259,7 +259,7 @@ export declare const ProsopoCaptchaSolutionConfigSchema: import("zod").ZodObject
|
|
|
259
259
|
captchaBlockRecency: number;
|
|
260
260
|
}>;
|
|
261
261
|
export declare const ProsopoClientConfigSchema: import("zod").ZodObject<{
|
|
262
|
-
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
|
|
262
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
|
|
263
263
|
defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
|
|
264
264
|
defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
|
|
265
265
|
account: import("zod").ZodObject<{
|
|
@@ -344,7 +344,7 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<{
|
|
|
344
344
|
dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
345
345
|
serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
346
346
|
}, "strip", import("zod").ZodTypeAny, {
|
|
347
|
-
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
|
|
347
|
+
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log";
|
|
348
348
|
defaultEnvironment: "development" | "staging" | "production";
|
|
349
349
|
defaultNetwork: "development" | "rococo" | "shiden";
|
|
350
350
|
account: {
|
|
@@ -378,7 +378,7 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<{
|
|
|
378
378
|
secret?: string | undefined;
|
|
379
379
|
password?: string | undefined;
|
|
380
380
|
};
|
|
381
|
-
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
|
|
381
|
+
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log" | undefined;
|
|
382
382
|
defaultEnvironment?: "development" | "staging" | "production" | undefined;
|
|
383
383
|
defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
|
|
384
384
|
networks?: Record<string, {
|
|
@@ -403,7 +403,7 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<{
|
|
|
403
403
|
serverUrl?: string | undefined;
|
|
404
404
|
}>;
|
|
405
405
|
export declare const ProsopoServerConfigSchema: import("zod").ZodObject<{
|
|
406
|
-
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
|
|
406
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
|
|
407
407
|
defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
|
|
408
408
|
defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
|
|
409
409
|
account: import("zod").ZodObject<{
|
|
@@ -488,7 +488,7 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<{
|
|
|
488
488
|
dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
489
489
|
serverUrl: import("zod").ZodString;
|
|
490
490
|
}, "strip", import("zod").ZodTypeAny, {
|
|
491
|
-
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
|
|
491
|
+
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log";
|
|
492
492
|
defaultEnvironment: "development" | "staging" | "production";
|
|
493
493
|
defaultNetwork: "development" | "rococo" | "shiden";
|
|
494
494
|
account: {
|
|
@@ -523,7 +523,7 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<{
|
|
|
523
523
|
password?: string | undefined;
|
|
524
524
|
};
|
|
525
525
|
serverUrl: string;
|
|
526
|
-
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
|
|
526
|
+
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log" | undefined;
|
|
527
527
|
defaultEnvironment?: "development" | "staging" | "production" | undefined;
|
|
528
528
|
defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
|
|
529
529
|
networks?: Record<string, {
|
|
@@ -591,7 +591,7 @@ export declare const AccountCreatorConfigSchema: import("zod").ZodObject<{
|
|
|
591
591
|
export type ProsopoClientConfigInput = input<typeof ProsopoClientConfigSchema>;
|
|
592
592
|
export type ProsopoClientConfigOutput = output<typeof ProsopoClientConfigSchema>;
|
|
593
593
|
export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
594
|
-
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
|
|
594
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
|
|
595
595
|
defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
|
|
596
596
|
defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
|
|
597
597
|
account: import("zod").ZodObject<{
|
|
@@ -676,7 +676,7 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
|
|
|
676
676
|
dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
677
677
|
serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
678
678
|
}, "strip", import("zod").ZodTypeAny, {
|
|
679
|
-
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
|
|
679
|
+
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log";
|
|
680
680
|
defaultEnvironment: "development" | "staging" | "production";
|
|
681
681
|
defaultNetwork: "development" | "rococo" | "shiden";
|
|
682
682
|
account: {
|
|
@@ -710,7 +710,7 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
|
|
|
710
710
|
secret?: string | undefined;
|
|
711
711
|
password?: string | undefined;
|
|
712
712
|
};
|
|
713
|
-
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
|
|
713
|
+
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log" | undefined;
|
|
714
714
|
defaultEnvironment?: "development" | "staging" | "production" | undefined;
|
|
715
715
|
defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
|
|
716
716
|
networks?: Record<string, {
|
|
@@ -813,7 +813,7 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
|
|
|
813
813
|
export type ProcaptchaClientConfigInput = input<typeof ProcaptchaConfigSchema>;
|
|
814
814
|
export type ProcaptchaClientConfigOutput = output<typeof ProcaptchaConfigSchema>;
|
|
815
815
|
export declare const ProsopoConfigSchema: import("zod").ZodObject<{
|
|
816
|
-
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
|
|
816
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
|
|
817
817
|
defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
|
|
818
818
|
defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
|
|
819
819
|
account: import("zod").ZodObject<{
|
|
@@ -957,7 +957,7 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<{
|
|
|
957
957
|
}>;
|
|
958
958
|
mongoAtlasUri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
959
959
|
}, "strip", import("zod").ZodTypeAny, {
|
|
960
|
-
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
|
|
960
|
+
logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log";
|
|
961
961
|
defaultEnvironment: "development" | "staging" | "production";
|
|
962
962
|
defaultNetwork: "development" | "rococo" | "shiden";
|
|
963
963
|
account: {
|
|
@@ -1012,7 +1012,7 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<{
|
|
|
1012
1012
|
baseURL: string;
|
|
1013
1013
|
port?: number | undefined;
|
|
1014
1014
|
};
|
|
1015
|
-
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
|
|
1015
|
+
logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | "log" | undefined;
|
|
1016
1016
|
defaultEnvironment?: "development" | "staging" | "production" | undefined;
|
|
1017
1017
|
defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
|
|
1018
1018
|
networks?: Record<string, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/types",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"description": "Types for prosopo TypeScript packages",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@polkadot/api-contract": "10.11.1",
|
|
41
41
|
"@polkadot/types": "10.11.1",
|
|
42
42
|
"@polkadot/types-codec": "10.11.1",
|
|
43
|
-
"@prosopo/common": "0.2.
|
|
44
|
-
"@prosopo/captcha-contract": "0.2.
|
|
43
|
+
"@prosopo/common": "0.2.29",
|
|
44
|
+
"@prosopo/captcha-contract": "0.2.29",
|
|
45
45
|
"consola": "^3.2.3",
|
|
46
46
|
"zod": "^3.22.3"
|
|
47
47
|
},
|