@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
@@ -21,16 +21,6 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
21
21
  }, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
22
22
  }, z.core.$strip>>;
23
23
  dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./index.ts").DataLakeConfig, unknown>>>;
24
- evm: z.ZodMiniDefault<import("zod").ZodObject<{
25
- chainId: import("zod").ZodOptional<import("zod").ZodString>;
26
- infura: import("zod").ZodOptional<import("zod").ZodObject<{
27
- projectId: import("zod").ZodOptional<import("zod").ZodString>;
28
- projectSecret: import("zod").ZodOptional<import("zod").ZodString>;
29
- }, z.core.$strip>>;
30
- jsonRpc: import("zod").ZodOptional<import("zod").ZodObject<{
31
- url: import("zod").ZodOptional<import("zod").ZodURL>;
32
- }, z.core.$strip>>;
33
- }, z.core.$strip>>;
34
24
  log: z.ZodMiniDefault<import("zod").ZodObject<{
35
25
  logLevel: import("zod").ZodDefault<import("zod").ZodEnum<{
36
26
  error: "error";
@@ -58,9 +48,11 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
58
48
  password: import("zod").ZodOptional<import("zod").ZodString>;
59
49
  username: import("zod").ZodOptional<import("zod").ZodString>;
60
50
  }, z.core.$strip>, import("zod").ZodObject<{
61
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
62
- url: import("zod").ZodString;
63
51
  type: import("zod").ZodLiteral<"rpc">;
52
+ protocol: import("zod").ZodDefault<import("zod").ZodString>;
53
+ url: import("zod").ZodOptional<import("zod").ZodString>;
54
+ networkId: import("zod").ZodOptional<import("zod").ZodString>;
55
+ sessionId: import("zod").ZodOptional<import("zod").ZodString>;
64
56
  }, z.core.$strip>, import("zod").ZodObject<{
65
57
  type: import("zod").ZodLiteral<"rest">;
66
58
  baseUrl: import("zod").ZodString;
@@ -75,6 +67,7 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
75
67
  }, z.core.$strip>, import("zod").ZodObject<{
76
68
  type: import("zod").ZodLiteral<"evm-rpc">;
77
69
  url: import("zod").ZodString;
70
+ chainId: import("zod").ZodOptional<import("zod").ZodString>;
78
71
  }, z.core.$strip>, import("zod").ZodObject<{
79
72
  type: import("zod").ZodLiteral<"memory">;
80
73
  }, z.core.$strip>], "type">>>>;
@@ -86,92 +79,6 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
86
79
  moniker: import("zod").ZodString;
87
80
  labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
88
81
  }, z.core.$loose>>>>;
