@sentio/runtime 2.62.0-rc.9 → 2.62.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/lib/chunk-3A7UBKPA.js +26 -0
- package/lib/chunk-3A7UBKPA.js.map +1 -0
- package/lib/chunk-AUPVVLD3.js +3 -0
- package/lib/chunk-CJDESLYQ.js +3 -0
- package/lib/{chunk-L2A6JPIQ.js.map → chunk-CJDESLYQ.js.map} +1 -1
- package/lib/chunk-G6HW3DCN.js +3 -0
- package/lib/{chunk-W3VN25ER.js.map → chunk-G6HW3DCN.js.map} +1 -1
- package/lib/chunk-QPZM6M6S.js +117 -0
- package/lib/{chunk-AHIIUVQL.js.map → chunk-QPZM6M6S.js.map} +1 -1
- package/lib/chunk-WHWNPZZ3.js +3 -0
- package/lib/{chunk-6XHWJ2VS.js.map → chunk-WHWNPZZ3.js.map} +1 -1
- package/lib/chunk-XI22N6AJ.js +38 -0
- package/lib/{chunk-PCB4OKW7.js.map → chunk-XI22N6AJ.js.map} +1 -1
- package/lib/getMachineId-bsd-I6PJXCQT.js +3 -0
- package/lib/{getMachineId-bsd-WJ6BLVOD.js.map → getMachineId-bsd-I6PJXCQT.js.map} +1 -1
- package/lib/getMachineId-darwin-HKHV3WMW.js +4 -0
- package/lib/{getMachineId-darwin-TW74DVT5.js.map → getMachineId-darwin-HKHV3WMW.js.map} +1 -1
- package/lib/getMachineId-linux-I76A7IOE.js +3 -0
- package/lib/{getMachineId-linux-MDJOKOMI.js.map → getMachineId-linux-I76A7IOE.js.map} +1 -1
- package/lib/getMachineId-unsupported-VPOZWIZS.js +3 -0
- package/lib/{getMachineId-unsupported-X2EJZ25K.js.map → getMachineId-unsupported-VPOZWIZS.js.map} +1 -1
- package/lib/getMachineId-win-W5S4EK74.js +3 -0
- package/lib/{getMachineId-win-VE7DMTAF.js.map → getMachineId-win-W5S4EK74.js.map} +1 -1
- package/lib/index.d.ts +182 -88
- package/lib/index.js +1 -76
- package/lib/index.js.map +1 -1
- package/lib/{processor-HNY62jHs.d.ts → processor-CIR4erWa.d.ts} +0 -32
- package/lib/processor-runner.js +47 -24626
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +2 -132
- package/lib/service-worker.js.map +1 -1
- package/lib/test-processor.test.d.ts +1 -1
- package/lib/test-processor.test.js.map +1 -1
- package/package.json +1 -1
- package/src/gen/processor/protos/processor.ts +83 -1217
- package/src/gen/service/common/protos/common.ts +13 -552
- package/src/otlp.ts +9 -34
- package/src/processor-runner.ts +2 -4
- package/src/service-v3.ts +3 -6
- package/lib/chunk-6XHWJ2VS.js +0 -92
- package/lib/chunk-AHIIUVQL.js +0 -59783
- package/lib/chunk-I5YHR3CE.js +0 -27642
- package/lib/chunk-I5YHR3CE.js.map +0 -1
- package/lib/chunk-KVSDPGUI.js +0 -50
- package/lib/chunk-L2A6JPIQ.js +0 -21
- package/lib/chunk-PCB4OKW7.js +0 -10975
- package/lib/chunk-W3VN25ER.js +0 -1703
- package/lib/getMachineId-bsd-WJ6BLVOD.js +0 -41
- package/lib/getMachineId-darwin-TW74DVT5.js +0 -41
- package/lib/getMachineId-linux-MDJOKOMI.js +0 -33
- package/lib/getMachineId-unsupported-X2EJZ25K.js +0 -24
- package/lib/getMachineId-win-VE7DMTAF.js +0 -43
- /package/lib/{chunk-KVSDPGUI.js.map → chunk-AUPVVLD3.js.map} +0 -0
package/lib/index.js
CHANGED
@@ -1,78 +1,3 @@
|
|
1
1
|
import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
|
2
|
-
import {
|
3
|
-
ListStateStorage,
|
4
|
-
MapStateStorage,
|
5
|
-
State,
|
6
|
-
StateStorage,
|
7
|
-
TemplateInstanceState
|
8
|
-
} from "./chunk-6XHWJ2VS.js";
|
9
|
-
import {
|
10
|
-
AbstractStoreContext,
|
11
|
-
DataBindingContext,
|
12
|
-
DummyProvider,
|
13
|
-
Endpoints,
|
14
|
-
GLOBAL_CONFIG,
|
15
|
-
ProcessorServiceImpl,
|
16
|
-
QueuedStaticJsonRpcProvider,
|
17
|
-
StoreContext,
|
18
|
-
USER_PROCESSOR,
|
19
|
-
compareSemver,
|
20
|
-
configureEndpoints,
|
21
|
-
dbMetrics,
|
22
|
-
errorString,
|
23
|
-
getProvider,
|
24
|
-
makeEthCallKey,
|
25
|
-
mergeProcessResults,
|
26
|
-
mergeProcessResultsInPlace,
|
27
|
-
metricsStorage,
|
28
|
-
parseSemver,
|
29
|
-
processMetrics,
|
30
|
-
providerMetrics,
|
31
|
-
recordRuntimeInfo,
|
32
|
-
timeoutError
|
33
|
-
} from "./chunk-AHIIUVQL.js";
|
34
|
-
import {
|
35
|
-
Plugin,
|
36
|
-
PluginManager
|
37
|
-
} from "./chunk-I5YHR3CE.js";
|
38
|
-
import "./chunk-W3VN25ER.js";
|
39
|
-
import "./chunk-KVSDPGUI.js";
|
40
|
-
|
41
|
-
// src/chain-config.ts
|
42
|
-
import("node:process").then((p) => p.stdout.write(""));
|
43
|
-
|
44
|
-
// src/index.ts
|
45
|
-
import("node:process").then((p) => p.stdout.write(""));
|
46
|
-
export {
|
47
|
-
AbstractStoreContext,
|
48
|
-
DataBindingContext,
|
49
|
-
DummyProvider,
|
50
|
-
Endpoints,
|
51
|
-
GLOBAL_CONFIG,
|
52
|
-
ListStateStorage,
|
53
|
-
MapStateStorage,
|
54
|
-
Plugin,
|
55
|
-
PluginManager,
|
56
|
-
ProcessorServiceImpl,
|
57
|
-
QueuedStaticJsonRpcProvider,
|
58
|
-
State,
|
59
|
-
StateStorage,
|
60
|
-
StoreContext,
|
61
|
-
TemplateInstanceState,
|
62
|
-
USER_PROCESSOR,
|
63
|
-
compareSemver,
|
64
|
-
configureEndpoints,
|
65
|
-
dbMetrics,
|
66
|
-
errorString,
|
67
|
-
getProvider,
|
68
|
-
makeEthCallKey,
|
69
|
-
mergeProcessResults,
|
70
|
-
mergeProcessResultsInPlace,
|
71
|
-
metricsStorage,
|
72
|
-
parseSemver,
|
73
|
-
processMetrics,
|
74
|
-
providerMetrics,
|
75
|
-
recordRuntimeInfo,
|
76
|
-
timeoutError
|
77
|
-
};
|
2
|
+
import{a as p,b as f,c as i,d as m,e as n}from"./chunk-WHWNPZZ3.js";import{A as c,B as v,E as y,F as A,G as B,H as D,I as F,a as x,b as s,c as C,d as a,e as g,f as h,g as G,i as d,j as l,s as o,u,v as w,w as I,x as L,y as O,z as b}from"./chunk-QPZM6M6S.js";import{p as t,q as e}from"./chunk-3A7UBKPA.js";import"./chunk-G6HW3DCN.js";import"./chunk-AUPVVLD3.js";import("node:process").then(r=>r.stdout.write(""));import("node:process").then(r=>r.stdout.write(""));export{b as AbstractStoreContext,v as DataBindingContext,y as DummyProvider,d as Endpoints,o as GLOBAL_CONFIG,m as ListStateStorage,i as MapStateStorage,t as Plugin,e as PluginManager,D as ProcessorServiceImpl,B as QueuedStaticJsonRpcProvider,p as State,f as StateStorage,c as StoreContext,n as TemplateInstanceState,a as USER_PROCESSOR,G as compareSemver,l as configureEndpoints,u as dbMetrics,C as errorString,A as getProvider,g as makeEthCallKey,x as mergeProcessResults,s as mergeProcessResultsInPlace,L as metricsStorage,h as parseSemver,I as processMetrics,w as providerMetrics,F as recordRuntimeInfo,O as timeoutError};
|
78
3
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/chain-config.ts","../src/index.ts"],"sourcesContent":["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/chain-config.ts","../src/index.ts"],"sourcesContent":["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":";wWAKC,OAAO,cAAc,EAAE,KAAMA,GAAMA,EAAE,OAAO,MAAM,EAAE,CAAC,ECKrD,OAAO,cAAc,EAAE,KAAMC,GAAMA,EAAE,OAAO,MAAM,EAAE,CAAC","names":["p","p"]}
|
@@ -279,8 +279,6 @@ declare enum HandlerType {
|
|
279
279
|
FUEL_BLOCK = 17,
|
280
280
|
COSMOS_CALL = 14,
|
281
281
|
STARKNET_EVENT = 15,
|
282
|
-
BTC_TRANSACTION = 16,
|
283
|
-
BTC_BLOCK = 18,
|
284
282
|
UNRECOGNIZED = -1
|
285
283
|
}
|
286
284
|
declare enum LogLevel {
|
@@ -352,8 +350,6 @@ interface Data {
|
|
352
350
|
fuelBlock?: Data_FuelBlock | undefined;
|
353
351
|
cosmosCall?: Data_CosmosCall | undefined;
|
354
352
|
starknetEvents?: Data_StarknetEvent | undefined;
|
355
|
-
btcTransaction?: Data_BTCTransaction | undefined;
|
356
|
-
btcBlock?: Data_BTCBlock | undefined;
|
357
353
|
}
|
358
354
|
declare const Data: {
|
359
355
|
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
@@ -683,34 +679,6 @@ declare const Data_StarknetEvent: {
|
|
683
679
|
create(base?: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
684
680
|
fromPartial(object: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
685
681
|
};
|
686
|
-
interface Data_BTCTransaction {
|
687
|
-
transaction: {
|
688
|
-
[key: string]: any;
|
689
|
-
} | undefined;
|
690
|
-
timestamp: Date | undefined;
|
691
|
-
}
|
692
|
-
declare const Data_BTCTransaction: {
|
693
|
-
encode(message: Data_BTCTransaction, writer?: _m0.Writer): _m0.Writer;
|
694
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_BTCTransaction;
|
695
|
-
fromJSON(object: any): Data_BTCTransaction;
|
696
|
-
toJSON(message: Data_BTCTransaction): unknown;
|
697
|
-
create(base?: DeepPartial<Data_BTCTransaction>): Data_BTCTransaction;
|
698
|
-
fromPartial(object: DeepPartial<Data_BTCTransaction>): Data_BTCTransaction;
|
699
|
-
};
|
700
|
-
interface Data_BTCBlock {
|
701
|
-
block: {
|
702
|
-
[key: string]: any;
|
703
|
-
} | undefined;
|
704
|
-
timestamp: Date | undefined;
|
705
|
-
}
|
706
|
-
declare const Data_BTCBlock: {
|
707
|
-
encode(message: Data_BTCBlock, writer?: _m0.Writer): _m0.Writer;
|
708
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_BTCBlock;
|
709
|
-
fromJSON(object: any): Data_BTCBlock;
|
710
|
-
toJSON(message: Data_BTCBlock): unknown;
|
711
|
-
create(base?: DeepPartial<Data_BTCBlock>): Data_BTCBlock;
|
712
|
-
fromPartial(object: DeepPartial<Data_BTCBlock>): Data_BTCBlock;
|
713
|
-
};
|
714
682
|
interface DataBinding {
|
715
683
|
data: Data | undefined;
|
716
684
|
handlerType: HandlerType;
|