@sentio/runtime 2.18.4-rc.2 → 2.19.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/lib/endpoints.js CHANGED
@@ -1,9 +1,8 @@
1
- class Endpoints {
1
+ export class Endpoints {
2
2
  static INSTANCE = new Endpoints();
3
3
  concurrency = 8;
4
4
  chainQueryAPI = '';
5
5
  priceFeedAPI = '';
6
6
  chainServer = new Map();
7
7
  }
8
- export { Endpoints };
9
8
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":"AAAA,MAAa,SAAS;IACpB,MAAM,CAAC,QAAQ,GAAc,IAAI,SAAS,EAAE,CAAA;IAE5C,WAAW,GAAG,CAAC,CAAA;IACf,aAAa,GAAG,EAAE,CAAA;IAClB,YAAY,GAAG,EAAE,CAAA;IAEjB,WAAW,GAAG,IAAI,GAAG,EAAkB,CAAA;;SAP5B,SAAS","sourcesContent":["export class Endpoints {\n static INSTANCE: Endpoints = new Endpoints()\n\n concurrency = 8\n chainQueryAPI = ''\n priceFeedAPI = ''\n\n chainServer = new Map<string, string>()\n}\n"]}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,SAAS;IACpB,MAAM,CAAC,QAAQ,GAAc,IAAI,SAAS,EAAE,CAAA;IAE5C,WAAW,GAAG,CAAC,CAAA;IACf,aAAa,GAAG,EAAE,CAAA;IAClB,YAAY,GAAG,EAAE,CAAA;IAEjB,WAAW,GAAG,IAAI,GAAG,EAAkB,CAAA","sourcesContent":["export class Endpoints {\n static INSTANCE: Endpoints = new Endpoints()\n\n concurrency = 8\n chainQueryAPI = ''\n priceFeedAPI = ''\n\n chainServer = new Map<string, string>()\n}\n"]}
@@ -88,6 +88,7 @@ export declare class FullProcessorServiceImpl implements ProcessorServiceImpleme
88
88
  typeArguments?: string[] | undefined;
89
89
  withTypeArguments?: boolean | undefined;
90
90
  includeFailed?: boolean | undefined;
91
+ publicKeyPrefix?: string | undefined;
91
92
  }[] | undefined;
92
93
  handlerId?: number | undefined;
93
94
  fetchConfig?: {
@@ -233,6 +233,7 @@ export interface MoveCallFilter {
233
233
  typeArguments: string[];
234
234
  withTypeArguments: boolean;
235
235
  includeFailed: boolean;
236
+ publicKeyPrefix: string;
236
237
  }
237
238
  export interface Topic {
238
239
  hashes: string[];
@@ -2631,7 +2631,7 @@ export const MoveCallHandlerConfig = {
2631
2631
  },
2632
2632
  };
2633
2633
  function createBaseMoveCallFilter() {
2634
- return { function: "", typeArguments: [], withTypeArguments: false, includeFailed: false };
2634
+ return { function: "", typeArguments: [], withTypeArguments: false, includeFailed: false, publicKeyPrefix: "" };
2635
2635
  }
2636
2636
  export const MoveCallFilter = {
2637
2637
  encode(message, writer = _m0.Writer.create()) {
@@ -2647,6 +2647,9 @@ export const MoveCallFilter = {
2647
2647
  if (message.includeFailed === true) {
2648
2648
  writer.uint32(32).bool(message.includeFailed);
2649
2649
  }
2650
+ if (message.publicKeyPrefix !== "") {
2651
+ writer.uint32(42).string(message.publicKeyPrefix);
2652
+ }
2650
2653
  return writer;
2651
2654
  },
2652
2655
  decode(input, length) {
@@ -2668,6 +2671,9 @@ export const MoveCallFilter = {
2668
2671
  case 4:
2669
2672
  message.includeFailed = reader.bool();
2670
2673
  break;
2674
+ case 5:
2675
+ message.publicKeyPrefix = reader.string();
2676
+ break;
2671
2677
  default:
2672
2678
  reader.skipType(tag & 7);
2673
2679
  break;
@@ -2681,6 +2687,7 @@ export const MoveCallFilter = {
2681
2687
  typeArguments: Array.isArray(object?.typeArguments) ? object.typeArguments.map((e) => String(e)) : [],
2682
2688
  withTypeArguments: isSet(object.withTypeArguments) ? Boolean(object.withTypeArguments) : false,
2683
2689
  includeFailed: isSet(object.includeFailed) ? Boolean(object.includeFailed) : false,
2690
+ publicKeyPrefix: isSet(object.publicKeyPrefix) ? String(object.publicKeyPrefix) : "",
2684
2691
  };
2685
2692
  },
2686
2693
  toJSON(message) {
@@ -2694,6 +2701,7 @@ export const MoveCallFilter = {
2694
2701
  }
2695
2702
  message.withTypeArguments !== undefined && (obj.withTypeArguments = message.withTypeArguments);
2696
2703
  message.includeFailed !== undefined && (obj.includeFailed = message.includeFailed);
2704
+ message.publicKeyPrefix !== undefined && (obj.publicKeyPrefix = message.publicKeyPrefix);
2697
2705
  return obj;
2698
2706
  },
2699
2707
  create(base) {
@@ -2705,6 +2713,7 @@ export const MoveCallFilter = {
2705
2713
  message.typeArguments = object.typeArguments?.map((e) => e) || [];
2706
2714
  message.withTypeArguments = object.withTypeArguments ?? false;
2707
2715
  message.includeFailed = object.includeFailed ?? false;
2716
+ message.publicKeyPrefix = object.publicKeyPrefix ?? "";
2708
2717
  return message;
2709
2718
  },
2710
2719
  };