@sentio/runtime 2.59.0-rc.37 → 2.59.0-rc.39

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.
@@ -37942,17 +37942,22 @@ function mergeProcessResults(results) {
37942
37942
  function mergeProcessResultsInPlace(res, results) {
37943
37943
  res.states = res.states || StateResult.create();
37944
37944
  for (const r of results) {
37945
- res.counters.push(...r.counters);
37946
- res.gauges.push(...r.gauges);
37947
- res.events.push(...r.events);
37948
- res.exports.push(...r.exports);
37949
- res.timeseriesResult.push(...r.timeseriesResult);
37945
+ mergeArrayInPlace(res.counters, r.counters);
37946
+ mergeArrayInPlace(res.gauges, r.gauges);
37947
+ mergeArrayInPlace(res.events, r.events);
37948
+ mergeArrayInPlace(res.exports, r.exports);
37949
+ mergeArrayInPlace(res.timeseriesResult, r.timeseriesResult);
37950
37950
  res.states = {
37951
37951
  configUpdated: res.states?.configUpdated || r.states?.configUpdated || false
37952
37952
  };
37953
37953
  }
37954
37954
  return res;
37955
37955
  }
37956
+ function mergeArrayInPlace(dst, src) {
37957
+ for (const r of src) {
37958
+ dst.push(r);
37959
+ }
37960
+ }
37956
37961
  function errorString(e) {
37957
37962
  return e.message + "\n" + e.stack;
37958
37963
  }
@@ -59861,4 +59866,4 @@ long/umd/index.js:
59861
59866
  @noble/curves/esm/secp256k1.js:
59862
59867
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
59863
59868
  */
59864
- //# sourceMappingURL=chunk-NVQB62KF.js.map
59869
+ //# sourceMappingURL=chunk-C4IDZGJI.js.map