@sentio/protos 2.37.3-rc.3 → 2.37.3-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/protos",
3
- "version": "2.37.3-rc.3",
3
+ "version": "2.37.3-rc.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -3,7 +3,7 @@ import Long from "long";
3
3
  import type { CallContext, CallOptions } from "nice-grpc-common";
4
4
  import _m0 from "protobufjs/minimal.js";
5
5
  import { Empty } from "../../google/protobuf/empty.js";
6
- import { Struct } from "../../google/protobuf/struct.js";
6
+ import { ListValue, Struct } from "../../google/protobuf/struct.js";
7
7
  import { Timestamp } from "../../google/protobuf/timestamp.js";
8
8
  import { CoinID } from "../../service/common/protos/common.js";
9
9
 
@@ -735,6 +735,7 @@ export interface ProcessStreamResponse {
735
735
  export interface DBResponse {
736
736
  opId: bigint;
737
737
  data?: { [key: string]: any } | undefined;
738
+ list?: Array<any> | undefined;
738
739
  error?: string | undefined;
739
740
  }
740
741
 
@@ -5620,7 +5621,7 @@ export const ProcessStreamResponse = {
5620
5621
  };
5621
5622
 
5622
5623
  function createBaseDBResponse(): DBResponse {
5623
- return { opId: BigInt("0"), data: undefined, error: undefined };
5624
+ return { opId: BigInt("0"), data: undefined, list: undefined, error: undefined };
5624
5625
  }
5625
5626
 
5626
5627
  export const DBResponse = {
@@ -5634,6 +5635,9 @@ export const DBResponse = {
5634
5635
  if (message.data !== undefined) {
5635
5636
  Struct.encode(Struct.wrap(message.data), writer.uint32(18).fork()).ldelim();
5636
5637
  }
5638
+ if (message.list !== undefined) {
5639
+ ListValue.encode(ListValue.wrap(message.list), writer.uint32(34).fork()).ldelim();
5640
+ }
5637
5641
  if (message.error !== undefined) {
5638
5642
  writer.uint32(26).string(message.error);
5639
5643
  }
@@ -5661,6 +5665,13 @@ export const DBResponse = {
5661
5665
 
5662
5666
  message.data = Struct.unwrap(Struct.decode(reader, reader.uint32()));
5663
5667
  continue;
5668
+ case 4:
5669
+ if (tag !== 34) {
5670
+ break;
5671
+ }
5672
+
5673
+ message.list = ListValue.unwrap(ListValue.decode(reader, reader.uint32()));
5674
+ continue;
5664
5675
  case 3:
5665
5676
  if (tag !== 26) {
5666
5677
  break;
@@ -5681,6 +5692,7 @@ export const DBResponse = {
5681
5692
  return {
5682
5693
  opId: isSet(object.opId) ? BigInt(object.opId) : BigInt("0"),
5683
5694
  data: isObject(object.data) ? object.data : undefined,
5695
+ list: globalThis.Array.isArray(object.list) ? [...object.list] : undefined,
5684
5696
  error: isSet(object.error) ? globalThis.String(object.error) : undefined,
5685
5697
  };
5686
5698
  },
@@ -5693,6 +5705,9 @@ export const DBResponse = {
5693
5705
  if (message.data !== undefined) {
5694
5706
  obj.data = message.data;
5695
5707
  }
5708
+ if (message.list !== undefined) {
5709
+ obj.list = message.list;
5710
+ }
5696
5711
  if (message.error !== undefined) {
5697
5712
  obj.error = message.error;
5698
5713
  }
@@ -5706,6 +5721,7 @@ export const DBResponse = {
5706
5721
  const message = createBaseDBResponse();
5707
5722
  message.opId = object.opId ?? BigInt("0");
5708
5723
  message.data = object.data ?? undefined;
5724
+ message.list = object.list ?? undefined;
5709
5725
  message.error = object.error ?? undefined;
5710
5726
  return message;
5711
5727
  },