@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.
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 ActorConfigContext: 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 ActorConfigContext: 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 ActorConfigContext: 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 ActorConfigContext: 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<{
@@ -213,16 +120,6 @@ export declare const isActorConfigContext: <T>(value: T) => value is T & {
213
120
  readonly __address: true;
214
121
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
215
122
  };
216
- evm: {
217
- chainId?: string | undefined;
218
- infura?: {
219
- projectId?: string | undefined;
220
- projectSecret?: string | undefined;
221
- } | undefined;
222
- jsonRpc?: {
223
- url?: string | undefined;
224
- } | undefined;
225
- };
226
123
  log: {
227
124
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
228
125
  silent: boolean;
@@ -240,9 +137,11 @@ export declare const isActorConfigContext: <T>(value: T) => value is T & {
240
137
  password?: string | undefined;
241
138
  username?: string | undefined;
242
139
  } | {
243
- protocol: string;
244
- url: string;
245
140
  type: "rpc";
141
+ protocol: string;
142
+ url?: string | undefined;
143
+ networkId?: string | undefined;
144
+ sessionId?: string | undefined;
246
145
  } | {
247
146
  type: "rest";
248
147
  baseUrl: string;
@@ -257,6 +156,7 @@ export declare const isActorConfigContext: <T>(value: T) => value is T & {
257
156
  } | {
258
157
  type: "evm-rpc";
259
158
  url: string;
159
+ chainId?: string | undefined;
260
160
  } | {
261
161
  type: "memory";
262
162
  }>;
@@ -269,89 +169,6 @@ export declare const isActorConfigContext: <T>(value: T) => value is T & {
269
169
  moniker: string;
270
170
  labels?: string[] | undefined;
271
171
  }[];
272
- remote: {
273
- rpc?: {
274
- protocol: string;
275
- url: string;
276
- } | {
277
- protocol: string;
278
- networkId: string;
279
- sessionId: string;
280
- } | undefined;
281
- };
282
- transports: Record<string, {
283
- root: string;
284
- type: "lmdb";
285
- access?: "read" | "write" | undefined;
286
- store?: string | undefined;
287
- } | {
288
- type: "mongo";
289
- connectionString?: string | undefined;
290
- database?: string | undefined;
291
- domain?: string | undefined;
292
- password?: string | undefined;
293
- username?: string | undefined;
294
- } | {
295
- protocol: string;
296
- url: string;
297
- type: "rpc";
298
- } | {
299
- type: "rest";
300
- baseUrl: string;
301
- } | {
302
- type: "s3";
303
- bucket?: string | undefined;
304
- prefix?: string | undefined;
305
- readUrl?: string | undefined;
306
- accessKeyId?: string | undefined;
307
- accountId?: string | undefined;
308
- secretAccessKey?: string | undefined;
309
- } | {
310
- type: "evm-rpc";
311
- url: string;
312
- } | {
313
- type: "memory";
314
- }>;
315
- storage: {
316
- mongo?: {
317
- connectionString?: string | undefined;
318
- database?: string | undefined;
319
- domain?: string | undefined;
320
- password?: string | undefined;
321
- username?: string | undefined;
322
- } | undefined;
323
- root?: string | undefined;
324
- s3?: {
325
- accessKeyId?: string | undefined;
326
- accountId?: string | undefined;
327
- chainState?: {
328
- accessKeyId?: string | undefined;
329
- accountId?: string | undefined;
330
- bucket?: string | undefined;
331
- prefix?: string | undefined;
332
- readUrl?: string | undefined;
333
- secretAccessKey?: string | undefined;
334
- } | undefined;
335
- finalized?: {
336
- accessKeyId?: string | undefined;
337
- accountId?: string | undefined;
338
- bucket?: string | undefined;
339
- prefix?: string | undefined;
340
- readUrl?: string | undefined;
341
- secretAccessKey?: string | undefined;
342
- } | undefined;
343
- index?: {
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
- prefix?: string | undefined;
352
- secretAccessKey?: string | undefined;
353
- } | undefined;
354
- };
355
172
  telemetry: {
356
173
  metrics?: {
357
174
  scrape: {
@@ -401,16 +218,6 @@ export declare const asActorConfigContext: {
401
218
  readonly __address: true;
402
219
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
403
220
  };
404
- evm: {
405
- chainId?: string | undefined;
406
- infura?: {
407
- projectId?: string | undefined;
408
- projectSecret?: string | undefined;
409
- } | undefined;
410
- jsonRpc?: {
411
- url?: string | undefined;
412
- } | undefined;
413
- };
414
221
  log: {
415
222
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
416
223
  silent: boolean;
@@ -428,9 +235,11 @@ export declare const asActorConfigContext: {
428
235
  password?: string | undefined;
429
236
  username?: string | undefined;
430
237
  } | {
431
- protocol: string;
432
- url: string;
433
238
  type: "rpc";
239
+ protocol: string;
240
+ url?: string | undefined;
241
+ networkId?: string | undefined;
242
+ sessionId?: string | undefined;
434
243
  } | {
435
244
  type: "rest";
436
245
  baseUrl: string;
@@ -445,6 +254,7 @@ export declare const asActorConfigContext: {
445
254
  } | {
446
255
  type: "evm-rpc";
447
256
  url: string;
257
+ chainId?: string | undefined;
448
258
  } | {
449
259
  type: "memory";
450
260
  }>;
@@ -457,89 +267,6 @@ export declare const asActorConfigContext: {
457
267
  moniker: string;
458
268
  labels?: string[] | undefined;
459
269
  }[];
460
- remote: {
461
- rpc?: {
462
- protocol: string;
463
- url: string;
464
- } | {
465
- protocol: string;
466
- networkId: string;
467
- sessionId: string;
468
- } | undefined;
469
- };
470
- transports: Record<string, {
471
- root: string;
472
- type: "lmdb";
473
- access?: "read" | "write" | undefined;
474
- store?: string | undefined;
475
- } | {
476
- type: "mongo";
477
- connectionString?: string | undefined;
478
- database?: string | undefined;
479
- domain?: string | undefined;
480
- password?: string | undefined;
481
- username?: string | undefined;
482
- } | {
483
- protocol: string;
484
- url: string;
485
- type: "rpc";
486
- } | {
487
- type: "rest";
488
- baseUrl: string;
489
- } | {
490
- type: "s3";
491
- bucket?: string | undefined;
492
- prefix?: string | undefined;
493
- readUrl?: string | undefined;
494
- accessKeyId?: string | undefined;
495
- accountId?: string | undefined;
496
- secretAccessKey?: string | undefined;
497
- } | {
498
- type: "evm-rpc";
499
- url: string;
500
- } | {
501
- type: "memory";
502
- }>;
503
- storage: {
504
- mongo?: {
505
- connectionString?: string | undefined;
506
- database?: string | undefined;
507
- domain?: string | undefined;
508
- password?: string | undefined;
509
- username?: string | undefined;
510
- } | undefined;
511
- root?: string | undefined;
512
- s3?: {
513
- accessKeyId?: string | undefined;
514
- accountId?: string | undefined;
515
- chainState?: {
516
- accessKeyId?: string | undefined;
517
- accountId?: string | undefined;
518
- bucket?: string | undefined;
519
- prefix?: string | undefined;
520
- readUrl?: string | undefined;
521
- secretAccessKey?: string | undefined;
522
- } | undefined;
523
- finalized?: {
524
- accessKeyId?: string | undefined;
525
- accountId?: string | undefined;
526
- bucket?: string | undefined;
527
- prefix?: string | undefined;
528
- readUrl?: string | undefined;
529
- secretAccessKey?: string | undefined;
530
- } | undefined;
531
- index?: {
532
- accessKeyId?: string | undefined;
533
- accountId?: string | undefined;
534
- bucket?: string | undefined;
535
- prefix?: string | undefined;
536
- readUrl?: string | undefined;
537
- secretAccessKey?: string | undefined;
538
- } | undefined;
539
- prefix?: string | undefined;
540
- secretAccessKey?: string | undefined;
541
- } | undefined;
542
- };
543
270
  telemetry: {
544
271
  metrics?: {
545
272
  scrape: {
@@ -587,16 +314,6 @@ export declare const asActorConfigContext: {
587
314
  readonly __address: true;
588
315
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
589
316
  };
590
- evm: {
591
- chainId?: string | undefined;
592
- infura?: {
593
- projectId?: string | undefined;
594
- projectSecret?: string | undefined;
595
- } | undefined;
596
- jsonRpc?: {
597
- url?: string | undefined;
598
- } | undefined;
599
- };
600
317
  log: {
601
318
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
602
319
  silent: boolean;
@@ -614,9 +331,11 @@ export declare const asActorConfigContext: {
614
331
  password?: string | undefined;
615
332
  username?: string | undefined;
616
333
  } | {
617
- protocol: string;
618
- url: string;
619
334
  type: "rpc";
335
+ protocol: string;
336
+ url?: string | undefined;
337
+ networkId?: string | undefined;
338
+ sessionId?: string | undefined;
620
339
  } | {
621
340
  type: "rest";
622
341
  baseUrl: string;
@@ -631,6 +350,7 @@ export declare const asActorConfigContext: {
631
350
  } | {
632
351
  type: "evm-rpc";
633
352
  url: string;
353
+ chainId?: string | undefined;
634
354
  } | {
635
355
  type: "memory";
636
356
  }>;
@@ -643,89 +363,6 @@ export declare const asActorConfigContext: {
643
363
  moniker: string;
644
364
  labels?: string[] | undefined;
645
365
  }[];
646
- remote: {
647
- rpc?: {
648
- protocol: string;
649
- url: string;
650
- } | {
651
- protocol: string;
652
- networkId: string;
653
- sessionId: string;
654
- } | undefined;
655
- };
656
- transports: Record<string, {
657
- root: string;
658
- type: "lmdb";
659
- access?: "read" | "write" | undefined;
660
- store?: string | undefined;
661
- } | {
662
- type: "mongo";
663
- connectionString?: string | undefined;
664
- database?: string | undefined;
665
- domain?: string | undefined;
666
- password?: string | undefined;
667
- username?: string | undefined;
668
- } | {
669
- protocol: string;
670
- url: string;
671
- type: "rpc";
672
- } | {
673
- type: "rest";
674
- baseUrl: string;
675
- } | {
676
- type: "s3";
677
- bucket?: string | undefined;
678
- prefix?: string | undefined;
679
- readUrl?: string | undefined;
680
- accessKeyId?: string | undefined;
681
- accountId?: string | undefined;
682
- secretAccessKey?: string | undefined;
683
- } | {
684
- type: "evm-rpc";
685
- url: string;
686
- } | {
687
- type: "memory";
688
- }>;
689
- storage: {
690
- mongo?: {
691
- connectionString?: string | undefined;
692
- database?: string | undefined;
693
- domain?: string | undefined;
694
- password?: string | undefined;
695
- username?: string | undefined;
696
- } | undefined;
697
- root?: string | undefined;
698
- s3?: {
699
- accessKeyId?: string | undefined;
700
- accountId?: string | undefined;
701
- chainState?: {
702
- accessKeyId?: string | undefined;
703
- accountId?: string | undefined;
704
- bucket?: string | undefined;
705
- prefix?: string | undefined;
706
- readUrl?: string | undefined;
707
- secretAccessKey?: string | undefined;
708
- } | undefined;
709
- finalized?: {
710
- accessKeyId?: string | undefined;
711
- accountId?: string | undefined;
712
- bucket?: string | undefined;
713
- prefix?: string | undefined;
714
- readUrl?: string | undefined;
715
- secretAccessKey?: string | undefined;
716
- } | undefined;
717
- index?: {
718
- accessKeyId?: string | undefined;
719
- accountId?: string | undefined;
720
- bucket?: string | undefined;
721
- prefix?: string | undefined;
722
- readUrl?: string | undefined;
723
- secretAccessKey?: string | undefined;
724
- } | undefined;
725
- prefix?: string | undefined;
726
- secretAccessKey?: string | undefined;
727
- } | undefined;
728
- };
729
366
  telemetry: {
730
367
  metrics?: {
731
368
  scrape: {
@@ -776,16 +413,6 @@ export declare const toActorConfigContext: {
776
413
  readonly __address: true;
777
414
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
778
415
  };
779
- evm: {
780
- chainId?: string | undefined;
781
- infura?: {
782
- projectId?: string | undefined;
783
- projectSecret?: string | undefined;
784
- } | undefined;
785
- jsonRpc?: {
786
- url?: string | undefined;
787
- } | undefined;
788
- };
789
416
  log: {
790
417
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
791
418
  silent: boolean;
@@ -803,9 +430,11 @@ export declare const toActorConfigContext: {
803
430
  password?: string | undefined;
804
431
  username?: string | undefined;
805
432
  } | {
806
- protocol: string;
807
- url: string;
808
433
  type: "rpc";
434
+ protocol: string;
435
+ url?: string | undefined;
436
+ networkId?: string | undefined;
437
+ sessionId?: string | undefined;
809
438
  } | {
810
439
  type: "rest";
811
440
  baseUrl: string;
@@ -820,6 +449,7 @@ export declare const toActorConfigContext: {
820
449
  } | {
821
450
  type: "evm-rpc";
822
451
  url: string;
452
+ chainId?: string | undefined;
823
453
  } | {
824
454
  type: "memory";
825
455
  }>;
@@ -832,89 +462,6 @@ export declare const toActorConfigContext: {
832
462
  moniker: string;
833
463
  labels?: string[] | undefined;
834
464
  }[];
835
- remote: {
836
- rpc?: {
837
- protocol: string;
838
- url: string;
839
- } | {
840
- protocol: string;
841
- networkId: string;
842
- sessionId: string;
843
- } | undefined;
844
- };
845
- transports: Record<string, {
846
- root: string;
847
- type: "lmdb";
848
- access?: "read" | "write" | undefined;
849
- store?: string | undefined;
850
- } | {
851
- type: "mongo";
852
- connectionString?: string | undefined;
853
- database?: string | undefined;
854
- domain?: string | undefined;
855
- password?: string | undefined;
856
- username?: string | undefined;
857
- } | {
858
- protocol: string;
859
- url: string;
860
- type: "rpc";
861
- } | {
862
- type: "rest";
863
- baseUrl: string;
864
- } | {
865
- type: "s3";
866
- bucket?: string | undefined;
867
- prefix?: string | undefined;
868
- readUrl?: string | undefined;
869
- accessKeyId?: string | undefined;
870
- accountId?: string | undefined;
871
- secretAccessKey?: string | undefined;
872
- } | {
873
- type: "evm-rpc";
874
- url: string;
875
- } | {
876
- type: "memory";
877
- }>;
878
- storage: {
879
- mongo?: {
880
- connectionString?: string | undefined;
881
- database?: string | undefined;
882
- domain?: string | undefined;
883
- password?: string | undefined;
884
- username?: string | undefined;
885
- } | undefined;
886
- root?: string | undefined;
887
- s3?: {
888
- accessKeyId?: string | undefined;
889
- accountId?: string | undefined;
890
- chainState?: {
891
- accessKeyId?: string | undefined;
892
- accountId?: string | undefined;
893
- bucket?: string | undefined;
894
- prefix?: string | undefined;
895
- readUrl?: string | undefined;
896
- secretAccessKey?: string | undefined;
897
- } | undefined;
898
- finalized?: {
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
- index?: {
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
- prefix?: string | undefined;
915
- secretAccessKey?: string | undefined;
916
- } | undefined;
917
- };
918
465
  telemetry: {
919
466
  metrics?: {
920
467
  scrape: {
@@ -962,16 +509,6 @@ export declare const toActorConfigContext: {
962
509
  readonly __address: true;
963
510
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
964
511
  };
965
- evm: {
966
- chainId?: string | undefined;
967
- infura?: {
968
- projectId?: string | undefined;
969
- projectSecret?: string | undefined;
970
- } | undefined;
971
- jsonRpc?: {
972
- url?: string | undefined;
973
- } | undefined;
974
- };
975
512
  log: {
976
513
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
977
514
  silent: boolean;
@@ -989,9 +526,11 @@ export declare const toActorConfigContext: {
989
526
  password?: string | undefined;
990
527
  username?: string | undefined;
991
528
  } | {
992
- protocol: string;
993
- url: string;
994
529
  type: "rpc";
530
+ protocol: string;
531
+ url?: string | undefined;
532
+ networkId?: string | undefined;
533
+ sessionId?: string | undefined;
995
534
  } | {
996
535
  type: "rest";
997
536
  baseUrl: string;
@@ -1006,6 +545,7 @@ export declare const toActorConfigContext: {
1006
545
  } | {
1007
546
  type: "evm-rpc";
1008
547
  url: string;
548
+ chainId?: string | undefined;
1009
549
  } | {
1010
550
  type: "memory";
1011
551
  }>;
@@ -1018,89 +558,6 @@ export declare const toActorConfigContext: {
1018
558
  moniker: string;
1019
559
  labels?: string[] | undefined;
1020
560
  }[];
1021
- remote: {
1022
- rpc?: {
1023
- protocol: string;
1024
- url: string;
1025
- } | {
1026
- protocol: string;
1027
- networkId: string;
1028
- sessionId: string;
1029
- } | undefined;
1030
- };
1031
- transports: Record<string, {
1032
- root: string;
1033
- type: "lmdb";
1034
- access?: "read" | "write" | undefined;
1035
- store?: string | undefined;
1036
- } | {
1037
- type: "mongo";
1038
- connectionString?: string | undefined;
1039
- database?: string | undefined;
1040
- domain?: string | undefined;
1041
- password?: string | undefined;
1042
- username?: string | undefined;
1043
- } | {
1044
- protocol: string;
1045
- url: string;
1046
- type: "rpc";
1047
- } | {
1048
- type: "rest";
1049
- baseUrl: string;
1050
- } | {
1051
- type: "s3";
1052
- bucket?: string | undefined;
1053
- prefix?: string | undefined;
1054
- readUrl?: string | undefined;
1055
- accessKeyId?: string | undefined;
1056
- accountId?: string | undefined;
1057
- secretAccessKey?: string | undefined;
1058
- } | {
1059
- type: "evm-rpc";
1060
- url: string;
1061
- } | {
1062
- type: "memory";
1063
- }>;
1064
- storage: {
1065
- mongo?: {
1066
- connectionString?: string | undefined;
1067
- database?: string | undefined;
1068
- domain?: string | undefined;
1069
- password?: string | undefined;
1070
- username?: string | undefined;
1071
- } | undefined;
1072
- root?: string | undefined;
1073
- s3?: {
1074
- accessKeyId?: string | undefined;
1075
- accountId?: string | undefined;
1076
- chainState?: {
1077
- accessKeyId?: string | undefined;
1078
- accountId?: string | undefined;
1079
- bucket?: string | undefined;
1080
- prefix?: string | undefined;
1081
- readUrl?: string | undefined;
1082
- secretAccessKey?: string | undefined;
1083
- } | undefined;
1084
- finalized?: {
1085
- accessKeyId?: string | undefined;
1086
- accountId?: string | undefined;
1087
- bucket?: string | undefined;
1088
- prefix?: string | undefined;
1089
- readUrl?: string | undefined;
1090
- secretAccessKey?: string | undefined;
1091
- } | undefined;
1092
- index?: {
1093
- accessKeyId?: string | undefined;
1094
- accountId?: string | undefined;
1095
- bucket?: string | undefined;
1096
- prefix?: string | undefined;
1097
- readUrl?: string | undefined;
1098
- secretAccessKey?: string | undefined;
1099
- } | undefined;
1100
- prefix?: string | undefined;
1101
- secretAccessKey?: string | undefined;
1102
- } | undefined;
1103
- };
1104
561
  telemetry: {
1105
562
  metrics?: {
1106
563
  scrape: {