@sentio/runtime 4.1.0-rc.1 → 4.1.0-rc.2

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as IDataBindingContext, c as timeoutError, i as DataBindingContext, n as PluginManager, o as IStoreContext, r as AbstractStoreContext, s as StoreContext, t as Plugin } from "./plugin-BrBSx4KR.js";
1
+ import { a as IDataBindingContext, c as timeoutError, i as DataBindingContext, n as PluginManager, o as IStoreContext, r as AbstractStoreContext, s as StoreContext, t as Plugin } from "./plugin-DnkcGTkw.js";
2
2
  import { AsyncLocalStorage } from "node:async_hooks";
3
3
  import { DataBinding, EthCallParam, ExecutionConfigSchema, HandlerType, ProcessConfigRequest, ProcessResult, ProcessStreamRequest, ProcessStreamResponseV3Schema, ProcessorV3, StartRequest, UpdateTemplatesRequest } from "@sentio/protos";
4
4
  import { Subject } from "rxjs";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as PluginManager, t as Plugin } from "./plugin-5pzA6X1w.js";
2
- import { C as mergeProcessResults, E as recordRuntimeInfo, S as makeEthCallKey, T as parseSemver, a as StoreContext, b as errorString, c as metricsStorage, g as configureEndpoints, h as Endpoints, i as DataBindingContext, l as processMetrics, n as GLOBAL_CONFIG, o as timeoutError, r as AbstractStoreContext, s as dbMetrics, t as ProcessorServiceImplV3, u as providerMetrics, v as USER_PROCESSOR, w as mergeProcessResultsInPlace, x as locatePackageJson, y as compareSemver } from "./service-v3-DtHrTW9o.js";
1
+ import { n as PluginManager, t as Plugin } from "./plugin-CT4pDRpS.js";
2
+ import { C as mergeProcessResults, E as recordRuntimeInfo, S as makeEthCallKey, T as parseSemver, a as StoreContext, b as errorString, c as metricsStorage, g as configureEndpoints, h as Endpoints, i as DataBindingContext, l as processMetrics, n as GLOBAL_CONFIG, o as timeoutError, r as AbstractStoreContext, s as dbMetrics, t as ProcessorServiceImplV3, u as providerMetrics, v as USER_PROCESSOR, w as mergeProcessResultsInPlace, x as locatePackageJson, y as compareSemver } from "./service-v3-BpwaUIVx.js";
3
3
 
4
4
  //#region src/state.ts
5
5
  var State = class State {
@@ -6845,12 +6845,6 @@ var Plugin = class {
6845
6845
  supportedHandlers = [];
6846
6846
  async configure(config, forChainId) {}
6847
6847
  async start(start) {}
6848
- /**
6849
- * @deprecated The method should not be used, use ctx.states instead
6850
- */
6851
- stateDiff(config) {
6852
- return false;
6853
- }
6854
6848
  async processBinding(request, preparedData) {
6855
6849
  return create(ProcessResultSchema);
6856
6850
  }
@@ -6902,12 +6896,6 @@ var PluginManager = class PluginManager {
6902
6896
  shutdown() {
6903
6897
  this.plugins.forEach((plugin) => plugin.shutdownServer());
6904
6898
  }
6905
- /**
6906
- * @deprecated The method should not be used, use ctx.states instead
6907
- */
6908
- stateDiff(config) {
6909
- return this.plugins.some((plugin) => plugin.stateDiff(config));
6910
- }
6911
6899
  processBinding(request, preparedData, dbContext) {
6912
6900
  const plugin = this.typesToPlugin.get(request.handlerType);
6913
6901
  if (!plugin) throw new Error(`No plugin for ${request.handlerType}`);
@@ -6934,4 +6922,4 @@ var PluginManager = class PluginManager {
6934
6922
 
6935
6923
  //#endregion
6936
6924
  export { isReflectMessage as A, protoCamelCase as B, hasCustomJsonRepresentation as C, BinaryReader as D, formatVal as E, base64Decode as F, base64Encode as I, scalarZeroValue as L, isFieldError as M, MethodOptions_IdempotencyLevel as N, BinaryWriter as O, messageDesc as P, ScalarType as R, create as S, checkField as T, protoSnakeCase as V, EmptySchema as _, ExecutionConfigSchema as a, readField as b, ProcessResultSchema as c, RuntimeInfoSchema as d, StateResultSchema as f, ValueSchema as g, StructSchema as h, DBResponseSchema as i, FieldError as j, WireType as k, ProcessStreamResponse_PartitionsSchema as l, NullValue as m, PluginManager as n, HandlerType as o, ListValueSchema as p, AccountConfigSchema as r, ProcessConfigResponseSchema as s, Plugin as t, ProcessorV3 as u, fileDesc as v, isWrapperDesc as w, reflect as x, fromBinary as y, protoInt64 as z };
6937
- //# sourceMappingURL=plugin-5pzA6X1w.js.map
6925
+ //# sourceMappingURL=plugin-CT4pDRpS.js.map