@xyo-network/xl1-protocol-sdk 2.2.1 → 3.0.0

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 (50) hide show
  1. package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +35 -2
  2. package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
  3. package/dist/neutral/capabilities/Capability.d.ts +1 -8
  4. package/dist/neutral/capabilities/Capability.d.ts.map +1 -1
  5. package/dist/neutral/capabilities/Provider.d.ts +14 -23
  6. package/dist/neutral/capabilities/Provider.d.ts.map +1 -1
  7. package/dist/neutral/capabilities/connectionTypes.d.ts +9 -0
  8. package/dist/neutral/capabilities/connectionTypes.d.ts.map +1 -0
  9. package/dist/neutral/capabilities/index.d.ts +1 -0
  10. package/dist/neutral/capabilities/index.d.ts.map +1 -1
  11. package/dist/neutral/capabilities/resolveProviders.d.ts +27 -20
  12. package/dist/neutral/capabilities/resolveProviders.d.ts.map +1 -1
  13. package/dist/neutral/config/Actor.d.ts +216 -12
  14. package/dist/neutral/config/Actor.d.ts.map +1 -1
  15. package/dist/neutral/config/Actors.d.ts +41 -2
  16. package/dist/neutral/config/Actors.d.ts.map +1 -1
  17. package/dist/neutral/config/Base.d.ts +41 -2
  18. package/dist/neutral/config/Base.d.ts.map +1 -1
  19. package/dist/neutral/config/Config.d.ts +152 -8
  20. package/dist/neutral/config/Config.d.ts.map +1 -1
  21. package/dist/neutral/config/HostActor.d.ts +216 -12
  22. package/dist/neutral/config/HostActor.d.ts.map +1 -1
  23. package/dist/neutral/config/ProviderBinding.d.ts +4 -5
  24. package/dist/neutral/config/ProviderBinding.d.ts.map +1 -1
  25. package/dist/neutral/config/adaptLegacyConfig.d.ts +2 -3
  26. package/dist/neutral/config/adaptLegacyConfig.d.ts.map +1 -1
  27. package/dist/neutral/config/connections/index.d.ts +6 -0
  28. package/dist/neutral/config/connections/index.d.ts.map +1 -0
  29. package/dist/neutral/config/index.d.ts +2 -0
  30. package/dist/neutral/config/index.d.ts.map +1 -1
  31. package/dist/neutral/config/normalizeConnectionsConfig.d.ts +20 -0
  32. package/dist/neutral/config/normalizeConnectionsConfig.d.ts.map +1 -0
  33. package/dist/neutral/config/transports/Transport.d.ts +18 -3
  34. package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
  35. package/dist/neutral/context/Actor.d.ts +216 -12
  36. package/dist/neutral/context/Actor.d.ts.map +1 -1
  37. package/dist/neutral/context/HostActor.d.ts +216 -12
  38. package/dist/neutral/context/HostActor.d.ts.map +1 -1
  39. package/dist/neutral/getFileConfig.d.ts +70 -4
  40. package/dist/neutral/getFileConfig.d.ts.map +1 -1
  41. package/dist/neutral/getFileConfig.mjs +204 -191
  42. package/dist/neutral/getFileConfig.mjs.map +4 -4
  43. package/dist/neutral/index.mjs +570 -393
  44. package/dist/neutral/index.mjs.map +4 -4
  45. package/dist/neutral/model/CreatableProviderContext.zod.d.ts +216 -12
  46. package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
  47. package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
  48. package/dist/neutral/test/index.mjs +204 -191
  49. package/dist/neutral/test/index.mjs.map +4 -4
  50. package/package.json +6 -6
@@ -39,8 +39,42 @@ export declare const ActorConfigContext: z.ZodMiniObject<{
39
39
  }>>;
40
40
  silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
41
41
  }, z.core.$strip>>;
