@sentio/runtime 2.63.0-rc2.2 → 2.63.0-rc2.3

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.
@@ -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-FLUYK6N3.js";
14
- import "./chunk-36V5YZUD.js";
13
+ } from "./chunk-3IULUWFB.js";
14
+ import "./chunk-WJM2EBJH.js";
15
15
  import "./chunk-MV6JXS2P.js";
16
16
  import {
17
17
  __toESM
@@ -1,4 +1,4 @@
1
- import { P as Plugin, D as DataBinding, a as ProcessResult, H as HandlerType } from './processor-C-5LJT6m.js';
1
+ import { P as Plugin, D as DataBinding, a as ProcessResult, H as HandlerType } from './processor-HP-BeI2_.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.63.0-rc2.2",
3
+ "version": "2.63.0-rc2.3",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -158,6 +158,12 @@ export class RuntimeServicePatcher {
158
158
  }
159
159
  }
160
160
  break
161
+ case HandlerType.SOL_INSTRUCTION:
162
+ const solInstruction = dataBinding.data?.solInstruction
163
+ if (solInstruction?.parsed == null && solInstruction?.rawParsed) {
164
+ solInstruction.parsed = getParsedData(solInstruction.rawParsed)
165
+ }
166
+ break
161
167
  case HandlerType.FUEL_TRANSACTION:
162
168
  if (compareSemver(this.sdkVersion, FUEL_PROTO_UPDATE_VERSION) < 0) {
163
169
  dataBinding.handlerType = HandlerType.FUEL_CALL
@@ -1277,6 +1277,7 @@ export interface Data_SolInstruction {
1277
1277
  programAccountId: string;
1278
1278
  accounts: string[];
1279
1279
  parsed?: { [key: string]: any } | undefined;
1280
+ rawParsed?: string | undefined;
1280
1281
  }
1281
1282
 
1282
1283
  export interface Data_AptEvent {
@@ -10590,7 +10591,14 @@ export const Data_EthTrace = {
10590
10591
  };
10591
10592
 
10592
10593
  function createBaseData_SolInstruction(): Data_SolInstruction {
10593
- return { instructionData: "", slot: BigInt("0"), programAccountId: "", accounts: [], parsed: undefined };
10594
+ return {
10595
+ instructionData: "",
10596
+ slot: BigInt("0"),
10597
+ programAccountId: "",
10598
+ accounts: [],
10599
+ parsed: undefined,
10600
+ rawParsed: undefined,
10601
+ };
10594
10602
  }
10595
10603
 
10596
10604
  export const Data_SolInstruction = {
@@ -10613,6 +10621,9 @@ export const Data_SolInstruction = {
10613
10621
  if (message.parsed !== undefined) {
10614
10622
  Struct.encode(Struct.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
10615
10623
  }
10624
+ if (message.rawParsed !== undefined) {
10625
+ writer.uint32(58).string(message.rawParsed);
10626
+ }
10616
10627
  return writer;
10617
10628
  },
10618
10629
 
@@ -10658,6 +10669,13 @@ export const Data_SolInstruction = {
10658
10669
 
10659
10670
  message.parsed = Struct.unwrap(Struct.decode(reader, reader.uint32()));
10660
10671
  continue;
10672
+ case 7:
10673
+ if (tag !== 58) {
10674
+ break;
10675
+ }
10676
+
10677
+ message.rawParsed = reader.string();
10678
+ continue;
10661
10679
  }
10662
10680
  if ((tag & 7) === 4 || tag === 0) {
10663
10681
  break;
@@ -10674,6 +10692,7 @@ export const Data_SolInstruction = {
10674
10692
  programAccountId: isSet(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
10675
10693
  accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e: any) => globalThis.String(e)) : [],
10676
10694
  parsed: isObject(object.parsed) ? object.parsed : undefined,
10695
+ rawParsed: isSet(object.rawParsed) ? globalThis.String(object.rawParsed) : undefined,
10677
10696
  };
10678
10697
  },
10679
10698
 
@@ -10694,6 +10713,9 @@ export const Data_SolInstruction = {
10694
10713
  if (message.parsed !== undefined) {
10695
10714
  obj.parsed = message.parsed;
10696
10715
  }
10716
+ if (message.rawParsed !== undefined) {
10717
+ obj.rawParsed = message.rawParsed;
10718
+ }
10697
10719
  return obj;
10698
10720
  },
10699
10721
 
@@ -10707,6 +10729,7 @@ export const Data_SolInstruction = {
10707
10729
  message.programAccountId = object.programAccountId ?? "";
10708
10730
  message.accounts = object.accounts?.map((e) => e) || [];
10709
10731
  message.parsed = object.parsed ?? undefined;
10732
+ message.rawParsed = object.rawParsed ?? undefined;
10710
10733
  return message;
10711
10734
  },
10712
10735
  };