@sentio/protos 2.0.3-rc.1 → 2.1.0-rc.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.
@@ -358,7 +358,9 @@ export interface LogResult {
358
358
  metadata: RecordMetaData | undefined;
359
359
  level: LogLevel;
360
360
  message: string;
361
- attributes: string;
361
+ attributes2: {
362
+ [key: string]: any;
363
+ } | undefined;
362
364
  runtimeInfo: RuntimeInfo | undefined;
363
365
  }
364
366
  export interface EventTrackingResult {
@@ -3865,7 +3865,7 @@ export const CounterResult = {
3865
3865
  },
3866
3866
  };
3867
3867
  function createBaseLogResult() {
3868
- return { metadata: undefined, level: 0, message: "", attributes: "", runtimeInfo: undefined };
3868
+ return { metadata: undefined, level: 0, message: "", attributes2: undefined, runtimeInfo: undefined };
3869
3869
  }
3870
3870
  export const LogResult = {
3871
3871
  encode(message, writer = _m0.Writer.create()) {
@@ -3878,8 +3878,8 @@ export const LogResult = {
3878
3878
  if (message.message !== "") {
3879
3879
  writer.uint32(26).string(message.message);
3880
3880
  }
3881
- if (message.attributes !== "") {
3882
- writer.uint32(50).string(message.attributes);
3881
+ if (message.attributes2 !== undefined) {
3882
+ Struct.encode(Struct.wrap(message.attributes2), writer.uint32(58).fork()).ldelim();
3883
3883
  }
3884
3884
  if (message.runtimeInfo !== undefined) {
3885
3885
  RuntimeInfo.encode(message.runtimeInfo, writer.uint32(34).fork()).ldelim();
@@ -3902,8 +3902,8 @@ export const LogResult = {
3902
3902
  case 3:
3903
3903
  message.message = reader.string();
3904
3904
  break;
3905
- case 6:
3906
- message.attributes = reader.string();
3905
+ case 7:
3906
+ message.attributes2 = Struct.unwrap(Struct.decode(reader, reader.uint32()));
3907
3907
  break;
3908
3908
  case 4:
3909
3909
  message.runtimeInfo = RuntimeInfo.decode(reader, reader.uint32());
@@ -3920,7 +3920,7 @@ export const LogResult = {
3920
3920
  metadata: isSet(object.metadata) ? RecordMetaData.fromJSON(object.metadata) : undefined,
3921
3921
  level: isSet(object.level) ? logLevelFromJSON(object.level) : 0,
3922
3922
  message: isSet(object.message) ? String(object.message) : "",
3923
- attributes: isSet(object.attributes) ? String(object.attributes) : "",
3923
+ attributes2: isObject(object.attributes2) ? object.attributes2 : undefined,
3924
3924
  runtimeInfo: isSet(object.runtimeInfo) ? RuntimeInfo.fromJSON(object.runtimeInfo) : undefined,
3925
3925
  };
3926
3926
  },
@@ -3930,7 +3930,7 @@ export const LogResult = {
3930
3930
  (obj.metadata = message.metadata ? RecordMetaData.toJSON(message.metadata) : undefined);
3931
3931
  message.level !== undefined && (obj.level = logLevelToJSON(message.level));
3932
3932
  message.message !== undefined && (obj.message = message.message);
3933
- message.attributes !== undefined && (obj.attributes = message.attributes);
3933
+ message.attributes2 !== undefined && (obj.attributes2 = message.attributes2);
3934
3934
  message.runtimeInfo !== undefined &&
3935
3935
  (obj.runtimeInfo = message.runtimeInfo ? RuntimeInfo.toJSON(message.runtimeInfo) : undefined);
3936
3936
  return obj;
@@ -3942,7 +3942,7 @@ export const LogResult = {
3942
3942
  : undefined;
3943
3943
  message.level = object.level ?? 0;
3944
3944
  message.message = object.message ?? "";
3945
- message.attributes = object.attributes ?? "";
3945
+ message.attributes2 = object.attributes2 ?? undefined;
3946
3946
  message.runtimeInfo = (object.runtimeInfo !== undefined && object.runtimeInfo !== null)
3947
3947
  ? RuntimeInfo.fromPartial(object.runtimeInfo)
3948
3948
  : undefined;