42
+ connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
43
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
44
+ read: "read";
45
+ write: "write";
46
+ }>>;
47
+ root: import("zod").ZodString;
48
+ store: import("zod").ZodOptional<import("zod").ZodString>;
49
+ type: import("zod").ZodLiteral<"lmdb">;
50
+ }, z.core.$strip>, import("zod").ZodObject<{
51
+ type: import("zod").ZodLiteral<"mongo">;
52
+ connectionString: import("zod").ZodOptional<import("zod").ZodString>;
53
+ database: import("zod").ZodOptional<import("zod").ZodString>;
54
+ domain: import("zod").ZodOptional<import("zod").ZodString>;
55
+ password: import("zod").ZodOptional<import("zod").ZodString>;
56
+ username: import("zod").ZodOptional<import("zod").ZodString>;
57
+ }, z.core.$strip>, import("zod").ZodObject<{
58
+ protocol: import("zod").ZodDefault<import("zod").ZodString>;
59
+ url: import("zod").ZodString;
60
+ type: import("zod").ZodLiteral<"rpc">;
61
+ }, z.core.$strip>, import("zod").ZodObject<{
62
+ type: import("zod").ZodLiteral<"rest">;
63
+ baseUrl: import("zod").ZodString;
64
+ }, z.core.$strip>, import("zod").ZodObject<{
65
+ bucket: import("zod").ZodOptional<import("zod").ZodString>;
66
+ prefix: import("zod").ZodOptional<import("zod").ZodString>;
67
+ readUrl: import("zod").ZodOptional<import("zod").ZodString>;
68
+ type: import("zod").ZodLiteral<"s3">;
69
+ accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
70
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
71
+ secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
72
+ }, z.core.$strip>, import("zod").ZodObject<{
73
+ type: import("zod").ZodLiteral<"evm-rpc">;
74
+ url: import("zod").ZodString;
75
+ }, z.core.$strip>], "type">>>>;
42
76
  providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
43
- implementation: import("zod").ZodOptional<import("zod").ZodString>;
77
+ connection: import("zod").ZodOptional<import("zod").ZodString>;
44
78
  transport: import("zod").ZodOptional<import("zod").ZodString>;
45
79
  }, z.core.$strip>>>>;
46
80
  providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
@@ -58,8 +92,13 @@ export declare const ActorConfigContext: z.ZodMiniObject<{
58
92
  }, z.core.$strip>]>>;
59
93
  }, z.core.$strip>>;
60
94
  transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
61
- type: import("zod").ZodLiteral<"lmdb">;
95
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
96
+ read: "read";
97
+ write: "write";
98
+ }>>;
62
99
  root: import("zod").ZodString;
