@xyo-network/xl1-protocol-sdk 3.0.6 → 3.0.7

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.
Files changed (63) hide show
  1. package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +5 -95
  2. package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
  3. package/dist/neutral/config/Actor.d.ts +30 -573
  4. package/dist/neutral/config/Actor.d.ts.map +1 -1
  5. package/dist/neutral/config/Actors.d.ts +5 -98
  6. package/dist/neutral/config/Actors.d.ts.map +1 -1
  7. package/dist/neutral/config/Base.d.ts +5 -98
  8. package/dist/neutral/config/Base.d.ts.map +1 -1
  9. package/dist/neutral/config/Config.d.ts +20 -386
  10. package/dist/neutral/config/Config.d.ts.map +1 -1
  11. package/dist/neutral/config/HostActor.d.ts +30 -573
  12. package/dist/neutral/config/HostActor.d.ts.map +1 -1
  13. package/dist/neutral/config/index.d.ts +2 -4
  14. package/dist/neutral/config/index.d.ts.map +1 -1
  15. package/dist/neutral/config/normalizeConnectionsConfig.d.ts +2 -5
  16. package/dist/neutral/config/normalizeConnectionsConfig.d.ts.map +1 -1
  17. package/dist/neutral/config/synthesizeRpcConnectionBindings.d.ts +8 -0
  18. package/dist/neutral/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
  19. package/dist/neutral/config/transports/Mongo.d.ts +12 -0
  20. package/dist/neutral/config/transports/Mongo.d.ts.map +1 -0
  21. package/dist/neutral/config/{Remote.d.ts → transports/Rpc.d.ts} +1 -14
  22. package/dist/neutral/config/transports/Rpc.d.ts.map +1 -0
  23. package/dist/neutral/config/transports/S3.d.ts +19 -0
  24. package/dist/neutral/config/transports/S3.d.ts.map +1 -0
  25. package/dist/neutral/config/transports/Transport.d.ts +15 -6
  26. package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
  27. package/dist/neutral/config/transports/index.d.ts +3 -0
  28. package/dist/neutral/config/transports/index.d.ts.map +1 -1
  29. package/dist/neutral/context/Actor.d.ts +30 -573
  30. package/dist/neutral/context/Actor.d.ts.map +1 -1
  31. package/dist/neutral/context/HostActor.d.ts +30 -573
  32. package/dist/neutral/context/HostActor.d.ts.map +1 -1
  33. package/dist/neutral/context/index.d.ts +0 -1
  34. package/dist/neutral/context/index.d.ts.map +1 -1
  35. package/dist/neutral/getFileConfig.d.ts +10 -190
  36. package/dist/neutral/getFileConfig.d.ts.map +1 -1
  37. package/dist/neutral/getFileConfig.mjs +133 -199
  38. package/dist/neutral/getFileConfig.mjs.map +4 -4
  39. package/dist/neutral/index.mjs +317 -567
  40. package/dist/neutral/index.mjs.map +4 -4
  41. package/dist/neutral/model/CreatableProviderContext.zod.d.ts +30 -573
  42. package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
  43. package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
  44. package/dist/neutral/test/index.mjs +141 -207
  45. package/dist/neutral/test/index.mjs.map +4 -4
  46. package/package.json +13 -13
  47. package/dist/neutral/config/Evm.d.ts +0 -24
  48. package/dist/neutral/config/Evm.d.ts.map +0 -1
  49. package/dist/neutral/config/Remote.d.ts.map +0 -1
  50. package/dist/neutral/config/adaptLegacyConfig.d.ts +0 -8
  51. package/dist/neutral/config/adaptLegacyConfig.d.ts.map +0 -1
  52. package/dist/neutral/config/storage/Storage.d.ts +0 -45
  53. package/dist/neutral/config/storage/Storage.d.ts.map +0 -1
  54. package/dist/neutral/config/storage/driver/Mongo.d.ts +0 -25
  55. package/dist/neutral/config/storage/driver/Mongo.d.ts.map +0 -1
  56. package/dist/neutral/config/storage/driver/S3.d.ts +0 -77
  57. package/dist/neutral/config/storage/driver/S3.d.ts.map +0 -1
  58. package/dist/neutral/config/storage/driver/index.d.ts +0 -3
  59. package/dist/neutral/config/storage/driver/index.d.ts.map +0 -1
  60. package/dist/neutral/config/storage/index.d.ts +0 -3
  61. package/dist/neutral/config/storage/index.d.ts.map +0 -1
  62. package/dist/neutral/context/getEmptyProviderContext.d.ts +0 -7
  63. package/dist/neutral/context/getEmptyProviderContext.d.ts.map +0 -1
