@sentio/runtime 2.62.0-rc.2 → 2.62.0-rc.4
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-K56YKGVF.js → chunk-6SI5TBIR.js} +2827 -1477
- package/lib/chunk-6SI5TBIR.js.map +1 -0
- package/lib/{chunk-NR3YQ5NY.js → chunk-I5YHR3CE.js} +113 -672
- package/lib/chunk-I5YHR3CE.js.map +1 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/{processor-DwZlMkFj.d.ts → processor-KRKdS8v-.d.ts} +6 -22
- package/lib/processor-runner.js +2 -2
- package/lib/service-worker.js +2 -2
- package/lib/test-processor.test.d.ts +1 -1
- package/package.json +2 -3
- package/src/gen/processor/protos/processor.ts +59 -356
- package/src/gen/service/common/protos/common.ts +6 -0
- package/lib/chunk-K56YKGVF.js.map +0 -1
- package/lib/chunk-NR3YQ5NY.js.map +0 -1
package/lib/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as StoreContext, E as ExecutionConfig } from './processor-
|
2
|
-
export { A as AbstractStoreContext, D as DataBindingContext, b as IDataBindingContext, I as IStoreContext, P as Plugin, a as PluginManager, t as timeoutError } from './processor-
|
1
|
+
import { S as StoreContext, E as ExecutionConfig } from './processor-KRKdS8v-.js';
|
2
|
+
export { A as AbstractStoreContext, D as DataBindingContext, b as IDataBindingContext, I as IStoreContext, P as Plugin, a as PluginManager, t as timeoutError } from './processor-KRKdS8v-.js';
|
3
3
|
import * as _sentio_protos from '@sentio/protos';
|
4
4
|
import { TemplateInstance, ProcessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, ProcessConfigResponse, StartRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, DataBinding, PreparedData, PreprocessResult, ProcessStreamRequest, HandlerType, PreprocessStreamRequest, DeepPartial, PreprocessStreamResponse, ProcessStreamResponse } from '@sentio/protos';
|
5
5
|
import { Required } from 'utility-types';
|
package/lib/index.js
CHANGED
@@ -30,11 +30,11 @@ import {
|
|
30
30
|
providerMetrics,
|
31
31
|
recordRuntimeInfo,
|
32
32
|
timeoutError
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-6SI5TBIR.js";
|
34
34
|
import {
|
35
35
|
Plugin,
|
36
36
|
PluginManager
|
37
|
-
} from "./chunk-
|
37
|
+
} from "./chunk-I5YHR3CE.js";
|
38
38
|
import "./chunk-W3VN25ER.js";
|
39
39
|
import "./chunk-KVSDPGUI.js";
|
40
40
|
|
@@ -291,6 +291,11 @@ declare enum LogLevel {
|
|
291
291
|
CRITICAL = 4,
|
292
292
|
UNRECOGNIZED = -1
|
293
293
|
}
|
294
|
+
declare enum ExecutionConfig_HandlerOrderInsideTransaction {
|
295
|
+
BY_LOG_INDEX = 0,
|
296
|
+
BY_PROCESSOR_AND_LOG_INDEX = 1,
|
297
|
+
UNRECOGNIZED = -1
|
298
|
+
}
|
294
299
|
declare enum TimeseriesResult_TimeseriesType {
|
295
300
|
EVENT = 0,
|
296
301
|
GAUGE = 1,
|
@@ -300,6 +305,7 @@ declare enum TimeseriesResult_TimeseriesType {
|
|
300
305
|
interface ExecutionConfig {
|
301
306
|
sequential: boolean;
|
302
307
|
forceExactBlockTime: boolean;
|
308
|
+
handlerOrderInsideTransaction: ExecutionConfig_HandlerOrderInsideTransaction;
|
303
309
|
processBindingTimeout: number;
|
304
310
|
skipStartBlockValidation: boolean;
|
305
311
|
rpcRetryTimes: number;
|
@@ -734,8 +740,6 @@ declare const StateResult: {
|
|
734
740
|
interface ProcessResult {
|
735
741
|
gauges: GaugeResult[];
|
736
742
|
counters: CounterResult[];
|
737
|
-
/** @deprecated */
|
738
|
-
logs: LogResult[];
|
739
743
|
events: EventTrackingResult[];
|
740
744
|
exports: ExportResult[];
|
741
745
|
states: StateResult | undefined;
|
@@ -821,26 +825,6 @@ declare const CounterResult: {
|
|
821
825
|
create(base?: DeepPartial<CounterResult>): CounterResult;
|
822
826
|
fromPartial(object: DeepPartial<CounterResult>): CounterResult;
|
823
827
|
};
|
824
|
-
/** @deprecated */
|
825
|
-
interface LogResult {
|
826
|
-
metadata: RecordMetaData | undefined;
|
827
|
-
level: LogLevel;
|
828
|
-
message: string;
|
829
|
-
/** @deprecated */
|
830
|
-
attributes: string;
|
831
|
-
attributes2: {
|
832
|
-
[key: string]: any;
|
833
|
-
} | undefined;
|
834
|
-
runtimeInfo: RuntimeInfo | undefined;
|
835
|
-
}
|
836
|
-
declare const LogResult: {
|
837
|
-
encode(message: LogResult, writer?: _m0.Writer): _m0.Writer;
|
838
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): LogResult;
|
839
|
-
fromJSON(object: any): LogResult;
|
840
|
-
toJSON(message: LogResult): unknown;
|
841
|
-
create(base?: DeepPartial<LogResult>): LogResult;
|
842
|
-
fromPartial(object: DeepPartial<LogResult>): LogResult;
|
843
|
-
};
|
844
828
|
interface EventTrackingResult {
|
845
829
|
metadata: RecordMetaData | undefined;
|
846
830
|
distinctEntityId: string;
|
package/lib/processor-runner.js
CHANGED
@@ -29,7 +29,7 @@ import {
|
|
29
29
|
require_lodash,
|
30
30
|
require_src,
|
31
31
|
withAbort
|
32
|
-
} from "./chunk-
|
32
|
+
} from "./chunk-6SI5TBIR.js";
|
33
33
|
import {
|
34
34
|
ExecutionConfig,
|
35
35
|
HandlerType,
|
@@ -40,7 +40,7 @@ import {
|
|
40
40
|
ProcessorV3Definition,
|
41
41
|
StartRequest,
|
42
42
|
require_minimal2 as require_minimal
|
43
|
-
} from "./chunk-
|
43
|
+
} from "./chunk-I5YHR3CE.js";
|
44
44
|
import {
|
45
45
|
DiagConsoleLogger,
|
46
46
|
DiagLogLevel,
|
package/lib/service-worker.js
CHANGED
@@ -10,8 +10,8 @@ import {
|
|
10
10
|
require_cjs,
|
11
11
|
require_lib3 as require_lib,
|
12
12
|
require_lib4 as require_lib2
|
13
|
-
} from "./chunk-
|
14
|
-
import "./chunk-
|
13
|
+
} from "./chunk-6SI5TBIR.js";
|
14
|
+
import "./chunk-I5YHR3CE.js";
|
15
15
|
import "./chunk-W3VN25ER.js";
|
16
16
|
import {
|
17
17
|
__toESM
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { P as Plugin, c as DataBinding, d as ProcessResult, H as HandlerType } from './processor-
|
1
|
+
import { P as Plugin, c as DataBinding, d as ProcessResult, H as HandlerType } from './processor-KRKdS8v-.js';
|
2
2
|
import { ProcessStreamResponse_Partitions, InitResponse, ProcessConfigResponse } from '@sentio/protos';
|
3
3
|
import 'rxjs';
|
4
4
|
import 'node:async_hooks';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sentio/runtime",
|
3
|
-
"version": "2.62.0-rc.
|
3
|
+
"version": "2.62.0-rc.4",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -20,8 +20,7 @@
|
|
20
20
|
"devDependencies": {
|
21
21
|
"@types/command-line-args": "^5.2.3",
|
22
22
|
"@types/command-line-usage": "^5.0.4",
|
23
|
-
"@types/fs-extra": "^11.0.4"
|
24
|
-
"@types/google-protobuf": "^3.15.12"
|
23
|
+
"@types/fs-extra": "^11.0.4"
|
25
24
|
},
|
26
25
|
"engines": {
|
27
26
|
"node": ">=22"
|