@xyo-network/xl1-protocol-sdk 3.0.3 → 3.0.4
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/Archivists/ArchivistConnectOptions.d.ts +8 -0
- package/dist/neutral/Archivists/ArchivistConnectOptions.d.ts.map +1 -0
- package/dist/neutral/Archivists/ArchivistFactory.d.ts +31 -0
- package/dist/neutral/Archivists/ArchivistFactory.d.ts.map +1 -0
- package/dist/neutral/Archivists/MemoryArchivistFactory.d.ts +16 -0
- package/dist/neutral/Archivists/MemoryArchivistFactory.d.ts.map +1 -0
- package/dist/neutral/Archivists/archivistRoles.d.ts +12 -0
- package/dist/neutral/Archivists/archivistRoles.d.ts.map +1 -0
- package/dist/neutral/Archivists/connectArchivist.d.ts +11 -0
- package/dist/neutral/Archivists/connectArchivist.d.ts.map +1 -0
- package/dist/neutral/Archivists/index.d.ts +6 -0
- package/dist/neutral/Archivists/index.d.ts.map +1 -0
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +4 -0
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +24 -0
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +4 -0
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +4 -0
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Config.d.ts +16 -0
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +24 -0
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/transports/Transport.d.ts +9 -0
- package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
- package/dist/neutral/context/Actor.d.ts +24 -0
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +24 -0
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +8 -0
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +3 -1
- package/dist/neutral/getFileConfig.mjs.map +2 -2
- package/dist/neutral/index.d.ts +1 -0
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +184 -73
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +24 -0
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts +5 -2
- package/dist/neutral/simple/block/SimpleBlockViewer.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts +7 -2
- package/dist/neutral/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -1
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts +6 -3
- package/dist/neutral/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +9 -6
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts +9 -5
- package/dist/neutral/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +81 -10
- package/dist/neutral/test/index.mjs.map +4 -4
- package/package.json +6 -6
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Logical archivist identity + tuning, independent of substrate. */
|
|
2
|
+
export interface ArchivistConnectOptions {
|
|
3
|
+
/** Optional maximum entry count for the underlying store. Omit to use the substrate default. */
|
|
4
|
+
max?: number;
|
|
5
|
+
/** Logical archivist name (role) within the connection — half of the cache key. */
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=ArchivistConnectOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArchivistConnectOptions.d.ts","sourceRoot":"","sources":["../../../src/Archivists/ArchivistConnectOptions.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,MAAM,WAAW,uBAAuB;IACtC,gGAAgG;IAChG,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,mFAAmF;IACnF,IAAI,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ArchivistInstance } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { TransportConfig } from '../config/transports/Transport.ts';
|
|
3
|
+
import type { ArchivistConnectOptions } from './ArchivistConnectOptions.ts';
|
|
4
|
+
/** A connection binding handed to a factory: the connection's name plus its config. */
|
|
5
|
+
export interface ArchivistConnectionBinding {
|
|
6
|
+
config: TransportConfig;
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Contract every substrate factory implements. `connect` is a static method on the
|
|
11
|
+
* concrete class (see MemoryArchivistFactory); this interface documents the shape and
|
|
12
|
+
* lets call sites depend on the abstraction rather than a concrete factory.
|
|
13
|
+
*/
|
|
14
|
+
export interface ArchivistFactory {
|
|
15
|
+
connect(connectionName: string, config: TransportConfig, options: ArchivistConnectOptions): Promise<ArchivistInstance>;
|
|
16
|
+
}
|
|
17
|
+
/** Compose the cache key from the connection name and the logical archivist name. */
|
|
18
|
+
export declare function archivistCacheKey(connectionName: string, archivistName: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Per-substrate cache of archivist instances keyed by (connectionName, archivistName).
|
|
21
|
+
* A single Mutex serializes creation so concurrent callers with the same key share
|
|
22
|
+
* one instance rather than racing to create two.
|
|
23
|
+
*/
|
|
24
|
+
export declare class ArchivistInstanceCache {
|
|
25
|
+
private readonly cache;
|
|
26
|
+
private readonly mutex;
|
|
27
|
+
clear(): Promise<void>;
|
|
28
|
+
getOrCreate(connectionName: string, archivistName: string, create: () => Promise<ArchivistInstance>): Promise<ArchivistInstance>;
|
|
29
|
+
has(connectionName: string, archivistName: string): boolean;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=ArchivistFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArchivistFactory.d.ts","sourceRoot":"","sources":["../../../src/Archivists/ArchivistFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAG5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAE3E,uFAAuF;AACvF,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,eAAe,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;CACvH;AAKD,qFAAqF;AACrF,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAEvF;AAED;;;;GAIG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuC;IAC7D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAc;IAE9B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAMtB,WAAW,CACf,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,GACvC,OAAO,CAAC,iBAAiB,CAAC;IAW7B,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO;CAG5D"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ArchivistInstance } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { MemoryTransportConfig } from '../config/transports/Transport.ts';
|
|
3
|
+
import type { ArchivistConnectOptions } from './ArchivistConnectOptions.ts';
|
|
4
|
+
/**
|
|
5
|
+
* Static, process-global factory for in-memory archivists. `connect` caches by
|
|
6
|
+
* (connectionName, archivistName) so two callers binding the same memory connection
|
|
7
|
+
* and role share one MemoryArchivist — i.e. the same physical store. Without this,
|
|
8
|
+
* each caller would create an isolated Map and silently read/write divergent data.
|
|
9
|
+
*/
|
|
10
|
+
export declare class MemoryArchivistFactory {
|
|
11
|
+
private static readonly cache;
|
|
12
|
+
static connect(connectionName: string, _config: MemoryTransportConfig, options: ArchivistConnectOptions): Promise<ArchivistInstance>;
|
|
13
|
+
/** Test-only: drop all cached memory archivists so a fresh process state can be simulated. */
|
|
14
|
+
static reset(): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=MemoryArchivistFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MemoryArchivistFactory.d.ts","sourceRoot":"","sources":["../../../src/Archivists/MemoryArchivistFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAG5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E;;;;;GAKG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAA+B;WAE/C,OAAO,CAClB,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,qBAAqB,EAC9B,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,iBAAiB,CAAC;IAW7B,8FAA8F;WACjF,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical logical archivist names ("roles") within a connection. Providers and
|
|
3
|
+
* bootstrap genesis must agree on these strings — they form half of the
|
|
4
|
+
* ArchivistFactory cache key (connectionName, archivistName), so a mismatch would
|
|
5
|
+
* silently split a store that callers expect to share.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CHAIN_ARCHIVIST_ROLE = "chain";
|
|
8
|
+
export declare const PENDING_TRANSACTIONS_ARCHIVIST_ROLE = "pending-transactions";
|
|
9
|
+
export declare const PENDING_BLOCKS_ARCHIVIST_ROLE = "pending-blocks";
|
|
10
|
+
export declare const REJECTED_BLOCKS_ARCHIVIST_ROLE = "rejected-blocks";
|
|
11
|
+
export declare const REJECTED_TRANSACTIONS_ARCHIVIST_ROLE = "rejected-transactions";
|
|
12
|
+
//# sourceMappingURL=archivistRoles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archivistRoles.d.ts","sourceRoot":"","sources":["../../../src/Archivists/archivistRoles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,UAAU,CAAA;AAC3C,eAAO,MAAM,mCAAmC,yBAAyB,CAAA;AACzE,eAAO,MAAM,6BAA6B,mBAAmB,CAAA;AAC7D,eAAO,MAAM,8BAA8B,oBAAoB,CAAA;AAC/D,eAAO,MAAM,oCAAoC,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ArchivistInstance } from '@xyo-network/sdk-js';
|
|
2
|
+
import type { ArchivistConnectOptions } from './ArchivistConnectOptions.ts';
|
|
3
|
+
import type { ArchivistConnectionBinding } from './ArchivistFactory.ts';
|
|
4
|
+
/**
|
|
5
|
+
* Connect an archivist for a connection binding + logical role, dispatching on the
|
|
6
|
+
* connection's substrate type. Memory is implemented here; lmdb/mongo are still
|
|
7
|
+
* provisioned (injected) by the host and are not yet self-provisioned — binding one
|
|
8
|
+
* of those without an injected archivist is a configuration error and throws loudly.
|
|
9
|
+
*/
|
|
10
|
+
export declare function connectArchivist(binding: ArchivistConnectionBinding, options: ArchivistConnectOptions): Promise<ArchivistInstance>;
|
|
11
|
+
//# sourceMappingURL=connectArchivist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectArchivist.d.ts","sourceRoot":"","sources":["../../../src/Archivists/connectArchivist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAC3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AAGvE;;;;;GAKG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,0BAA0B,EACnC,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,iBAAiB,CAAC,CAS5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Archivists/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,6BAA6B,CAAA"}
|
|
@@ -65,6 +65,8 @@ export declare abstract class AbstractCreatableProvider<TParams extends Creatabl
|
|
|
65
65
|
} | {
|
|
66
66
|
type: "evm-rpc";
|
|
67
67
|
url: string;
|
|
68
|
+
} | {
|
|
69
|
+
type: "memory";
|
|
68
70
|
}>;
|
|
69
71
|
providerBindings: Record<string, {
|
|
70
72
|
connection?: string | undefined;
|
|
@@ -115,6 +117,8 @@ export declare abstract class AbstractCreatableProvider<TParams extends Creatabl
|
|
|
115
117
|
} | {
|
|
116
118
|
type: "evm-rpc";
|
|
117
119
|
url: string;
|
|
120
|
+
} | {
|
|
121
|
+
type: "memory";
|
|
118
122
|
}>;
|
|
119
123
|
storage: {
|
|
120
124
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractCreatableProvider.d.ts","sourceRoot":"","sources":["../../../src/CreatableProvider/AbstractCreatableProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE9E,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAAE,yBAAyB,EAAE,uBAAuB,EAC9E,WAAW,EACZ,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,iEAAiE;AACjE,8BAAsB,yBAAyB,CAAC,OAAO,SAAS,uBAAuB,GAAG,uBAAuB,EAC/G,UAAU,SAAS,0BAA0B,GAAG,0BAA0B,CAAE,SAAQ,iBAAiB,CAAC,OAAO,EAAE,UAAU,CACzH,YAAW,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC;IACrD,YAAY,EAAE,WAAW,CAAK;IAE9B,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;IACvD,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAA;IAE5C,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;IAE1C,IAAa,MAAM,uBAOlB;IAED,IAAa,KAAK,mDAEjB;IAED,IAAa,MAAM,oDAElB;IAED,SAAS,KAAK,MAAM
|
|
1
|
+
{"version":3,"file":"AbstractCreatableProvider.d.ts","sourceRoot":"","sources":["../../../src/CreatableProvider/AbstractCreatableProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,iBAAiB,EAClB,MAAM,gBAAgB,CAAA;AACvB,O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EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;WAMxB,aAAa,CAAC,CAAC,SAAS,yBAAyB,EACrE,MAAM,GAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAM;IAgBpB,aAAa;IAUtB,eAAe,CAAC,SAAS,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC;IAI1F,kBAAkB,CAAC,SAAS,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC;CAGpG"}
|
|
@@ -75,6 +75,8 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
|
|
|
75
75
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
76
76
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
77
77
|
url: import("zod").ZodString;
|
|
78
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
79
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
78
80
|
}, z.core.$strip>], "type">>>>;
|
|
79
81
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
80
82
|
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -127,6 +129,8 @@ export declare const ActorConfigZod: z.ZodMiniObject<{
|
|
|
127
129
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
128
130
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
129
131
|
url: import("zod").ZodString;
|
|
132
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
133
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
130
134
|
}, z.core.$strip>], "type">>>>;
|
|
131
135
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
132
136
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -252,6 +256,8 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
|
|
|
252
256
|
} | {
|
|
253
257
|
type: "evm-rpc";
|
|
254
258
|
url: string;
|
|
259
|
+
} | {
|
|
260
|
+
type: "memory";
|
|
255
261
|
}>;
|
|
256
262
|
providerBindings: Record<string, {
|
|
257
263
|
connection?: string | undefined;
|
|
@@ -302,6 +308,8 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
|
|
|
302
308
|
} | {
|
|
303
309
|
type: "evm-rpc";
|
|
304
310
|
url: string;
|
|
311
|
+
} | {
|
|
312
|
+
type: "memory";
|
|
305
313
|
}>;
|
|
306
314
|
storage: {
|
|
307
315
|
mongo?: {
|
|
@@ -427,6 +435,8 @@ export declare const asActorConfig: {
|
|
|
427
435
|
} | {
|
|
428
436
|
type: "evm-rpc";
|
|
429
437
|
url: string;
|
|
438
|
+
} | {
|
|
439
|
+
type: "memory";
|
|
430
440
|
}>;
|
|
431
441
|
providerBindings: Record<string, {
|
|
432
442
|
connection?: string | undefined;
|
|
@@ -477,6 +487,8 @@ export declare const asActorConfig: {
|
|
|
477
487
|
} | {
|
|
478
488
|
type: "evm-rpc";
|
|
479
489
|
url: string;
|
|
490
|
+
} | {
|
|
491
|
+
type: "memory";
|
|
480
492
|
}>;
|
|
481
493
|
storage: {
|
|
482
494
|
mongo?: {
|
|
@@ -600,6 +612,8 @@ export declare const asActorConfig: {
|
|
|
600
612
|
} | {
|
|
601
613
|
type: "evm-rpc";
|
|
602
614
|
url: string;
|
|
615
|
+
} | {
|
|
616
|
+
type: "memory";
|
|
603
617
|
}>;
|
|
604
618
|
providerBindings: Record<string, {
|
|
605
619
|
connection?: string | undefined;
|
|
@@ -650,6 +664,8 @@ export declare const asActorConfig: {
|
|
|
650
664
|
} | {
|
|
651
665
|
type: "evm-rpc";
|
|
652
666
|
url: string;
|
|
667
|
+
} | {
|
|
668
|
+
type: "memory";
|
|
653
669
|
}>;
|
|
654
670
|
storage: {
|
|
655
671
|
mongo?: {
|
|
@@ -776,6 +792,8 @@ export declare const toActorConfig: {
|
|
|
776
792
|
} | {
|
|
777
793
|
type: "evm-rpc";
|
|
778
794
|
url: string;
|
|
795
|
+
} | {
|
|
796
|
+
type: "memory";
|
|
779
797
|
}>;
|
|
780
798
|
providerBindings: Record<string, {
|
|
781
799
|
connection?: string | undefined;
|
|
@@ -826,6 +844,8 @@ export declare const toActorConfig: {
|
|
|
826
844
|
} | {
|
|
827
845
|
type: "evm-rpc";
|
|
828
846
|
url: string;
|
|
847
|
+
} | {
|
|
848
|
+
type: "memory";
|
|
829
849
|
}>;
|
|
830
850
|
storage: {
|
|
831
851
|
mongo?: {
|
|
@@ -949,6 +969,8 @@ export declare const toActorConfig: {
|
|
|
949
969
|
} | {
|
|
950
970
|
type: "evm-rpc";
|
|
951
971
|
url: string;
|
|
972
|
+
} | {
|
|
973
|
+
type: "memory";
|
|
952
974
|
}>;
|
|
953
975
|
providerBindings: Record<string, {
|
|
954
976
|
connection?: string | undefined;
|
|
@@ -999,6 +1021,8 @@ export declare const toActorConfig: {
|
|
|
999
1021
|
} | {
|
|
1000
1022
|
type: "evm-rpc";
|
|
1001
1023
|
url: string;
|
|
1024
|
+
} | {
|
|
1025
|
+
type: "memory";
|
|
1002
1026
|
}>;
|
|
1003
1027
|
storage: {
|
|
1004
1028
|
mongo?: {
|
|
@@ -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,+B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA"}
|
|
@@ -64,6 +64,8 @@ export declare const ActorsConfigZod: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniO
|
|
|
64
64
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
65
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
66
|
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
68
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
67
69
|
}, z.core.$strip>], "type">>>>;
|
|
68
70
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
69
71
|
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -116,6 +118,8 @@ export declare const ActorsConfigZod: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniO
|
|
|
116
118
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
117
119
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
118
120
|
url: import("zod").ZodString;
|
|
121
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
122
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
119
123
|
}, z.core.$strip>], "type">>>>;
|
|
120
124
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
121
125
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -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"}
|
|
@@ -64,6 +64,8 @@ export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
|
64
64
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
65
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
66
|
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
68
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
67
69
|
}, z.core.$strip>], "type">>>>;
|
|
68
70
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
69
71
|
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -116,6 +118,8 @@ export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
|
116
118
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
117
119
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
118
120
|
url: import("zod").ZodString;
|
|
121
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
122
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
119
123
|
}, z.core.$strip>], "type">>>>;
|
|
120
124
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
121
125
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -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;AAe5B,8BAA8B;AAC9B,eAAO,MAAM,aAAa
|
|
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"}
|
|
@@ -65,6 +65,8 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
65
65
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
66
66
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
67
67
|
url: import("zod").ZodString;
|
|
68
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
69
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
68
70
|
}, z.core.$strip>], "type">>>>;
|
|
69
71
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
70
72
|
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -117,6 +119,8 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
117
119
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
118
120
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
119
121
|
url: import("zod").ZodString;
|
|
122
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
123
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
120
124
|
}, z.core.$strip>], "type">>>>;
|
|
121
125
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
122
126
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -247,6 +251,8 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
247
251
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
248
252
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
249
253
|
url: import("zod").ZodString;
|
|
254
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
255
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
250
256
|
}, z.core.$strip>], "type">>>>;
|
|
251
257
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
252
258
|
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -299,6 +305,8 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
299
305
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
300
306
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
301
307
|
url: import("zod").ZodString;
|
|
308
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
309
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
302
310
|
}, z.core.$strip>], "type">>>>;
|
|
303
311
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
304
312
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -426,6 +434,8 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
426
434
|
} | {
|
|
427
435
|
type: "evm-rpc";
|
|
428
436
|
url: string;
|
|
437
|
+
} | {
|
|
438
|
+
type: "memory";
|
|
429
439
|
}>;
|
|
430
440
|
providerBindings: Record<string, {
|
|
431
441
|
connection?: string | undefined;
|
|
@@ -476,6 +486,8 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
476
486
|
} | {
|
|
477
487
|
type: "evm-rpc";
|
|
478
488
|
url: string;
|
|
489
|
+
} | {
|
|
490
|
+
type: "memory";
|
|
479
491
|
}>;
|
|
480
492
|
storage: {
|
|
481
493
|
mongo?: {
|
|
@@ -596,6 +608,8 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
596
608
|
} | {
|
|
597
609
|
type: "evm-rpc";
|
|
598
610
|
url: string;
|
|
611
|
+
} | {
|
|
612
|
+
type: "memory";
|
|
599
613
|
}>;
|
|
600
614
|
providerBindings: Record<string, {
|
|
601
615
|
connection?: string | undefined;
|
|
@@ -646,6 +660,8 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
646
660
|
} | {
|
|
647
661
|
type: "evm-rpc";
|
|
648
662
|
url: string;
|
|
663
|
+
} | {
|
|
664
|
+
type: "memory";
|
|
649
665
|
}>;
|
|
650
666
|
storage: {
|
|
651
667
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB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ostActorConfigZod: z.ZodMiniObject<{
|
|
|
64
64
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
65
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
66
|
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
68
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
67
69
|
}, z.core.$strip>], "type">>>>;
|
|
68
70
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
69
71
|
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -116,6 +118,8 @@ export declare const HostActorConfigZod: z.ZodMiniObject<{
|
|
|
116
118
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
117
119
|
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
118
120
|
url: import("zod").ZodString;
|
|
121
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
122
|
+
type: import("zod").ZodLiteral<"memory">;
|
|
119
123
|
}, z.core.$strip>], "type">>>>;
|
|
120
124
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
121
125
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -243,6 +247,8 @@ export declare const isHostActorConfig: <T>(value: T) => value is T & {
|
|
|
243
247
|
} | {
|
|
244
248
|
type: "evm-rpc";
|
|
245
249
|
url: string;
|
|
250
|
+
} | {
|
|
251
|
+
type: "memory";
|
|
246
252
|
}>;
|
|
247
253
|
providerBindings: Record<string, {
|
|
248
254
|
connection?: string | undefined;
|
|
@@ -293,6 +299,8 @@ export declare const isHostActorConfig: <T>(value: T) => value is T & {
|
|
|
293
299
|
} | {
|
|
294
300
|
type: "evm-rpc";
|
|
295
301
|
url: string;
|
|
302
|
+
} | {
|
|
303
|
+
type: "memory";
|
|
296
304
|
}>;
|
|
297
305
|
storage: {
|
|
298
306
|
mongo?: {
|
|
@@ -420,6 +428,8 @@ export declare const asHostActorConfig: {
|
|
|
420
428
|
} | {
|
|
421
429
|
type: "evm-rpc";
|
|
422
430
|
url: string;
|
|
431
|
+
} | {
|
|
432
|
+
type: "memory";
|
|
423
433
|
}>;
|
|
424
434
|
providerBindings: Record<string, {
|
|
425
435
|
connection?: string | undefined;
|
|
@@ -470,6 +480,8 @@ export declare const asHostActorConfig: {
|
|
|
470
480
|
} | {
|
|
471
481
|
type: "evm-rpc";
|
|
472
482
|
url: string;
|
|
483
|
+
} | {
|
|
484
|
+
type: "memory";
|
|
473
485
|
}>;
|
|
474
486
|
storage: {
|
|
475
487
|
mongo?: {
|
|
@@ -595,6 +607,8 @@ export declare const asHostActorConfig: {
|
|
|
595
607
|
} | {
|
|
596
608
|
type: "evm-rpc";
|
|
597
609
|
url: string;
|
|
610
|
+
} | {
|
|
611
|
+
type: "memory";
|
|
598
612
|
}>;
|
|
599
613
|
providerBindings: Record<string, {
|
|
600
614
|
connection?: string | undefined;
|
|
@@ -645,6 +659,8 @@ export declare const asHostActorConfig: {
|
|
|
645
659
|
} | {
|
|
646
660
|
type: "evm-rpc";
|
|
647
661
|
url: string;
|
|
662
|
+
} | {
|
|
663
|
+
type: "memory";
|
|
648
664
|
}>;
|
|
649
665
|
storage: {
|
|
650
666
|
mongo?: {
|
|
@@ -773,6 +789,8 @@ export declare const toHostActorConfig: {
|
|
|
773
789
|
} | {
|
|
774
790
|
type: "evm-rpc";
|
|
775
791
|
url: string;
|
|
792
|
+
} | {
|
|
793
|
+
type: "memory";
|
|
776
794
|
}>;
|
|
777
795
|
providerBindings: Record<string, {
|
|
778
796
|
connection?: string | undefined;
|
|
@@ -823,6 +841,8 @@ export declare const toHostActorConfig: {
|
|
|
823
841
|
} | {
|
|
824
842
|
type: "evm-rpc";
|
|
825
843
|
url: string;
|
|
844
|
+
} | {
|
|
845
|
+
type: "memory";
|
|
826
846
|
}>;
|
|
827
847
|
storage: {
|
|
828
848
|
mongo?: {
|
|
@@ -948,6 +968,8 @@ export declare const toHostActorConfig: {
|
|
|
948
968
|
} | {
|
|
949
969
|
type: "evm-rpc";
|
|
950
970
|
url: string;
|
|
971
|
+
} | {
|
|
972
|
+
type: "memory";
|
|
951
973
|
}>;
|
|
952
974
|
providerBindings: Record<string, {
|
|
953
975
|
connection?: string | undefined;
|
|
@@ -998,6 +1020,8 @@ export declare const toHostActorConfig: {
|
|
|
998
1020
|
} | {
|
|
999
1021
|
type: "evm-rpc";
|
|
1000
1022
|
url: string;
|
|
1023
|
+
} | {
|
|
1024
|
+
type: "memory";
|
|
1001
1025
|
}>;
|
|
1002
1026
|
storage: {
|
|
1003
1027
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/config/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5C,mCAAmC;AACnC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/config/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5C,mCAAmC;AACnC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa7B,CAAA;AAEF,4BAA4B;AAC5B,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhE,oEAAoE;AACpE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
|
+
/** In-process shared-memory transport (ephemeral; backed by a MemoryArchivist). */
|
|
48
|
+
export declare const MemoryTransportConfigZod: z.ZodObject<{
|
|
49
|
+
type: z.ZodLiteral<"memory">;
|
|
50
|
+
}, z.core.$strip>;
|
|
47
51
|
/** Discriminated union of all supported transport kinds. */
|
|
48
52
|
export declare const TransportConfigZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
49
53
|
access: z.ZodOptional<z.ZodEnum<{
|
|
@@ -78,6 +82,8 @@ export declare const TransportConfigZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
78
82
|
}, z.core.$strip>, z.ZodObject<{
|
|
79
83
|
type: z.ZodLiteral<"evm-rpc">;
|
|
80
84
|
url: z.ZodString;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
+
type: z.ZodLiteral<"memory">;
|
|
81
87
|
}, z.core.$strip>], "type">;
|
|
82
88
|
export type LmdbTransportConfig = z.infer<typeof LmdbTransportConfigZod>;
|
|
83
89
|
export type MongoTransportConfig = z.infer<typeof MongoTransportConfigZod>;
|
|
@@ -85,6 +91,7 @@ export type RpcTransportConfig = z.infer<typeof RpcTransportConfigZod>;
|
|
|
85
91
|
export type RestTransportConfig = z.infer<typeof RestTransportConfigZod>;
|
|
86
92
|
export type S3TransportConfig = z.infer<typeof S3TransportConfigZod>;
|
|
87
93
|
export type EvmRpcTransportConfig = z.infer<typeof EvmRpcTransportConfigZod>;
|
|
94
|
+
export type MemoryTransportConfig = z.infer<typeof MemoryTransportConfigZod>;
|
|
88
95
|
export type TransportConfig = z.infer<typeof TransportConfigZod>;
|
|
89
96
|
/** Map of transport name → transport configuration. */
|
|
90
97
|
export declare const TransportsConfigZod: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -120,6 +127,8 @@ export declare const TransportsConfigZod: z.ZodDefault<z.ZodRecord<z.ZodString,
|
|
|
120
127
|
}, z.core.$strip>, z.ZodObject<{
|
|
121
128
|
type: z.ZodLiteral<"evm-rpc">;
|
|
122
129
|
url: z.ZodString;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
type: z.ZodLiteral<"memory">;
|
|
123
132
|
}, z.core.$strip>], "type">>>;
|
|
124
133
|
export type TransportsConfig = z.infer<typeof TransportsConfigZod>;
|
|
125
134
|
export type TransportKind = TransportConfig['type'];
|
|
@@ -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;;;;;;;;iBAiBQ,CAAA;AAE3C,uCAAuC;AACvC,eAAO,MAAM,uBAAuB;;;;;;;iBAOI,CAAA;AAExC,qDAAqD;AACrD,eAAO,MAAM,qBAAqB;;;;iBAA+F,CAAA;AAEjI,6DAA6D;AAC7D,eAAO,MAAM,sBAAsB;;;iBAOI,CAAA;AAEvC,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB;;;;;;;;iBAKoB,CAAA;AAErD,8BAA8B;AAC9B,eAAO,MAAM,wBAAwB;;;iBAOA,CAAA;AAErC,4DAA4D;AAC5D,eAAO,MAAM,kBAAkB
|
|
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;;;;;;;;iBAiBQ,CAAA;AAE3C,uCAAuC;AACvC,eAAO,MAAM,uBAAuB;;;;;;;iBAOI,CAAA;AAExC,qDAAqD;AACrD,eAAO,MAAM,qBAAqB;;;;iBAA+F,CAAA;AAEjI,6DAA6D;AAC7D,eAAO,MAAM,sBAAsB;;;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