@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
@@ -18,16 +18,6 @@ export declare const HostActorConfigContext: z.ZodMiniObject<{
18
18
  }, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
19
19
  }, z.core.$strip>>;
20
20
  dataLake: z.ZodMiniOptional<import("zod").ZodType<import("../config/index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("../config/index.ts").DataLakeConfig, unknown>>>;
21
- evm: z.ZodMiniDefault<import("zod").ZodObject<{
22
- chainId: import("zod").ZodOptional<import("zod").ZodString>;
23
- infura: import("zod").ZodOptional<import("zod").ZodObject<{
24
- projectId: import("zod").ZodOptional<import("zod").ZodString>;
25
- projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
26
- }, z.core.$strip>>;
27
- jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
28
- url: import("zod").ZodOptional<import("zod").ZodURL>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>>;
31
21
  log: z.ZodMiniDefault<import("zod").ZodObject<{
32
22
  logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
33
23
  error: "error";
@@ -55,9 +45,11 @@ export declare const HostActorConfigContext: z.ZodMiniObject<{
55
45
  password: import("zod").ZodOptional<import("zod").ZodString>;
56
46
  username: import("zod").ZodOptional<import("zod").ZodString>;
57
47
  }, z.core.$strip>, import("zod").ZodObject<{
58
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
59
- url: import("zod").ZodString;
60
48
  type: import("zod").ZodLiteral<"rpc">;
49
+ protocol: import("zod").ZodDefault<import("zod").ZodString>;
50
+ url: import("zod").ZodOptional<import("zod").ZodString>;
51
+ networkId: import("zod").ZodOptional<import("zod").ZodString>;
52
+ sessionId: import("zod").ZodOptional<import("zod").ZodString>;
61
53
  }, z.core.$strip>, import("zod").ZodObject<{
62
54
  type: import("zod").ZodLiteral<"rest">;
63
55
  baseUrl: import("zod").ZodString;
@@ -72,6 +64,7 @@ export declare const HostActorConfigContext: z.ZodMiniObject<{
72
64
  }, z.core.$strip>, import("zod").ZodObject<{
73
65
  type: import("zod").ZodLiteral<"evm-rpc">;
74
66
  url: import("zod").ZodString;
67
+ chainId: import("zod").ZodOptional<import("zod").ZodString>;
75
68
  }, z.core.$strip>, import("zod").ZodObject<{
76
69
  type: import("zod").ZodLiteral<"memory">;
77
70
  }, z.core.$strip>], "type">>>>;
@@ -83,92 +76,6 @@ export declare const HostActorConfigContext: z.ZodMiniObject<{
83
76
  moniker: import("zod").ZodString;
84
77
  labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
85
78
  }, z.core.$loose>>>>;
86
- remote: z.ZodMiniDefault<import("zod").ZodObject<{
87
- rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
88
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
89
- url: import("zod").ZodString;
90
- }, z.core.$strip>, import("zod").ZodObject<{
91
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
92
- networkId: import("zod").ZodString;
93
- sessionId: import("zod").ZodString;
94
- }, z.core.$strip>]>>;
95
- }, z.core.$strip>>;
96
- transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
97
- access: import("zod").ZodOptional<import("zod").ZodEnum<{
98
- read: "read";
99
- write: "write";
100
- }>>;
101
- root: import("zod").ZodString;
102
- store: import("zod").ZodOptional<import("zod").ZodString>;
103
- type: import("zod").ZodLiteral<"lmdb">;
104
- }, z.core.$strip>, import("zod").ZodObject<{
105
- type: import("zod").ZodLiteral<"mongo">;
106
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
107
- database: import("zod").ZodOptional<import("zod").ZodString>;
108
- domain: import("zod").ZodOptional<import("zod").ZodString>;
109
- password: import("zod").ZodOptional<import("zod").ZodString>;
110
- username: import("zod").ZodOptional<import("zod").ZodString>;
111
- }, z.core.$strip>, import("zod").ZodObject<{
112
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
113
- url: import("zod").ZodString;
114
- type: import("zod").ZodLiteral<"rpc">;
115
- }, z.core.$strip>, import("zod").ZodObject<{
116
- type: import("zod").ZodLiteral<"rest">;
117
- baseUrl: import("zod").ZodString;
118
- }, z.core.$strip>, import("zod").ZodObject<{
119
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
120
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
121
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
122
- type: import("zod").ZodLiteral<"s3">;
123
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
124
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
125
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
126
- }, z.core.$strip>, import("zod").ZodObject<{
127
- type: import("zod").ZodLiteral<"evm-rpc">;
128
- url: import("zod").ZodString;
129
- }, z.core.$strip>, import("zod").ZodObject<{
130
- type: import("zod").ZodLiteral<"memory">;
131
- }, z.core.$strip>], "type">>>>;
132
- storage: z.ZodMiniDefault<import("zod").ZodObject<{
133
- mongo: import("zod").ZodOptional<import("zod").ZodObject<{
134
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
135
- database: import("zod").ZodOptional<import("zod").ZodString>;
136
- domain: import("zod").ZodOptional<import("zod").ZodString>;
137
- password: import("zod").ZodOptional<import("zod").ZodString>;
138
- username: import("zod").ZodOptional<import("zod").ZodString>;
139
- }, z.core.$strip>>;
140
- root: import("zod").ZodOptional<import("zod").ZodString>;
141
- s3: import("zod").ZodOptional<import("zod").ZodObject<{
142
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
143
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
144
- chainState: import("zod").ZodOptional<import("zod").ZodObject<{
145
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
146
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
147
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
148
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
149
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
150
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
151
- }, z.core.$strip>>;
152
- finalized: import("zod").ZodOptional<import("zod").ZodObject<{
153
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
154
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
155
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
156
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
157
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
158
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
159
- }, z.core.$strip>>;
160
- index: import("zod").ZodOptional<import("zod").ZodObject<{
161
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
162
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
163
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
164
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
165
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
166
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
167
- }, z.core.$strip>>;
168
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
169
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
170
- }, z.core.$strip>>;
171
- }, z.core.$strip>>;
172
79
  telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
