@sentio/runtime 2.59.5-rc.1 → 2.60.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/lib/{chunk-L7MQIWIO.js → chunk-7JPTCCHQ.js} +32 -2
- package/lib/{chunk-L7MQIWIO.js.map → chunk-7JPTCCHQ.js.map} +1 -1
- package/lib/{chunk-LCS6SRJY.js → chunk-AQYRWO7H.js} +13 -4
- package/lib/chunk-AQYRWO7H.js.map +1 -0
- package/lib/{chunk-U5UZYRQ4.js → chunk-RJMWLF3Q.js} +2 -2
- package/lib/index.d.ts +22 -4
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/processor-runner.js +3 -3
- package/lib/service-worker.js +3 -3
- package/package.json +1 -1
- package/src/db-context.ts +43 -1
- package/src/gen/processor/protos/processor.ts +506 -0
- package/src/gen/service/common/protos/common.ts +195 -0
- package/src/plugin.ts +14 -3
- package/src/service-v2.ts +207 -0
- package/lib/chunk-LCS6SRJY.js.map +0 -1
- /package/lib/{chunk-U5UZYRQ4.js.map → chunk-RJMWLF3Q.js.map} +0 -0
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
require_roots,
|
22
22
|
require_rpc,
|
23
23
|
require_writer
|
24
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-AQYRWO7H.js";
|
25
25
|
|
26
26
|
// ../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
|
27
27
|
var require_universalify = __commonJS({
|
@@ -38464,6 +38464,35 @@ var StoreContext = class extends AbstractStoreContext {
|
|
38464
38464
|
});
|
38465
38465
|
}
|
38466
38466
|
};
|
38467
|
+
var DataBindingContext = class extends AbstractStoreContext {
|
38468
|
+
constructor(processId, subject) {
|
38469
|
+
super(processId);
|
38470
|
+
this.processId = processId;
|
38471
|
+
this.subject = subject;
|
38472
|
+
}
|
38473
|
+
sendTemplateRequest(templates) {
|
38474
|
+
this.subject.next({
|
38475
|
+
processId: this.processId,
|
38476
|
+
tplRequest: {
|
38477
|
+
templates
|
38478
|
+
}
|
38479
|
+
});
|
38480
|
+
}
|
38481
|
+
sendTimeseriesRequest(timeseries) {
|
38482
|
+
this.subject.next({
|
38483
|
+
processId: this.processId,
|
38484
|
+
tsRequest: {
|
38485
|
+
data: timeseries
|
38486
|
+
}
|
38487
|
+
});
|
38488
|
+
}
|
38489
|
+
doSend(resp) {
|
38490
|
+
this.subject.next({
|
38491
|
+
...resp,
|
38492
|
+
processId: this.processId
|
38493
|
+
});
|
38494
|
+
}
|
38495
|
+
};
|
38467
38496
|
import("node:process").then((p) => p.stdout.write(""));
|
38468
38497
|
|
38469
38498
|
// ../../node_modules/.pnpm/@sentio+ethers@6.13.1-patch.6_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/@sentio/ethers/lib.esm/_version.js
|
@@ -59810,6 +59839,7 @@ export {
|
|
59810
59839
|
timeoutError,
|
59811
59840
|
AbstractStoreContext,
|
59812
59841
|
StoreContext,
|
59842
|
+
DataBindingContext,
|
59813
59843
|
require_cjs,
|
59814
59844
|
LRUCache,
|
59815
59845
|
DummyProvider,
|
@@ -59900,4 +59930,4 @@ long/umd/index.js:
|
|
59900
59930
|
@noble/curves/esm/secp256k1.js:
|
59901
59931
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
59902
59932
|
*/
|
59903
|
-
//# sourceMappingURL=chunk-
|
59933
|
+
//# sourceMappingURL=chunk-7JPTCCHQ.js.map
|