89
- remote: z.ZodMiniDefault<import("zod").ZodObject<{
90
- rpc: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
91
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
92
- url: import("zod").ZodString;
93
- }, z.core.$strip>, import("zod").ZodObject<{
94
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
95
- networkId: import("zod").ZodString;
96
- sessionId: import("zod").ZodString;
97
- }, z.core.$strip>]>>;
98
- }, z.core.$strip>>;
99
- transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
100
- access: import("zod").ZodOptional<import("zod").ZodEnum<{
101
- read: "read";
102
- write: "write";
103
- }>>;
104
- root: import("zod").ZodString;
105
- store: import("zod").ZodOptional<import("zod").ZodString>;
106
- type: import("zod").ZodLiteral<"lmdb">;
107
- }, z.core.$strip>, import("zod").ZodObject<{
108
- type: import("zod").ZodLiteral<"mongo">;
109
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
110
- database: import("zod").ZodOptional<import("zod").ZodString>;
111
- domain: import("zod").ZodOptional<import("zod").ZodString>;
112
- password: import("zod").ZodOptional<import("zod").ZodString>;
113
- username: import("zod").ZodOptional<import("zod").ZodString>;
114
- }, z.core.$strip>, import("zod").ZodObject<{
115
- protocol: import("zod").ZodDefault<import("zod").ZodString>;
116
- url: import("zod").ZodString;
117
- type: import("zod").ZodLiteral<"rpc">;
118
- }, z.core.$strip>, import("zod").ZodObject<{
119
- type: import("zod").ZodLiteral<"rest">;
120
- baseUrl: import("zod").ZodString;
121
- }, z.core.$strip>, import("zod").ZodObject<{
122
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
123
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
124
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
125
- type: import("zod").ZodLiteral<"s3">;
126
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
127
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
128
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
129
- }, z.core.$strip>, import("zod").ZodObject<{
130
- type: import("zod").ZodLiteral<"evm-rpc">;
131
- url: import("zod").ZodString;
132
- }, z.core.$strip>, import("zod").ZodObject<{
133
- type: import("zod").ZodLiteral<"memory">;
134
- }, z.core.$strip>], "type">>>>;
135
- storage: z.ZodMiniDefault<import("zod").ZodObject<{
136
- mongo: import("zod").ZodOptional<import("zod").ZodObject<{
137
- connectionString: import("zod").ZodOptional<import("zod").ZodString>;
138
- database: import("zod").ZodOptional<import("zod").ZodString>;
139
- domain: import("zod").ZodOptional<import("zod").ZodString>;
140
- password: import("zod").ZodOptional<import("zod").ZodString>;
141
- username: import("zod").ZodOptional<import("zod").ZodString>;
142
- }, z.core.$strip>>;
143
- root: import("zod").ZodOptional<import("zod").ZodString>;
144
- s3: import("zod").ZodOptional<import("zod").ZodObject<{
145
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
146
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
147
- chainState: import("zod").ZodOptional<import("zod").ZodObject<{
148
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
149
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
150
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
151
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
152
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
153
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
154
- }, z.core.$strip>>;
155
- finalized: import("zod").ZodOptional<import("zod").ZodObject<{
156
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
157
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
158
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
159
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
160
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
161
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
162
- }, z.core.$strip>>;
163
- index: import("zod").ZodOptional<import("zod").ZodObject<{
164
- accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
165
- accountId: import("zod").ZodOptional<import("zod").ZodString>;
166
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
167
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
168
- readUrl: import("zod").ZodOptional<import("zod").ZodString>;
169
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
170
- }, z.core.$strip>>;
171
- prefix: import("zod").ZodOptional<import("zod").ZodString>;
172
- secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
173
- }, z.core.$strip>>;
174
- }, z.core.$strip>>;
175
82
  telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
176
83
  metrics: import("zod").ZodOptional<import("zod").ZodObject<{
177
84
  scrape: import("zod").ZodObject<{
@@ -212,16 +119,6 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
212
119
  readonly __address: true;
213
120
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
214
121
  };
215
- evm: {
216
- chainId?: string | undefined;
217
- infura?: {
218
- projectId?: string | undefined;
219
- projectSecret?: string | undefined;
220
- } | undefined;
221
- jsonRpc?: {
222
- url?: string | undefined;
223
- } | undefined;
224
- };
225
122
  log: {
226
123
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
227
124
  silent: boolean;
@@ -239,9 +136,11 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
239
136
  password?: string | undefined;
240
137
  username?: string | undefined;
241
138
  } | {
242
- protocol: string;
243
- url: string;
244
139
  type: "rpc";
140
+ protocol: string;
141
+ url?: string | undefined;
142
+ networkId?: string | undefined;
143
+ sessionId?: string | undefined;
245
144
  } | {
246
145
  type: "rest";
247
146
  baseUrl: string;
@@ -256,6 +155,7 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
256
155
  } | {
257
156
  type: "evm-rpc";
258
157
  url: string;
158
+ chainId?: string | undefined;
259
159
  } | {
260
160
  type: "memory";
261
161
  }>;
@@ -268,89 +168,6 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
268
168
  moniker: string;
269
169
  labels?: string[] | undefined;
270
170
  }[];