100
+ store: import("zod").ZodOptional<import("zod").ZodString>;
101
+ type: import("zod").ZodLiteral<"lmdb">;
63
102
  }, z.core.$strip>, import("zod").ZodObject<{
64
103
  type: import("zod").ZodLiteral<"mongo">;
65
104
  connectionString: import("zod").ZodOptional<import("zod").ZodString>;
@@ -184,8 +223,39 @@ export declare const isActorConfigContext: <T>(value: T) => value is T & {
184
223
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
185
224
  silent: boolean;
186
225
  };
226
+ connections: Record<string, {
227
+ root: string;
228
+ type: "lmdb";
229
+ access?: "read" | "write" | undefined;
230
+ store?: string | undefined;
231
+ } | {
232
+ type: "mongo";
233
+ connectionString?: string | undefined;
234
+ database?: string | undefined;
235
+ domain?: string | undefined;
236
+ password?: string | undefined;
237
+ username?: string | undefined;
238
+ } | {
239
+ protocol: string;
240
+ url: string;
241
+ type: "rpc";
242
+ } | {
243
+ type: "rest";
244
+ baseUrl: string;
245
+ } | {
246
+ type: "s3";
247
+ bucket?: string | undefined;
248
+ prefix?: string | undefined;
249
+ readUrl?: string | undefined;
250
+ accessKeyId?: string | undefined;
251
+ accountId?: string | undefined;
252
+ secretAccessKey?: string | undefined;
253
+ } | {
254
+ type: "evm-rpc";
255
+ url: string;
256
+ }>;
187
257
  providerBindings: Record<string, {
188
- implementation?: string | undefined;
258
+ connection?: string | undefined;
189
259
  transport?: string | undefined;
190
260
  }>;
191
261
  providers: {
@@ -204,8 +274,10 @@ export declare const isActorConfigContext: <T>(value: T) => value is T & {
204
274
  } | undefined;
205
275
  };
206
276
  transports: Record<string, {
207
- type: "lmdb";
208
277
  root: string;
278
+ type: "lmdb";
279
+ access?: "read" | "write" | undefined;
280
+ store?: string | undefined;
209
281
  } | {
210
282
  type: "mongo";
211
283
  connectionString?: string | undefined;
@@ -335,8 +407,39 @@ export declare const asActorConfigContext: {
335
407
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
336
408
  silent: boolean;
337
409
  };
410
+ connections: Record<string, {
411
+ root: string;
412
+ type: "lmdb";
413
+ access?: "read" | "write" | undefined;
414
+ store?: string | undefined;
415
+ } | {
416
+ type: "mongo";
417
+ connectionString?: string | undefined;
418
+ database?: string | undefined;
419
+ domain?: string | undefined;
420
+ password?: string | undefined;
421
+ username?: string | undefined;
422
+ } | {
423
+ protocol: string;
424
+ url: string;
425
+ type: "rpc";
426
+ } | {
427
+ type: "rest";
428
+ baseUrl: string;
429
+ } | {
430
+ type: "s3";
431
+ bucket?: string | undefined;
432
+ prefix?: string | undefined;
433
+ readUrl?: string | undefined;
434
+ accessKeyId?: string | undefined;
435
+ accountId?: string | undefined;
436
+ secretAccessKey?: string | undefined;
437
+ } | {
438
+ type: "evm-rpc";
439
+ url: string;
440
+ }>;
338
441
  providerBindings: Record<string, {
339
- implementation?: string | undefined;
442
+ connection?: string | undefined;
340
443
  transport?: string | undefined;
341
444
  }>;
342
445
  providers: {
@@ -355,8 +458,10 @@ export declare const asActorConfigContext: {
355
458
  } | undefined;
356
459
  };
357
460
  transports: Record<string, {
358
- type: "lmdb";
359
461
  root: string;
462
+ type: "lmdb";
463
+ access?: "read" | "write" | undefined;
464
+ store?: string | undefined;
360
465
  } | {
361
466
  type: "mongo";
362
467
  connectionString?: string | undefined;
@@ -484,8 +589,39 @@ export declare const asActorConfigContext: {
484
589
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
485
590
  silent: boolean;
486
591
  };
592
+ connections: Record<string, {
593
+ root: string;
594
+ type: "lmdb";
595
+ access?: "read" | "write" | undefined;
596
+ store?: string | undefined;
597
+ } | {
598
+ type: "mongo";
599
+ connectionString?: string | undefined;
600
+ database?: string | undefined;
601
+ domain?: string | undefined;
602
+ password?: string | undefined;
603
+ username?: string | undefined;
604
+ } | {
605
+ protocol: string;
606
+ url: string;
607
+ type: "rpc";
608
+ } | {
609
+ type: "rest";
610
+ baseUrl: string;
611
+ } | {
612
+ type: "s3";
613
+ bucket?: string | undefined;
614
+ prefix?: string | undefined;
615
+ readUrl?: string | undefined;
616
+ accessKeyId?: string | undefined;
617
+ accountId?: string | undefined;
618
+ secretAccessKey?: string | undefined;
619
+ } | {
620
+ type: "evm-rpc";
621
+ url: string;
622
+ }>;
487
623
  providerBindings: Record<string, {
488
- implementation?: string | undefined;
624
+ connection?: string | undefined;
489
625
  transport?: string | undefined;
490
626
  }>;
491
627
  providers: {
@@ -504,8 +640,10 @@ export declare const asActorConfigContext: {
504
640
  } | undefined;
505
641
  };
506
642
  transports: Record<string, {
507
- type: "lmdb";
508
643
  root: string;
644
+ type: "lmdb";
645
+ access?: "read" | "write" | undefined;
646
+ store?: string | undefined;
509
647
  } | {
510
648
  type: "mongo";
511
649
  connectionString?: string | undefined;
@@ -636,8 +774,39 @@ export declare const toActorConfigContext: {
636
774
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
637
775
  silent: boolean;
638
776
  };
777
+ connections: Record<string, {
778
+ root: string;
779
+ type: "lmdb";
780
+ access?: "read" | "write" | undefined;
781
+ store?: string | undefined;
782
+ } | {
783
+ type: "mongo";
784
+ connectionString?: string | undefined;
785
+ database?: string | undefined;
786
+ domain?: string | undefined;
787
+ password?: string | undefined;
788
+ username?: string | undefined;
789
+ } | {
790
+ protocol: string;
791
+ url: string;
792
+ type: "rpc";
793
+ } | {
794
+ type: "rest";
795
+ baseUrl: string;
796
+ } | {
797
+ type: "s3";
798
+ bucket?: string | undefined;
799
+ prefix?: string | undefined;
800
+ readUrl?: string | undefined;
801
+ accessKeyId?: string | undefined;
802
+ accountId?: string | undefined;
803
+ secretAccessKey?: string | undefined;
804
+ } | {
805
+ type: "evm-rpc";
806
+ url: string;
807
+ }>;
639
808
  providerBindings: Record<string, {
640
- implementation?: string | undefined;
809
+ connection?: string | undefined;
641
810
  transport?: string | undefined;
642
811
  }>;
643
812
  providers: {
@@ -656,8 +825,10 @@ export declare const toActorConfigContext: {
656
825
  } | undefined;
657
826
  };
658
827
  transports: Record<string, {
659
- type: "lmdb";
660
828
  root: string;
829
+ type: "lmdb";
830
+ access?: "read" | "write" | undefined;
831
+ store?: string | undefined;
661
832
  } | {
662
833
  type: "mongo";
663
834
  connectionString?: string | undefined;
@@ -785,8 +956,39 @@ export declare const toActorConfigContext: {
785
956
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
786
957
  silent: boolean;
787
958
  };
959
+ connections: Record<string, {
960
+ root: string;
961
+ type: "lmdb";
962
+ access?: "read" | "write" | undefined;
963
+ store?: string | undefined;
964
+ } | {
965
+ type: "mongo";
966
+ connectionString?: string | undefined;
967
+ database?: string | undefined;
968
+ domain?: string | undefined;
969
+ password?: string | undefined;
970
+ username?: string | undefined;
971
+ } | {
972
+ protocol: string;
973
+ url: string;
974
+ type: "rpc";
975
+ } | {
976
+ type: "rest";
977
+ baseUrl: string;
978
+ } | {
979
+ type: "s3";
980
+ bucket?: string | undefined;
981
+ prefix?: string | undefined;
982
+ readUrl?: string | undefined;
983
+ accessKeyId?: string | undefined;
984
+ accountId?: string | undefined;
985
+ secretAccessKey?: string | undefined;
986
+ } | {
987
+ type: "evm-rpc";
988
+ url: string;
989
+ }>;
788
990
  providerBindings: Record<string, {
789
- implementation?: string | undefined;
991
+ connection?: string | undefined;
790
992
  transport?: string | undefined;
791
993
  }>;
792
994
  providers: {
@@ -805,8 +1007,10 @@ export declare const toActorConfigContext: {
805
1007
  } | undefined;
806
1008
  };
807
1009
  transports: Record<string, {
808
- type: "lmdb";
809
1010
  root: string;
1011
+ type: "lmdb";
1012
+ access?: "read" | "write" | undefined;
1013
+ store?: string | undefined;
810
1014
  } | {
811
1015
  type: "mongo";
812
1016
  connectionString?: string | undefined;
@@ -1 +1 @@
1
- {"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2D,CAAA;AAC5F,qCAAqC;AACrC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2D,CAAA"}
@@ -39,8 +39,42 @@ export declare const HostActorConfigContext: z.ZodMiniObject<{
39
39
  }>>;
40
40
  silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
41
41
  }, z.core.$strip>>;
42
+ connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
43
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
44
+ read: "read";
45
+ write: "write";
46
+ }>>;
47
+ root: import("zod").ZodString;
48
+ store: import("zod").ZodOptional<import("zod").ZodString>;
49
+ type: import("zod").ZodLiteral<"lmdb">;
50
+ }, z.core.$strip>, import("zod").ZodObject<{
51
+ type: import("zod").ZodLiteral<"mongo">;
52
+ connectionString: import("zod").ZodOptional<import("zod").ZodString>;
53
+ database: import("zod").ZodOptional<import("zod").ZodString>;
54
+ domain: import("zod").ZodOptional<import("zod").ZodString>;
55
+ password: import("zod").ZodOptional<import("zod").ZodString>;
56
+ username: import("zod").ZodOptional<import("zod").ZodString>;
57
+ }, z.core.$strip>, import("zod").ZodObject<{
58
+ protocol: import("zod").ZodDefault<import("zod").ZodString>;
59
+ url: import("zod").ZodString;
60
+ type: import("zod").ZodLiteral<"rpc">;
61
+ }, z.core.$strip>, import("zod").ZodObject<{
62
+ type: import("zod").ZodLiteral<"rest">;
63
+ baseUrl: import("zod").ZodString;
64
+ }, z.core.$strip>, import("zod").ZodObject<{
65
+ bucket: import("zod").ZodOptional<import("zod").ZodString>;
66
+ prefix: import("zod").ZodOptional<import("zod").ZodString>;
67
+ readUrl: import("zod").ZodOptional<import("zod").ZodString>;
68
+ type: import("zod").ZodLiteral<"s3">;
69
+ accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
70
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
71
+ secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
72
+ }, z.core.$strip>, import("zod").ZodObject<{
73
+ type: import("zod").ZodLiteral<"evm-rpc">;
74
+ url: import("zod").ZodString;
75
+ }, z.core.$strip>], "type">>>>;
42
76
  providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
43
- implementation: import("zod").ZodOptional<import("zod").ZodString>;
77
+ connection: import("zod").ZodOptional<import("zod").ZodString>;
44
78
  transport: import("zod").ZodOptional<import("zod").ZodString>;
45
79
  }, z.core.$strip>>>>;
46
80
  providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
@@ -58,8 +92,13 @@ export declare const HostActorConfigContext: z.ZodMiniObject<{
58
92
  }, z.core.$strip>]>>;
