@sentio/protos 2.13.2 → 2.13.3-rc.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.
@@ -345,6 +345,9 @@ export interface Data_SuiObject {
345
345
  objects: {
346
346
  [key: string]: any;
347
347
  }[];
348
+ self?: {
349
+ [key: string]: any;
350
+ } | undefined;
348
351
  timestamp: Date | undefined;
349
352
  slot: bigint;
350
353
  }
@@ -3662,13 +3662,16 @@ export const Data_SuiCall = {
3662
3662
  },
3663
3663
  };
3664
3664
  function createBaseData_SuiObject() {
3665
- return { objects: [], timestamp: undefined, slot: BigInt("0") };
3665
+ return { objects: [], self: undefined, timestamp: undefined, slot: BigInt("0") };
3666
3666
  }
3667
3667
  export const Data_SuiObject = {
3668
3668
  encode(message, writer = _m0.Writer.create()) {
3669
3669
  for (const v of message.objects) {
3670
3670
  Struct.encode(Struct.wrap(v), writer.uint32(10).fork()).ldelim();
3671
3671
  }
3672
+ if (message.self !== undefined) {
3673
+ Struct.encode(Struct.wrap(message.self), writer.uint32(34).fork()).ldelim();
3674
+ }
3672
3675
  if (message.timestamp !== undefined) {
3673
3676
  Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
3674
3677
  }
@@ -3687,6 +3690,9 @@ export const Data_SuiObject = {
3687
3690
  case 1:
3688
3691
  message.objects.push(Struct.unwrap(Struct.decode(reader, reader.uint32())));
3689
3692
  break;
3693
+ case 4:
3694
+ message.self = Struct.unwrap(Struct.decode(reader, reader.uint32()));
3695
+ break;
3690
3696
  case 2:
3691
3697
  message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
3692
3698
  break;
@@ -3703,6 +3709,7 @@ export const Data_SuiObject = {
3703
3709
  fromJSON(object) {
3704
3710
  return {
3705
3711
  objects: Array.isArray(object?.objects) ? [...object.objects] : [],
3712
+ self: isObject(object.self) ? object.self : undefined,
3706
3713
  timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
3707
3714
  slot: isSet(object.slot) ? BigInt(object.slot) : BigInt("0"),
3708
3715
  };
@@ -3715,6 +3722,7 @@ export const Data_SuiObject = {
3715
3722
  else {
3716
3723
  obj.objects = [];
3717
3724
  }
3725
+ message.self !== undefined && (obj.self = message.self);
3718
3726
  message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());
3719
3727
  message.slot !== undefined && (obj.slot = message.slot.toString());
3720
3728
  return obj;
@@ -3725,6 +3733,7 @@ export const Data_SuiObject = {
3725
3733
  fromPartial(object) {
3726
3734
  const message = createBaseData_SuiObject();
3727
3735
  message.objects = object.objects?.map((e) => e) || [];
3736
+ message.self = object.self ?? undefined;
3728
3737
  message.timestamp = object.timestamp ?? undefined;
3729
3738
  message.slot = object.slot ?? BigInt("0");
3730
3739
  return message;