@xyo-network/xl1-protocol-sdk 2.2.0 → 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.
- package/dist/neutral/ChainContextHelpers.d.ts +1 -1
- package/dist/neutral/ChainContextHelpers.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +35 -2
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/ProviderFactory.d.ts.map +1 -1
- package/dist/neutral/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -1
- package/dist/neutral/amount/index.d.ts +1 -1
- package/dist/neutral/amount/splitOnDecimalToString.d.ts.map +1 -1
- package/dist/neutral/amount/{XL1Amount.d.ts → xl1Amount.d.ts} +1 -1
- package/dist/neutral/amount/{XL1Amount.d.ts.map → xl1Amount.d.ts.map} +1 -1
- package/dist/neutral/block/hydrate/hydrateBlock.d.ts.map +1 -1
- package/dist/neutral/block/hydrate/tryHydrateBlock.d.ts.map +1 -1
- package/dist/neutral/block/primitives/hashFromBlockNumber.d.ts.map +1 -1
- package/dist/neutral/block/primitives/validateTransactionOpcodes.d.ts.map +1 -1
- package/dist/neutral/capabilities/Capability.d.ts +1 -8
- package/dist/neutral/capabilities/Capability.d.ts.map +1 -1
- package/dist/neutral/capabilities/Provider.d.ts +14 -23
- package/dist/neutral/capabilities/Provider.d.ts.map +1 -1
- package/dist/neutral/capabilities/connectionTypes.d.ts +9 -0
- package/dist/neutral/capabilities/connectionTypes.d.ts.map +1 -0
- package/dist/neutral/capabilities/index.d.ts +1 -0
- package/dist/neutral/capabilities/index.d.ts.map +1 -1
- package/dist/neutral/capabilities/resolveProviders.d.ts +27 -20
- package/dist/neutral/capabilities/resolveProviders.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +216 -12
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +41 -2
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +41 -2
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Config.d.ts +152 -8
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +216 -12
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/ProviderBinding.d.ts +4 -5
- package/dist/neutral/config/ProviderBinding.d.ts.map +1 -1
- package/dist/neutral/config/adaptLegacyConfig.d.ts +2 -3
- package/dist/neutral/config/adaptLegacyConfig.d.ts.map +1 -1
- package/dist/neutral/config/connections/index.d.ts +6 -0
- package/dist/neutral/config/connections/index.d.ts.map +1 -0
- package/dist/neutral/config/index.d.ts +2 -0
- package/dist/neutral/config/index.d.ts.map +1 -1
- package/dist/neutral/config/normalizeConnectionsConfig.d.ts +20 -0
- package/dist/neutral/config/normalizeConnectionsConfig.d.ts.map +1 -0
- package/dist/neutral/config/transports/Transport.d.ts +18 -3
- package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
- package/dist/neutral/context/Actor.d.ts +216 -12
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +216 -12
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/createDeclarationPayload.d.ts.map +1 -1
- package/dist/neutral/createTransferPayload.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +70 -4
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +206 -192
- package/dist/neutral/getFileConfig.mjs.map +4 -4
- package/dist/neutral/index.mjs +953 -656
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +216 -12
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -1
- package/dist/neutral/primitives/chain/step/stepRewardTotal.d.ts.map +1 -1
- package/dist/neutral/primitives/chain/time/{externalBlockNumberFromXL1BlockNumber.d.ts → externalBlockNumberFromXl1BlockNumber.d.ts} +1 -1
- package/dist/neutral/primitives/chain/time/{externalBlockNumberFromXL1BlockNumber.d.ts.map → externalBlockNumberFromXl1BlockNumber.d.ts.map} +1 -1
- package/dist/neutral/primitives/chain/time/{externalBlockRangeFromXL1BlockRange.d.ts → externalBlockRangeFromXl1BlockRange.d.ts} +1 -1
- package/dist/neutral/primitives/chain/time/{externalBlockRangeFromXL1BlockRange.d.ts.map → externalBlockRangeFromXl1BlockRange.d.ts.map} +1 -1
- package/dist/neutral/primitives/chain/time/index.d.ts +2 -2
- package/dist/neutral/primitives/datalake/PayloadLocator.d.ts.map +1 -1
- package/dist/neutral/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -1
- package/dist/neutral/primitives/readPayloadMapFromStore.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/activeStakeAtTimeByPosition.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -1
- package/dist/neutral/primitives/state/findMostRecentBlock.d.ts.map +1 -1
- package/dist/neutral/primitives/uncle/findUncles.d.ts.map +1 -1
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +3 -6
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -1
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/AbstractRestDataLake.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/RestDataLakeRunner.d.ts.map +1 -1
- package/dist/neutral/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts +2 -0
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -1
- package/dist/neutral/simple/network/SimpleXyoNetwork.d.ts.map +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -1
- package/dist/neutral/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/balances/balancesStepSummaryFromRange.d.ts.map +1 -1
- package/dist/neutral/test/buildBlock.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomChain.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomGenesisBlock.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomTransaction.d.ts.map +1 -1
- package/dist/neutral/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +344 -279
- package/dist/neutral/test/index.mjs.map +4 -4
- package/dist/neutral/transaction/buildTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/buildUnsignedTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/confirmSubmittedTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/hydrateTransaction.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -42,8 +42,42 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
|
|
|
42
42
|
}>>;
|
|
43
43
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
44
44
|
}, z.core.$strip>>;
|
|
45
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
46
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
47
|
+
read: "read";
|
|
48
|
+
write: "write";
|
|
49
|
+
}>>;
|
|
50
|
+
root: import("zod").ZodString;
|
|
51
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
53
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
54
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
55
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
57
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
61
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
62
|
+
url: import("zod").ZodString;
|
|
63
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
64
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
66
|
+
baseUrl: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
68
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
69
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
72
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
76
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
77
|
+
url: import("zod").ZodString;
|
|
78
|
+
}, z.core.$strip>], "type">>>>;
|
|
45
79
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
46
|
-
|
|
80
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
81
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
82
|
}, z.core.$strip>>>>;
|
|
49
83
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -61,8 +95,13 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
|
|
|
61
95
|
}, z.core.$strip>]>>;
|
|
62
96
|
}, z.core.$strip>>;
|
|
63
97
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
64
|
-
|
|
98
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
99
|
+
read: "read";
|
|
100
|
+
write: "write";
|
|
101
|
+
}>>;
|
|
65
102
|
root: import("zod").ZodString;
|
|
103
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
66
105
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
67
106
|
type: import("zod").ZodLiteral<"mongo">;
|
|
68
107
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -183,8 +222,39 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
|
|
|
183
222
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
184
223
|
silent: boolean;
|
|
185
224
|
};
|
|
225
|
+
connections: Record<string, {
|
|
226
|
+
root: string;
|
|
227
|
+
type: "lmdb";
|
|
228
|
+
access?: "read" | "write" | undefined;
|
|
229
|
+
store?: string | undefined;
|
|
230
|
+
} | {
|
|
231
|
+
type: "mongo";
|
|
232
|
+
connectionString?: string | undefined;
|
|
233
|
+
database?: string | undefined;
|
|
234
|
+
domain?: string | undefined;
|
|
235
|
+
password?: string | undefined;
|
|
236
|
+
username?: string | undefined;
|
|
237
|
+
} | {
|
|
238
|
+
protocol: string;
|
|
239
|
+
url: string;
|
|
240
|
+
type: "rpc";
|
|
241
|
+
} | {
|
|
242
|
+
type: "rest";
|
|
243
|
+
baseUrl: string;
|
|
244
|
+
} | {
|
|
245
|
+
type: "s3";
|
|
246
|
+
bucket?: string | undefined;
|
|
247
|
+
prefix?: string | undefined;
|
|
248
|
+
readUrl?: string | undefined;
|
|
249
|
+
accessKeyId?: string | undefined;
|
|
250
|
+
accountId?: string | undefined;
|
|
251
|
+
secretAccessKey?: string | undefined;
|
|
252
|
+
} | {
|
|
253
|
+
type: "evm-rpc";
|
|
254
|
+
url: string;
|
|
255
|
+
}>;
|
|
186
256
|
providerBindings: Record<string, {
|
|
187
|
-
|
|
257
|
+
connection?: string | undefined;
|
|
188
258
|
transport?: string | undefined;
|
|
189
259
|
}>;
|
|
190
260
|
providers: {
|
|
@@ -203,8 +273,10 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
|
|
|
203
273
|
} | undefined;
|
|
204
274
|
};
|
|
205
275
|
transports: Record<string, {
|
|
206
|
-
type: "lmdb";
|
|
207
276
|
root: string;
|
|
277
|
+
type: "lmdb";
|
|
278
|
+
access?: "read" | "write" | undefined;
|
|
279
|
+
store?: string | undefined;
|
|
208
280
|
} | {
|
|
209
281
|
type: "mongo";
|
|
210
282
|
connectionString?: string | undefined;
|
|
@@ -325,8 +397,39 @@ export declare const asActorConfig: {
|
|
|
325
397
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
326
398
|
silent: boolean;
|
|
327
399
|
};
|
|
400
|
+
connections: Record<string, {
|
|
401
|
+
root: string;
|
|
402
|
+
type: "lmdb";
|
|
403
|
+
access?: "read" | "write" | undefined;
|
|
404
|
+
store?: string | undefined;
|
|
405
|
+
} | {
|
|
406
|
+
type: "mongo";
|
|
407
|
+
connectionString?: string | undefined;
|
|
408
|
+
database?: string | undefined;
|
|
409
|
+
domain?: string | undefined;
|
|
410
|
+
password?: string | undefined;
|
|
411
|
+
username?: string | undefined;
|
|
412
|
+
} | {
|
|
413
|
+
protocol: string;
|
|
414
|
+
url: string;
|
|
415
|
+
type: "rpc";
|
|
416
|
+
} | {
|
|
417
|
+
type: "rest";
|
|
418
|
+
baseUrl: string;
|
|
419
|
+
} | {
|
|
420
|
+
type: "s3";
|
|
421
|
+
bucket?: string | undefined;
|
|
422
|
+
prefix?: string | undefined;
|
|
423
|
+
readUrl?: string | undefined;
|
|
424
|
+
accessKeyId?: string | undefined;
|
|
425
|
+
accountId?: string | undefined;
|
|
426
|
+
secretAccessKey?: string | undefined;
|
|
427
|
+
} | {
|
|
428
|
+
type: "evm-rpc";
|
|
429
|
+
url: string;
|
|
430
|
+
}>;
|
|
328
431
|
providerBindings: Record<string, {
|
|
329
|
-
|
|
432
|
+
connection?: string | undefined;
|
|
330
433
|
transport?: string | undefined;
|
|
331
434
|
}>;
|
|
332
435
|
providers: {
|
|
@@ -345,8 +448,10 @@ export declare const asActorConfig: {
|
|
|
345
448
|
} | undefined;
|
|
346
449
|
};
|
|
347
450
|
transports: Record<string, {
|
|
348
|
-
type: "lmdb";
|
|
349
451
|
root: string;
|
|
452
|
+
type: "lmdb";
|
|
453
|
+
access?: "read" | "write" | undefined;
|
|
454
|
+
store?: string | undefined;
|
|
350
455
|
} | {
|
|
351
456
|
type: "mongo";
|
|
352
457
|
connectionString?: string | undefined;
|
|
@@ -465,8 +570,39 @@ export declare const asActorConfig: {
|
|
|
465
570
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
466
571
|
silent: boolean;
|
|
467
572
|
};
|
|
573
|
+
connections: Record<string, {
|
|
574
|
+
root: string;
|
|
575
|
+
type: "lmdb";
|
|
576
|
+
access?: "read" | "write" | undefined;
|
|
577
|
+
store?: string | undefined;
|
|
578
|
+
} | {
|
|
579
|
+
type: "mongo";
|
|
580
|
+
connectionString?: string | undefined;
|
|
581
|
+
database?: string | undefined;
|
|
582
|
+
domain?: string | undefined;
|
|
583
|
+
password?: string | undefined;
|
|
584
|
+
username?: string | undefined;
|
|
585
|
+
} | {
|
|
586
|
+
protocol: string;
|
|
587
|
+
url: string;
|
|
588
|
+
type: "rpc";
|
|
589
|
+
} | {
|
|
590
|
+
type: "rest";
|
|
591
|
+
baseUrl: string;
|
|
592
|
+
} | {
|
|
593
|
+
type: "s3";
|
|
594
|
+
bucket?: string | undefined;
|
|
595
|
+
prefix?: string | undefined;
|
|
596
|
+
readUrl?: string | undefined;
|
|
597
|
+
accessKeyId?: string | undefined;
|
|
598
|
+
accountId?: string | undefined;
|
|
599
|
+
secretAccessKey?: string | undefined;
|
|
600
|
+
} | {
|
|
601
|
+
type: "evm-rpc";
|
|
602
|
+
url: string;
|
|
603
|
+
}>;
|
|
468
604
|
providerBindings: Record<string, {
|
|
469
|
-
|
|
605
|
+
connection?: string | undefined;
|
|
470
606
|
transport?: string | undefined;
|
|
471
607
|
}>;
|
|
472
608
|
providers: {
|
|
@@ -485,8 +621,10 @@ export declare const asActorConfig: {
|
|
|
485
621
|
} | undefined;
|
|
486
622
|
};
|
|
487
623
|
transports: Record<string, {
|
|
488
|
-
type: "lmdb";
|
|
489
624
|
root: string;
|
|
625
|
+
type: "lmdb";
|
|
626
|
+
access?: "read" | "write" | undefined;
|
|
627
|
+
store?: string | undefined;
|
|
490
628
|
} | {
|
|
491
629
|
type: "mongo";
|
|
492
630
|
connectionString?: string | undefined;
|
|
@@ -608,8 +746,39 @@ export declare const toActorConfig: {
|
|
|
608
746
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
609
747
|
silent: boolean;
|
|
610
748
|
};
|
|
749
|
+
connections: Record<string, {
|
|
750
|
+
root: string;
|
|
751
|
+
type: "lmdb";
|
|
752
|
+
access?: "read" | "write" | undefined;
|
|
753
|
+
store?: string | undefined;
|
|
754
|
+
} | {
|
|
755
|
+
type: "mongo";
|
|
756
|
+
connectionString?: string | undefined;
|
|
757
|
+
database?: string | undefined;
|
|
758
|
+
domain?: string | undefined;
|
|
759
|
+
password?: string | undefined;
|
|
760
|
+
username?: string | undefined;
|
|
761
|
+
} | {
|
|
762
|
+
protocol: string;
|
|
763
|
+
url: string;
|
|
764
|
+
type: "rpc";
|
|
765
|
+
} | {
|
|
766
|
+
type: "rest";
|
|
767
|
+
baseUrl: string;
|
|
768
|
+
} | {
|
|
769
|
+
type: "s3";
|
|
770
|
+
bucket?: string | undefined;
|
|
771
|
+
prefix?: string | undefined;
|
|
772
|
+
readUrl?: string | undefined;
|
|
773
|
+
accessKeyId?: string | undefined;
|
|
774
|
+
accountId?: string | undefined;
|
|
775
|
+
secretAccessKey?: string | undefined;
|
|
776
|
+
} | {
|
|
777
|
+
type: "evm-rpc";
|
|
778
|
+
url: string;
|
|
779
|
+
}>;
|
|
611
780
|
providerBindings: Record<string, {
|
|
612
|
-
|
|
781
|
+
connection?: string | undefined;
|
|
613
782
|
transport?: string | undefined;
|
|
614
783
|
}>;
|
|
615
784
|
providers: {
|
|
@@ -628,8 +797,10 @@ export declare const toActorConfig: {
|
|
|
628
797
|
} | undefined;
|
|
629
798
|
};
|
|
630
799
|
transports: Record<string, {
|
|
631
|
-
type: "lmdb";
|
|
632
800
|
root: string;
|
|
801
|
+
type: "lmdb";
|
|
802
|
+
access?: "read" | "write" | undefined;
|
|
803
|
+
store?: string | undefined;
|
|
633
804
|
} | {
|
|
634
805
|
type: "mongo";
|
|
635
806
|
connectionString?: string | undefined;
|
|
@@ -748,8 +919,39 @@ export declare const toActorConfig: {
|
|
|
748
919
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
749
920
|
silent: boolean;
|
|
750
921
|
};
|
|
922
|
+
connections: Record<string, {
|
|
923
|
+
root: string;
|
|
924
|
+
type: "lmdb";
|
|
925
|
+
access?: "read" | "write" | undefined;
|
|
926
|
+
store?: string | undefined;
|
|
927
|
+
} | {
|
|
928
|
+
type: "mongo";
|
|
929
|
+
connectionString?: string | undefined;
|
|
930
|
+
database?: string | undefined;
|
|
931
|
+
domain?: string | undefined;
|
|
932
|
+
password?: string | undefined;
|
|
933
|
+
username?: string | undefined;
|
|
934
|
+
} | {
|
|
935
|
+
protocol: string;
|
|
936
|
+
url: string;
|
|
937
|
+
type: "rpc";
|
|
938
|
+
} | {
|
|
939
|
+
type: "rest";
|
|
940
|
+
baseUrl: string;
|
|
941
|
+
} | {
|
|
942
|
+
type: "s3";
|
|
943
|
+
bucket?: string | undefined;
|
|
944
|
+
prefix?: string | undefined;
|
|
945
|
+
readUrl?: string | undefined;
|
|
946
|
+
accessKeyId?: string | undefined;
|
|
947
|
+
accountId?: string | undefined;
|
|
948
|
+
secretAccessKey?: string | undefined;
|
|
949
|
+
} | {
|
|
950
|
+
type: "evm-rpc";
|
|
951
|
+
url: string;
|
|
952
|
+
}>;
|
|
751
953
|
providerBindings: Record<string, {
|
|
752
|
-
|
|
954
|
+
connection?: string | undefined;
|
|
753
955
|
transport?: string | undefined;
|
|
754
956
|
}>;
|
|
755
957
|
providers: {
|
|
@@ -768,8 +970,10 @@ export declare const toActorConfig: {
|
|
|
768
970
|
} | undefined;
|
|
769
971
|
};
|
|
770
972
|
transports: Record<string, {
|
|
771
|
-
type: "lmdb";
|
|
772
973
|
root: string;
|
|
974
|
+
type: "lmdb";
|
|
975
|
+
access?: "read" | "write" | undefined;
|
|
976
|
+
store?: string | undefined;
|
|
773
977
|
} | {
|
|
774
978
|
type: "mongo";
|
|
775
979
|
connectionString?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/config/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5C;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,yBAGzB,CAAA;AAEF,+BAA+B;AAC/B,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/config/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5C;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,yBAGzB,CAAA;AAEF,+BAA+B;AAC/B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOzB,CAAA;AAEF,wBAAwB;AACxB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAExD,gEAAgE;AAChE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA;AACzD,4DAA4D;AAC5D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA;AAC1E,8BAA8B;AAC9B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA"}
|
|
@@ -31,8 +31,42 @@ export declare const ActorsConfigZod: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniO
|
|
|
31
31
|
}>>;
|
|
32
32
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
35
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
36
|
+
read: "read";
|
|
37
|
+
write: "write";
|
|
38
|
+
}>>;
|
|
39
|
+
root: import("zod").ZodString;
|
|
40
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
42
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
43
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
44
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
50
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
51
|
+
url: import("zod").ZodString;
|
|
52
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
53
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
54
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
55
|
+
baseUrl: import("zod").ZodString;
|
|
56
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
57
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
61
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
|
+
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>], "type">>>>;
|
|
34
68
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
35
|
-
|
|
69
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
70
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
71
|
}, z.core.$strip>>>>;
|
|
38
72
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -50,8 +84,13 @@ export declare const ActorsConfigZod: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniO
|
|
|
50
84
|
}, z.core.$strip>]>>;
|
|
51
85
|
}, z.core.$strip>>;
|
|
52
86
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
53
|
-
|
|
87
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
88
|
+
read: "read";
|
|
89
|
+
write: "write";
|
|
90
|
+
}>>;
|
|
54
91
|
root: import("zod").ZodString;
|
|
92
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
93
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
55
94
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
56
95
|
type: import("zod").ZodLiteral<"mongo">;
|
|
57
96
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actors.d.ts","sourceRoot":"","sources":["../../../src/config/Actors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5B,gCAAgC;AAChC,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"Actors.d.ts","sourceRoot":"","sources":["../../../src/config/Actors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5B,gCAAgC;AAChC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG3B,CAAA;AAED,yBAAyB;AACzB,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
|
@@ -31,8 +31,42 @@ export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
|
31
31
|
}>>;
|
|
32
32
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
35
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
36
|
+
read: "read";
|
|
37
|
+
write: "write";
|
|
38
|
+
}>>;
|
|
39
|
+
root: import("zod").ZodString;
|
|
40
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
42
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
43
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
44
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
50
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
51
|
+
url: import("zod").ZodString;
|
|
52
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
53
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
54
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
55
|
+
baseUrl: import("zod").ZodString;
|
|
56
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
57
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
61
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
|
+
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>], "type">>>>;
|
|
34
68
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
35
|
-
|
|
69
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
70
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
71
|
}, z.core.$strip>>>>;
|
|
38
72
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -50,8 +84,13 @@ export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
|
50
84
|
}, z.core.$strip>]>>;
|
|
51
85
|
}, z.core.$strip>>;
|
|
52
86
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
53
|
-
|
|
87
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
88
|
+
read: "read";
|
|
89
|
+
write: "write";
|
|
90
|
+
}>>;
|
|
54
91
|
root: import("zod").ZodString;
|
|
92
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
93
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
55
94
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
56
95
|
type: import("zod").ZodLiteral<"mongo">;
|
|
57
96
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAe5B,8BAA8B;AAC9B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAaxB,CAAA;AAEF,uBAAuB;AACvB,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|