@@ -11,16 +11,6 @@ export declare const ConfigZod: z.ZodMiniObject<{
11
11
  }, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
12
12
  }, z.core.$strip>>;
13
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
- }, z.core.$strip>>;
20
- jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
21
- url: import("zod").ZodOptional<import("zod").ZodURL>;
22
- }, z.core.$strip>>;
23
- }, z.core.$strip>>;
24
14
  log: z.ZodMiniDefault<import("zod").ZodObject<{
25
15
  logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
26
16
  error: "error";
@@ -48,9 +38,11 @@ export declare const ConfigZod: z.ZodMiniObject<{
48
38
  password: import("zod").ZodOptional<import("zod").ZodString>;
49
39
  username: import("zod").ZodOptional<import("zod").ZodString>;
50
40
  }, z.core.$strip>, import("zod").ZodObject<{
51
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
52
- url: import("zod").ZodString;
53
41
  type: import("zod").ZodLiteral<"rpc">;
42
+ protocol: import("zod").ZodDefault<import("zod").ZodString>;
43
+ url: import("zod").ZodOptional<import("zod").ZodString>;
44
+ networkId: import("zod").ZodOptional<import("zod").ZodString>;
45
+ sessionId: import("zod").ZodOptional<import("zod").ZodString>;
54
46
  }, z.core.$strip>, import("zod").ZodObject<{
55
47
  type: import("zod").ZodLiteral<"rest">;
56
48
  baseUrl: import("zod").ZodString;
@@ -65,6 +57,7 @@ export declare const ConfigZod: z.ZodMiniObject<{
65
57
  }, z.core.$strip>, import("zod").ZodObject<{
66
58
  type: import("zod").ZodLiteral<"evm-rpc">;
67
59
  url: import("zod").ZodString;
60
+ chainId: import("zod").ZodOptional<import("zod").ZodString>;
68
61
  }, z.core.$strip>, import("zod").ZodObject<{
69
62
  type: import("zod").ZodLiteral<"memory">;
70
63
  }, z.core.$strip>], "type">>>>;
@@ -76,92 +69,6 @@ export declare const ConfigZod: z.ZodMiniObject<{
76
69
  moniker: import("zod").ZodString;
77
70
  labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
78
71
  }, z.core.$loose>>>>;
79
- remote: z.ZodMiniDefault<import("zod").ZodObject<{
80
- rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
81
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
82
- url: import("zod").ZodString;
83
- }, z.core.$strip>, import("zod").ZodObject<{
84
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
85
- networkId: import("zod").ZodString;
86
- sessionId: import("zod").ZodString;
87
- }, z.core.$strip>]>>;
88
- }, z.core.$strip>>;
89
- transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
90
- access: import("zod").ZodOptional<import("zod").ZodEnum<{
91
- read: "read";
92
- write: "write";
93
- }>>;
94
- root: import("zod").ZodString;
95
- store: import("zod").ZodOptional<import("zod").ZodString>;
96
- type: import("zod").ZodLiteral<"lmdb">;
97
- }, z.core.$strip>, import("zod").ZodObject<{
98
- type: import("zod").ZodLiteral<"mongo">;
99
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
100
- database: import("zod").ZodOptional<import("zod").ZodString>;
101
- domain: import("zod").ZodOptional<import("zod").ZodString>;
102
- password: import("zod").ZodOptional<import("zod").ZodString>;
103
- username: import("zod").ZodOptional<import("zod").ZodString>;
104
- }, z.core.$strip>, import("zod").ZodObject<{
105
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
106
- url: import("zod").ZodString;
107
- type: import("zod").ZodLiteral<"rpc">;
108
- }, z.core.$strip>, import("zod").ZodObject<{
109
- type: import("zod").ZodLiteral<"rest">;
110
- baseUrl: import("zod").ZodString;
111
- }, z.core.$strip>, import("zod").ZodObject<{
112
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
113
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
114
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
115
- type: import("zod").ZodLiteral<"s3">;
116
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
117
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
118
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
119
- }, z.core.$strip>, import("zod").ZodObject<{
120
- type: import("zod").ZodLiteral<"evm-rpc">;
121
- url: import("zod").ZodString;
122
- }, z.core.$strip>, import("zod").ZodObject<{
123
- type: import("zod").ZodLiteral<"memory">;
124
- }, z.core.$strip>], "type">>>>;
125
- storage: z.ZodMiniDefault<import("zod").ZodObject<{
126
- mongo: import("zod").ZodOptional<import("zod").ZodObject<{
127
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
128
- database: import("zod").ZodOptional<import("zod").ZodString>;
129
- domain: import("zod").ZodOptional<import("zod").ZodString>;
130
- password: import("zod").ZodOptional<import("zod").ZodString>;
131
- username: import("zod").ZodOptional<import("zod").ZodString>;
132
- }, z.core.$strip>>;
133
- root: import("zod").ZodOptional<import("zod").ZodString>;
134
- s3: import("zod").ZodOptional<import("zod").ZodObject<{
135
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
136
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
137
- chainState: import("zod").ZodOptional<import("zod").ZodObject<{
138
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
139
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
140
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
141
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
142
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
143
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
144
- }, z.core.$strip>>;
145
- finalized: import("zod").ZodOptional<import("zod").ZodObject<{
146
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
147
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
148
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
149
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
150
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
151
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
152
- }, z.core.$strip>>;
153
- index: import("zod").ZodOptional<import("zod").ZodObject<{
154
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
155
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
156
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
157
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
158
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
159
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
160
- }, z.core.$strip>>;
161
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
162
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
163
- }, z.core.$strip>>;
164
- }, z.core.$strip>>;
165
72
  telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
