@sentio/runtime 4.1.0-rc.3 → 4.2.0-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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { a as diag, c as init_consoleLogger, d as __commonJSMin, f as __esmMin, g as __toESM, h as __toCommonJS, i as metrics, l as DiagLogLevel, m as __require, n as init_esm$2, o as init_diag_api, p as __exportAll, r as init_metrics_api, s as DiagConsoleLogger, t as esm_exports$2, u as init_types$1 } from "./esm-CSGQo6hb.js";
3
- import { B as protoCamelCase, C as hasCustomJsonRepresentation, D as BinaryReader, E as formatVal, F as base64Decode, I as base64Encode, L as scalarZeroValue, M as isFieldError, N as MethodOptions_IdempotencyLevel, O as BinaryWriter, P as messageDesc, R as ScalarType, S as create, T as checkField, V as protoSnakeCase, a as ExecutionConfigSchema, b as readField$1, g as ValueSchema, h as StructSchema, j as FieldError, k as WireType, m as NullValue, n as PluginManager, p as ListValueSchema, s as ProcessConfigResponseSchema, u as ProcessorV3, v as fileDesc, w as isWrapperDesc, x as reflect, y as fromBinary, z as protoInt64 } from "./plugin-NqpYCcqz.js";
4
- import { _ as require_lib, d as ConnectError, f as codeFromString, g as configureEndpoints, m as Code, n as GLOBAL_CONFIG, p as codeToString, t as ProcessorServiceImplV3, x as locatePackageJson } from "./service-v3-B2UX7ZyD.js";
3
+ import { B as protoCamelCase, C as hasCustomJsonRepresentation, D as BinaryReader, E as formatVal, F as base64Decode, I as base64Encode, L as scalarZeroValue, M as isFieldError, N as MethodOptions_IdempotencyLevel, O as BinaryWriter, P as messageDesc, R as ScalarType, S as create, T as checkField, V as protoSnakeCase, a as ExecutionConfigSchema, b as readField$1, g as ValueSchema, h as StructSchema, j as FieldError, k as WireType, m as NullValue, n as PluginManager, p as ListValueSchema, s as ProcessConfigResponseSchema, u as ProcessorV3, v as fileDesc, w as isWrapperDesc, x as reflect, y as fromBinary, z as protoInt64 } from "./plugin-CteRSWq4.js";
4
+ import { _ as require_lib, d as ConnectError, f as codeFromString, g as configureEndpoints, m as Code, n as GLOBAL_CONFIG, p as codeToString, t as ProcessorServiceImplV3, x as locatePackageJson } from "./service-v3-fWCR8MDp.js";
5
5
  import * as path$4 from "path";
6
6
  import { dirname, join } from "path";
7
7
  import * as fs$7 from "fs";
@@ -1,5 +1,5 @@
1
1
  import { d as __commonJSMin, g as __toESM, i as metrics, m as __require, n as init_esm, r as init_metrics_api } from "./esm-CSGQo6hb.js";
2
- import { A as isReflectMessage, R as ScalarType, S as create, _ as EmptySchema, c as ProcessResultSchema, d as RuntimeInfoSchema, f as StateResultSchema, i as DBResponseSchema, n as PluginManager, o as HandlerType, s as ProcessConfigResponseSchema, x as reflect, y as fromBinary } from "./plugin-NqpYCcqz.js";
2
+ import { A as isReflectMessage, R as ScalarType, S as create, _ as EmptySchema, c as ProcessResultSchema, d as RuntimeInfoSchema, f as StateResultSchema, i as DBResponseSchema, n as PluginManager, o as HandlerType, s as ProcessConfigResponseSchema, x as reflect, y as fromBinary } from "./plugin-CteRSWq4.js";
3
3
  import { AsyncLocalStorage } from "node:async_hooks";
4
4
  import { createRequire } from "module";
5
5
  import path from "path";
@@ -54,7 +54,7 @@ function mergeProcessResultsInPlace(res, results) {
54
54
  for (const r of results) {
55
55
  res.exports = mergeArrayInPlace(res.exports, r.exports);
56
56
  res.timeseriesResult = mergeArrayInPlace(res.timeseriesResult, r.timeseriesResult);
57
- res.states = create(StateResultSchema, { configUpdated: res.states?.configUpdated || r.states?.configUpdated || false });
57
+ res.states = create(StateResultSchema, { error: res.states?.error ?? r.states?.error });
58
58
  }
59
59
  return res;
60
60
  }
@@ -12227,4 +12227,4 @@ var Contexts = class {
12227
12227
 
12228
12228
  //#endregion
12229
12229
  export { mergeProcessResults as C, recordRuntimeInfo as E, makeEthCallKey as S, parseSemver as T, require_lib as _, StoreContext as a, errorString as b, metricsStorage as c, ConnectError as d, codeFromString as f, configureEndpoints as g, Endpoints as h, DataBindingContext as i, processMetrics as l, Code as m, GLOBAL_CONFIG as n, timeoutError as o, codeToString as p, AbstractStoreContext as r, dbMetrics as s, ProcessorServiceImplV3 as t, providerMetrics as u, USER_PROCESSOR as v, mergeProcessResultsInPlace as w, locatePackageJson as x, compareSemver as y };
12230
- //# sourceMappingURL=service-v3-B2UX7ZyD.js.map
12230
+ //# sourceMappingURL=service-v3-fWCR8MDp.js.map