@sentio/runtime 2.60.2 → 2.60.3-rc.1

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StoreContext, E as ExecutionConfig } from './processor-BDXlufg5.js';
2
- export { A as AbstractStoreContext, D as DataBindingContext, b as IDataBindingContext, I as IStoreContext, P as Plugin, a as PluginManager, t as timeoutError } from './processor-BDXlufg5.js';
1
+ import { S as StoreContext, E as ExecutionConfig } from './processor-Cbun9NKJ.js';
2
+ export { A as AbstractStoreContext, D as DataBindingContext, b as IDataBindingContext, I as IStoreContext, P as Plugin, a as PluginManager, t as timeoutError } from './processor-Cbun9NKJ.js';
3
3
  import * as _sentio_protos from '@sentio/protos';
4
4
  import { TemplateInstance, ProcessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, ProcessConfigResponse, StartRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, DataBinding, PreparedData, PreprocessResult, ProcessStreamRequest, HandlerType, PreprocessStreamRequest, DeepPartial, PreprocessStreamResponse, ProcessStreamResponse } from '@sentio/protos';
5
5
  import { Required } from 'utility-types';
package/lib/index.js CHANGED
@@ -1,3 +1,76 @@
1
1
  import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import{a as p,b as f,c as i,d as m,e as n}from"./chunk-WHWNPZZ3.js";import{$ as y,R as u,S as w,T as I,U as L,V as O,W as b,X as c,Y as v,a as x,aa as A,b as s,ba as B,c as C,ca as D,d as a,da as F,e as g,f as h,g as G,i as d,j as l,t as o}from"./chunk-MW44ATDW.js";import{w as t,x as e}from"./chunk-YYEA4PFJ.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};
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-XIU7XZT7.js";
34
+ import {
35
+ Plugin,
36
+ PluginManager
37
+ } from "./chunk-J4QKUO6L.js";
38
+
39
+ // src/chain-config.ts
40
+ import("node:process").then((p) => p.stdout.write(""));
41
+
42
+ // src/index.ts
43
+ import("node:process").then((p) => p.stdout.write(""));
44
+ export {
45
+ AbstractStoreContext,
46
+ DataBindingContext,
47
+ DummyProvider,
48
+ Endpoints,
49
+ GLOBAL_CONFIG,
50
+ ListStateStorage,
51
+ MapStateStorage,
52
+ Plugin,
53
+ PluginManager,
54
+ ProcessorServiceImpl,
55
+ QueuedStaticJsonRpcProvider,
56
+ State,
57
+ StateStorage,
58
+ StoreContext,
59
+ TemplateInstanceState,
60
+ USER_PROCESSOR,
61
+ compareSemver,
62
+ configureEndpoints,
63
+ dbMetrics,
64
+ errorString,
65
+ getProvider,
66
+ makeEthCallKey,
67
+ mergeProcessResults,
68
+ mergeProcessResultsInPlace,
69
+ metricsStorage,
70
+ parseSemver,
71
+ processMetrics,
72
+ providerMetrics,
73
+ recordRuntimeInfo,
74
+ timeoutError
75
+ };
3
76
  //# 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":";yTAKC,OAAO,cAAc,EAAE,KAAMA,GAAMA,EAAE,OAAO,MAAM,EAAE,CAAC,ECKrD,OAAO,cAAc,EAAE,KAAMC,GAAMA,EAAE,OAAO,MAAM,EAAE,CAAC","names":["p","p"]}
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKC,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;;;ACKrD,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;","names":[]}
@@ -714,6 +714,7 @@ interface DataBinding {
714
714
  data: Data | undefined;
715
715
  handlerType: HandlerType;
716
716
  handlerIds: number[];
717
+ chainId: string;
717
718
  }
718
719
  declare const DataBinding: {
719
720
  encode(message: DataBinding, writer?: _m0.Writer): _m0.Writer;