166
73
  metrics: import("zod").ZodOptional<import("zod").ZodObject<{
167
74
  scrape: import("zod").ZodObject<{
@@ -197,16 +104,6 @@ export declare const ConfigZod: z.ZodMiniObject<{
197
104
  }, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
198
105
  }, z.core.$strip>>;
199
106
  dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./index.ts").DataLakeConfig, unknown>>>;
200
- evm: z.ZodMiniDefault<import("zod").ZodObject<{
201
- chainId: import("zod").ZodOptional<import("zod").ZodString>;
202
- infura: import("zod").ZodOptional<import("zod").ZodObject<{
203
- projectId: import("zod").ZodOptional<import("zod").ZodString>;
204
- projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
205
- }, z.core.$strip>>;
206
- jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
207
- url: import("zod").ZodOptional<import("zod").ZodURL>;
208
- }, z.core.$strip>>;
209
- }, z.core.$strip>>;
210
107
  log: z.ZodMiniDefault<import("zod").ZodObject<{
211
108
  logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
212
109
  error: "error";
@@ -234,9 +131,11 @@ export declare const ConfigZod: z.ZodMiniObject<{
234
131
  password: import("zod").ZodOptional<import("zod").ZodString>;
235
132
  username: import("zod").ZodOptional<import("zod").ZodString>;
236
133
  }, z.core.$strip>, import("zod").ZodObject<{
237
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
238
- url: import("zod").ZodString;
239
134
  type: import("zod").ZodLiteral<"rpc">;
135
+ protocol: import("zod").ZodDefault<import("zod").ZodString>;
136
+ url: import("zod").ZodOptional<import("zod").ZodString>;
137
+ networkId: import("zod").ZodOptional<import("zod").ZodString>;
138
+ sessionId: import("zod").ZodOptional<import("zod").ZodString>;
240
139
  }, z.core.$strip>, import("zod").ZodObject<{
241
140
  type: import("zod").ZodLiteral<"rest">;
242
141
  baseUrl: import("zod").ZodString;
@@ -251,6 +150,7 @@ export declare const ConfigZod: z.ZodMiniObject<{
251
150
  }, z.core.$strip>, import("zod").ZodObject<{
252
151
  type: import("zod").ZodLiteral<"evm-rpc">;
253
152
  url: import("zod").ZodString;
153
+ chainId: import("zod").ZodOptional<import("zod").ZodString>;
254
154
  }, z.core.$strip>, import("zod").ZodObject<{
255
155
  type: import("zod").ZodLiteral<"memory">;
256
156
  }, z.core.$strip>], "type">>>>;
@@ -262,92 +162,6 @@ export declare const ConfigZod: z.ZodMiniObject<{
262
162
  moniker: import("zod").ZodString;
263
163
  labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
264
164
  }, z.core.$loose>>>>;
265
- remote: z.ZodMiniDefault<import("zod").ZodObject<{
266
- rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
267
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
268
- url: import("zod").ZodString;
269
- }, z.core.$strip>, import("zod").ZodObject<{
270
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
271
- networkId: import("zod").ZodString;
272
- sessionId: import("zod").ZodString;
273
- }, z.core.$strip>]>>;
274
- }, z.core.$strip>>;
275
- transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
276
- access: import("zod").ZodOptional<import("zod").ZodEnum<{
277
- read: "read";
278
- write: "write";
279
- }>>;
280
- root: import("zod").ZodString;
281
- store: import("zod").ZodOptional<import("zod").ZodString>;
282
- type: import("zod").ZodLiteral<"lmdb">;
283
- }, z.core.$strip>, import("zod").ZodObject<{
284
- type: import("zod").ZodLiteral<"mongo">;
285
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
286
- database: import("zod").ZodOptional<import("zod").ZodString>;
287
- domain: import("zod").ZodOptional<import("zod").ZodString>;
288
- password: import("zod").ZodOptional<import("zod").ZodString>;
289
- username: import("zod").ZodOptional<import("zod").ZodString>;
290
- }, z.core.$strip>, import("zod").ZodObject<{
291
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
292
- url: import("zod").ZodString;
293
- type: import("zod").ZodLiteral<"rpc">;
294
- }, z.core.$strip>, import("zod").ZodObject<{
295
- type: import("zod").ZodLiteral<"rest">;
296
- baseUrl: import("zod").ZodString;
297
- }, z.core.$strip>, import("zod").ZodObject<{
298
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
299
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
300
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
301
- type: import("zod").ZodLiteral<"s3">;
302
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
303
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
304
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
305
- }, z.core.$strip>, import("zod").ZodObject<{
306
- type: import("zod").ZodLiteral<"evm-rpc">;
307
- url: import("zod").ZodString;
308
- }, z.core.$strip>, import("zod").ZodObject<{
309
- type: import("zod").ZodLiteral<"memory">;
310
- }, z.core.$strip>], "type">>>>;
311
- storage: z.ZodMiniDefault<import("zod").ZodObject<{
312
- mongo: import("zod").ZodOptional<import("zod").ZodObject<{
313
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
314
- database: import("zod").ZodOptional<import("zod").ZodString>;
315
- domain: import("zod").ZodOptional<import("zod").ZodString>;
316
- password: import("zod").ZodOptional<import("zod").ZodString>;
317
- username: import("zod").ZodOptional<import("zod").ZodString>;
318
- }, z.core.$strip>>;
319
- root: import("zod").ZodOptional<import("zod").ZodString>;
320
- s3: import("zod").ZodOptional<import("zod").ZodObject<{
321
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
322
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
323
- chainState: import("zod").ZodOptional<import("zod").ZodObject<{
324
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
325
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
326
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
327
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
328
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
329
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
330
- }, z.core.$strip>>;
331
- finalized: import("zod").ZodOptional<import("zod").ZodObject<{
332
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
333
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
334
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
335
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
336
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
337
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
338
- }, z.core.$strip>>;
339
- index: import("zod").ZodOptional<import("zod").ZodObject<{
340
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
341
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
342
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
343
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
344
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
345
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
346
- }, z.core.$strip>>;
347
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
348
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
349
- }, z.core.$strip>>;
350
- }, z.core.$strip>>;
351
165
  telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
