@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
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDeclarationPayload.d.ts","sourceRoot":"","sources":["../../src/createDeclarationPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EACL,KAAK,gBAAgB,EAA0B,KAAK,MAAM,EAC3D,MAAM,+BAA+B,CAAA;AAEtC,wCAAwC;AACxC,eAAO,MAAM,uBAAuB,GAAI,SAAS,UAAU,EAAE,QAAQ,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,
|
|
1
|
+
{"version":3,"file":"createDeclarationPayload.d.ts","sourceRoot":"","sources":["../../src/createDeclarationPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EACL,KAAK,gBAAgB,EAA0B,KAAK,MAAM,EAC3D,MAAM,+BAA+B,CAAA;AAEtC,wCAAwC;AACxC,eAAO,MAAM,uBAAuB,GAAI,SAAS,UAAU,EAAE,QAAQ,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,gBAOxG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../src/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAG7D,0CAA0C;AAC1C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,
|
|
1
|
+
{"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../src/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAG7D,0CAA0C;AAC1C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAS7H"}
|
|
@@ -25,8 +25,39 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
25
25
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
26
26
|
silent: boolean;
|
|
27
27
|
};
|
|
28
|
+
connections: Record<string, {
|
|
29
|
+
root: string;
|
|
30
|
+
type: "lmdb";
|
|
31
|
+
access?: "read" | "write" | undefined;
|
|
32
|
+
store?: string | undefined;
|
|
33
|
+
} | {
|
|
34
|
+
type: "mongo";
|
|
35
|
+
connectionString?: string | undefined;
|
|
36
|
+
database?: string | undefined;
|
|
37
|
+
domain?: string | undefined;
|
|
38
|
+
password?: string | undefined;
|
|
39
|
+
username?: string | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
protocol: string;
|
|
42
|
+
url: string;
|
|
43
|
+
type: "rpc";
|
|
44
|
+
} | {
|
|
45
|
+
type: "rest";
|
|
46
|
+
baseUrl: string;
|
|
47
|
+
} | {
|
|
48
|
+
type: "s3";
|
|
49
|
+
bucket?: string | undefined;
|
|
50
|
+
prefix?: string | undefined;
|
|
51
|
+
readUrl?: string | undefined;
|
|
52
|
+
accessKeyId?: string | undefined;
|
|
53
|
+
accountId?: string | undefined;
|
|
54
|
+
secretAccessKey?: string | undefined;
|
|
55
|
+
} | {
|
|
56
|
+
type: "evm-rpc";
|
|
57
|
+
url: string;
|
|
58
|
+
}>;
|
|
28
59
|
providerBindings: Record<string, {
|
|
29
|
-
|
|
60
|
+
connection?: string | undefined;
|
|
30
61
|
transport?: string | undefined;
|
|
31
62
|
}>;
|
|
32
63
|
providers: {
|
|
@@ -45,8 +76,10 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
45
76
|
} | undefined;
|
|
46
77
|
};
|
|
47
78
|
transports: Record<string, {
|
|
48
|
-
type: "lmdb";
|
|
49
79
|
root: string;
|
|
80
|
+
type: "lmdb";
|
|
81
|
+
access?: "read" | "write" | undefined;
|
|
82
|
+
store?: string | undefined;
|
|
50
83
|
} | {
|
|
51
84
|
type: "mongo";
|
|
52
85
|
connectionString?: string | undefined;
|
|
@@ -162,8 +195,39 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
162
195
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
163
196
|
silent: boolean;
|
|
164
197
|
};
|
|
198
|
+
connections: Record<string, {
|
|
199
|
+
root: string;
|
|
200
|
+
type: "lmdb";
|
|
201
|
+
access?: "read" | "write" | undefined;
|
|
202
|
+
store?: string | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
type: "mongo";
|
|
205
|
+
connectionString?: string | undefined;
|
|
206
|
+
database?: string | undefined;
|
|
207
|
+
domain?: string | undefined;
|
|
208
|
+
password?: string | undefined;
|
|
209
|
+
username?: string | undefined;
|
|
210
|
+
} | {
|
|
211
|
+
protocol: string;
|
|
212
|
+
url: string;
|
|
213
|
+
type: "rpc";
|
|
214
|
+
} | {
|
|
215
|
+
type: "rest";
|
|
216
|
+
baseUrl: string;
|
|
217
|
+
} | {
|
|
218
|
+
type: "s3";
|
|
219
|
+
bucket?: string | undefined;
|
|
220
|
+
prefix?: string | undefined;
|
|
221
|
+
readUrl?: string | undefined;
|
|
222
|
+
accessKeyId?: string | undefined;
|
|
223
|
+
accountId?: string | undefined;
|
|
224
|
+
secretAccessKey?: string | undefined;
|
|
225
|
+
} | {
|
|
226
|
+
type: "evm-rpc";
|
|
227
|
+
url: string;
|
|
228
|
+
}>;
|
|
165
229
|
providerBindings: Record<string, {
|
|
166
|
-
|
|
230
|
+
connection?: string | undefined;
|
|
167
231
|
transport?: string | undefined;
|
|
168
232
|
}>;
|
|
169
233
|
providers: {
|
|
@@ -182,8 +246,10 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
182
246
|
} | undefined;
|
|
183
247
|
};
|
|
184
248
|
transports: Record<string, {
|
|
185
|
-
type: "lmdb";
|
|
186
249
|
root: string;
|
|
250
|
+
type: "lmdb";
|
|
251
|
+
access?: "read" | "write" | undefined;
|
|
252
|
+
store?: string | undefined;
|
|
187
253
|
} | {
|
|
188
254
|
type: "mongo";
|
|
189
255
|
connectionString?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileConfig.d.ts","sourceRoot":"","sources":["../../src/getFileConfig.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAsB,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"getFileConfig.d.ts","sourceRoot":"","sources":["../../src/getFileConfig.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAsB,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiB1D"}
|