@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalizeConnectionsConfig.d.ts","sourceRoot":"","sources":["../../../src/config/normalizeConnectionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAyB,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,UAAU,qBAAqB;IAC7B,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,gBAAgB,CAAC,EAAE,sBAAsB,CAAA;IACzC,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAC9B;AA8BD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,qBAAqB,EACxE,MAAM,EAAE,CAAC,GACR,CAAC,GAAG;IACL,WAAW,EAAE,iBAAiB,CAAA;IAC9B,gBAAgB,EAAE,sBAAsB,CAAA;IACxC,UAAU,EAAE,gBAAgB,CAAA;CAC7B,CAUA;AAED,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAGpF"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/** Named LMDB backing-store transport. */
|
|
3
3
|
export declare const LmdbTransportConfigZod: z.ZodObject<{
|
|
4
|
-
|
|
4
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
read: "read";
|
|
6
|
+
write: "write";
|
|
7
|
+
}>>;
|
|
5
8
|
root: z.ZodString;
|
|
9
|
+
store: z.ZodOptional<z.ZodString>;
|
|
10
|
+
type: z.ZodLiteral<"lmdb">;
|
|
6
11
|
}, z.core.$strip>;
|
|
7
12
|
/** MongoDB backing-store transport. */
|
|
8
13
|
export declare const MongoTransportConfigZod: z.ZodObject<{
|
|
@@ -41,8 +46,13 @@ export declare const EvmRpcTransportConfigZod: z.ZodObject<{
|
|
|
41
46
|
}, z.core.$strip>;
|
|
42
47
|
/** Discriminated union of all supported transport kinds. */
|
|
43
48
|
export declare const TransportConfigZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
-
|
|
49
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
50
|
+
read: "read";
|
|
51
|
+
write: "write";
|
|
52
|
+
}>>;
|
|
45
53
|
root: z.ZodString;
|
|
54
|
+
store: z.ZodOptional<z.ZodString>;
|
|
55
|
+
type: z.ZodLiteral<"lmdb">;
|
|
46
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
47
57
|
type: z.ZodLiteral<"mongo">;
|
|
48
58
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -78,8 +88,13 @@ export type EvmRpcTransportConfig = z.infer<typeof EvmRpcTransportConfigZod>;
|
|
|
78
88
|
export type TransportConfig = z.infer<typeof TransportConfigZod>;
|
|
79
89
|
/** Map of transport name → transport configuration. */
|
|
80
90
|
export declare const TransportsConfigZod: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
81
|
-
|
|
91
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
read: "read";
|
|
93
|
+
write: "write";
|
|
94
|
+
}>>;
|
|
82
95
|
root: z.ZodString;
|
|
96
|
+
store: z.ZodOptional<z.ZodString>;
|
|
97
|
+
type: z.ZodLiteral<"lmdb">;
|
|
83
98
|
}, z.core.$strip>, z.ZodObject<{
|
|
84
99
|
type: z.ZodLiteral<"mongo">;
|
|
85
100
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transport.d.ts","sourceRoot":"","sources":["../../../../src/config/transports/Transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvC,0CAA0C;AAC1C,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"Transport.d.ts","sourceRoot":"","sources":["../../../../src/config/transports/Transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvC,0CAA0C;AAC1C,eAAO,MAAM,sBAAsB;;;;;;;;iB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"}
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/context/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5B,mCAAmC;AACnC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/context/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5B,mCAAmC;AACnC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA6D,CAAA;AAE5F,+BAA+B;AAC/B,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEnE,uEAAuE;AACvE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA;AACpE,mEAAmE;AACnE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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