352
166
  metrics: import("zod").ZodOptional<import("zod").ZodObject<{
353
167
  scrape: import("zod").ZodObject<{
@@ -390,16 +204,6 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
390
204
  readonly __address: true;
391
205
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
392
206
  };
393
- evm: {
394
- chainId?: string | undefined;
395
- infura?: {
396
- projectId?: string | undefined;
397
- projectSecret?: string | undefined;
398
- } | undefined;
399
- jsonRpc?: {
400
- url?: string | undefined;
401
- } | undefined;
402
- };
403
207
  log: {
404
208
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
405
209
  silent: boolean;
@@ -417,9 +221,11 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
417
221
  password?: string | undefined;
418
222
  username?: string | undefined;
419
223
  } | {
420
- protocol: string;
421
- url: string;
422
224
  type: "rpc";
225
+ protocol: string;
226
+ url?: string | undefined;
227
+ networkId?: string | undefined;
228
+ sessionId?: string | undefined;
423
229
  } | {
424
230
  type: "rest";
425
231
  baseUrl: string;
@@ -434,6 +240,7 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
434
240
  } | {
435
241
  type: "evm-rpc";
436
242
  url: string;
243
+ chainId?: string | undefined;
437
244
  } | {
438
245
  type: "memory";
439
246
  }>;
@@ -446,89 +253,6 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
446
253
  moniker: string;
447
254
  labels?: string[] | undefined;
448
255
  }[];
