@sentio/runtime 2.57.9-rc.11 → 2.57.9-rc.13
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-2VEXZO35.js → chunk-TTE5MQNI.js} +13 -13
- package/lib/{chunk-2VEXZO35.js.map → chunk-TTE5MQNI.js.map} +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/processor-runner.js +27 -27
- package/lib/processor-runner.js.map +1 -1
- package/package.json +1 -1
- package/src/full-service.ts +21 -0
- package/src/gen/processor/protos/processor.ts +157 -1
- package/src/service.ts +0 -1
package/lib/index.d.ts
CHANGED
@@ -484,6 +484,7 @@ interface ExecutionConfig_DecoderWorkerConfig {
|
|
484
484
|
enabled: boolean;
|
485
485
|
workerCount?: number | undefined;
|
486
486
|
skipWhenDecodeFailed?: boolean | undefined;
|
487
|
+
recordTiming?: boolean | undefined;
|
487
488
|
}
|
488
489
|
declare const ExecutionConfig_DecoderWorkerConfig: {
|
489
490
|
encode(message: ExecutionConfig_DecoderWorkerConfig, writer?: _m0.Writer): _m0.Writer;
|
package/lib/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
|
2
|
-
import{$ as O,A as p,X as N,Y as C,Z as V,_ as w,aa as A,ca as I,da as M,ea as b,fa as y,i as u,j as c,m as T,n as m,o as h,p as l,q as f,r as x,s as d}from"./chunk-
|
2
|
+
import{$ as O,A as p,X as N,Y as C,Z as V,_ as w,aa as A,ca as I,da as M,ea as b,fa as y,i as u,j as c,m as T,n as m,o as h,p as l,q as f,r as x,s as d}from"./chunk-TTE5MQNI.js";var r=class e{stateMap=new Map;static INSTANCE=new e;static reset(){e.INSTANCE=new e}},i=class{constructor(){}key(){return this.constructor.name}getOrRegister(){let t=r.INSTANCE.stateMap.get(this.key());return t||(t=this.initValue(),r.INSTANCE.stateMap.set(this.key(),t)),t}unregister(){let t=r.INSTANCE.stateMap.get(this.key());return r.INSTANCE.stateMap.delete(this.key()),t}},a=class extends i{initValue(){return new Map}getValue(t){return this.getOrRegister().get(t)}getValues(){let t=this.getOrRegister();return Array.from(t.values())}getOrSetValue(t,s){let o=this.getOrRegister(),n=o.get(t);return n?(n!==s&&console.warn(t,"has been registered twice, use the previous one"),n):(o.set(t,s),s)}},g=class extends i{initValue(){return[]}getValues(){return this.getOrRegister()}addValue(t){return this.getOrRegister().push(t),t}};import("node:process").then(e=>e.stdout.write(""));import("node:process").then(e=>e.stdout.write(""));import("node:process").then(e=>e.stdout.write(""));export{I as DummyProvider,d as Endpoints,p as GLOBAL_CONFIG,g as ListStateStorage,a as MapStateStorage,u as Plugin,c as PluginManager,y as ProcessorServiceImpl,b as QueuedStaticJsonRpcProvider,r as State,i as StateStorage,A as StoreContext,h as USER_PROCESSOR,x as compareSemver,N as dbMetrics,m as errorString,M as getProvider,l as makeEthCallKey,T as mergeProcessResults,w as metricsStorage,f as parseSemver,V as processMetrics,C as providerMetrics,O as timeoutError};
|
3
3
|
//# sourceMappingURL=index.js.map
|