@sentio/runtime 1.40.4-rc.2 → 1.40.4-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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
3
  "license": "Apache-2.0",
4
- "version": "1.40.4-rc.2",
4
+ "version": "1.40.4-rc.4",
5
5
  "scripts": {
6
6
  "compile": "tsc -p .",
7
7
  "build": "yarn compile",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@ethersproject/providers": "~5.7.0",
15
- "@sentio/protos": "^1.40.4-rc.2",
15
+ "@sentio/protos": "^1.40.4-rc.4",
16
16
  "bignumber.js": "^9.1.0",
17
17
  "command-line-args": "^5.2.1",
18
18
  "command-line-usage": "^6.1.3",
@@ -45,5 +45,5 @@
45
45
  "!{lib,src}/tests",
46
46
  "!**/*.test.{js,ts}"
47
47
  ],
48
- "gitHead": "3ad8a9ab9bb4712ee3a5d12f12c809dd9fc11bf3"
48
+ "gitHead": "451b9b8c955875d4f6d6a093cacad6ed3405120b"
49
49
  }
@@ -619,6 +619,7 @@ export interface EventTrackingResult {
619
619
  distinctEntityId: string;
620
620
  attributes: { [key: string]: any } | undefined;
621
621
  runtimeInfo: RuntimeInfo | undefined;
622
+ noMetric: boolean;
622
623
  }
623
624
 
624
625
  export interface ExportResult {
@@ -4669,7 +4670,7 @@ export const LogResult = {
4669
4670
  };
4670
4671
 
4671
4672
  function createBaseEventTrackingResult(): EventTrackingResult {
4672
- return { metadata: undefined, distinctEntityId: "", attributes: undefined, runtimeInfo: undefined };
4673
+ return { metadata: undefined, distinctEntityId: "", attributes: undefined, runtimeInfo: undefined, noMetric: false };
4673
4674
  }
4674
4675
 
4675
4676
  export const EventTrackingResult = {
@@ -4686,6 +4687,9 @@ export const EventTrackingResult = {
4686
4687
  if (message.runtimeInfo !== undefined) {
4687
4688
  RuntimeInfo.encode(message.runtimeInfo, writer.uint32(42).fork()).ldelim();
4688
4689
  }
4690
+ if (message.noMetric === true) {
4691
+ writer.uint32(24).bool(message.noMetric);
4692
+ }
4689
4693
  return writer;
4690
4694
  },
4691
4695
 
@@ -4708,6 +4712,9 @@ export const EventTrackingResult = {
4708
4712
  case 5:
4709
4713
  message.runtimeInfo = RuntimeInfo.decode(reader, reader.uint32());
4710
4714
  break;
4715
+ case 3:
4716
+ message.noMetric = reader.bool();
4717
+ break;
4711
4718
  default:
4712
4719
  reader.skipType(tag & 7);
4713
4720
  break;
@@ -4722,6 +4729,7 @@ export const EventTrackingResult = {
4722
4729
  distinctEntityId: isSet(object.distinctEntityId) ? String(object.distinctEntityId) : "",
4723
4730
  attributes: isObject(object.attributes) ? object.attributes : undefined,
4724
4731
  runtimeInfo: isSet(object.runtimeInfo) ? RuntimeInfo.fromJSON(object.runtimeInfo) : undefined,
4732
+ noMetric: isSet(object.noMetric) ? Boolean(object.noMetric) : false,
4725
4733
  };
4726
4734
  },
4727
4735
 
@@ -4733,6 +4741,7 @@ export const EventTrackingResult = {
4733
4741
  message.attributes !== undefined && (obj.attributes = message.attributes);
4734
4742
  message.runtimeInfo !== undefined &&
4735
4743
  (obj.runtimeInfo = message.runtimeInfo ? RuntimeInfo.toJSON(message.runtimeInfo) : undefined);
4744
+ message.noMetric !== undefined && (obj.noMetric = message.noMetric);
4736
4745
  return obj;
4737
4746
  },
4738
4747
 
@@ -4746,6 +4755,7 @@ export const EventTrackingResult = {
4746
4755
  message.runtimeInfo = (object.runtimeInfo !== undefined && object.runtimeInfo !== null)
4747
4756
  ? RuntimeInfo.fromPartial(object.runtimeInfo)
4748
4757
  : undefined;
4758
+ message.noMetric = object.noMetric ?? false;
4749
4759
  return message;
4750
4760
  },
4751
4761
  };