449
- remote: {
450
- rpc?: {
451
- protocol: string;
452
- url: string;
453
- } | {
454
- protocol: string;
455
- networkId: string;
456
- sessionId: string;
457
- } | undefined;
458
- };
459
- transports: Record<string, {
460
- root: string;
461
- type: "lmdb";
462
- access?: "read" | "write" | undefined;
463
- store?: string | undefined;
464
- } | {
465
- type: "mongo";
466
- connectionString?: string | undefined;
467
- database?: string | undefined;
468
- domain?: string | undefined;
469
- password?: string | undefined;
470
- username?: string | undefined;
471
- } | {
472
- protocol: string;
473
- url: string;
474
- type: "rpc";
475
- } | {
476
- type: "rest";
477
- baseUrl: string;
478
- } | {
479
- type: "s3";
480
- bucket?: string | undefined;
481
- prefix?: string | undefined;
482
- readUrl?: string | undefined;
483
- accessKeyId?: string | undefined;
484
- accountId?: string | undefined;
485
- secretAccessKey?: string | undefined;
486
- } | {
487
- type: "evm-rpc";
488
- url: string;
489
- } | {
490
- type: "memory";
491
- }>;
492
- storage: {
493
- mongo?: {
494
- connectionString?: string | undefined;
495
- database?: string | undefined;
496
- domain?: string | undefined;
497
- password?: string | undefined;
498
- username?: string | undefined;
499
- } | undefined;
500
- root?: string | undefined;
501
- s3?: {
502
- accessKeyId?: string | undefined;
503
- accountId?: string | undefined;
504
- chainState?: {
505
- accessKeyId?: string | undefined;
506
- accountId?: string | undefined;
507
- bucket?: string | undefined;
508
- prefix?: string | undefined;
509
- readUrl?: string | undefined;
510
- secretAccessKey?: string | undefined;
511
- } | undefined;
512
- finalized?: {
513
- accessKeyId?: string | undefined;
514
- accountId?: string | undefined;
515
- bucket?: string | undefined;
516
- prefix?: string | undefined;
517
- readUrl?: string | undefined;
518
- secretAccessKey?: string | undefined;
519
- } | undefined;
520
- index?: {
521
- accessKeyId?: string | undefined;
522
- accountId?: string | undefined;
523
- bucket?: string | undefined;
524
- prefix?: string | undefined;
525
- readUrl?: string | undefined;
526
- secretAccessKey?: string | undefined;
527
- } | undefined;
528
- prefix?: string | undefined;
529
- secretAccessKey?: string | undefined;
530
- } | undefined;
531
- };
532
256
  telemetry: {
533
257
  metrics?: {
534
258
  scrape: {
@@ -564,16 +288,6 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
564
288
  readonly __address: true;
565
289
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
566
290
  };
567
- evm: {
568
- chainId?: string | undefined;
569
- infura?: {
570
- projectId?: string | undefined;
571
- projectSecret?: string | undefined;
572
- } | undefined;
573
- jsonRpc?: {
574
- url?: string | undefined;
575
- } | undefined;
576
- };
577
291
  log: {
578
292
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
579
293
  silent: boolean;
@@ -591,9 +305,11 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
591
305
  password?: string | undefined;
592
306
  username?: string | undefined;
593
307
  } | {
594
- protocol: string;
595
- url: string;
596
308
  type: "rpc";
309
+ protocol: string;
310
+ url?: string | undefined;
311
+ networkId?: string | undefined;
312
+ sessionId?: string | undefined;
597
313
  } | {
598
314
  type: "rest";
599
315
  baseUrl: string;
@@ -608,6 +324,7 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
608
324
  } | {
609
325
  type: "evm-rpc";
610
326
  url: string;
327
+ chainId?: string | undefined;
611
328
  } | {
612
329
  type: "memory";
613
330
  }>;
@@ -620,89 +337,6 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
620
337
  moniker: string;
621
338
  labels?: string[] | undefined;
622
339
  }[];
623
- remote: {
624
- rpc?: {
625
- protocol: string;
626
- url: string;
627
- } | {
628
- protocol: string;
629
- networkId: string;
630
- sessionId: string;
631
- } | undefined;
632
- };
633
- transports: Record<string, {
634
- root: string;
635
- type: "lmdb";
636
- access?: "read" | "write" | undefined;
637
- store?: string | undefined;
638
- } | {
639
- type: "mongo";
640
- connectionString?: string | undefined;
641
- database?: string | undefined;
642
- domain?: string | undefined;
643
- password?: string | undefined;
644
- username?: string | undefined;
645
- } | {
646
- protocol: string;
647
- url: string;
648
- type: "rpc";
649
- } | {
650
- type: "rest";
651
- baseUrl: string;
652
- } | {
653
- type: "s3";
654
- bucket?: string | undefined;
655
- prefix?: string | undefined;
656
- readUrl?: string | undefined;
657
- accessKeyId?: string | undefined;
658
- accountId?: string | undefined;
659
- secretAccessKey?: string | undefined;
660
- } | {
661
- type: "evm-rpc";
662
- url: string;
663
- } | {
664
- type: "memory";
665
- }>;
666
- storage: {
667
- mongo?: {
668
- connectionString?: string | undefined;
669
- database?: string | undefined;
670
- domain?: string | undefined;
671
- password?: string | undefined;
672
- username?: string | undefined;
673
- } | undefined;
674
- root?: string | undefined;
675
- s3?: {
676
- accessKeyId?: string | undefined;
677
- accountId?: string | undefined;
678
- chainState?: {
679
- accessKeyId?: string | undefined;
680
- accountId?: string | undefined;
681
- bucket?: string | undefined;
682
- prefix?: string | undefined;
683
- readUrl?: string | undefined;
684
- secretAccessKey?: string | undefined;
685
- } | undefined;
686
- finalized?: {
687
- accessKeyId?: string | undefined;
688
- accountId?: string | undefined;
689
- bucket?: string | undefined;
690
- prefix?: string | undefined;
691
- readUrl?: string | undefined;
692
- secretAccessKey?: string | undefined;
693
- } | undefined;
694
- index?: {
695
- accessKeyId?: string | undefined;
696
- accountId?: string | undefined;
697
- bucket?: string | undefined;
698
- prefix?: string | undefined;
699
- readUrl?: string | undefined;
700
- secretAccessKey?: string | undefined;
701
- } | undefined;
702
- prefix?: string | undefined;
703
- secretAccessKey?: string | undefined;
704
- } | undefined;
705
- };
706
340
  telemetry: {
707
341
  metrics?: {
708
342
  scrape: {
@@ -1 +1 @@
1
- {"version":3,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