@sentio/runtime 2.63.0-rc2.3 → 2.63.1-rc2.1

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.
@@ -15,7 +15,7 @@ import {
15
15
  require_roots,
16
16
  require_rpc,
17
17
  require_writer
18
- } from "./chunk-WJM2EBJH.js";
18
+ } from "./chunk-N6XT6TXB.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-3IULUWFB.js.map
60177
+ //# sourceMappingURL=chunk-PEDLXBFW.js.map
package/lib/index.js CHANGED
@@ -30,11 +30,11 @@ import {
30
30
  providerMetrics,
31
31
  recordRuntimeInfo,
32
32
  timeoutError
33
- } from "./chunk-3IULUWFB.js";
33
+ } from "./chunk-PEDLXBFW.js";
34
34
  import {
35
35
  Plugin,
36
36
  PluginManager
37
- } from "./chunk-WJM2EBJH.js";
37
+ } from "./chunk-N6XT6TXB.js";
38
38
  import "./chunk-MV6JXS2P.js";
39
39
  import "./chunk-KVSDPGUI.js";
40
40
 
@@ -29,7 +29,7 @@ import {
29
29
  require_lib4,
30
30
  require_src,
31
31
  withAbort
32
- } from "./chunk-3IULUWFB.js";
32
+ } from "./chunk-PEDLXBFW.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-WJM2EBJH.js";
43
+ } from "./chunk-N6XT6TXB.js";
44
44
  import {
45
45
  DiagConsoleLogger,
46
46
  DiagLogLevel,
@@ -32305,6 +32305,13 @@ var RuntimeServicePatcher = class {
32305
32305
  }
32306
32306
  patchConfig(config) {
32307
32307
  config.executionConfig = ExecutionConfig.fromPartial(GLOBAL_CONFIG.execution);
32308
+ for (const cfg of [...config.contractConfigs ?? [], ...config.accountConfigs ?? []]) {
32309
+ for (const rc of cfg.moveResourceChangeConfigs ?? []) {
32310
+ if (!rc.types?.length && rc.type) {
32311
+ rc.types = [rc.type];
32312
+ }
32313
+ }
32314
+ }
32308
32315
  if (config.contractConfigs) {
32309
32316
  for (const contract of config.contractConfigs) {
32310
32317
  if (compareSemver(this.sdkVersion, FUEL_PROTO_NO_FUEL_TRANSACTION_AS_CALL_VERSION) < 0 && contract.fuelCallConfigs) {