@xyo-network/xl1-protocol-sdk 3.0.6 → 3.0.8
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/CreatableProvider/AbstractCreatableProvider.d.ts +5 -95
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +30 -573
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +5 -98
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +5 -98
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Config.d.ts +20 -386
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +30 -573
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/index.d.ts +2 -4
- package/dist/neutral/config/index.d.ts.map +1 -1
- package/dist/neutral/config/normalizeConnectionsConfig.d.ts +2 -5
- package/dist/neutral/config/normalizeConnectionsConfig.d.ts.map +1 -1
- package/dist/neutral/config/synthesizeRpcConnectionBindings.d.ts +8 -0
- package/dist/neutral/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
- package/dist/neutral/config/transports/Mongo.d.ts +12 -0
- package/dist/neutral/config/transports/Mongo.d.ts.map +1 -0
- package/dist/neutral/config/{Remote.d.ts → transports/Rpc.d.ts} +1 -14
- package/dist/neutral/config/transports/Rpc.d.ts.map +1 -0
- package/dist/neutral/config/transports/S3.d.ts +19 -0
- package/dist/neutral/config/transports/S3.d.ts.map +1 -0
- package/dist/neutral/config/transports/Transport.d.ts +15 -6
- package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
- package/dist/neutral/config/transports/index.d.ts +3 -0
- package/dist/neutral/config/transports/index.d.ts.map +1 -1
- package/dist/neutral/context/Actor.d.ts +30 -573
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +30 -573
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/context/index.d.ts +0 -1
- package/dist/neutral/context/index.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +10 -190
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +133 -199
- package/dist/neutral/getFileConfig.mjs.map +4 -4
- package/dist/neutral/index.mjs +317 -567
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +30 -573
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/neutral/test/index.mjs +141 -207
- package/dist/neutral/test/index.mjs.map +4 -4
- package/package.json +13 -13
- package/dist/neutral/config/Evm.d.ts +0 -24
- package/dist/neutral/config/Evm.d.ts.map +0 -1
- package/dist/neutral/config/Remote.d.ts.map +0 -1
- package/dist/neutral/config/adaptLegacyConfig.d.ts +0 -8
- package/dist/neutral/config/adaptLegacyConfig.d.ts.map +0 -1
- package/dist/neutral/config/storage/Storage.d.ts +0 -45
- package/dist/neutral/config/storage/Storage.d.ts.map +0 -1
- package/dist/neutral/config/storage/driver/Mongo.d.ts +0 -25
- package/dist/neutral/config/storage/driver/Mongo.d.ts.map +0 -1
- package/dist/neutral/config/storage/driver/S3.d.ts +0 -77
- package/dist/neutral/config/storage/driver/S3.d.ts.map +0 -1
- package/dist/neutral/config/storage/driver/index.d.ts +0 -3
- package/dist/neutral/config/storage/driver/index.d.ts.map +0 -1
- package/dist/neutral/config/storage/index.d.ts +0 -3
- package/dist/neutral/config/storage/index.d.ts.map +0 -1
- package/dist/neutral/context/getEmptyProviderContext.d.ts +0 -7
- package/dist/neutral/context/getEmptyProviderContext.d.ts.map +0 -1
|
@@ -32,16 +32,6 @@ export declare const BaseConfigContextZod: z.ZodMiniObject<{
|
|
|
32
32
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
34
|
dataLake: z.ZodMiniOptional<import("zod").ZodType<import("../config/index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("../config/index.ts").DataLakeConfig, unknown>>>;
|
|
35
|
-
evm: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
36
|
-
chainId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
|
-
infura: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
38
|
-
projectId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
39
|
-
projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
42
|
-
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
43
|
-
}, z.core.$strip>>;
|
|
44
|
-
}, z.core.$strip>>;
|
|
45
35
|
log: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
46
36
|
logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
47
37
|
error: "error";
|
|
@@ -69,9 +59,11 @@ export declare const BaseConfigContextZod: z.ZodMiniObject<{
|
|
|
69
59
|
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
60
|
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
61
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
72
|
-
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
73
|
-
url: import("zod").ZodString;
|
|
74
62
|
type: import("zod").ZodLiteral<"rpc">;
|
|
63
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
64
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
|
+
networkId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
66
|
+
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
67
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
76
68
|
type: import("zod").ZodLiteral<"rest">;
|
|
77
69
|
baseUrl: import("zod").ZodString;
|
|
@@ -86,6 +78,7 @@ export declare const BaseConfigContextZod: z.ZodMiniObject<{
|
|
|
86
78
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
87
79
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
88
80
|
url: import("zod").ZodString;
|
|
81
|
+
chainId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
89
82
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
90
83
|
type: import("zod").ZodLiteral<"memory">;
|
|
91
84
|
}, z.core.$strip>], "type">>>>;
|
|
@@ -97,92 +90,6 @@ export declare const BaseConfigContextZod: z.ZodMiniObject<{
|
|
|
97
90
|
moniker: import("zod").ZodString;
|
|
98
91
|
labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
99
92
|
}, z.core.$loose>>>>;
|
|
100
|
-
remote: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
101
|
-
rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
102
|
-
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
103
|
-
url: import("zod").ZodString;
|
|
104
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
105
|
-
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
106
|
-
networkId: import("zod").ZodString;
|
|
107
|
-
sessionId: import("zod").ZodString;
|
|
108
|
-
}, z.core.$strip>]>>;
|
|
109
|
-
}, z.core.$strip>>;
|
|
110
|
-
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
111
|
-
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
112
|
-
read: "read";
|
|
113
|
-
write: "write";
|
|
114
|
-
}>>;
|
|
115
|
-
root: import("zod").ZodString;
|
|
116
|
-
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
|
-
type: import("zod").ZodLiteral<"lmdb">;
|
|
118
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
119
|
-
type: import("zod").ZodLiteral<"mongo">;
|
|
120
|
-
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
121
|
-
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
122
|
-
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
123
|
-
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
124
|
-
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
125
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
126
|
-
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
127
|
-
url: import("zod").ZodString;
|
|
128
|
-
type: import("zod").ZodLiteral<"rpc">;
|
|
129
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
130
|
-
type: import("zod").ZodLiteral<"rest">;
|
|
131
|
-
baseUrl: import("zod").ZodString;
|
|
132
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
133
|
-
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
134
|
-
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
135
|
-
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
136
|
-
type: import("zod").ZodLiteral<"s3">;
|
|
137
|
-
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
|
-
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
|
-
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
140
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
141
|
-
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
142
|
-
url: import("zod").ZodString;
|
|
143
|
-
}, z.core.$strip>, import("zod").ZodObject<{
|
|
144
|
-
type: import("zod").ZodLiteral<"memory">;
|
|
145
|
-
}, z.core.$strip>], "type">>>>;
|
|
146
|
-
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
147
|
-
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
148
|
-
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
149
|
-
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
150
|
-
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
151
|
-
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
152
|
-
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
|
-
}, z.core.$strip>>;
|
|
154
|
-
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
155
|
-
s3: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
156
|
-
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
157
|
-
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
158
|
-
chainState: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
159
|
-
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
160
|
-
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
161
|
-
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
162
|
-
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
163
|
-
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
164
|
-
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
165
|
-
}, z.core.$strip>>;
|
|
166
|
-
finalized: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
167
|
-
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
168
|
-
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
169
|
-
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
170
|
-
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
171
|
-
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
172
|
-
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
173
|
-
}, z.core.$strip>>;
|
|
174
|
-
index: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
175
|
-
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
176
|
-
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
177
|
-
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
|
-
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
179
|
-
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
|
-
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
181
|
-
}, z.core.$strip>>;
|
|
182
|
-
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
183
|
-
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
184
|
-
}, z.core.$strip>>;
|
|
185
|
-
}, z.core.$strip>>;
|
|
186
93
|
telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
187
94
|
metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
188
95
|
scrape: import("zod").ZodObject<{
|
|
@@ -229,16 +136,6 @@ export declare const isBaseConfigContext: <T>(value: T) => value is T & {
|
|
|
229
136
|
readonly __address: true;
|
|
230
137
|
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
231
138
|
};
|
|
232
|
-
evm: {
|
|
233
|
-
chainId?: string | undefined;
|
|
234
|
-
infura?: {
|
|
235
|
-
projectId?: string | undefined;
|
|
236
|
-
projectSecret?: string | undefined;
|
|
237
|
-
} | undefined;
|
|
238
|
-
jsonRpc?: {
|
|
239
|
-
url?: string | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
};
|
|
242
139
|
log: {
|
|
243
140
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
244
141
|
silent: boolean;
|
|
@@ -256,9 +153,11 @@ export declare const isBaseConfigContext: <T>(value: T) => value is T & {
|
|
|
256
153
|
password?: string | undefined;
|
|
257
154
|
username?: string | undefined;
|
|
258
155
|
} | {
|
|
259
|
-
protocol: string;
|
|
260
|
-
url: string;
|
|
261
156
|
type: "rpc";
|
|
157
|
+
protocol: string;
|
|
158
|
+
url?: string | undefined;
|
|
159
|
+
networkId?: string | undefined;
|
|
160
|
+
sessionId?: string | undefined;
|
|
262
161
|
} | {
|
|
263
162
|
type: "rest";
|
|
264
163
|
baseUrl: string;
|
|
@@ -273,6 +172,7 @@ export declare const isBaseConfigContext: <T>(value: T) => value is T & {
|
|
|
273
172
|
} | {
|
|
274
173
|
type: "evm-rpc";
|
|
275
174
|
url: string;
|
|
175
|
+
chainId?: string | undefined;
|
|
276
176
|
} | {
|
|
277
177
|
type: "memory";
|
|
278
178
|
}>;
|
|
@@ -285,89 +185,6 @@ export declare const isBaseConfigContext: <T>(value: T) => value is T & {
|
|
|
285
185
|
moniker: string;
|
|
286
186
|
labels?: string[] | undefined;
|
|
287
187
|
}[];
|
|
288
|
-
remote: {
|
|
289
|
-
rpc?: {
|
|
290
|
-
protocol: string;
|
|
291
|
-
url: string;
|
|
292
|
-
} | {
|
|
293
|
-
protocol: string;
|
|
294
|
-
networkId: string;
|
|
295
|
-
sessionId: string;
|
|
296
|
-
} | undefined;
|
|
297
|
-
};
|
|
298
|
-
transports: Record<string, {
|
|
299
|
-
root: string;
|
|
300
|
-
type: "lmdb";
|
|
301
|
-
access?: "read" | "write" | undefined;
|
|
302
|
-
store?: string | undefined;
|
|
303
|
-
} | {
|
|
304
|
-
type: "mongo";
|
|
305
|
-
connectionString?: string | undefined;
|
|
306
|
-
database?: string | undefined;
|
|
307
|
-
domain?: string | undefined;
|
|
308
|
-
password?: string | undefined;
|
|
309
|
-
username?: string | undefined;
|
|
310
|
-
} | {
|
|
311
|
-
protocol: string;
|
|
312
|
-
url: string;
|
|
313
|
-
type: "rpc";
|
|
314
|
-
} | {
|
|
315
|
-
type: "rest";
|
|
316
|
-
baseUrl: string;
|
|
317
|
-
} | {
|
|
318
|
-
type: "s3";
|
|
319
|
-
bucket?: string | undefined;
|
|
320
|
-
prefix?: string | undefined;
|
|
321
|
-
readUrl?: string | undefined;
|
|
322
|
-
accessKeyId?: string | undefined;
|
|
323
|
-
accountId?: string | undefined;
|
|
324
|
-
secretAccessKey?: string | undefined;
|
|
325
|
-
} | {
|
|
326
|
-
type: "evm-rpc";
|
|
327
|
-
url: string;
|
|
328
|
-
} | {
|
|
329
|
-
type: "memory";
|
|
330
|
-
}>;
|
|
331
|
-
storage: {
|
|
332
|
-
mongo?: {
|
|
333
|
-
connectionString?: string | undefined;
|
|
334
|
-
database?: string | undefined;
|
|
335
|
-
domain?: string | undefined;
|
|
336
|
-
password?: string | undefined;
|
|
337
|
-
username?: string | undefined;
|
|
338
|
-
} | undefined;
|
|
339
|
-
root?: string | undefined;
|
|
340
|
-
s3?: {
|
|
341
|
-
accessKeyId?: string | undefined;
|
|
342
|
-
accountId?: string | undefined;
|
|
343
|
-
chainState?: {
|
|
344
|
-
accessKeyId?: string | undefined;
|
|
345
|
-
accountId?: string | undefined;
|
|
346
|
-
bucket?: string | undefined;
|
|
347
|
-
prefix?: string | undefined;
|
|
348
|
-
readUrl?: string | undefined;
|
|
349
|
-
secretAccessKey?: string | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
finalized?: {
|
|
352
|
-
accessKeyId?: string | undefined;
|
|
353
|
-
accountId?: string | undefined;
|
|
354
|
-
bucket?: string | undefined;
|
|
355
|
-
prefix?: string | undefined;
|
|
356
|
-
readUrl?: string | undefined;
|
|
357
|
-
secretAccessKey?: string | undefined;
|
|
358
|
-
} | undefined;
|
|
359
|
-
index?: {
|
|
360
|
-
accessKeyId?: string | undefined;
|
|
361
|
-
accountId?: string | undefined;
|
|
362
|
-
bucket?: string | undefined;
|
|
363
|
-
prefix?: string | undefined;
|
|
364
|
-
readUrl?: string | undefined;
|
|
365
|
-
secretAccessKey?: string | undefined;
|
|
366
|
-
} | undefined;
|
|
367
|
-
prefix?: string | undefined;
|
|
368
|
-
secretAccessKey?: string | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
};
|
|
371
188
|
telemetry: {
|
|
372
189
|
metrics?: {
|
|
373
190
|
scrape: {
|
|
@@ -416,16 +233,6 @@ export declare const asBaseConfigContext: {
|
|
|
416
233
|
readonly __address: true;
|
|
417
234
|
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
418
235
|
};
|
|
419
|
-
evm: {
|
|
420
|
-
chainId?: string | undefined;
|
|
421
|
-
infura?: {
|
|
422
|
-
projectId?: string | undefined;
|
|
423
|
-
projectSecret?: string | undefined;
|
|
424
|
-
} | undefined;
|
|
425
|
-
jsonRpc?: {
|
|
426
|
-
url?: string | undefined;
|
|
427
|
-
} | undefined;
|
|
428
|
-
};
|
|
429
236
|
log: {
|
|
430
237
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
431
238
|
silent: boolean;
|
|
@@ -443,9 +250,11 @@ export declare const asBaseConfigContext: {
|
|
|
443
250
|
password?: string | undefined;
|
|
444
251
|
username?: string | undefined;
|
|
445
252
|
} | {
|
|
446
|
-
protocol: string;
|
|
447
|
-
url: string;
|
|
448
253
|
type: "rpc";
|
|
254
|
+
protocol: string;
|
|
255
|
+
url?: string | undefined;
|
|
256
|
+
networkId?: string | undefined;
|
|
257
|
+
sessionId?: string | undefined;
|
|
449
258
|
} | {
|
|
450
259
|
type: "rest";
|
|
451
260
|
baseUrl: string;
|
|
@@ -460,6 +269,7 @@ export declare const asBaseConfigContext: {
|
|
|
460
269
|
} | {
|
|
461
270
|
type: "evm-rpc";
|
|
462
271
|
url: string;
|
|
272
|
+
chainId?: string | undefined;
|
|
463
273
|
} | {
|
|
464
274
|
type: "memory";
|
|
465
275
|
}>;
|
|
@@ -472,89 +282,6 @@ export declare const asBaseConfigContext: {
|
|
|
472
282
|
moniker: string;
|
|
473
283
|
labels?: string[] | undefined;
|
|
474
284
|
}[];
|
|
475
|
-
remote: {
|
|
476
|
-
rpc?: {
|
|
477
|
-
protocol: string;
|
|
478
|
-
url: string;
|
|
479
|
-
} | {
|
|
480
|
-
protocol: string;
|
|
481
|
-
networkId: string;
|
|
482
|
-
sessionId: string;
|
|
483
|
-
} | undefined;
|
|
484
|
-
};
|
|
485
|
-
transports: Record<string, {
|
|
486
|
-
root: string;
|
|
487
|
-
type: "lmdb";
|
|
488
|
-
access?: "read" | "write" | undefined;
|
|
489
|
-
store?: string | undefined;
|
|
490
|
-
} | {
|
|
491
|
-
type: "mongo";
|
|
492
|
-
connectionString?: string | undefined;
|
|
493
|
-
database?: string | undefined;
|
|
494
|
-
domain?: string | undefined;
|
|
495
|
-
password?: string | undefined;
|
|
496
|
-
username?: string | undefined;
|
|
497
|
-
} | {
|
|
498
|
-
protocol: string;
|
|
499
|
-
url: string;
|
|
500
|
-
type: "rpc";
|
|
501
|
-
} | {
|
|
502
|
-
type: "rest";
|
|
503
|
-
baseUrl: string;
|
|
504
|
-
} | {
|
|
505
|
-
type: "s3";
|
|
506
|
-
bucket?: string | undefined;
|
|
507
|
-
prefix?: string | undefined;
|
|
508
|
-
readUrl?: string | undefined;
|
|
509
|
-
accessKeyId?: string | undefined;
|
|
510
|
-
accountId?: string | undefined;
|
|
511
|
-
secretAccessKey?: string | undefined;
|
|
512
|
-
} | {
|
|
513
|
-
type: "evm-rpc";
|
|
514
|
-
url: string;
|
|
515
|
-
} | {
|
|
516
|
-
type: "memory";
|
|
517
|
-
}>;
|
|
518
|
-
storage: {
|
|
519
|
-
mongo?: {
|
|
520
|
-
connectionString?: string | undefined;
|
|
521
|
-
database?: string | undefined;
|
|
522
|
-
domain?: string | undefined;
|
|
523
|
-
password?: string | undefined;
|
|
524
|
-
username?: string | undefined;
|
|
525
|
-
} | undefined;
|
|
526
|
-
root?: string | undefined;
|
|
527
|
-
s3?: {
|
|
528
|
-
accessKeyId?: string | undefined;
|
|
529
|
-
accountId?: string | undefined;
|
|
530
|
-
chainState?: {
|
|
531
|
-
accessKeyId?: string | undefined;
|
|
532
|
-
accountId?: string | undefined;
|
|
533
|
-
bucket?: string | undefined;
|
|
534
|
-
prefix?: string | undefined;
|
|
535
|
-
readUrl?: string | undefined;
|
|
536
|
-
secretAccessKey?: string | undefined;
|
|
537
|
-
} | undefined;
|
|
538
|
-
finalized?: {
|
|
539
|
-
accessKeyId?: string | undefined;
|
|
540
|
-
accountId?: string | undefined;
|
|
541
|
-
bucket?: string | undefined;
|
|
542
|
-
prefix?: string | undefined;
|
|
543
|
-
readUrl?: string | undefined;
|
|
544
|
-
secretAccessKey?: string | undefined;
|
|
545
|
-
} | undefined;
|
|
546
|
-
index?: {
|
|
547
|
-
accessKeyId?: string | undefined;
|
|
548
|
-
accountId?: string | undefined;
|
|
549
|
-
bucket?: string | undefined;
|
|
550
|
-
prefix?: string | undefined;
|
|
551
|
-
readUrl?: string | undefined;
|
|
552
|
-
secretAccessKey?: string | undefined;
|
|
553
|
-
} | undefined;
|
|
554
|
-
prefix?: string | undefined;
|
|
555
|
-
secretAccessKey?: string | undefined;
|
|
556
|
-
} | undefined;
|
|
557
|
-
};
|
|
558
285
|
telemetry: {
|
|
559
286
|
metrics?: {
|
|
560
287
|
scrape: {
|
|
@@ -601,16 +328,6 @@ export declare const asBaseConfigContext: {
|
|
|
601
328
|
readonly __address: true;
|
|
602
329
|
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
603
330
|
};
|
|
604
|
-
evm: {
|
|
605
|
-
chainId?: string | undefined;
|
|
606
|
-
infura?: {
|
|
607
|
-
projectId?: string | undefined;
|
|
608
|
-
projectSecret?: string | undefined;
|
|
609
|
-
} | undefined;
|
|
610
|
-
jsonRpc?: {
|
|
611
|
-
url?: string | undefined;
|
|
612
|
-
} | undefined;
|
|
613
|
-
};
|
|
614
331
|
log: {
|
|
615
332
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
616
333
|
silent: boolean;
|
|
@@ -628,9 +345,11 @@ export declare const asBaseConfigContext: {
|
|
|
628
345
|
password?: string | undefined;
|
|
629
346
|
username?: string | undefined;
|
|
630
347
|
} | {
|
|
631
|
-
protocol: string;
|
|
632
|
-
url: string;
|
|
633
348
|
type: "rpc";
|
|
349
|
+
protocol: string;
|
|
350
|
+
url?: string | undefined;
|
|
351
|
+
networkId?: string | undefined;
|
|
352
|
+
sessionId?: string | undefined;
|
|
634
353
|
} | {
|
|
635
354
|
type: "rest";
|
|
636
355
|
baseUrl: string;
|
|
@@ -645,6 +364,7 @@ export declare const asBaseConfigContext: {
|
|
|
645
364
|
} | {
|
|
646
365
|
type: "evm-rpc";
|
|
647
366
|
url: string;
|
|
367
|
+
chainId?: string | undefined;
|
|
648
368
|
} | {
|
|
649
369
|
type: "memory";
|
|
650
370
|
}>;
|
|
@@ -657,89 +377,6 @@ export declare const asBaseConfigContext: {
|
|
|
657
377
|
moniker: string;
|
|
658
378
|
labels?: string[] | undefined;
|
|
659
379
|
}[];
|
|
660
|
-
remote: {
|
|
661
|
-
rpc?: {
|
|
662
|
-
protocol: string;
|
|
663
|
-
url: string;
|
|
664
|
-
} | {
|
|
665
|
-
protocol: string;
|
|
666
|
-
networkId: string;
|
|
667
|
-
sessionId: string;
|
|
668
|
-
} | undefined;
|
|
669
|
-
};
|
|
670
|
-
transports: Record<string, {
|
|
671
|
-
root: string;
|
|
672
|
-
type: "lmdb";
|
|
673
|
-
access?: "read" | "write" | undefined;
|
|
674
|
-
store?: string | undefined;
|
|
675
|
-
} | {
|
|
676
|
-
type: "mongo";
|
|
677
|
-
connectionString?: string | undefined;
|
|
678
|
-
database?: string | undefined;
|
|
679
|
-
domain?: string | undefined;
|
|
680
|
-
password?: string | undefined;
|
|
681
|
-
username?: string | undefined;
|
|
682
|
-
} | {
|
|
683
|
-
protocol: string;
|
|
684
|
-
url: string;
|
|
685
|
-
type: "rpc";
|
|
686
|
-
} | {
|
|
687
|
-
type: "rest";
|
|
688
|
-
baseUrl: string;
|
|
689
|
-
} | {
|
|
690
|
-
type: "s3";
|
|
691
|
-
bucket?: string | undefined;
|
|
692
|
-
prefix?: string | undefined;
|
|
693
|
-
readUrl?: string | undefined;
|
|
694
|
-
accessKeyId?: string | undefined;
|
|
695
|
-
accountId?: string | undefined;
|
|
696
|
-
secretAccessKey?: string | undefined;
|
|
697
|
-
} | {
|
|
698
|
-
type: "evm-rpc";
|
|
699
|
-
url: string;
|
|
700
|
-
} | {
|
|
701
|
-
type: "memory";
|
|
702
|
-
}>;
|
|
703
|
-
storage: {
|
|
704
|
-
mongo?: {
|
|
705
|
-
connectionString?: string | undefined;
|
|
706
|
-
database?: string | undefined;
|
|
707
|
-
domain?: string | undefined;
|
|
708
|
-
password?: string | undefined;
|
|
709
|
-
username?: string | undefined;
|
|
710
|
-
} | undefined;
|
|
711
|
-
root?: string | undefined;
|
|
712
|
-
s3?: {
|
|
713
|
-
accessKeyId?: string | undefined;
|
|
714
|
-
accountId?: string | undefined;
|
|
715
|
-
chainState?: {
|
|
716
|
-
accessKeyId?: string | undefined;
|
|
717
|
-
accountId?: string | undefined;
|
|
718
|
-
bucket?: string | undefined;
|
|
719
|
-
prefix?: string | undefined;
|
|
720
|
-
readUrl?: string | undefined;
|
|
721
|
-
secretAccessKey?: string | undefined;
|
|
722
|
-
} | undefined;
|
|
723
|
-
finalized?: {
|
|
724
|
-
accessKeyId?: string | undefined;
|
|
725
|
-
accountId?: string | undefined;
|
|
726
|
-
bucket?: string | undefined;
|
|
727
|
-
prefix?: string | undefined;
|
|
728
|
-
readUrl?: string | undefined;
|
|
729
|
-
secretAccessKey?: string | undefined;
|
|
730
|
-
} | undefined;
|
|
731
|
-
index?: {
|
|
732
|
-
accessKeyId?: string | undefined;
|
|
733
|
-
accountId?: string | undefined;
|
|
734
|
-
bucket?: string | undefined;
|
|
735
|
-
prefix?: string | undefined;
|
|
736
|
-
readUrl?: string | undefined;
|
|
737
|
-
secretAccessKey?: string | undefined;
|
|
738
|
-
} | undefined;
|
|
739
|
-
prefix?: string | undefined;
|
|
740
|
-
secretAccessKey?: string | undefined;
|
|
741
|
-
} | undefined;
|
|
742
|
-
};
|
|
743
380
|
telemetry: {
|
|
744
381
|
metrics?: {
|
|
745
382
|
scrape: {
|
|
@@ -789,16 +426,6 @@ export declare const toBaseConfigContext: {
|
|
|
789
426
|
readonly __address: true;
|
|
790
427
|
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
791
428
|
};
|
|
792
|
-
evm: {
|
|
793
|
-
chainId?: string | undefined;
|
|
794
|
-
infura?: {
|
|
795
|
-
projectId?: string | undefined;
|
|
796
|
-
projectSecret?: string | undefined;
|
|
797
|
-
} | undefined;
|
|
798
|
-
jsonRpc?: {
|
|
799
|
-
url?: string | undefined;
|
|
800
|
-
} | undefined;
|
|
801
|
-
};
|
|
802
429
|
log: {
|
|
803
430
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
804
431
|
silent: boolean;
|
|
@@ -816,9 +443,11 @@ export declare const toBaseConfigContext: {
|
|
|
816
443
|
password?: string | undefined;
|
|
817
444
|
username?: string | undefined;
|
|
818
445
|
} | {
|
|
819
|
-
protocol: string;
|
|
820
|
-
url: string;
|
|
821
446
|
type: "rpc";
|
|
447
|
+
protocol: string;
|
|
448
|
+
url?: string | undefined;
|
|
449
|
+
networkId?: string | undefined;
|
|
450
|
+
sessionId?: string | undefined;
|
|
822
451
|
} | {
|
|
823
452
|
type: "rest";
|
|
824
453
|
baseUrl: string;
|
|
@@ -833,6 +462,7 @@ export declare const toBaseConfigContext: {
|
|
|
833
462
|
} | {
|
|
834
463
|
type: "evm-rpc";
|
|
835
464
|
url: string;
|
|
465
|
+
chainId?: string | undefined;
|
|
836
466
|
} | {
|
|
837
467
|
type: "memory";
|
|
838
468
|
}>;
|
|
@@ -845,89 +475,6 @@ export declare const toBaseConfigContext: {
|
|
|
845
475
|
moniker: string;
|
|
846
476
|
labels?: string[] | undefined;
|
|
847
477
|
}[];
|
|
848
|
-
remote: {
|
|
849
|
-
rpc?: {
|
|
850
|
-
protocol: string;
|
|
851
|
-
url: string;
|
|
852
|
-
} | {
|
|
853
|
-
protocol: string;
|
|
854
|
-
networkId: string;
|
|
855
|
-
sessionId: string;
|
|
856
|
-
} | undefined;
|
|
857
|
-
};
|
|
858
|
-
transports: Record<string, {
|
|
859
|
-
root: string;
|
|
860
|
-
type: "lmdb";
|
|
861
|
-
access?: "read" | "write" | undefined;
|
|
862
|
-
store?: string | undefined;
|
|
863
|
-
} | {
|
|
864
|
-
type: "mongo";
|
|
865
|
-
connectionString?: string | undefined;
|
|
866
|
-
database?: string | undefined;
|
|
867
|
-
domain?: string | undefined;
|
|
868
|
-
password?: string | undefined;
|
|
869
|
-
username?: string | undefined;
|
|
870
|
-
} | {
|
|
871
|
-
protocol: string;
|
|
872
|
-
url: string;
|
|
873
|
-
type: "rpc";
|
|
874
|
-
} | {
|
|
875
|
-
type: "rest";
|
|
876
|
-
baseUrl: string;
|
|
877
|
-
} | {
|
|
878
|
-
type: "s3";
|
|
879
|
-
bucket?: string | undefined;
|
|
880
|
-
prefix?: string | undefined;
|
|
881
|
-
readUrl?: string | undefined;
|
|
882
|
-
accessKeyId?: string | undefined;
|
|
883
|
-
accountId?: string | undefined;
|
|
884
|
-
secretAccessKey?: string | undefined;
|
|
885
|
-
} | {
|
|
886
|
-
type: "evm-rpc";
|
|
887
|
-
url: string;
|
|
888
|
-
} | {
|
|
889
|
-
type: "memory";
|
|
890
|
-
}>;
|
|
891
|
-
storage: {
|
|
892
|
-
mongo?: {
|
|
893
|
-
connectionString?: string | undefined;
|
|
894
|
-
database?: string | undefined;
|
|
895
|
-
domain?: string | undefined;
|
|
896
|
-
password?: string | undefined;
|
|
897
|
-
username?: string | undefined;
|
|
898
|
-
} | undefined;
|
|
899
|
-
root?: string | undefined;
|
|
900
|
-
s3?: {
|
|
901
|
-
accessKeyId?: string | undefined;
|
|
902
|
-
accountId?: string | undefined;
|
|
903
|
-
chainState?: {
|
|
904
|
-
accessKeyId?: string | undefined;
|
|
905
|
-
accountId?: string | undefined;
|
|
906
|
-
bucket?: string | undefined;
|
|
907
|
-
prefix?: string | undefined;
|
|
908
|
-
readUrl?: string | undefined;
|
|
909
|
-
secretAccessKey?: string | undefined;
|
|
910
|
-
} | undefined;
|
|
911
|
-
finalized?: {
|
|
912
|
-
accessKeyId?: string | undefined;
|
|
913
|
-
accountId?: string | undefined;
|
|
914
|
-
bucket?: string | undefined;
|
|
915
|
-
prefix?: string | undefined;
|
|
916
|
-
readUrl?: string | undefined;
|
|
917
|
-
secretAccessKey?: string | undefined;
|
|
918
|
-
} | undefined;
|
|
919
|
-
index?: {
|
|
920
|
-
accessKeyId?: string | undefined;
|
|
921
|
-
accountId?: string | undefined;
|
|
922
|
-
bucket?: string | undefined;
|
|
923
|
-
prefix?: string | undefined;
|
|
924
|
-
readUrl?: string | undefined;
|
|
925
|
-
secretAccessKey?: string | undefined;
|
|
926
|
-
} | undefined;
|
|
927
|
-
prefix?: string | undefined;
|
|
928
|
-
secretAccessKey?: string | undefined;
|
|
929
|
-
} | undefined;
|
|
930
|
-
};
|
|
931
478
|
telemetry: {
|
|
932
479
|
metrics?: {
|
|
933
480
|
scrape: {
|
|
@@ -974,16 +521,6 @@ export declare const toBaseConfigContext: {
|
|
|
974
521
|
readonly __address: true;
|
|
975
522
|
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
976
523
|
};
|
|
977
|
-
evm: {
|
|
978
|
-
chainId?: string | undefined;
|
|
979
|
-
infura?: {
|
|
980
|
-
projectId?: string | undefined;
|
|
981
|
-
projectSecret?: string | undefined;
|
|
982
|
-
} | undefined;
|
|
983
|
-
jsonRpc?: {
|
|
984
|
-
url?: string | undefined;
|
|
985
|
-
} | undefined;
|
|
986
|
-
};
|
|
987
524
|
log: {
|
|
988
525
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
989
526
|
silent: boolean;
|
|
@@ -1001,9 +538,11 @@ export declare const toBaseConfigContext: {
|
|
|
1001
538
|
password?: string | undefined;
|
|
1002
539
|
username?: string | undefined;
|
|
1003
540
|
} | {
|
|
1004
|
-
protocol: string;
|
|
1005
|
-
url: string;
|
|
1006
541
|
type: "rpc";
|
|
542
|
+
protocol: string;
|
|
543
|
+
url?: string | undefined;
|
|
544
|
+
networkId?: string | undefined;
|
|
545
|
+
sessionId?: string | undefined;
|
|
1007
546
|
} | {
|
|
1008
547
|
type: "rest";
|
|
1009
548
|
baseUrl: string;
|
|
@@ -1018,6 +557,7 @@ export declare const toBaseConfigContext: {
|
|
|
1018
557
|
} | {
|
|
1019
558
|
type: "evm-rpc";
|
|
1020
559
|
url: string;
|
|
560
|
+
chainId?: string | undefined;
|
|
1021
561
|
} | {
|
|
1022
562
|
type: "memory";
|
|
1023
563
|
}>;
|
|
@@ -1030,89 +570,6 @@ export declare const toBaseConfigContext: {
|
|
|
1030
570
|
moniker: string;
|
|
1031
571
|
labels?: string[] | undefined;
|
|
1032
572
|
}[];
|
|
1033
|
-
remote: {
|
|
1034
|
-
rpc?: {
|
|
1035
|
-
protocol: string;
|
|
1036
|
-
url: string;
|
|
1037
|
-
} | {
|
|
1038
|
-
protocol: string;
|
|
1039
|
-
networkId: string;
|
|
1040
|
-
sessionId: string;
|
|
1041
|
-
} | undefined;
|
|
1042
|
-
};
|
|
1043
|
-
transports: Record<string, {
|
|
1044
|
-
root: string;
|
|
1045
|
-
type: "lmdb";
|
|
1046
|
-
access?: "read" | "write" | undefined;
|
|
1047
|
-
store?: string | undefined;
|
|
1048
|
-
} | {
|
|
1049
|
-
type: "mongo";
|
|
1050
|
-
connectionString?: string | undefined;
|
|
1051
|
-
database?: string | undefined;
|
|
1052
|
-
domain?: string | undefined;
|
|
1053
|
-
password?: string | undefined;
|
|
1054
|
-
username?: string | undefined;
|
|
1055
|
-
} | {
|
|
1056
|
-
protocol: string;
|
|
1057
|
-
url: string;
|
|
1058
|
-
type: "rpc";
|
|
1059
|
-
} | {
|
|
1060
|
-
type: "rest";
|
|
1061
|
-
baseUrl: string;
|
|
1062
|
-
} | {
|
|
1063
|
-
type: "s3";
|
|
1064
|
-
bucket?: string | undefined;
|
|
1065
|
-
prefix?: string | undefined;
|
|
1066
|
-
readUrl?: string | undefined;
|
|
1067
|
-
accessKeyId?: string | undefined;
|
|
1068
|
-
accountId?: string | undefined;
|
|
1069
|
-
secretAccessKey?: string | undefined;
|
|
1070
|
-
} | {
|
|
1071
|
-
type: "evm-rpc";
|
|
1072
|
-
url: string;
|
|
1073
|
-
} | {
|
|
1074
|
-
type: "memory";
|
|
1075
|
-
}>;
|
|
1076
|
-
storage: {
|
|
1077
|
-
mongo?: {
|
|
1078
|
-
connectionString?: string | undefined;
|
|
1079
|
-
database?: string | undefined;
|
|
1080
|
-
domain?: string | undefined;
|
|
1081
|
-
password?: string | undefined;
|
|
1082
|
-
username?: string | undefined;
|
|
1083
|
-
} | undefined;
|
|
1084
|
-
root?: string | undefined;
|
|
1085
|
-
s3?: {
|
|
1086
|
-
accessKeyId?: string | undefined;
|
|
1087
|
-
accountId?: string | undefined;
|
|
1088
|
-
chainState?: {
|
|
1089
|
-
accessKeyId?: string | undefined;
|
|
1090
|
-
accountId?: string | undefined;
|
|
1091
|
-
bucket?: string | undefined;
|
|
1092
|
-
prefix?: string | undefined;
|
|
1093
|
-
readUrl?: string | undefined;
|
|
1094
|
-
secretAccessKey?: string | undefined;
|
|
1095
|
-
} | undefined;
|
|
1096
|
-
finalized?: {
|
|
1097
|
-
accessKeyId?: string | undefined;
|
|
1098
|
-
accountId?: string | undefined;
|
|
1099
|
-
bucket?: string | undefined;
|
|
1100
|
-
prefix?: string | undefined;
|
|
1101
|
-
readUrl?: string | undefined;
|
|
1102
|
-
secretAccessKey?: string | undefined;
|
|
1103
|
-
} | undefined;
|
|
1104
|
-
index?: {
|
|
1105
|
-
accessKeyId?: string | undefined;
|
|
1106
|
-
accountId?: string | undefined;
|
|
1107
|
-
bucket?: string | undefined;
|
|
1108
|
-
prefix?: string | undefined;
|
|
1109
|
-
readUrl?: string | undefined;
|
|
1110
|
-
secretAccessKey?: string | undefined;
|
|
1111
|
-
} | undefined;
|
|
1112
|
-
prefix?: string | undefined;
|
|
1113
|
-
secretAccessKey?: string | undefined;
|
|
1114
|
-
} | undefined;
|
|
1115
|
-
};
|
|
1116
573
|
telemetry: {
|
|
1117
574
|
metrics?: {
|
|
1118
575
|
scrape: {
|