@sentio/runtime 2.24.3 → 2.25.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "2.24.3",
3
+ "version": "2.25.0-rc.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,10 +30,10 @@
30
30
  "protobufjs": "^7.2.3",
31
31
  "utility-types": "^3.10.0",
32
32
  "winston": "^3.8.2",
33
- "@sentio/protos": "2.24.3"
33
+ "@sentio/protos": "2.25.0-rc.1"
34
34
  },
35
35
  "peerDependencies": {
36
- "@sentio/sdk": "^2.24.3"
36
+ "@sentio/sdk": "^2.25.0-rc.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/command-line-args": "^5.2.0",
@@ -417,6 +417,7 @@ export interface AccountConfig {
417
417
  /** @deprecated */
418
418
  aptosIntervalConfigs: AptosOnIntervalConfig[];
419
419
  moveIntervalConfigs: MoveOnIntervalConfig[];
420
+ moveCallConfigs: MoveCallHandlerConfig[];
420
421
  logConfigs: LogHandlerConfig[];
421
422
  }
422
423
 
@@ -1722,6 +1723,7 @@ function createBaseAccountConfig(): AccountConfig {
1722
1723
  intervalConfigs: [],
1723
1724
  aptosIntervalConfigs: [],
1724
1725
  moveIntervalConfigs: [],
1726
+ moveCallConfigs: [],
1725
1727
  logConfigs: [],
1726
1728
  };
1727
1729
  }
@@ -1746,6 +1748,9 @@ export const AccountConfig = {
1746
1748
  for (const v of message.moveIntervalConfigs) {
1747
1749
  MoveOnIntervalConfig.encode(v!, writer.uint32(58).fork()).ldelim();
1748
1750
  }
1751
+ for (const v of message.moveCallConfigs) {
1752
+ MoveCallHandlerConfig.encode(v!, writer.uint32(66).fork()).ldelim();
1753
+ }
1749
1754
  for (const v of message.logConfigs) {
1750
1755
  LogHandlerConfig.encode(v!, writer.uint32(50).fork()).ldelim();
1751
1756
  }
@@ -1777,6 +1782,9 @@ export const AccountConfig = {
1777
1782
  case 7:
1778
1783
  message.moveIntervalConfigs.push(MoveOnIntervalConfig.decode(reader, reader.uint32()));
1779
1784
  break;
1785
+ case 8:
1786
+ message.moveCallConfigs.push(MoveCallHandlerConfig.decode(reader, reader.uint32()));
1787
+ break;
1780
1788
  case 6:
1781
1789
  message.logConfigs.push(LogHandlerConfig.decode(reader, reader.uint32()));
1782
1790
  break;
@@ -1802,6 +1810,9 @@ export const AccountConfig = {
1802
1810
  moveIntervalConfigs: Array.isArray(object?.moveIntervalConfigs)
1803
1811
  ? object.moveIntervalConfigs.map((e: any) => MoveOnIntervalConfig.fromJSON(e))
1804
1812
  : [],
1813
+ moveCallConfigs: Array.isArray(object?.moveCallConfigs)
1814
+ ? object.moveCallConfigs.map((e: any) => MoveCallHandlerConfig.fromJSON(e))
1815
+ : [],
1805
1816
  logConfigs: Array.isArray(object?.logConfigs)
1806
1817
  ? object.logConfigs.map((e: any) => LogHandlerConfig.fromJSON(e))
1807
1818
  : [],
@@ -1830,6 +1841,11 @@ export const AccountConfig = {
1830
1841
  } else {
1831
1842
  obj.moveIntervalConfigs = [];
1832
1843
  }
1844
+ if (message.moveCallConfigs) {
1845
+ obj.moveCallConfigs = message.moveCallConfigs.map((e) => e ? MoveCallHandlerConfig.toJSON(e) : undefined);
1846
+ } else {
1847
+ obj.moveCallConfigs = [];
1848
+ }
1833
1849
  if (message.logConfigs) {
1834
1850
  obj.logConfigs = message.logConfigs.map((e) => e ? LogHandlerConfig.toJSON(e) : undefined);
1835
1851
  } else {
@@ -1850,6 +1866,7 @@ export const AccountConfig = {
1850
1866
  message.intervalConfigs = object.intervalConfigs?.map((e) => OnIntervalConfig.fromPartial(e)) || [];
1851
1867
  message.aptosIntervalConfigs = object.aptosIntervalConfigs?.map((e) => AptosOnIntervalConfig.fromPartial(e)) || [];
1852
1868
  message.moveIntervalConfigs = object.moveIntervalConfigs?.map((e) => MoveOnIntervalConfig.fromPartial(e)) || [];
1869
+ message.moveCallConfigs = object.moveCallConfigs?.map((e) => MoveCallHandlerConfig.fromPartial(e)) || [];
1853
1870
  message.logConfigs = object.logConfigs?.map((e) => LogHandlerConfig.fromPartial(e)) || [];
1854
1871
  return message;
1855
1872
  },