@sentio/runtime 2.57.12-rc.c → 2.57.12-rc.e
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/lib/chunk-6YBY6GSE.js +22984 -0
- package/lib/chunk-6YBY6GSE.js.map +1 -0
- package/lib/{chunk-HBDDXJ53.js → chunk-YVOMEKB4.js} +17793 -37163
- package/lib/chunk-YVOMEKB4.js.map +1 -0
- package/lib/index.d.ts +136 -50
- package/lib/index.js +5 -3
- package/lib/index.js.map +1 -1
- package/lib/processor-runner.js +40074 -3
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.d.ts +6 -1
- package/lib/service-worker.js +55 -19
- package/lib/service-worker.js.map +1 -1
- package/lib/test-processor.test.d.ts +2 -0
- package/lib/test-processor.test.js.map +1 -0
- package/package.json +2 -3
- package/src/service-manager.ts +20 -26
- package/src/service-worker.ts +31 -29
- package/src/tsup.config.ts +1 -1
- package/lib/chunk-ANRIDUBX.js +0 -39675
- package/lib/chunk-ANRIDUBX.js.map +0 -1
- package/lib/chunk-HBDDXJ53.js.map +0 -1
package/lib/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as _sentio_protos from '@sentio/protos';
|
2
|
-
import { DeepPartial as DeepPartial$1, ProcessStreamResponse, DBResponse, DBRequest_DBUpsert,
|
2
|
+
import { DeepPartial as DeepPartial$1, ProcessStreamResponse, DBRequest, DBResponse, DBRequest_DBUpsert, HandlerType, ProcessConfigResponse, StartRequest, DataBinding, PreparedData, ProcessResult, PreprocessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, ProcessStreamRequest, PreprocessStreamRequest, PreprocessStreamResponse } from '@sentio/protos';
|
3
3
|
import { Subject } from 'rxjs';
|
4
4
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
5
5
|
import { Required } from 'utility-types';
|
@@ -171,31 +171,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
171
171
|
fields?: {
|
172
172
|
[x: string]: {
|
173
173
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
174
|
-
intValue?: number | undefined;
|
175
|
-
int64Value?: bigint | undefined;
|
176
|
-
floatValue?: number | undefined;
|
177
|
-
bytesValue?: Uint8Array | undefined;
|
178
|
-
boolValue?: boolean | undefined;
|
179
|
-
stringValue?: string | undefined;
|
174
|
+
intValue?: number | undefined | undefined;
|
175
|
+
int64Value?: bigint | undefined | undefined;
|
176
|
+
floatValue?: number | undefined | undefined;
|
177
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
178
|
+
boolValue?: boolean | undefined | undefined;
|
179
|
+
stringValue?: string | undefined | undefined;
|
180
180
|
timestampValue?: Date | undefined;
|
181
181
|
bigintValue?: {
|
182
182
|
negative?: boolean | undefined;
|
183
|
-
data?: Uint8Array | undefined;
|
183
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
184
184
|
} | undefined;
|
185
185
|
bigdecimalValue?: {
|
186
186
|
value?: {
|
187
187
|
negative?: boolean | undefined;
|
188
|
-
data?: Uint8Array | undefined;
|
188
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
189
189
|
} | undefined;
|
190
190
|
exp?: number | undefined;
|
191
191
|
} | undefined;
|
192
192
|
listValue?: {
|
193
|
-
values?: any[] | undefined;
|
193
|
+
values?: /*elided*/ any[] | undefined;
|
194
194
|
} | undefined;
|
195
|
-
structValue?: any | undefined;
|
195
|
+
structValue?: /*elided*/ any | undefined;
|
196
196
|
tokenValue?: {
|
197
197
|
token?: {
|
198
|
-
symbol?: string | undefined;
|
198
|
+
symbol?: string | undefined | undefined;
|
199
199
|
address?: {
|
200
200
|
address?: string | undefined;
|
201
201
|
chain?: string | undefined;
|
@@ -204,7 +204,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
204
204
|
amount?: {
|
205
205
|
value?: {
|
206
206
|
negative?: boolean | undefined;
|
207
|
-
data?: Uint8Array | undefined;
|
207
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
208
208
|
} | undefined;
|
209
209
|
exp?: number | undefined;
|
210
210
|
} | undefined;
|
@@ -224,11 +224,54 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
224
224
|
field?: string | undefined;
|
225
225
|
op?: _sentio_protos.DBRequest_DBOperator | undefined;
|
226
226
|
value?: {
|
227
|
-
values?:
|
227
|
+
values?: {
|
228
|
+
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
229
|
+
intValue?: number | undefined | undefined;
|
230
|
+
int64Value?: bigint | undefined | undefined;
|
231
|
+
floatValue?: number | undefined | undefined;
|
232
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
233
|
+
boolValue?: boolean | undefined | undefined;
|
234
|
+
stringValue?: string | undefined | undefined;
|
235
|
+
timestampValue?: Date | undefined;
|
236
|
+
bigintValue?: {
|
237
|
+
negative?: boolean | undefined;
|
238
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
239
|
+
} | undefined;
|
240
|
+
bigdecimalValue?: {
|
241
|
+
value?: {
|
242
|
+
negative?: boolean | undefined;
|
243
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
244
|
+
} | undefined;
|
245
|
+
exp?: number | undefined;
|
246
|
+
} | undefined;
|
247
|
+
listValue?: /*elided*/ any | undefined;
|
248
|
+
structValue?: {
|
249
|
+
fields?: {
|
250
|
+
[x: string]: /*elided*/ any | undefined;
|
251
|
+
} | undefined;
|
252
|
+
} | undefined;
|
253
|
+
tokenValue?: {
|
254
|
+
token?: {
|
255
|
+
symbol?: string | undefined | undefined;
|
256
|
+
address?: {
|
257
|
+
address?: string | undefined;
|
258
|
+
chain?: string | undefined;
|
259
|
+
} | undefined;
|
260
|
+
} | undefined;
|
261
|
+
amount?: {
|
262
|
+
value?: {
|
263
|
+
negative?: boolean | undefined;
|
264
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
265
|
+
} | undefined;
|
266
|
+
exp?: number | undefined;
|
267
|
+
} | undefined;
|
268
|
+
specifiedAt?: Date | undefined;
|
269
|
+
} | undefined;
|
270
|
+
}[] | undefined;
|
228
271
|
} | undefined;
|
229
272
|
}[] | undefined;
|
230
273
|
cursor?: string | undefined;
|
231
|
-
pageSize?: number | undefined;
|
274
|
+
pageSize?: number | undefined | undefined;
|
232
275
|
} | undefined;
|
233
276
|
} | undefined;
|
234
277
|
result?: {
|
@@ -247,11 +290,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
247
290
|
} | undefined;
|
248
291
|
} | undefined;
|
249
292
|
metricValue?: {
|
250
|
-
bigDecimal?: string | undefined;
|
251
|
-
doubleValue?: number | undefined;
|
293
|
+
bigDecimal?: string | undefined | undefined;
|
294
|
+
doubleValue?: number | undefined | undefined;
|
252
295
|
bigInteger?: {
|
253
296
|
negative?: boolean | undefined;
|
254
|
-
data?: Uint8Array | undefined;
|
297
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
255
298
|
} | undefined;
|
256
299
|
} | undefined;
|
257
300
|
runtimeInfo?: {
|
@@ -273,11 +316,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
273
316
|
} | undefined;
|
274
317
|
} | undefined;
|
275
318
|
metricValue?: {
|
276
|
-
bigDecimal?: string | undefined;
|
277
|
-
doubleValue?: number | undefined;
|
319
|
+
bigDecimal?: string | undefined | undefined;
|
320
|
+
doubleValue?: number | undefined | undefined;
|
278
321
|
bigInteger?: {
|
279
322
|
negative?: boolean | undefined;
|
280
|
-
data?: Uint8Array | undefined;
|
323
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
281
324
|
} | undefined;
|
282
325
|
} | undefined;
|
283
326
|
add?: boolean | undefined;
|
@@ -312,31 +355,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
312
355
|
fields?: {
|
313
356
|
[x: string]: {
|
314
357
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
315
|
-
intValue?: number | undefined;
|
316
|
-
int64Value?: bigint | undefined;
|
317
|
-
floatValue?: number | undefined;
|
318
|
-
bytesValue?: Uint8Array | undefined;
|
319
|
-
boolValue?: boolean | undefined;
|
320
|
-
stringValue?: string | undefined;
|
358
|
+
intValue?: number | undefined | undefined;
|
359
|
+
int64Value?: bigint | undefined | undefined;
|
360
|
+
floatValue?: number | undefined | undefined;
|
361
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
362
|
+
boolValue?: boolean | undefined | undefined;
|
363
|
+
stringValue?: string | undefined | undefined;
|
321
364
|
timestampValue?: Date | undefined;
|
322
365
|
bigintValue?: {
|
323
366
|
negative?: boolean | undefined;
|
324
|
-
data?: Uint8Array | undefined;
|
367
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
325
368
|
} | undefined;
|
326
369
|
bigdecimalValue?: {
|
327
370
|
value?: {
|
328
371
|
negative?: boolean | undefined;
|
329
|
-
data?: Uint8Array | undefined;
|
372
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
330
373
|
} | undefined;
|
331
374
|
exp?: number | undefined;
|
332
375
|
} | undefined;
|
333
376
|
listValue?: {
|
334
|
-
values?: any[] | undefined;
|
377
|
+
values?: /*elided*/ any[] | undefined;
|
335
378
|
} | undefined;
|
336
|
-
structValue?: any | undefined;
|
379
|
+
structValue?: /*elided*/ any | undefined;
|
337
380
|
tokenValue?: {
|
338
381
|
token?: {
|
339
|
-
symbol?: string | undefined;
|
382
|
+
symbol?: string | undefined | undefined;
|
340
383
|
address?: {
|
341
384
|
address?: string | undefined;
|
342
385
|
chain?: string | undefined;
|
@@ -345,7 +388,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
345
388
|
amount?: {
|
346
389
|
value?: {
|
347
390
|
negative?: boolean | undefined;
|
348
|
-
data?: Uint8Array | undefined;
|
391
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
349
392
|
} | undefined;
|
350
393
|
exp?: number | undefined;
|
351
394
|
} | undefined;
|
@@ -377,10 +420,10 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
377
420
|
}[] | undefined;
|
378
421
|
states?: {
|
379
422
|
configUpdated?: boolean | undefined;
|
380
|
-
error?: string | undefined;
|
423
|
+
error?: string | undefined | undefined;
|
381
424
|
} | undefined;
|
382
425
|
} | undefined;
|
383
|
-
}, void,
|
426
|
+
}, void, any>;
|
384
427
|
handlePreprocessRequests(requests: AsyncIterable<PreprocessStreamRequest>, subject: Subject<DeepPartial$1<PreprocessStreamResponse>>): Promise<void>;
|
385
428
|
preprocessBindingsStream(requests: AsyncIterable<PreprocessStreamRequest>, context: CallContext): AsyncGenerator<{
|
386
429
|
processId?: number | undefined;
|
@@ -400,31 +443,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
400
443
|
fields?: {
|
401
444
|
[x: string]: {
|
402
445
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
403
|
-
intValue?: number | undefined;
|
404
|
-
int64Value?: bigint | undefined;
|
405
|
-
floatValue?: number | undefined;
|
406
|
-
bytesValue?: Uint8Array | undefined;
|
407
|
-
boolValue?: boolean | undefined;
|
408
|
-
stringValue?: string | undefined;
|
446
|
+
intValue?: number | undefined | undefined;
|
447
|
+
int64Value?: bigint | undefined | undefined;
|
448
|
+
floatValue?: number | undefined | undefined;
|
449
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
450
|
+
boolValue?: boolean | undefined | undefined;
|
451
|
+
stringValue?: string | undefined | undefined;
|
409
452
|
timestampValue?: Date | undefined;
|
410
453
|
bigintValue?: {
|
411
454
|
negative?: boolean | undefined;
|
412
|
-
data?: Uint8Array | undefined;
|
455
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
413
456
|
} | undefined;
|
414
457
|
bigdecimalValue?: {
|
415
458
|
value?: {
|
416
459
|
negative?: boolean | undefined;
|
417
|
-
data?: Uint8Array | undefined;
|
460
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
418
461
|
} | undefined;
|
419
462
|
exp?: number | undefined;
|
420
463
|
} | undefined;
|
421
464
|
listValue?: {
|
422
|
-
values?: any[] | undefined;
|
465
|
+
values?: /*elided*/ any[] | undefined;
|
423
466
|
} | undefined;
|
424
|
-
structValue?: any | undefined;
|
467
|
+
structValue?: /*elided*/ any | undefined;
|
425
468
|
tokenValue?: {
|
426
469
|
token?: {
|
427
|
-
symbol?: string | undefined;
|
470
|
+
symbol?: string | undefined | undefined;
|
428
471
|
address?: {
|
429
472
|
address?: string | undefined;
|
430
473
|
chain?: string | undefined;
|
@@ -433,7 +476,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
433
476
|
amount?: {
|
434
477
|
value?: {
|
435
478
|
negative?: boolean | undefined;
|
436
|
-
data?: Uint8Array | undefined;
|
479
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
437
480
|
} | undefined;
|
438
481
|
exp?: number | undefined;
|
439
482
|
} | undefined;
|
@@ -453,14 +496,57 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
453
496
|
field?: string | undefined;
|
454
497
|
op?: _sentio_protos.DBRequest_DBOperator | undefined;
|
455
498
|
value?: {
|
456
|
-
values?:
|
499
|
+
values?: {
|
500
|
+
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
501
|
+
intValue?: number | undefined | undefined;
|
502
|
+
int64Value?: bigint | undefined | undefined;
|
503
|
+
floatValue?: number | undefined | undefined;
|
504
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
505
|
+
boolValue?: boolean | undefined | undefined;
|
506
|
+
stringValue?: string | undefined | undefined;
|
507
|
+
timestampValue?: Date | undefined;
|
508
|
+
bigintValue?: {
|
509
|
+
negative?: boolean | undefined;
|
510
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
511
|
+
} | undefined;
|
512
|
+
bigdecimalValue?: {
|
513
|
+
value?: {
|
514
|
+
negative?: boolean | undefined;
|
515
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
516
|
+
} | undefined;
|
517
|
+
exp?: number | undefined;
|
518
|
+
} | undefined;
|
519
|
+
listValue?: /*elided*/ any | undefined;
|
520
|
+
structValue?: {
|
521
|
+
fields?: {
|
522
|
+
[x: string]: /*elided*/ any | undefined;
|
523
|
+
} | undefined;
|
524
|
+
} | undefined;
|
525
|
+
tokenValue?: {
|
526
|
+
token?: {
|
527
|
+
symbol?: string | undefined | undefined;
|
528
|
+
address?: {
|
529
|
+
address?: string | undefined;
|
530
|
+
chain?: string | undefined;
|
531
|
+
} | undefined;
|
532
|
+
} | undefined;
|
533
|
+
amount?: {
|
534
|
+
value?: {
|
535
|
+
negative?: boolean | undefined;
|
536
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
537
|
+
} | undefined;
|
538
|
+
exp?: number | undefined;
|
539
|
+
} | undefined;
|
540
|
+
specifiedAt?: Date | undefined;
|
541
|
+
} | undefined;
|
542
|
+
}[] | undefined;
|
457
543
|
} | undefined;
|
458
544
|
}[] | undefined;
|
459
545
|
cursor?: string | undefined;
|
460
|
-
pageSize?: number | undefined;
|
546
|
+
pageSize?: number | undefined | undefined;
|
461
547
|
} | undefined;
|
462
548
|
} | undefined;
|
463
|
-
}, void,
|
549
|
+
}, void, any>;
|
464
550
|
private handleRequests;
|
465
551
|
}
|
466
552
|
declare function recordRuntimeInfo(results: ProcessResult, handlerType: HandlerType): void;
|
package/lib/index.js
CHANGED
@@ -3,8 +3,6 @@ import {
|
|
3
3
|
DummyProvider,
|
4
4
|
Endpoints,
|
5
5
|
GLOBAL_CONFIG,
|
6
|
-
Plugin,
|
7
|
-
PluginManager,
|
8
6
|
ProcessorServiceImpl,
|
9
7
|
QueuedStaticJsonRpcProvider,
|
10
8
|
StoreContext,
|
@@ -21,7 +19,11 @@ import {
|
|
21
19
|
providerMetrics,
|
22
20
|
recordRuntimeInfo,
|
23
21
|
timeoutError
|
24
|
-
} from "./chunk-
|
22
|
+
} from "./chunk-YVOMEKB4.js";
|
23
|
+
import {
|
24
|
+
Plugin,
|
25
|
+
PluginManager
|
26
|
+
} from "./chunk-6YBY6GSE.js";
|
25
27
|
|
26
28
|
// src/state.ts
|
27
29
|
var State = class _State {
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/state.ts","../src/chain-config.ts","../src/index.ts"],"sourcesContent":["export class State {\n stateMap = new Map<string, any>()\n\n static INSTANCE = new State()\n\n static reset() {\n State.INSTANCE = new State()\n }\n}\n\nexport abstract class StateStorage<T> {\n // TODO learn how to define single instance for all subclasses\n\n protected constructor() {\n //\n }\n\n abstract initValue(): T\n\n key(): string {\n return this.constructor.name\n }\n\n getOrRegister(): T {\n let metricState: T = State.INSTANCE.stateMap.get(this.key())\n if (!metricState) {\n metricState = this.initValue()\n State.INSTANCE.stateMap.set(this.key(), metricState)\n }\n return metricState\n }\n\n unregister(): T {\n const value = State.INSTANCE.stateMap.get(this.key())\n State.INSTANCE.stateMap.delete(this.key())\n return value\n }\n}\n\nexport abstract class MapStateStorage<T> extends StateStorage<Map<string, T>> {\n initValue() {\n return new Map<string, T>()\n }\n\n getValue(key: string): T | undefined {\n const m = this.getOrRegister()\n return m.get(key)\n }\n\n getValues(): T[] {\n const m = this.getOrRegister()\n return Array.from(m.values())\n }\n\n getOrSetValue(key: string, value: T): T {\n const m = this.getOrRegister()\n const oldValue = m.get(key)\n if (oldValue) {\n if (oldValue !== value) {\n console.warn(key, 'has been registered twice, use the previous one')\n }\n return oldValue\n }\n m.set(key, value)\n return value\n }\n}\n\nexport abstract class ListStateStorage<T> extends StateStorage<T[]> {\n initValue() {\n return []\n }\n\n getValues(): T[] {\n return this.getOrRegister()\n }\n\n addValue(value: T): T {\n const m = this.getOrRegister()\n m.push(value)\n return value\n }\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export interface ChainConfig {\n ChainID: string\n Https?: string[]\n ChainServer?: string\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export * from './plugin.js'\nexport * from './state.js'\nexport * from './utils.js'\nexport * from './endpoints.js'\nexport * from './chain-config.js'\nexport * from './service.js'\nexport { GLOBAL_CONFIG, type GlobalConfig } from './global-config.js'\nexport * from './db-context.js'\nexport * from './provider.js'\nexport * from './metrics.js'\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));"],"mappings":"
|
1
|
+
{"version":3,"sources":["../src/state.ts","../src/chain-config.ts","../src/index.ts"],"sourcesContent":["export class State {\n stateMap = new Map<string, any>()\n\n static INSTANCE = new State()\n\n static reset() {\n State.INSTANCE = new State()\n }\n}\n\nexport abstract class StateStorage<T> {\n // TODO learn how to define single instance for all subclasses\n\n protected constructor() {\n //\n }\n\n abstract initValue(): T\n\n key(): string {\n return this.constructor.name\n }\n\n getOrRegister(): T {\n let metricState: T = State.INSTANCE.stateMap.get(this.key())\n if (!metricState) {\n metricState = this.initValue()\n State.INSTANCE.stateMap.set(this.key(), metricState)\n }\n return metricState\n }\n\n unregister(): T {\n const value = State.INSTANCE.stateMap.get(this.key())\n State.INSTANCE.stateMap.delete(this.key())\n return value\n }\n}\n\nexport abstract class MapStateStorage<T> extends StateStorage<Map<string, T>> {\n initValue() {\n return new Map<string, T>()\n }\n\n getValue(key: string): T | undefined {\n const m = this.getOrRegister()\n return m.get(key)\n }\n\n getValues(): T[] {\n const m = this.getOrRegister()\n return Array.from(m.values())\n }\n\n getOrSetValue(key: string, value: T): T {\n const m = this.getOrRegister()\n const oldValue = m.get(key)\n if (oldValue) {\n if (oldValue !== value) {\n console.warn(key, 'has been registered twice, use the previous one')\n }\n return oldValue\n }\n m.set(key, value)\n return value\n }\n}\n\nexport abstract class ListStateStorage<T> extends StateStorage<T[]> {\n initValue() {\n return []\n }\n\n getValues(): T[] {\n return this.getOrRegister()\n }\n\n addValue(value: T): T {\n const m = this.getOrRegister()\n m.push(value)\n return value\n }\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export interface ChainConfig {\n ChainID: string\n Https?: string[]\n ChainServer?: string\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export * from './plugin.js'\nexport * from './state.js'\nexport * from './utils.js'\nexport * from './endpoints.js'\nexport * from './chain-config.js'\nexport * from './service.js'\nexport { GLOBAL_CONFIG, type GlobalConfig } from './global-config.js'\nexport * from './db-context.js'\nexport * from './provider.js'\nexport * from './metrics.js'\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAM,QAAN,MAAM,OAAM;AAAA,EACjB,WAAW,oBAAI,IAAiB;AAAA,EAEhC,OAAO,WAAW,IAAI,OAAM;AAAA,EAE5B,OAAO,QAAQ;AACb,WAAM,WAAW,IAAI,OAAM;AAAA,EAC7B;AACF;AAEO,IAAe,eAAf,MAA+B;AAAA;AAAA,EAG1B,cAAc;AAAA,EAExB;AAAA,EAIA,MAAc;AACZ,WAAO,KAAK,YAAY;AAAA,EAC1B;AAAA,EAEA,gBAAmB;AACjB,QAAI,cAAiB,MAAM,SAAS,SAAS,IAAI,KAAK,IAAI,CAAC;AAC3D,QAAI,CAAC,aAAa;AAChB,oBAAc,KAAK,UAAU;AAC7B,YAAM,SAAS,SAAS,IAAI,KAAK,IAAI,GAAG,WAAW;AAAA,IACrD;AACA,WAAO;AAAA,EACT;AAAA,EAEA,aAAgB;AACd,UAAM,QAAQ,MAAM,SAAS,SAAS,IAAI,KAAK,IAAI,CAAC;AACpD,UAAM,SAAS,SAAS,OAAO,KAAK,IAAI,CAAC;AACzC,WAAO;AAAA,EACT;AACF;AAEO,IAAe,kBAAf,cAA0C,aAA6B;AAAA,EAC5E,YAAY;AACV,WAAO,oBAAI,IAAe;AAAA,EAC5B;AAAA,EAEA,SAAS,KAA4B;AACnC,UAAM,IAAI,KAAK,cAAc;AAC7B,WAAO,EAAE,IAAI,GAAG;AAAA,EAClB;AAAA,EAEA,YAAiB;AACf,UAAM,IAAI,KAAK,cAAc;AAC7B,WAAO,MAAM,KAAK,EAAE,OAAO,CAAC;AAAA,EAC9B;AAAA,EAEA,cAAc,KAAa,OAAa;AACtC,UAAM,IAAI,KAAK,cAAc;AAC7B,UAAM,WAAW,EAAE,IAAI,GAAG;AAC1B,QAAI,UAAU;AACZ,UAAI,aAAa,OAAO;AACtB,gBAAQ,KAAK,KAAK,iDAAiD;AAAA,MACrE;AACA,aAAO;AAAA,IACT;AACA,MAAE,IAAI,KAAK,KAAK;AAChB,WAAO;AAAA,EACT;AACF;AAEO,IAAe,mBAAf,cAA2C,aAAkB;AAAA,EAClE,YAAY;AACV,WAAO,CAAC;AAAA,EACV;AAAA,EAEA,YAAiB;AACf,WAAO,KAAK,cAAc;AAAA,EAC5B;AAAA,EAEA,SAAS,OAAa;AACpB,UAAM,IAAI,KAAK,cAAc;AAC7B,MAAE,KAAK,KAAK;AACZ,WAAO;AAAA,EACT;AACF;AACC,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;;;AC9ErD,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;;;ACKrD,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;","names":[]}
|