@xyo-network/xl1-protocol-sdk 1.30.4 → 2.0.1
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/neutral/block/hydrate/BoundWitnessHydrator.d.ts +18 -1
- package/dist/neutral/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -1
- package/dist/neutral/block/hydrate/createBoundWitnessHydrator.d.ts +30 -30
- package/dist/neutral/block/hydrate/createBoundWitnessHydrator.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +50 -56
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +65 -66
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +47 -47
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Chain.d.ts +4 -4
- package/dist/neutral/config/Chain.d.ts.map +1 -1
- package/dist/neutral/config/Config.d.ts +96 -98
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +51 -57
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/Validation.d.ts +2 -2
- package/dist/neutral/context/Actor.d.ts +51 -57
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +53 -59
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/eip-712/Payloads/EIP712Signature.d.ts +1 -1
- package/dist/neutral/getFileConfig.d.ts +0 -1
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +29 -35
- package/dist/neutral/getFileConfig.mjs.map +3 -3
- package/dist/neutral/index.mjs +183 -126
- package/dist/neutral/index.mjs.map +3 -3
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +52 -52
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts +3 -2
- package/dist/neutral/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts.map +1 -1
- package/dist/neutral/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +3 -2
- package/dist/neutral/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts +4 -3
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/TransactionViewer/SimpleTransactionViewer.d.ts +4 -3
- package/dist/neutral/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -1
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts +2 -2
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +1 -1
- package/dist/neutral/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockReward/SimpleBlockRewardViewer.d.ts +4 -3
- package/dist/neutral/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockValidation/SimpleBlockValidationViewer.d.ts +2 -1
- package/dist/neutral/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts +3 -2
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/RestDataLakeRunner.d.ts +3 -3
- package/dist/neutral/simple/datalake/RestDataLakeRunner.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/RestDataLakeViewer.d.ts +3 -2
- package/dist/neutral/simple/datalake/RestDataLakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeRunner.d.ts +2 -2
- package/dist/neutral/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeViewer.d.ts +3 -2
- package/dist/neutral/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts +4 -4
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts +5 -4
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +4 -4
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts +3 -2
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -1
- package/dist/neutral/simple/runner/SimpleXyoRunner.d.ts +1 -1
- package/dist/neutral/simple/runner/SimpleXyoRunner.d.ts.map +1 -1
- package/dist/neutral/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +1 -1
- package/dist/neutral/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +1 -1
- package/dist/neutral/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +29 -41
- package/dist/neutral/test/index.mjs.map +2 -2
- package/package.json +58 -58
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/mini';
|
|
2
2
|
/** BaseConfigZod constant. */
|
|
3
|
-
export declare const BaseConfigZod: z.
|
|
4
|
-
chain: z.
|
|
5
|
-
id: z.
|
|
6
|
-
genesisRewardAddress: z.
|
|
3
|
+
export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
4
|
+
chain: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
5
|
+
id: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk-js").BrandedHex, string>>>;
|
|
6
|
+
genesisRewardAddress: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
7
7
|
readonly __hex: true;
|
|
8
8
|
} & {
|
|
9
9
|
readonly __address: true;
|
|
10
10
|
}, string>>>;
|
|
11
11
|
}, z.core.$strip>>;
|
|
12
|
-
dataLake: z.
|
|
13
|
-
evm: z.
|
|
14
|
-
chainId:
|
|
15
|
-
infura:
|
|
16
|
-
projectId:
|
|
17
|
-
projectSecret:
|
|
12
|
+
dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./DataLake/DataLake.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./DataLake/DataLake.ts").DataLakeConfig, unknown>>>;
|
|
13
|
+
evm: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
14
|
+
chainId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
infura: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
16
|
+
projectId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
18
|
}, z.core.$strip>>;
|
|
19
|
-
jsonRpc:
|
|
20
|
-
url:
|
|
19
|
+
jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
20
|
+
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
21
21
|
}, z.core.$strip>>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
|
-
log: z.
|
|
24
|
-
logLevel:
|
|
23
|
+
log: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
24
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
25
25
|
info: "info";
|
|
26
26
|
error: "error";
|
|
27
27
|
warn: "warn";
|
|
@@ -29,56 +29,56 @@ export declare const BaseConfigZod: z.ZodObject<{
|
|
|
29
29
|
debug: "debug";
|
|
30
30
|
trace: "trace";
|
|
31
31
|
}>>;
|
|
32
|
-
silent:
|
|
32
|
+
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
|
-
providers: z.
|
|
35
|
-
moniker:
|
|
36
|
-
labels:
|
|
34
|
+
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
35
|
+
moniker: import("zod").ZodString;
|
|
36
|
+
labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
37
37
|
}, z.core.$loose>>>>;
|
|
38
|
-
remote: z.
|
|
39
|
-
rpc:
|
|
40
|
-
protocol:
|
|
41
|
-
url:
|
|
42
|
-
}, z.core.$strip>,
|
|
43
|
-
protocol:
|
|
44
|
-
networkId:
|
|
45
|
-
sessionId:
|
|
38
|
+
remote: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
39
|
+
rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
40
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
41
|
+
url: import("zod").ZodString;
|
|
42
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
43
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
44
|
+
networkId: import("zod").ZodString;
|
|
45
|
+
sessionId: import("zod").ZodString;
|
|
46
46
|
}, z.core.$strip>]>>;
|
|
47
47
|
}, z.core.$strip>>;
|
|
48
|
-
storage: z.
|
|
49
|
-
mongo:
|
|
50
|
-
connectionString:
|
|
51
|
-
database:
|
|
52
|
-
domain:
|
|
53
|
-
password:
|
|
54
|
-
username:
|
|
48
|
+
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
49
|
+
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
50
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
51
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
55
|
}, z.core.$strip>>;
|
|
56
|
-
root:
|
|
56
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
57
57
|
}, z.core.$strip>>;
|
|
58
|
-
telemetry: z.
|
|
59
|
-
metrics:
|
|
60
|
-
scrape:
|
|
61
|
-
path:
|
|
62
|
-
port:
|
|
58
|
+
telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
59
|
+
metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
60
|
+
scrape: import("zod").ZodObject<{
|
|
61
|
+
path: import("zod").ZodDefault<import("zod").ZodString>;
|
|
62
|
+
port: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
63
63
|
}, z.core.$strip>;
|
|
64
64
|
}, z.core.$strip>>;
|
|
65
|
-
otel:
|
|
66
|
-
otlpEndpoint:
|
|
65
|
+
otel: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
66
|
+
otlpEndpoint: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
67
67
|
}, z.core.$strip>>;
|
|
68
68
|
}, z.core.$strip>>;
|
|
69
|
-
validation: z.
|
|
70
|
-
allowedRewardRedeemers:
|
|
69
|
+
validation: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
70
|
+
allowedRewardRedeemers: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
71
71
|
readonly __hex: true;
|
|
72
72
|
} & {
|
|
73
73
|
readonly __address: true;
|
|
74
74
|
}, string>>>>;
|
|
75
|
-
allowedRewardEscrowAccountSigners:
|
|
75
|
+
allowedRewardEscrowAccountSigners: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
76
76
|
readonly __hex: true;
|
|
77
77
|
} & {
|
|
78
78
|
readonly __address: true;
|
|
79
79
|
}, string>>>>;
|
|
80
|
-
minCandidates:
|
|
81
|
-
backoffMs:
|
|
80
|
+
minCandidates: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
81
|
+
backoffMs: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
82
82
|
}, z.core.$strip>>;
|
|
83
83
|
}, z.core.$strip>;
|
|
84
84
|
/** BaseConfig type. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAY5B,8BAA8B;AAC9B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUxB,CAAA;AAEF,uBAAuB;AACvB,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/mini';
|
|
2
2
|
/** ChainConfigZod constant. */
|
|
3
|
-
export declare const ChainConfigZod: z.
|
|
4
|
-
id: z.
|
|
5
|
-
genesisRewardAddress: z.
|
|
3
|
+
export declare const ChainConfigZod: z.ZodMiniObject<{
|
|
4
|
+
id: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk-js").BrandedHex, string>>>;
|
|
5
|
+
genesisRewardAddress: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
6
6
|
readonly __hex: true;
|
|
7
7
|
} & {
|
|
8
8
|
readonly __address: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chain.d.ts","sourceRoot":"","sources":["../../../src/config/Chain.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Chain.d.ts","sourceRoot":"","sources":["../../../src/config/Chain.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAE5C,+BAA+B;AAC/B,eAAO,MAAM,cAAc;;;;;;;iBAezB,CAAA;AAEF,wBAAwB;AACxB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/mini';
|
|
2
2
|
import type { DeepPartial } from './DeepPartial.ts';
|
|
3
3
|
/** ConfigZod constant. */
|
|
4
|
-
export declare const ConfigZod: z.
|
|
5
|
-
chain: z.
|
|
6
|
-
id: z.
|
|
7
|
-
genesisRewardAddress: z.
|
|
4
|
+
export declare const ConfigZod: z.ZodMiniObject<{
|
|
5
|
+
chain: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
6
|
+
id: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk-js").BrandedHex, string>>>;
|
|
7
|
+
genesisRewardAddress: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
8
8
|
readonly __hex: true;
|
|
9
9
|
} & {
|
|
10
10
|
readonly __address: true;
|
|
11
11
|
}, string>>>;
|
|
12
12
|
}, z.core.$strip>>;
|
|
13
|
-
dataLake: z.
|
|
14
|
-
evm: z.
|
|
15
|
-
chainId:
|
|
16
|
-
infura:
|
|
17
|
-
projectId:
|
|
18
|
-
projectSecret:
|
|
13
|
+
dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./index.ts").DataLakeConfig, unknown>>>;
|
|
14
|
+
evm: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
15
|
+
chainId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
infura: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17
|
+
projectId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
19
|
}, z.core.$strip>>;
|
|
20
|
-
jsonRpc:
|
|
21
|
-
url:
|
|
20
|
+
jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
21
|
+
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
}, z.core.$strip>>;
|
|
24
|
-
log: z.
|
|
25
|
-
logLevel:
|
|
24
|
+
log: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
25
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
26
26
|
info: "info";
|
|
27
27
|
error: "error";
|
|
28
28
|
warn: "warn";
|
|
@@ -30,79 +30,79 @@ export declare const ConfigZod: z.ZodObject<{
|
|
|
30
30
|
debug: "debug";
|
|
31
31
|
trace: "trace";
|
|
32
32
|
}>>;
|
|
33
|
-
silent:
|
|
33
|
+
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
34
34
|
}, z.core.$strip>>;
|
|
35
|
-
providers: z.
|
|
36
|
-
moniker:
|
|
37
|
-
labels:
|
|
35
|
+
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
36
|
+
moniker: import("zod").ZodString;
|
|
37
|
+
labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
38
38
|
}, z.core.$loose>>>>;
|
|
39
|
-
remote: z.
|
|
40
|
-
rpc:
|
|
41
|
-
protocol:
|
|
42
|
-
url:
|
|
43
|
-
}, z.core.$strip>,
|
|
44
|
-
protocol:
|
|
45
|
-
networkId:
|
|
46
|
-
sessionId:
|
|
39
|
+
remote: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
40
|
+
rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
41
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
42
|
+
url: import("zod").ZodString;
|
|
43
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
44
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
45
|
+
networkId: import("zod").ZodString;
|
|
46
|
+
sessionId: import("zod").ZodString;
|
|
47
47
|
}, z.core.$strip>]>>;
|
|
48
48
|
}, z.core.$strip>>;
|
|
49
|
-
storage: z.
|
|
50
|
-
mongo:
|
|
51
|
-
connectionString:
|
|
52
|
-
database:
|
|
53
|
-
domain:
|
|
54
|
-
password:
|
|
55
|
-
username:
|
|
49
|
+
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
50
|
+
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
51
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
56
|
}, z.core.$strip>>;
|
|
57
|
-
root:
|
|
57
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
58
|
}, z.core.$strip>>;
|
|
59
|
-
telemetry: z.
|
|
60
|
-
metrics:
|
|
61
|
-
scrape:
|
|
62
|
-
path:
|
|
63
|
-
port:
|
|
59
|
+
telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
60
|
+
metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
61
|
+
scrape: import("zod").ZodObject<{
|
|
62
|
+
path: import("zod").ZodDefault<import("zod").ZodString>;
|
|
63
|
+
port: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
}, z.core.$strip>>;
|
|
66
|
-
otel:
|
|
67
|
-
otlpEndpoint:
|
|
66
|
+
otel: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
67
|
+
otlpEndpoint: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
68
68
|
}, z.core.$strip>>;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
|
-
validation: z.
|
|
71
|
-
allowedRewardRedeemers:
|
|
70
|
+
validation: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
71
|
+
allowedRewardRedeemers: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
72
72
|
readonly __hex: true;
|
|
73
73
|
} & {
|
|
74
74
|
readonly __address: true;
|
|
75
75
|
}, string>>>>;
|
|
76
|
-
allowedRewardEscrowAccountSigners:
|
|
76
|
+
allowedRewardEscrowAccountSigners: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
77
77
|
readonly __hex: true;
|
|
78
78
|
} & {
|
|
79
79
|
readonly __address: true;
|
|
80
80
|
}, string>>>>;
|
|
81
|
-
minCandidates:
|
|
82
|
-
backoffMs:
|
|
81
|
+
minCandidates: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
82
|
+
backoffMs: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
83
83
|
}, z.core.$strip>>;
|
|
84
|
-
actors: z.
|
|
85
|
-
chain: z.
|
|
86
|
-
id: z.
|
|
87
|
-
genesisRewardAddress: z.
|
|
84
|
+
actors: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniObject<{
|
|
85
|
+
chain: z.ZodMiniDefault<z.ZodMiniObject<{
|
|
86
|
+
id: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk-js").BrandedHex, string>>>;
|
|
87
|
+
genesisRewardAddress: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
88
88
|
readonly __hex: true;
|
|
89
89
|
} & {
|
|
90
90
|
readonly __address: true;
|
|
91
91
|
}, string>>>;
|
|
92
92
|
}, z.core.$strip>>;
|
|
93
|
-
dataLake: z.
|
|
94
|
-
evm: z.
|
|
95
|
-
chainId:
|
|
96
|
-
infura:
|
|
97
|
-
projectId:
|
|
98
|
-
projectSecret:
|
|
93
|
+
dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./index.ts").DataLakeConfig, unknown>>>;
|
|
94
|
+
evm: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
95
|
+
chainId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
96
|
+
infura: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
97
|
+
projectId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
+
projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
|
-
jsonRpc:
|
|
101
|
-
url:
|
|
100
|
+
jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
101
|
+
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
102
102
|
}, z.core.$strip>>;
|
|
103
103
|
}, z.core.$strip>>;
|
|
104
|
-
log: z.
|
|
105
|
-
logLevel:
|
|
104
|
+
log: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
105
|
+
logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
106
106
|
info: "info";
|
|
107
107
|
error: "error";
|
|
108
108
|
warn: "warn";
|
|
@@ -110,62 +110,61 @@ export declare const ConfigZod: z.ZodObject<{
|
|
|
110
110
|
debug: "debug";
|
|
111
111
|
trace: "trace";
|
|
112
112
|
}>>;
|
|
113
|
-
silent:
|
|
113
|
+
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
114
114
|
}, z.core.$strip>>;
|
|
115
|
-
providers: z.
|
|
116
|
-
moniker:
|
|
117
|
-
labels:
|
|
115
|
+
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
116
|
+
moniker: import("zod").ZodString;
|
|
117
|
+
labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
118
118
|
}, z.core.$loose>>>>;
|
|
119
|
-
remote: z.
|
|
120
|
-
rpc:
|
|
121
|
-
protocol:
|
|
122
|
-
url:
|
|
123
|
-
}, z.core.$strip>,
|
|
124
|
-
protocol:
|
|
125
|
-
networkId:
|
|
126
|
-
sessionId:
|
|
119
|
+
remote: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
120
|
+
rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
121
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
122
|
+
url: import("zod").ZodString;
|
|
123
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
124
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
125
|
+
networkId: import("zod").ZodString;
|
|
126
|
+
sessionId: import("zod").ZodString;
|
|
127
127
|
}, z.core.$strip>]>>;
|
|
128
128
|
}, z.core.$strip>>;
|
|
129
|
-
storage: z.
|
|
130
|
-
mongo:
|
|
131
|
-
connectionString:
|
|
132
|
-
database:
|
|
133
|
-
domain:
|
|
134
|
-
password:
|
|
135
|
-
username:
|
|
129
|
+
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
130
|
+
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
131
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
132
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
133
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
134
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
135
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
136
136
|
}, z.core.$strip>>;
|
|
137
|
-
root:
|
|
137
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
138
|
}, z.core.$strip>>;
|
|
139
|
-
telemetry: z.
|
|
140
|
-
metrics:
|
|
141
|
-
scrape:
|
|
142
|
-
path:
|
|
143
|
-
port:
|
|
139
|
+
telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
140
|
+
metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
141
|
+
scrape: import("zod").ZodObject<{
|
|
142
|
+
path: import("zod").ZodDefault<import("zod").ZodString>;
|
|
143
|
+
port: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
}, z.core.$strip>>;
|
|
146
|
-
otel:
|
|
147
|
-
otlpEndpoint:
|
|
146
|
+
otel: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
147
|
+
otlpEndpoint: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
148
148
|
}, z.core.$strip>>;
|
|
149
149
|
}, z.core.$strip>>;
|
|
150
|
-
validation: z.
|
|
151
|
-
allowedRewardRedeemers:
|
|
150
|
+
validation: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
151
|
+
allowedRewardRedeemers: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
152
152
|
readonly __hex: true;
|
|
153
153
|
} & {
|
|
154
154
|
readonly __address: true;
|
|
155
155
|
}, string>>>>;
|
|
156
|
-
allowedRewardEscrowAccountSigners:
|
|
156
|
+
allowedRewardEscrowAccountSigners: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
157
157
|
readonly __hex: true;
|
|
158
158
|
} & {
|
|
159
159
|
readonly __address: true;
|
|
160
160
|
}, string>>>>;
|
|
161
|
-
minCandidates:
|
|
162
|
-
backoffMs:
|
|
161
|
+
minCandidates: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
162
|
+
backoffMs: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
163
163
|
}, z.core.$strip>>;
|
|
164
|
-
name: z.
|
|
165
|
-
accountPath: z.
|
|
166
|
-
healthCheckPort: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
164
|
+
name: z.ZodMiniString<string>;
|
|
165
|
+
accountPath: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
167
166
|
}, z.core.$loose>>>;
|
|
168
|
-
healthCheckPort: z.
|
|
167
|
+
healthCheckPort: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
|
|
169
168
|
}, z.core.$strip>;
|
|
170
169
|
/** Config type. */
|
|
171
170
|
export type Config = z.infer<typeof ConfigZod>;
|
|
@@ -320,7 +319,6 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
320
319
|
name: string;
|
|
321
320
|
dataLake?: import("./index.ts").DataLakeConfig | undefined;
|
|
322
321
|
accountPath?: string | undefined;
|
|
323
|
-
healthCheckPort?: number | undefined;
|
|
324
322
|
}[];
|
|
325
323
|
dataLake?: import("./index.ts").DataLakeConfig | undefined;
|
|
326
324
|
healthCheckPort?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOqG,CAAA;AAE3H,mBAAmB;AACnB,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE9C,qCAAqC;AACrC,wBAAgB,aAAa,CAC3B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU5B"}
|