59
93
  }, z.core.$strip>>;
60
94
  transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
61
- type: import("zod").ZodLiteral<"lmdb">;
95
+ access: import("zod").ZodOptional<import("zod").ZodEnum<{
96
+ read: "read";
97
+ write: "write";
98
+ }>>;
62
99
  root: import("zod").ZodString;
100
+ store: import("zod").ZodOptional<import("zod").ZodString>;
101
+ type: import("zod").ZodLiteral<"lmdb">;
63
102
  }, z.core.$strip>, import("zod").ZodObject<{
64
103
  type: import("zod").ZodLiteral<"mongo">;
65
104
  connectionString: import("zod").ZodOptional<import("zod").ZodString>;
@@ -186,8 +225,39 @@ export declare const isHostActorConfigContext: <T>(value: T) => value is T & {
186
225
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
187
226
  silent: boolean;
188
227
  };
228
+ connections: Record<string, {
229
+ root: string;
230
+ type: "lmdb";
231
+ access?: "read" | "write" | undefined;
232
+ store?: string | undefined;
233
+ } | {
234
+ type: "mongo";
235
+ connectionString?: string | undefined;
236
+ database?: string | undefined;
237
+ domain?: string | undefined;
238
+ password?: string | undefined;
239
+ username?: string | undefined;
240
+ } | {
241
+ protocol: string;
242
+ url: string;
243
+ type: "rpc";
244
+ } | {
245
+ type: "rest";
246
+ baseUrl: string;
247
+ } | {
248
+ type: "s3";
249
+ bucket?: string | undefined;
250
+ prefix?: string | undefined;
251
+ readUrl?: string | undefined;
252
+ accessKeyId?: string | undefined;
253
+ accountId?: string | undefined;
254
+ secretAccessKey?: string | undefined;
255
+ } | {
256
+ type: "evm-rpc";
257
+ url: string;
258
+ }>;
189
259
  providerBindings: Record<string, {
190
- implementation?: string | undefined;
260
+ connection?: string | undefined;
191
261
  transport?: string | undefined;
192
262
  }>;
193
263
  providers: {
@@ -206,8 +276,10 @@ export declare const isHostActorConfigContext: <T>(value: T) => value is T & {
206
276
  } | undefined;
207
277
  };
208
278
  transports: Record<string, {
209
- type: "lmdb";
210
279
  root: string;
280
+ type: "lmdb";
281
+ access?: "read" | "write" | undefined;
282
+ store?: string | undefined;
211
283
  } | {
212
284
  type: "mongo";
213
285
  connectionString?: string | undefined;
@@ -339,8 +411,39 @@ export declare const asHostActorConfigContext: {
339
411
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
340
412
  silent: boolean;
341
413
  };
414
+ connections: Record<string, {
415
+ root: string;
416
+ type: "lmdb";
417
+ access?: "read" | "write" | undefined;
418
+ store?: string | undefined;
419
+ } | {
420
+ type: "mongo";
421
+ connectionString?: string | undefined;
422
+ database?: string | undefined;
423
+ domain?: string | undefined;
424
+ password?: string | undefined;
425
+ username?: string | undefined;
426
+ } | {
427
+ protocol: string;
428
+ url: string;
429
+ type: "rpc";
430
+ } | {
431
+ type: "rest";
432
+ baseUrl: string;
433
+ } | {
434
+ type: "s3";
435
+ bucket?: string | undefined;
436
+ prefix?: string | undefined;
437
+ readUrl?: string | undefined;
438
+ accessKeyId?: string | undefined;
439
+ accountId?: string | undefined;
440
+ secretAccessKey?: string | undefined;
441
+ } | {
442
+ type: "evm-rpc";
443
+ url: string;
444
+ }>;
342
445
  providerBindings: Record<string, {
343
- implementation?: string | undefined;
446
+ connection?: string | undefined;
344
447
  transport?: string | undefined;
345
448
  }>;
346
449
  providers: {
@@ -359,8 +462,10 @@ export declare const asHostActorConfigContext: {
359
462
  } | undefined;
360
463
  };
361
464
  transports: Record<string, {
362
- type: "lmdb";
363
465
  root: string;
466
+ type: "lmdb";
467
+ access?: "read" | "write" | undefined;
468
+ store?: string | undefined;
364
469
  } | {
365
470
  type: "mongo";
366
471
  connectionString?: string | undefined;
@@ -490,8 +595,39 @@ export declare const asHostActorConfigContext: {
490
595
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
491
596
  silent: boolean;
492
597
  };
598
+ connections: Record<string, {
599
+ root: string;
600
+ type: "lmdb";
601
+ access?: "read" | "write" | undefined;
602
+ store?: string | undefined;
603
+ } | {
604
+ type: "mongo";
605
+ connectionString?: string | undefined;
606
+ database?: string | undefined;
607
+ domain?: string | undefined;
608
+ password?: string | undefined;
609
+ username?: string | undefined;
610
+ } | {
611
+ protocol: string;
612
+ url: string;
613
+ type: "rpc";
614
+ } | {
615
+ type: "rest";
616
+ baseUrl: string;
617
+ } | {
618
+ type: "s3";
619
+ bucket?: string | undefined;
620
+ prefix?: string | undefined;
621
+ readUrl?: string | undefined;
622
+ accessKeyId?: string | undefined;
623
+ accountId?: string | undefined;
624
+ secretAccessKey?: string | undefined;
625
+ } | {
626
+ type: "evm-rpc";
627
+ url: string;
628
+ }>;
493
629
  providerBindings: Record<string, {
494
- implementation?: string | undefined;
630
+ connection?: string | undefined;
495
631
  transport?: string | undefined;
496
632
  }>;
497
633
  providers: {
@@ -510,8 +646,10 @@ export declare const asHostActorConfigContext: {
510
646
  } | undefined;
511
647
  };
512
648
  transports: Record<string, {
513
- type: "lmdb";
514
649
  root: string;
650
+ type: "lmdb";
651
+ access?: "read" | "write" | undefined;
652
+ store?: string | undefined;
515
653
  } | {
516
654
  type: "mongo";
517
655
  connectionString?: string | undefined;
@@ -644,8 +782,39 @@ export declare const toHostActorConfigContext: {
644
782
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
645
783
  silent: boolean;
646
784
  };
785
+ connections: Record<string, {
786
+ root: string;
787
+ type: "lmdb";
788
+ access?: "read" | "write" | undefined;
789
+ store?: string | undefined;
790
+ } | {
791
+ type: "mongo";
792
+ connectionString?: string | undefined;
793
+ database?: string | undefined;
794
+ domain?: string | undefined;
795
+ password?: string | undefined;
796
+ username?: string | undefined;
797
+ } | {
798
+ protocol: string;
799
+ url: string;
800
+ type: "rpc";
801
+ } | {
802
+ type: "rest";
803
+ baseUrl: string;
804
+ } | {
805
+ type: "s3";
806
+ bucket?: string | undefined;
807
+ prefix?: string | undefined;
808
+ readUrl?: string | undefined;
809
+ accessKeyId?: string | undefined;
810
+ accountId?: string | undefined;
811
+ secretAccessKey?: string | undefined;
812
+ } | {
813
+ type: "evm-rpc";
814
+ url: string;
815
+ }>;
647
816
  providerBindings: Record<string, {
648
- implementation?: string | undefined;
817
+ connection?: string | undefined;
649
818
  transport?: string | undefined;
650
819
  }>;
651
820
  providers: {
@@ -664,8 +833,10 @@ export declare const toHostActorConfigContext: {
664
833
  } | undefined;
665
834
  };
666
835
  transports: Record<string, {
667
- type: "lmdb";
668
836
  root: string;
837
+ type: "lmdb";
838
+ access?: "read" | "write" | undefined;
839
+ store?: string | undefined;
669
840
  } | {
670
841
  type: "mongo";
671
842
  connectionString?: string | undefined;
@@ -795,8 +966,39 @@ export declare const toHostActorConfigContext: {
795
966
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
796
967
  silent: boolean;
797
968
  };
969
+ connections: Record<string, {
970
+ root: string;
971
+ type: "lmdb";
972
+ access?: "read" | "write" | undefined;
973
+ store?: string | undefined;
974
+ } | {
975
+ type: "mongo";
976
+ connectionString?: string | undefined;
977
+ database?: string | undefined;
978
+ domain?: string | undefined;
979
+ password?: string | undefined;
980
+ username?: string | undefined;
981
+ } | {
982
+ protocol: string;
983
+ url: string;
984
+ type: "rpc";
985
+ } | {
986
+ type: "rest";
987
+ baseUrl: string;
988
+ } | {
989
+ type: "s3";
990
+ bucket?: string | undefined;
991
+ prefix?: string | undefined;
992
+ readUrl?: string | undefined;
993
+ accessKeyId?: string | undefined;
994
+ accountId?: string | undefined;
995
+ secretAccessKey?: string | undefined;
996
+ } | {
997
+ type: "evm-rpc";
998
+ url: string;
999
+ }>;
798
1000
  providerBindings: Record<string, {
799
- implementation?: string | undefined;
1001
+ connection?: string | undefined;
800
1002
  transport?: string | undefined;
801
1003
  }>;
802
1004
  providers: {
@@ -815,8 +1017,10 @@ export declare const toHostActorConfigContext: {
815
1017
  } | undefined;
816
1018
  };
817
1019
  transports: Record<string, {
818
- type: "lmdb";
819
1020
  root: string;
1021
+ type: "lmdb";
1022
+ access?: "read" | "write" | undefined;
1023
+ store?: string | undefined;
820
1024
  } | {
821
1025
  type: "mongo";
822
1026
  connectionString?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/context/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5B,uCAAuC;AACvC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiE,CAAA;AAEpG,mCAAmC;AACnC,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAC5E,uEAAuE;AACvE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAA;AACxG,yCAAyC;AACzC,eAAO,MAAM,wBAAwB;;;;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