@sentio/runtime 2.54.0-rc.11 → 2.54.0-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-PSAWYB4F.js → chunk-TTUV7TP2.js} +15 -15
- package/lib/{chunk-PSAWYB4F.js.map → chunk-TTUV7TP2.js.map} +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/processor-runner.js +29 -29
- package/lib/processor-runner.js.map +1 -1
- package/package.json +1 -1
- package/src/full-service.ts +8 -10
- package/src/utils.ts +3 -3
package/lib/index.d.ts
CHANGED
@@ -117,7 +117,7 @@ type Semver = {
|
|
117
117
|
buildmetadata?: string;
|
118
118
|
};
|
119
119
|
declare function parseSemver(version: string): Semver;
|
120
|
-
declare function compareSemver(a:
|
120
|
+
declare function compareSemver(a: Semver, b: Semver): number;
|
121
121
|
|
122
122
|
declare class Endpoints {
|
123
123
|
static INSTANCE: Endpoints;
|
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 g,X as N,Y as C,Z as V,_ as w,aa as A,ba as I,ca as M,da as b,ea as y,i as p,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 g,X as N,Y as C,Z as V,_ as w,aa as A,ba as I,ca as M,da as b,ea as y,i as p,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-TTUV7TP2.js";var r=class e{stateMap=new Map;static INSTANCE=new e;static reset(){e.INSTANCE=new e}},n=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 n{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 i=this.getOrRegister(),o=i.get(t);return o?(console.warn(t,"has been registered twice, use the previous one"),o):(i.set(t,s),s)}},u=class extends n{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,g as GLOBAL_CONFIG,u as ListStateStorage,a as MapStateStorage,p as Plugin,c as PluginManager,y as ProcessorServiceImpl,b as QueuedStaticJsonRpcProvider,r as State,n 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
|