@sentio/runtime 2.59.0-rc.34 → 2.59.0-rc.36
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-QWKQ7U4H.js → chunk-OS67OWYG.js} +11 -6
- package/lib/{chunk-QWKQ7U4H.js.map → chunk-OS67OWYG.js.map} +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/processor-runner.js +1 -1
- package/lib/service-worker.js +1 -1
- package/package.json +1 -1
- package/src/utils.ts +12 -5
@@ -37937,12 +37937,16 @@ function mergeProcessResults(results) {
|
|
37937
37937
|
...ProcessResult2.create(),
|
37938
37938
|
states: StateResult.create()
|
37939
37939
|
};
|
37940
|
+
return mergeProcessResultsInPlace(res, results);
|
37941
|
+
}
|
37942
|
+
function mergeProcessResultsInPlace(res, results) {
|
37943
|
+
res.states = res.states || StateResult.create();
|
37940
37944
|
for (const r of results) {
|
37941
|
-
res.counters
|
37942
|
-
res.gauges
|
37943
|
-
res.events
|
37944
|
-
res.exports
|
37945
|
-
res.timeseriesResult
|
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);
|
37946
37950
|
res.states = {
|
37947
37951
|
configUpdated: res.states?.configUpdated || r.states?.configUpdated || false
|
37948
37952
|
};
|
@@ -59720,6 +59724,7 @@ import("node:process").then((p) => p.stdout.write(""));
|
|
59720
59724
|
|
59721
59725
|
export {
|
59722
59726
|
mergeProcessResults,
|
59727
|
+
mergeProcessResultsInPlace,
|
59723
59728
|
errorString,
|
59724
59729
|
USER_PROCESSOR,
|
59725
59730
|
makeEthCallKey,
|
@@ -59855,4 +59860,4 @@ long/umd/index.js:
|
|
59855
59860
|
@noble/curves/esm/secp256k1.js:
|
59856
59861
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
59857
59862
|
*/
|
59858
|
-
//# sourceMappingURL=chunk-
|
59863
|
+
//# sourceMappingURL=chunk-OS67OWYG.js.map
|