271
- remote: {
272
- rpc?: {
273
- protocol: string;
274
- url: string;
275
- } | {
276
- protocol: string;
277
- networkId: string;
278
- sessionId: string;
279
- } | undefined;
280
- };
281
- transports: Record<string, {
282
- root: string;
283
- type: "lmdb";
284
- access?: "read" | "write" | undefined;
285
- store?: string | undefined;
286
- } | {
287
- type: "mongo";
288
- connectionString?: string | undefined;
289
- database?: string | undefined;
290
- domain?: string | undefined;
291
- password?: string | undefined;
292
- username?: string | undefined;
293
- } | {
294
- protocol: string;
295
- url: string;
296
- type: "rpc";
297
- } | {
298
- type: "rest";
299
- baseUrl: string;
300
- } | {
301
- type: "s3";
302
- bucket?: string | undefined;
303
- prefix?: string | undefined;
304
- readUrl?: string | undefined;
305
- accessKeyId?: string | undefined;
306
- accountId?: string | undefined;
307
- secretAccessKey?: string | undefined;
308
- } | {
309
- type: "evm-rpc";
310
- url: string;
311
- } | {
312
- type: "memory";
313
- }>;
314
- storage: {
315
- mongo?: {
316
- connectionString?: string | undefined;
317
- database?: string | undefined;
318
- domain?: string | undefined;
319
- password?: string | undefined;
320
- username?: string | undefined;
321
- } | undefined;
322
- root?: string | undefined;
323
- s3?: {
324
- accessKeyId?: string | undefined;
325
- accountId?: string | undefined;
326
- chainState?: {
327
- accessKeyId?: string | undefined;
328
- accountId?: string | undefined;
329
- bucket?: string | undefined;
330
- prefix?: string | undefined;
331
- readUrl?: string | undefined;
332
- secretAccessKey?: string | undefined;
333
- } | undefined;
334
- finalized?: {
335
- accessKeyId?: string | undefined;
336
- accountId?: string | undefined;
337
- bucket?: string | undefined;
338
- prefix?: string | undefined;
339
- readUrl?: string | undefined;
340
- secretAccessKey?: string | undefined;
341
- } | undefined;
342
- index?: {
343
- accessKeyId?: string | undefined;
344
- accountId?: string | undefined;
345
- bucket?: string | undefined;
346
- prefix?: string | undefined;
347
- readUrl?: string | undefined;
348
- secretAccessKey?: string | undefined;
349
- } | undefined;
350
- prefix?: string | undefined;
351
- secretAccessKey?: string | undefined;
352
- } | undefined;
353
- };
354
171
  telemetry: {
355
172
  metrics?: {
356
173
  scrape: {
@@ -391,16 +208,6 @@ export declare const asActorConfig: {
391
208
  readonly __address: true;
392
209
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
393
210
  };
394
- evm: {
395
- chainId?: string | undefined;
396
- infura?: {
397
- projectId?: string | undefined;
398
- projectSecret?: string | undefined;
399
- } | undefined;
400
- jsonRpc?: {
401
- url?: string | undefined;
402
- } | undefined;
403
- };
404
211
  log: {
405
212
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
406
213
  silent: boolean;
@@ -418,9 +225,11 @@ export declare const asActorConfig: {
418
225
  password?: string | undefined;
419
226
  username?: string | undefined;
420
227
  } | {
421
- protocol: string;
422
- url: string;
423
228
  type: "rpc";
229
+ protocol: string;
230
+ url?: string | undefined;
231
+ networkId?: string | undefined;
232
+ sessionId?: string | undefined;
424
233
  } | {
425
234
  type: "rest";
426
235
  baseUrl: string;
@@ -435,6 +244,7 @@ export declare const asActorConfig: {
435
244
  } | {
436
245
  type: "evm-rpc";
437
246
  url: string;
247
+ chainId?: string | undefined;
438
248
  } | {
439
249
  type: "memory";
440
250
  }>;
@@ -447,89 +257,6 @@ export declare const asActorConfig: {
447
257
  moniker: string;
448
258
  labels?: string[] | undefined;
449
259
  }[];
450
- remote: {
451
- rpc?: {
452
- protocol: string;
453
- url: string;
454
- } | {
455
- protocol: string;
456
- networkId: string;
457
- sessionId: string;
458
- } | undefined;
459
- };
460
- transports: Record<string, {
461
- root: string;
462
- type: "lmdb";
463
- access?: "read" | "write" | undefined;
464
- store?: string | undefined;
465
- } | {
466
- type: "mongo";
467
- connectionString?: string | undefined;
468
- database?: string | undefined;
469
- domain?: string | undefined;
470
- password?: string | undefined;
471
- username?: string | undefined;
472
- } | {
473
- protocol: string;
474
- url: string;
475
- type: "rpc";
476
- } | {
477
- type: "rest";
478
- baseUrl: string;
479
- } | {
480
- type: "s3";
481
- bucket?: string | undefined;
482
- prefix?: string | undefined;
483
- readUrl?: string | undefined;
484
- accessKeyId?: string | undefined;
485
- accountId?: string | undefined;
486
- secretAccessKey?: string | undefined;
487
- } | {
488
- type: "evm-rpc";
489
- url: string;
490
- } | {
491
- type: "memory";
492
- }>;
493
- storage: {
494
- mongo?: {
495
- connectionString?: string | undefined;
496
- database?: string | undefined;
497
- domain?: string | undefined;
498
- password?: string | undefined;
499
- username?: string | undefined;
500
- } | undefined;
501
- root?: string | undefined;
502
- s3?: {
503
- accessKeyId?: string | undefined;
504
- accountId?: string | undefined;
505
- chainState?: {
506
- accessKeyId?: string | undefined;
507
- accountId?: string | undefined;
508
- bucket?: string | undefined;
509
- prefix?: string | undefined;
510
- readUrl?: string | undefined;
511
- secretAccessKey?: string | undefined;
512
- } | undefined;
513
- finalized?: {
514
- accessKeyId?: string | undefined;
515
- accountId?: string | undefined;
516
- bucket?: string | undefined;
517
- prefix?: string | undefined;
518
- readUrl?: string | undefined;
519
- secretAccessKey?: string | undefined;
520
- } | undefined;
521
- index?: {
522
- accessKeyId?: string | undefined;
523
- accountId?: string | undefined;
524
- bucket?: string | undefined;
525
- prefix?: string | undefined;
526
- readUrl?: string | undefined;
527
- secretAccessKey?: string | undefined;
528
- } | undefined;
529
- prefix?: string | undefined;
530
- secretAccessKey?: string | undefined;
531
- } | undefined;
532
- };
533
260
  telemetry: {
534
261
  metrics?: {
535
262
  scrape: {
@@ -568,16 +295,6 @@ export declare const asActorConfig: {
568
295
  readonly __address: true;
569
296
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
570
297
  };
571
- evm: {
572
- chainId?: string | undefined;
573
- infura?: {
574
- projectId?: string | undefined;
575
- projectSecret?: string | undefined;
576
- } | undefined;
577
- jsonRpc?: {
578
- url?: string | undefined;
579
- } | undefined;
580
- };
581
298
  log: {
582
299
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
583
300
  silent: boolean;
@@ -595,9 +312,11 @@ export declare const asActorConfig: {
595
312
  password?: string | undefined;
596
313
  username?: string | undefined;
597
314
  } | {
598
- protocol: string;
599
- url: string;
600
315
  type: "rpc";
316
+ protocol: string;
317
+ url?: string | undefined;
318
+ networkId?: string | undefined;
319
+ sessionId?: string | undefined;
601
320
  } | {
602
321
  type: "rest";
603
322
  baseUrl: string;
@@ -612,6 +331,7 @@ export declare const asActorConfig: {
612
331
  } | {
613
332
  type: "evm-rpc";
614
333
  url: string;
334
+ chainId?: string | undefined;
615
335
  } | {
616
336
  type: "memory";
617
337
  }>;
@@ -624,89 +344,6 @@ export declare const asActorConfig: {
624
344
  moniker: string;
625
345
  labels?: string[] | undefined;
626
346
  }[];
627
- remote: {
628
- rpc?: {
629
- protocol: string;
630
- url: string;
631
- } | {
632
- protocol: string;
633
- networkId: string;
634
- sessionId: string;
635
- } | undefined;
636
- };
637
- transports: Record<string, {
638
- root: string;
639
- type: "lmdb";
640
- access?: "read" | "write" | undefined;
641
- store?: string | undefined;
642
- } | {
643
- type: "mongo";
644
- connectionString?: string | undefined;
645
- database?: string | undefined;
646
- domain?: string | undefined;
647
- password?: string | undefined;
648
- username?: string | undefined;
649
- } | {
650
- protocol: string;
651
- url: string;
652
- type: "rpc";
653
- } | {
654
- type: "rest";
655
- baseUrl: string;
656
- } | {
657
- type: "s3";
658
- bucket?: string | undefined;
659
- prefix?: string | undefined;
660
- readUrl?: string | undefined;
661
- accessKeyId?: string | undefined;
662
- accountId?: string | undefined;
663
- secretAccessKey?: string | undefined;
664
- } | {
665
- type: "evm-rpc";
666
- url: string;
667
- } | {
668
- type: "memory";
669
- }>;
670
- storage: {
671
- mongo?: {
672
- connectionString?: string | undefined;
673
- database?: string | undefined;
674
- domain?: string | undefined;
675
- password?: string | undefined;
676
- username?: string | undefined;
677
- } | undefined;
678
- root?: string | undefined;
679
- s3?: {
680
- accessKeyId?: string | undefined;
681
- accountId?: string | undefined;
682
- chainState?: {
683
- accessKeyId?: string | undefined;
684
- accountId?: string | undefined;
685
- bucket?: string | undefined;
686
- prefix?: string | undefined;
687
- readUrl?: string | undefined;
688
- secretAccessKey?: string | undefined;
689
- } | undefined;
690
- finalized?: {
691
- accessKeyId?: string | undefined;
692
- accountId?: string | undefined;
693
- bucket?: string | undefined;
694
- prefix?: string | undefined;
695
- readUrl?: string | undefined;
696
- secretAccessKey?: string | undefined;
697
- } | undefined;
698
- index?: {
699
- accessKeyId?: string | undefined;
700
- accountId?: string | undefined;
701
- bucket?: string | undefined;
702
- prefix?: string | undefined;
703
- readUrl?: string | undefined;
704
- secretAccessKey?: string | undefined;
705
- } | undefined;
706
- prefix?: string | undefined;
707
- secretAccessKey?: string | undefined;
708
- } | undefined;
709
- };
710
347
  telemetry: {
711
348
  metrics?: {
712
349
  scrape: {
@@ -748,16 +385,6 @@ export declare const toActorConfig: {
748
385
  readonly __address: true;
749
386
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
750
387
  };
751
- evm: {
752
- chainId?: string | undefined;
753
- infura?: {
754
- projectId?: string | undefined;
755
- projectSecret?: string | undefined;
756
- } | undefined;
757
- jsonRpc?: {
758
- url?: string | undefined;
759
- } | undefined;
760
- };
761
388
  log: {
762
389
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
763
390
  silent: boolean;
@@ -775,9 +402,11 @@ export declare const toActorConfig: {
775
402
  password?: string | undefined;
776
403
  username?: string | undefined;
777
404
  } | {
778
- protocol: string;
779
- url: string;
780
405
  type: "rpc";
406
+ protocol: string;
407
+ url?: string | undefined;
408
+ networkId?: string | undefined;
409
+ sessionId?: string | undefined;
781
410
  } | {
782
411
  type: "rest";
783
412
  baseUrl: string;
@@ -792,6 +421,7 @@ export declare const toActorConfig: {
792
421
  } | {
793
422
  type: "evm-rpc";
794
423
  url: string;
424
+ chainId?: string | undefined;
795
425
  } | {
796
426
  type: "memory";
797
427
  }>;
@@ -804,89 +434,6 @@ export declare const toActorConfig: {
804
434
  moniker: string;
805
435
  labels?: string[] | undefined;
806
436
  }[];
807
- remote: {
808
- rpc?: {
809
- protocol: string;
810
- url: string;
811
- } | {
812
- protocol: string;
813
- networkId: string;
814
- sessionId: string;
815
- } | undefined;
816
- };
817
- transports: Record<string, {
818
- root: string;
819
- type: "lmdb";
820
- access?: "read" | "write" | undefined;
821
- store?: string | undefined;
822
- } | {
823
- type: "mongo";
824
- connectionString?: string | undefined;
825
- database?: string | undefined;
826
- domain?: string | undefined;
827
- password?: string | undefined;
828
- username?: string | undefined;
829
- } | {
830
- protocol: string;
831
- url: string;
832
- type: "rpc";
833
- } | {
834
- type: "rest";
835
- baseUrl: string;
836
- } | {
837
- type: "s3";
838
- bucket?: string | undefined;
839
- prefix?: string | undefined;
840
- readUrl?: string | undefined;
841
- accessKeyId?: string | undefined;
842
- accountId?: string | undefined;
843
- secretAccessKey?: string | undefined;
844
- } | {
845
- type: "evm-rpc";
846
- url: string;
847
- } | {
848
- type: "memory";
849
- }>;
850
- storage: {
851
- mongo?: {
852
- connectionString?: string | undefined;
853
- database?: string | undefined;
854
- domain?: string | undefined;
855
- password?: string | undefined;
856
- username?: string | undefined;
857
- } | undefined;
858
- root?: string | undefined;
859
- s3?: {
860
- accessKeyId?: string | undefined;
861
- accountId?: string | undefined;
862
- chainState?: {
863
- accessKeyId?: string | undefined;
864
- accountId?: string | undefined;
865
- bucket?: string | undefined;
866
- prefix?: string | undefined;
867
- readUrl?: string | undefined;
868
- secretAccessKey?: string | undefined;
869
- } | undefined;
870
- finalized?: {
871
- accessKeyId?: string | undefined;
872
- accountId?: string | undefined;
873
- bucket?: string | undefined;
874
- prefix?: string | undefined;
875
- readUrl?: string | undefined;
876
- secretAccessKey?: string | undefined;
877
- } | undefined;
878
- index?: {
879
- accessKeyId?: string | undefined;
880
- accountId?: string | undefined;
881
- bucket?: string | undefined;
882
- prefix?: string | undefined;
883
- readUrl?: string | undefined;
884
- secretAccessKey?: string | undefined;
885
- } | undefined;
886
- prefix?: string | undefined;
887
- secretAccessKey?: string | undefined;
888
- } | undefined;
889
- };
890
437
  telemetry: {
891
438
  metrics?: {
892
439
  scrape: {
@@ -925,16 +472,6 @@ export declare const toActorConfig: {
925
472
  readonly __address: true;
926
473
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
927
474
  };
928
- evm: {
929
- chainId?: string | undefined;
930
- infura?: {
931
- projectId?: string | undefined;
932
- projectSecret?: string | undefined;
933
- } | undefined;
934
- jsonRpc?: {
935
- url?: string | undefined;
936
- } | undefined;
937
- };
938
475
  log: {
939
476
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
940
477
  silent: boolean;
@@ -952,9 +489,11 @@ export declare const toActorConfig: {
952
489
  password?: string | undefined;
953
490
  username?: string | undefined;
954
491
  } | {
955
- protocol: string;
956
- url: string;
957
492
  type: "rpc";
493
+ protocol: string;
494
+ url?: string | undefined;
495
+ networkId?: string | undefined;
496
+ sessionId?: string | undefined;
958
497
  } | {
959
498
  type: "rest";
960
499
  baseUrl: string;
@@ -969,6 +508,7 @@ export declare const toActorConfig: {
969
508
  } | {
970
509
  type: "evm-rpc";
971
510
  url: string;
511
+ chainId?: string | undefined;
972
512
  } | {
973
513
  type: "memory";
974
514
  }>;
@@ -981,89 +521,6 @@ export declare const toActorConfig: {
981
521
  moniker: string;
982
522
  labels?: string[] | undefined;
983
523
  }[];
984
- remote: {
985
- rpc?: {
986
- protocol: string;
987
- url: string;
988
- } | {
989
- protocol: string;
990
- networkId: string;
991
- sessionId: string;
992
- } | undefined;
993
- };
994
- transports: Record<string, {
995
- root: string;
996
- type: "lmdb";
997
- access?: "read" | "write" | undefined;
998
- store?: string | undefined;
999
- } | {
1000
- type: "mongo";
1001
- connectionString?: string | undefined;
1002
- database?: string | undefined;
1003
- domain?: string | undefined;
1004
- password?: string | undefined;
1005
- username?: string | undefined;
1006
- } | {
1007
- protocol: string;
1008
- url: string;
1009
- type: "rpc";
1010
- } | {
1011
- type: "rest";
1012
- baseUrl: string;
1013
- } | {
1014
- type: "s3";
1015
- bucket?: string | undefined;
1016
- prefix?: string | undefined;
1017
- readUrl?: string | undefined;
1018
- accessKeyId?: string | undefined;
1019
- accountId?: string | undefined;
1020
- secretAccessKey?: string | undefined;
1021
- } | {
1022
- type: "evm-rpc";
1023
- url: string;
1024
- } | {
1025
- type: "memory";
1026
- }>;
1027
- storage: {
1028
- mongo?: {
1029
- connectionString?: string | undefined;
1030
- database?: string | undefined;
1031
- domain?: string | undefined;
1032
- password?: string | undefined;
1033
- username?: string | undefined;
1034
- } | undefined;
1035
- root?: string | undefined;
1036
- s3?: {
1037
- accessKeyId?: string | undefined;
1038
- accountId?: string | undefined;
1039
- chainState?: {
1040
- accessKeyId?: string | undefined;
1041
- accountId?: string | undefined;
1042
- bucket?: string | undefined;
1043
- prefix?: string | undefined;
1044
- readUrl?: string | undefined;
1045
- secretAccessKey?: string | undefined;
1046
- } | undefined;
1047
- finalized?: {
1048
- accessKeyId?: string | undefined;
1049
- accountId?: string | undefined;
1050
- bucket?: string | undefined;
1051
- prefix?: string | undefined;
1052
- readUrl?: string | undefined;
1053
- secretAccessKey?: string | undefined;
1054
- } | undefined;
1055
- index?: {
1056
- accessKeyId?: string | undefined;
1057
- accountId?: string | undefined;
1058
- bucket?: string | undefined;
1059
- prefix?: string | undefined;
1060
- readUrl?: string | undefined;
1061
- secretAccessKey?: string | undefined;
1062
- } | undefined;
1063
- prefix?: string | undefined;
1064
- secretAccessKey?: string | undefined;
1065
- } | undefined;
1066
- };
1067
524
  telemetry: {
1068
525
  metrics?: {
1069
526
  scrape: {