@sentio/runtime 2.63.0-rc2.1 → 2.63.0-rc2.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-OFR7W4ZG.js → chunk-36V5YZUD.js} +161 -9
- package/lib/chunk-36V5YZUD.js.map +1 -0
- package/lib/{chunk-IIAZZZPV.js → chunk-FLUYK6N3.js} +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/{processor-CIR4erWa.d.ts → processor-C-5LJT6m.d.ts} +5 -0
- package/lib/processor-runner.js +23 -2
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +2 -2
- package/lib/test-processor.test.d.ts +1 -1
- package/package.json +1 -1
- package/src/full-service.ts +22 -0
- package/src/gen/processor/protos/processor.ts +90 -2
- package/lib/chunk-OFR7W4ZG.js.map +0 -1
- /package/lib/{chunk-IIAZZZPV.js.map → chunk-FLUYK6N3.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
require_roots,
|
|
16
16
|
require_rpc,
|
|
17
17
|
require_writer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-36V5YZUD.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esm,
|
|
21
21
|
metrics
|
|
@@ -60174,4 +60174,4 @@ long/umd/index.js:
|
|
|
60174
60174
|
@noble/curves/esm/secp256k1.js:
|
|
60175
60175
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
|
60176
60176
|
*/
|
|
60177
|
-
//# sourceMappingURL=chunk-
|
|
60177
|
+
//# sourceMappingURL=chunk-FLUYK6N3.js.map
|
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, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-
|
|
1
|
+
import { S as StoreContext, E as ExecutionConfig } from './processor-C-5LJT6m.js';
|
|
2
|
+
export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-C-5LJT6m.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-FLUYK6N3.js";
|
|
34
34
|
import {
|
|
35
35
|
Plugin,
|
|
36
36
|
PluginManager
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-36V5YZUD.js";
|
|
38
38
|
import "./chunk-MV6JXS2P.js";
|
|
39
39
|
import "./chunk-KVSDPGUI.js";
|
|
40
40
|
|
|
@@ -390,6 +390,7 @@ interface Data_EthBlock {
|
|
|
390
390
|
block: {
|
|
391
391
|
[key: string]: any;
|
|
392
392
|
} | undefined;
|
|
393
|
+
rawBlock: string;
|
|
393
394
|
}
|
|
394
395
|
declare const Data_EthBlock: {
|
|
395
396
|
encode(message: Data_EthBlock, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -440,6 +441,10 @@ interface Data_EthTrace {
|
|
|
440
441
|
block?: {
|
|
441
442
|
[key: string]: any;
|
|
442
443
|
} | undefined;
|
|
444
|
+
rawTrace: string;
|
|
445
|
+
rawTransaction?: string | undefined;
|
|
446
|
+
rawTransactionReceipt?: string | undefined;
|
|
447
|
+
rawBlock?: string | undefined;
|
|
443
448
|
}
|
|
444
449
|
declare const Data_EthTrace: {
|
|
445
450
|
encode(message: Data_EthTrace, writer?: _m0.Writer): _m0.Writer;
|
package/lib/processor-runner.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
require_lib4,
|
|
30
30
|
require_src,
|
|
31
31
|
withAbort
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FLUYK6N3.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-36V5YZUD.js";
|
|
44
44
|
import {
|
|
45
45
|
DiagConsoleLogger,
|
|
46
46
|
DiagLogLevel,
|
|
@@ -32173,6 +32173,27 @@ var RuntimeServicePatcher = class {
|
|
|
32173
32173
|
}
|
|
32174
32174
|
}
|
|
32175
32175
|
break;
|
|
32176
|
+
case 2 /* ETH_BLOCK */:
|
|
32177
|
+
const ethBlock = dataBinding.data?.ethBlock;
|
|
32178
|
+
if (ethBlock?.block == null && ethBlock?.rawBlock) {
|
|
32179
|
+
ethBlock.block = getParsedData(ethBlock.rawBlock);
|
|
32180
|
+
}
|
|
32181
|
+
break;
|
|
32182
|
+
case 5 /* ETH_TRACE */:
|
|
32183
|
+
const ethTrace = dataBinding.data?.ethTrace;
|
|
32184
|
+
if (ethTrace?.trace == null && ethTrace?.rawTrace) {
|
|
32185
|
+
ethTrace.trace = getParsedData(ethTrace.rawTrace);
|
|
32186
|
+
if (ethTrace.rawTransaction) {
|
|
32187
|
+
ethTrace.transaction = getParsedData(ethTrace.rawTransaction);
|
|
32188
|
+
}
|
|
32189
|
+
if (ethTrace.rawBlock) {
|
|
32190
|
+
ethTrace.block = getParsedData(ethTrace.rawBlock);
|
|
32191
|
+
}
|
|
32192
|
+
if (ethTrace.rawTransactionReceipt) {
|
|
32193
|
+
ethTrace.transactionReceipt = getParsedData(ethTrace.rawTransactionReceipt);
|
|
32194
|
+
}
|
|
32195
|
+
}
|
|
32196
|
+
break;
|
|
32176
32197
|
case 20 /* FUEL_TRANSACTION */:
|
|
32177
32198
|
if (compareSemver(this.sdkVersion, FUEL_PROTO_UPDATE_VERSION) < 0) {
|
|
32178
32199
|
dataBinding.handlerType = 13 /* FUEL_CALL */;
|