@sentio/runtime 2.59.0-rc.27 → 2.59.0-rc.29
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-ZYJXCGEJ.js → chunk-CPLWSUD7.js} +2 -2
- package/lib/{chunk-HMNYJB5K.js → chunk-FO2V2K7T.js} +9 -1
- package/lib/chunk-FO2V2K7T.js.map +1 -0
- package/lib/{chunk-MKMFMWQ4.js → chunk-X2VTMTYL.js} +7 -8
- package/lib/{chunk-MKMFMWQ4.js.map → chunk-X2VTMTYL.js.map} +1 -1
- package/lib/index.d.ts +443 -19
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/processor-runner.js +8 -7
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +3 -3
- package/package.json +1 -1
- package/src/gen/processor/protos/processor.ts +26 -6
- package/src/gen/service/common/protos/common.ts +189 -0
- package/src/index.ts +7 -0
- package/src/service-manager.ts +5 -4
- package/src/service.ts +6 -6
- package/lib/chunk-HMNYJB5K.js.map +0 -1
- /package/lib/{chunk-ZYJXCGEJ.js.map → chunk-CPLWSUD7.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-FO2V2K7T.js";
|
25
25
|
|
26
26
|
// ../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
|
27
27
|
var require_universalify = __commonJS({
|
@@ -59631,7 +59631,6 @@ var ProcessorServiceImpl = class {
|
|
59631
59631
|
let lastBinding = void 0;
|
59632
59632
|
for await (const request of requests) {
|
59633
59633
|
try {
|
59634
|
-
console.log("received request:", request, "lastBinding:", lastBinding);
|
59635
59634
|
if (request.binding) {
|
59636
59635
|
process_binding_count.add(1);
|
59637
59636
|
if (request.binding.handlerType === HandlerType.UNKNOWN) {
|
@@ -59643,10 +59642,11 @@ var ProcessorServiceImpl = class {
|
|
59643
59642
|
}
|
59644
59643
|
lastBinding = request.binding;
|
59645
59644
|
if (this.enablePartition) {
|
59646
|
-
|
59647
|
-
|
59648
|
-
|
59649
|
-
|
59645
|
+
PluginManager.INSTANCE.partition(request.binding).then((partitions) => {
|
59646
|
+
subject.next({
|
59647
|
+
processId: request.processId,
|
59648
|
+
partitions
|
59649
|
+
});
|
59650
59650
|
});
|
59651
59651
|
} else {
|
59652
59652
|
this.startProcess(request.processId, request.binding, contexts, subject);
|
@@ -59672,7 +59672,6 @@ var ProcessorServiceImpl = class {
|
|
59672
59672
|
console.error("unexpect error during handle loop", e);
|
59673
59673
|
}
|
59674
59674
|
}
|
59675
|
-
console.info("process stream requests finished");
|
59676
59675
|
}
|
59677
59676
|
startProcess(processId, binding, contexts, subject) {
|
59678
59677
|
const dbContext = contexts.new(processId, subject);
|
@@ -59859,4 +59858,4 @@ long/umd/index.js:
|
|
59859
59858
|
@noble/curves/esm/secp256k1.js:
|
59860
59859
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
59861
59860
|
*/
|
59862
|
-
//# sourceMappingURL=chunk-
|
59861
|
+
//# sourceMappingURL=chunk-X2VTMTYL.js.map
|