173
80
  metrics: import("zod").ZodOptional<import("zod").ZodObject<{
174
81
  scrape: import("zod").ZodObject<{
@@ -215,16 +122,6 @@ export declare const isHostActorConfigContext: <T>(value: T) => value is T & {
215
122
  readonly __address: true;
216
123
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
217
124
  };
218
- evm: {
219
- chainId?: string | undefined;
220
- infura?: {
221
- projectId?: string | undefined;
222
- projectSecret?: string | undefined;
223
- } | undefined;
224
- jsonRpc?: {
225
- url?: string | undefined;
226
- } | undefined;
227
- };
228
125
  log: {
229
126
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
230
127
  silent: boolean;
@@ -242,9 +139,11 @@ export declare const isHostActorConfigContext: <T>(value: T) => value is T & {
242
139
  password?: string | undefined;
243
140
  username?: string | undefined;
244
141
  } | {
245
- protocol: string;
246
- url: string;
247
142
  type: "rpc";
143
+ protocol: string;
144
+ url?: string | undefined;
145
+ networkId?: string | undefined;
146
+ sessionId?: string | undefined;
248
147
  } | {
249
148
  type: "rest";
250
149
  baseUrl: string;
@@ -259,6 +158,7 @@ export declare const isHostActorConfigContext: <T>(value: T) => value is T & {
259
158
  } | {
260
159
  type: "evm-rpc";
261
160
  url: string;
161
+ chainId?: string | undefined;
262
162
  } | {
263
163
  type: "memory";
264
164
  }>;
@@ -271,89 +171,6 @@ export declare const isHostActorConfigContext: <T>(value: T) => value is T & {
271
171
  moniker: string;
272
172
  labels?: string[] | undefined;
273
173
  }[];
274
- remote: {
275
- rpc?: {
276
- protocol: string;
277
- url: string;
278
- } | {
279
- protocol: string;
280
- networkId: string;
281
- sessionId: string;
282
- } | undefined;
283
- };
284
- transports: Record<string, {
285
- root: string;
286
- type: "lmdb";
287
- access?: "read" | "write" | undefined;
288
- store?: string | undefined;
289
- } | {
290
- type: "mongo";
291
- connectionString?: string | undefined;
292
- database?: string | undefined;
293
- domain?: string | undefined;
294
- password?: string | undefined;
295
- username?: string | undefined;
296
- } | {
297
- protocol: string;
298
- url: string;
299
- type: "rpc";
300
- } | {
301
- type: "rest";
302
- baseUrl: string;
303
- } | {
304
- type: "s3";
305
- bucket?: string | undefined;
306
- prefix?: string | undefined;
307
- readUrl?: string | undefined;
308
- accessKeyId?: string | undefined;
309
- accountId?: string | undefined;
310
- secretAccessKey?: string | undefined;
311
- } | {
312
- type: "evm-rpc";
313
- url: string;
314
- } | {
315
- type: "memory";
316
- }>;
317
- storage: {
318
- mongo?: {
319
- connectionString?: string | undefined;
320
- database?: string | undefined;
321
- domain?: string | undefined;
322
- password?: string | undefined;
323
- username?: string | undefined;
324
- } | undefined;
325
- root?: string | undefined;
326
- s3?: {
327
- accessKeyId?: string | undefined;
328
- accountId?: string | undefined;
329
- chainState?: {
330
- accessKeyId?: string | undefined;
331
- accountId?: string | undefined;
332
- bucket?: string | undefined;
333
- prefix?: string | undefined;
334
- readUrl?: string | undefined;
335
- secretAccessKey?: string | undefined;
336
- } | undefined;
337
- finalized?: {
338
- accessKeyId?: string | undefined;
339
- accountId?: string | undefined;
340
- bucket?: string | undefined;
341
- prefix?: string | undefined;
342
- readUrl?: string | undefined;
343
- secretAccessKey?: string | undefined;
344
- } | undefined;
345
- index?: {
346
- accessKeyId?: string | undefined;
347
- accountId?: string | undefined;
348
- bucket?: string | undefined;
349
- prefix?: string | undefined;
350
- readUrl?: string | undefined;
351
- secretAccessKey?: string | undefined;
352
- } | undefined;
353
- prefix?: string | undefined;
354
- secretAccessKey?: string | undefined;
355
- } | undefined;
356
- };
357
174
  telemetry: {
358
175
  metrics?: {
359
176
  scrape: {
@@ -405,16 +222,6 @@ export declare const asHostActorConfigContext: {
405
222
  readonly __address: true;
406
223
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
407
224
  };
408
- evm: {
409
- chainId?: string | undefined;
410
- infura?: {
411
- projectId?: string | undefined;
412
- projectSecret?: string | undefined;
413
- } | undefined;
414
- jsonRpc?: {
415
- url?: string | undefined;
416
- } | undefined;
417
- };
418
225
  log: {
419
226
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
420
227
  silent: boolean;
@@ -432,9 +239,11 @@ export declare const asHostActorConfigContext: {
432
239
  password?: string | undefined;
433
240
  username?: string | undefined;
434
241
  } | {
435
- protocol: string;
436
- url: string;
437
242
  type: "rpc";
243
+ protocol: string;
244
+ url?: string | undefined;
245
+ networkId?: string | undefined;
246
+ sessionId?: string | undefined;
438
247
  } | {
439
248
  type: "rest";
440
249
  baseUrl: string;
@@ -449,6 +258,7 @@ export declare const asHostActorConfigContext: {
449
258
  } | {
450
259
  type: "evm-rpc";
451
260
  url: string;
261
+ chainId?: string | undefined;
452
262
  } | {
453
263
  type: "memory";
454
264
  }>;
@@ -461,89 +271,6 @@ export declare const asHostActorConfigContext: {
461
271
  moniker: string;
462
272
  labels?: string[] | undefined;
463
273
  }[];
464
- remote: {
465
- rpc?: {
466
- protocol: string;
467
- url: string;
468
- } | {
469
- protocol: string;
470
- networkId: string;
471
- sessionId: string;
472
- } | undefined;
473
- };
474
- transports: Record<string, {
475
- root: string;
476
- type: "lmdb";
477
- access?: "read" | "write" | undefined;
478
- store?: string | undefined;
479
- } | {
480
- type: "mongo";
481
- connectionString?: string | undefined;
482
- database?: string | undefined;
483
- domain?: string | undefined;
484
- password?: string | undefined;
485
- username?: string | undefined;
486
- } | {
487
- protocol: string;
488
- url: string;
489
- type: "rpc";
490
- } | {
491
- type: "rest";
492
- baseUrl: string;
493
- } | {
494
- type: "s3";
495
- bucket?: string | undefined;
496
- prefix?: string | undefined;
497
- readUrl?: string | undefined;
498
- accessKeyId?: string | undefined;
499
- accountId?: string | undefined;
500
- secretAccessKey?: string | undefined;
501
- } | {
502
- type: "evm-rpc";
503
- url: string;
504
- } | {
505
- type: "memory";
506
- }>;
507
- storage: {
508
- mongo?: {
509
- connectionString?: string | undefined;
510
- database?: string | undefined;
511
- domain?: string | undefined;
512
- password?: string | undefined;
513
- username?: string | undefined;
514
- } | undefined;
515
- root?: string | undefined;
516
- s3?: {
517
- accessKeyId?: string | undefined;
518
- accountId?: string | undefined;
519
- chainState?: {
520
- accessKeyId?: string | undefined;
521
- accountId?: string | undefined;
522
- bucket?: string | undefined;
523
- prefix?: string | undefined;
524
- readUrl?: string | undefined;
525
- secretAccessKey?: string | undefined;
526
- } | undefined;
527
- finalized?: {
528
- accessKeyId?: string | undefined;
529
- accountId?: string | undefined;
530
- bucket?: string | undefined;
531
- prefix?: string | undefined;
532
- readUrl?: string | undefined;
533
- secretAccessKey?: string | undefined;
534
- } | undefined;
535
- index?: {
536
- accessKeyId?: string | undefined;
537
- accountId?: string | undefined;
538
- bucket?: string | undefined;
539
- prefix?: string | undefined;
540
- readUrl?: string | undefined;
541
- secretAccessKey?: string | undefined;
542
- } | undefined;
543
- prefix?: string | undefined;
544
- secretAccessKey?: string | undefined;
545
- } | undefined;
546
- };
547
274
  telemetry: {
548
275
  metrics?: {
549
276
  scrape: {
@@ -593,16 +320,6 @@ export declare const asHostActorConfigContext: {
593
320
  readonly __address: true;
594
321
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
595
322
  };
596
- evm: {
597
- chainId?: string | undefined;
598
- infura?: {
599
- projectId?: string | undefined;
600
- projectSecret?: string | undefined;
601
- } | undefined;
602
- jsonRpc?: {
603
- url?: string | undefined;
604
- } | undefined;
605
- };
606
323
  log: {
607
324
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
608
325
  silent: boolean;
@@ -620,9 +337,11 @@ export declare const asHostActorConfigContext: {
620
337
  password?: string | undefined;
621
338
  username?: string | undefined;
622
339
  } | {
623
- protocol: string;
624
- url: string;
625
340
  type: "rpc";
341
+ protocol: string;
342
+ url?: string | undefined;
343
+ networkId?: string | undefined;
344
+ sessionId?: string | undefined;
626
345
  } | {
627
346
  type: "rest";
628
347
  baseUrl: string;
@@ -637,6 +356,7 @@ export declare const asHostActorConfigContext: {
637
356
  } | {
638
357
  type: "evm-rpc";
639
358
  url: string;
359
+ chainId?: string | undefined;
640
360
  } | {
641
361
  type: "memory";
642
362
  }>;
@@ -649,89 +369,6 @@ export declare const asHostActorConfigContext: {
649
369
  moniker: string;
650
370
  labels?: string[] | undefined;
651
371
  }[];
652
- remote: {
653
- rpc?: {
654
- protocol: string;
655
- url: string;
656
- } | {
657
- protocol: string;
658
- networkId: string;
659
- sessionId: string;
660
- } | undefined;
661
- };
662
- transports: Record<string, {
663
- root: string;
664
- type: "lmdb";
665
- access?: "read" | "write" | undefined;
666
- store?: string | undefined;
667
- } | {
668
- type: "mongo";
669
- connectionString?: string | undefined;
670
- database?: string | undefined;
671
- domain?: string | undefined;
672
- password?: string | undefined;
673
- username?: string | undefined;
674
- } | {
675
- protocol: string;
676
- url: string;
677
- type: "rpc";
678
- } | {
679
- type: "rest";
680
- baseUrl: string;
681
- } | {
682
- type: "s3";
683
- bucket?: string | undefined;
684
- prefix?: string | undefined;
685
- readUrl?: string | undefined;
686
- accessKeyId?: string | undefined;
687
- accountId?: string | undefined;
688
- secretAccessKey?: string | undefined;
689
- } | {
690
- type: "evm-rpc";
691
- url: string;
692
- } | {
693
- type: "memory";
694
- }>;
695
- storage: {
696
- mongo?: {
697
- connectionString?: string | undefined;
698
- database?: string | undefined;
699
- domain?: string | undefined;
700
- password?: string | undefined;
701
- username?: string | undefined;
702
- } | undefined;
703
- root?: string | undefined;
704
- s3?: {
705
- accessKeyId?: string | undefined;
706
- accountId?: string | undefined;
707
- chainState?: {
708
- accessKeyId?: string | undefined;
709
- accountId?: string | undefined;
710
- bucket?: string | undefined;
711
- prefix?: string | undefined;
712
- readUrl?: string | undefined;
713
- secretAccessKey?: string | undefined;
714
- } | undefined;
715
- finalized?: {
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
- index?: {
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
- prefix?: string | undefined;
732
- secretAccessKey?: string | undefined;
733
- } | undefined;
734
- };
735
372
  telemetry: {
736
373
  metrics?: {
737
374
  scrape: {
@@ -784,16 +421,6 @@ export declare const toHostActorConfigContext: {
784
421
  readonly __address: true;
785
422
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
786
423
  };
787
- evm: {
788
- chainId?: string | undefined;
789
- infura?: {
790
- projectId?: string | undefined;
791
- projectSecret?: string | undefined;
792
- } | undefined;
793
- jsonRpc?: {
794
- url?: string | undefined;
795
- } | undefined;
796
- };
797
424
  log: {
798
425
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
799
426
  silent: boolean;
@@ -811,9 +438,11 @@ export declare const toHostActorConfigContext: {
811
438
  password?: string | undefined;
812
439
  username?: string | undefined;
813
440
  } | {
814
- protocol: string;
815
- url: string;
816
441
  type: "rpc";
442
+ protocol: string;
443
+ url?: string | undefined;
444
+ networkId?: string | undefined;
445
+ sessionId?: string | undefined;
817
446
  } | {
818
447
  type: "rest";
819
448
  baseUrl: string;
@@ -828,6 +457,7 @@ export declare const toHostActorConfigContext: {
828
457
  } | {
829
458
  type: "evm-rpc";
830
459
  url: string;
460
+ chainId?: string | undefined;
831
461
  } | {
832
462
  type: "memory";
833
463
  }>;
@@ -840,89 +470,6 @@ export declare const toHostActorConfigContext: {
840
470
  moniker: string;
841
471
  labels?: string[] | undefined;
842
472
  }[];
843
- remote: {
844
- rpc?: {
845
- protocol: string;
846
- url: string;
847
- } | {
848
- protocol: string;
849
- networkId: string;
850
- sessionId: string;
851
- } | undefined;
852
- };
853
- transports: Record<string, {
854
- root: string;
855
- type: "lmdb";
856
- access?: "read" | "write" | undefined;
857
- store?: string | undefined;
858
- } | {
859
- type: "mongo";
860
- connectionString?: string | undefined;
861
- database?: string | undefined;
862
- domain?: string | undefined;
863
- password?: string | undefined;
864
- username?: string | undefined;
865
- } | {
866
- protocol: string;
867
- url: string;
868
- type: "rpc";
869
- } | {
870
- type: "rest";
871
- baseUrl: string;
872
- } | {
873
- type: "s3";
874
- bucket?: string | undefined;
875
- prefix?: string | undefined;
876
- readUrl?: string | undefined;
877
- accessKeyId?: string | undefined;
878
- accountId?: string | undefined;
879
- secretAccessKey?: string | undefined;
880
- } | {
881
- type: "evm-rpc";
882
- url: string;
883
- } | {
884
- type: "memory";
885
- }>;
886
- storage: {
887
- mongo?: {
888
- connectionString?: string | undefined;
889
- database?: string | undefined;
890
- domain?: string | undefined;
891
- password?: string | undefined;
892
- username?: string | undefined;
893
- } | undefined;
894
- root?: string | undefined;
895
- s3?: {
896
- accessKeyId?: string | undefined;
897
- accountId?: string | undefined;
898
- chainState?: {
899
- accessKeyId?: string | undefined;
900
- accountId?: string | undefined;
901
- bucket?: string | undefined;
902
- prefix?: string | undefined;
903
- readUrl?: string | undefined;
904
- secretAccessKey?: string | undefined;
905
- } | undefined;
906
- finalized?: {
907
- accessKeyId?: string | undefined;
908
- accountId?: string | undefined;
909
- bucket?: string | undefined;
910
- prefix?: string | undefined;
911
- readUrl?: string | undefined;
912
- secretAccessKey?: string | undefined;
913
- } | undefined;
914
- index?: {
915
- accessKeyId?: string | undefined;
916
- accountId?: string | undefined;
917
- bucket?: string | undefined;
918
- prefix?: string | undefined;
919
- readUrl?: string | undefined;
920
- secretAccessKey?: string | undefined;
921
- } | undefined;
922
- prefix?: string | undefined;
923
- secretAccessKey?: string | undefined;
924
- } | undefined;
925
- };
926
473
  telemetry: {
927
474
  metrics?: {
928
475
  scrape: {
@@ -972,16 +519,6 @@ export declare const toHostActorConfigContext: {
972
519
  readonly __address: true;
973
520
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
974
521
  };
975
- evm: {
976
- chainId?: string | undefined;
977
- infura?: {
978
- projectId?: string | undefined;
979
- projectSecret?: string | undefined;
980
- } | undefined;
981
- jsonRpc?: {
982
- url?: string | undefined;
983
- } | undefined;
984
- };
985
522
  log: {
986
523
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
987
524
  silent: boolean;
@@ -999,9 +536,11 @@ export declare const toHostActorConfigContext: {
999
536
  password?: string | undefined;
1000
537
  username?: string | undefined;
1001
538
  } | {
1002
- protocol: string;
1003
- url: string;
1004
539
  type: "rpc";
540
+ protocol: string;
541
+ url?: string | undefined;
542
+ networkId?: string | undefined;
543
+ sessionId?: string | undefined;
1005
544
  } | {
1006
545
  type: "rest";
1007
546
  baseUrl: string;
@@ -1016,6 +555,7 @@ export declare const toHostActorConfigContext: {
1016
555
  } | {
1017
556
  type: "evm-rpc";
1018
557
  url: string;
558
+ chainId?: string | undefined;
1019
559
  } | {
1020
560
  type: "memory";
1021
561
  }>;
@@ -1028,89 +568,6 @@ export declare const toHostActorConfigContext: {
1028
568
  moniker: string;
1029
569
  labels?: string[] | undefined;
1030
570
  }[];
1031
- remote: {
1032
- rpc?: {
1033
- protocol: string;
1034
- url: string;
1035
- } | {
1036
- protocol: string;
1037
- networkId: string;
1038
- sessionId: string;
1039
- } | undefined;
1040
- };
1041
- transports: Record<string, {
1042
- root: string;
1043
- type: "lmdb";
1044
- access?: "read" | "write" | undefined;
1045
- store?: string | undefined;
1046
- } | {
1047
- type: "mongo";
1048
- connectionString?: string | undefined;
1049
- database?: string | undefined;
1050
- domain?: string | undefined;
1051
- password?: string | undefined;
1052
- username?: string | undefined;
1053
- } | {
1054
- protocol: string;
1055
- url: string;
1056
- type: "rpc";
1057
- } | {
1058
- type: "rest";
1059
- baseUrl: string;
1060
- } | {
1061
- type: "s3";
1062
- bucket?: string | undefined;
1063
- prefix?: string | undefined;
1064
- readUrl?: string | undefined;
1065
- accessKeyId?: string | undefined;
1066
- accountId?: string | undefined;
1067
- secretAccessKey?: string | undefined;
1068
- } | {
1069
- type: "evm-rpc";
1070
- url: string;
1071
- } | {
1072
- type: "memory";
1073
- }>;
1074
- storage: {
1075
- mongo?: {
1076
- connectionString?: string | undefined;
1077
- database?: string | undefined;
1078
- domain?: string | undefined;
1079
- password?: string | undefined;
1080
- username?: string | undefined;
1081
- } | undefined;
1082
- root?: string | undefined;
1083
- s3?: {
1084
- accessKeyId?: string | undefined;
1085
- accountId?: string | undefined;
1086
- chainState?: {
1087
- accessKeyId?: string | undefined;
1088
- accountId?: string | undefined;
1089
- bucket?: string | undefined;
1090
- prefix?: string | undefined;
1091
- readUrl?: string | undefined;
1092
- secretAccessKey?: string | undefined;
1093
- } | undefined;
1094
- finalized?: {
1095
- accessKeyId?: string | undefined;
1096
- accountId?: string | undefined;
1097
- bucket?: string | undefined;
1098
- prefix?: string | undefined;
1099
- readUrl?: string | undefined;
1100
- secretAccessKey?: string | undefined;
1101
- } | undefined;
1102
- index?: {
1103
- accessKeyId?: string | undefined;
1104
- accountId?: string | undefined;
1105
- bucket?: string | undefined;
1106
- prefix?: string | undefined;
1107
- readUrl?: string | undefined;
1108
- secretAccessKey?: string | undefined;
1109
- } | undefined;
1110
- prefix?: string | undefined;
1111
- secretAccessKey?: string | undefined;
1112
- } | undefined;
1113
- };
1114
571
  telemetry: {
1115
572
  metrics?: {
1116
573
  scrape: {