@sentio/runtime 2.59.0-rc.2 → 2.59.0-rc.20

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.
@@ -6,7 +6,7 @@ import {
6
6
  __require,
7
7
  __toCommonJS,
8
8
  __toESM
9
- } from "./chunk-ZUTD563J.js";
9
+ } from "./chunk-45FF2A6M.js";
10
10
 
11
11
  // ../../node_modules/.pnpm/logform@2.6.0/node_modules/logform/format.js
12
12
  var require_format = __commonJS({
@@ -10972,4 +10972,4 @@ export {
10972
10972
  safe-buffer/index.js:
10973
10973
  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
10974
10974
  */
10975
- //# sourceMappingURL=chunk-BPGFX5S5.js.map
10975
+ //# sourceMappingURL=chunk-GWKJGG55.js.map
package/lib/index.d.ts CHANGED
@@ -235,6 +235,59 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
235
235
  } | undefined;
236
236
  }[] | undefined;
237
237
  } | undefined;
238
+ update?: {
239
+ entity?: string[] | undefined;
240
+ id?: string[] | undefined;
241
+ entityData?: {
242
+ fields?: {
243
+ [x: string]: {
244
+ value?: {
245
+ nullValue?: _sentio_protos.RichValue_NullValue | undefined;
246
+ intValue?: number | undefined;
247
+ int64Value?: bigint | undefined;
248
+ floatValue?: number | undefined;
249
+ bytesValue?: Uint8Array | undefined;
250
+ boolValue?: boolean | undefined;
251
+ stringValue?: string | undefined;
252
+ timestampValue?: Date | undefined;
253
+ bigintValue?: {
254
+ negative?: boolean | undefined;
255
+ data?: Uint8Array | undefined;
256
+ } | undefined;
257
+ bigdecimalValue?: {
258
+ value?: {
259
+ negative?: boolean | undefined;
260
+ data?: Uint8Array | undefined;
261
+ } | undefined;
262
+ exp?: number | undefined;
263
+ } | undefined;
264
+ listValue?: {
265
+ values?: any[] | undefined;
266
+ } | undefined;
267
+ structValue?: any | undefined;
268
+ tokenValue?: {
269
+ token?: {
270
+ symbol?: string | undefined;
271
+ address?: {
272
+ address?: string | undefined;
273
+ chain?: string | undefined;
274
+ } | undefined;
275
+ } | undefined;
276
+ amount?: {
277
+ value?: {
278
+ negative?: boolean | undefined;
279
+ data?: Uint8Array | undefined;
280
+ } | undefined;
281
+ exp?: number | undefined;
282
+ } | undefined;
283
+ specifiedAt?: Date | undefined;
284
+ } | undefined;
285
+ } | undefined;
286
+ op?: _sentio_protos.EntityUpdateData_Operator | undefined;
287
+ } | undefined;
288
+ } | undefined;
289
+ }[] | undefined;
290
+ } | undefined;
238
291
  delete?: {
239
292
  entity?: string[] | undefined;
240
293
  id?: string[] | undefined;
@@ -400,6 +453,71 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
400
453
  configUpdated?: boolean | undefined;
401
454
  error?: string | undefined;
402
455
  } | undefined;
456
+ timeseriesResult?: {
457
+ metadata?: {
458
+ address?: string | undefined;
459
+ contractName?: string | undefined;
460
+ blockNumber?: bigint | undefined;
461
+ transactionHash?: string | undefined;
462
+ chainId?: string | undefined;
463
+ transactionIndex?: number | undefined;
464
+ logIndex?: number | undefined;
465
+ name?: string | undefined;
466
+ labels?: {
467
+ [x: string]: string | undefined;
468
+ } | undefined;
469
+ } | undefined;
470
+ type?: _sentio_protos.TimeseriesResult_TimeseriesType | undefined;
471
+ data?: {
472
+ fields?: {
473
+ [x: string]: {
474
+ nullValue?: _sentio_protos.RichValue_NullValue | undefined;
475
+ intValue?: number | undefined;
476
+ int64Value?: bigint | undefined;
477
+ floatValue?: number | undefined;
478
+ bytesValue?: Uint8Array | undefined;
479
+ boolValue?: boolean | undefined;
480
+ stringValue?: string | undefined;
481
+ timestampValue?: Date | undefined;
482
+ bigintValue?: {
483
+ negative?: boolean | undefined;
484
+ data?: Uint8Array | undefined;
485
+ } | undefined;
486
+ bigdecimalValue?: {
487
+ value?: {
488
+ negative?: boolean | undefined;
489
+ data?: Uint8Array | undefined;
490
+ } | undefined;
491
+ exp?: number | undefined;
492
+ } | undefined;
493
+ listValue?: {
494
+ values?: any[] | undefined;
495
+ } | undefined;
496
+ structValue?: any | undefined;
497
+ tokenValue?: {
498
+ token?: {
499
+ symbol?: string | undefined;
500
+ address?: {
501
+ address?: string | undefined;
502
+ chain?: string | undefined;
503
+ } | undefined;
504
+ } | undefined;
505
+ amount?: {
506
+ value?: {
507
+ negative?: boolean | undefined;
508
+ data?: Uint8Array | undefined;
509
+ } | undefined;
510
+ exp?: number | undefined;
511
+ } | undefined;
512
+ specifiedAt?: Date | undefined;
513
+ } | undefined;
514
+ } | undefined;
515
+ } | undefined;
516
+ } | undefined;
517
+ runtimeInfo?: {
518
+ from?: HandlerType | undefined;
519
+ } | undefined;
520
+ }[] | undefined;
403
521
  } | undefined;
404
522
  }, void, undefined>;
405
523
  handlePreprocessRequests(requests: AsyncIterable<PreprocessStreamRequest>, subject: Subject<DeepPartial$1<PreprocessStreamResponse>>): Promise<void>;
@@ -464,6 +582,59 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
464
582
  } | undefined;
465
583
  }[] | undefined;
466
584
  } | undefined;
585
+ update?: {
586
+ entity?: string[] | undefined;
587
+ id?: string[] | undefined;
588
+ entityData?: {
589
+ fields?: {
590
+ [x: string]: {
591
+ value?: {
592
+ nullValue?: _sentio_protos.RichValue_NullValue | undefined;
593
+ intValue?: number | undefined;
594
+ int64Value?: bigint | undefined;
595
+ floatValue?: number | undefined;
596
+ bytesValue?: Uint8Array | undefined;
597
+ boolValue?: boolean | undefined;
598
+ stringValue?: string | undefined;
599
+ timestampValue?: Date | undefined;
600
+ bigintValue?: {
601
+ negative?: boolean | undefined;
602
+ data?: Uint8Array | undefined;
603
+ } | undefined;
604
+ bigdecimalValue?: {
605
+ value?: {
606
+ negative?: boolean | undefined;
607
+ data?: Uint8Array | undefined;
608
+ } | undefined;
609
+ exp?: number | undefined;
610
+ } | undefined;
611
+ listValue?: {
612
+ values?: any[] | undefined;
613
+ } | undefined;
614
+ structValue?: any | undefined;
615
+ tokenValue?: {
616
+ token?: {
617
+ symbol?: string | undefined;
618
+ address?: {
619
+ address?: string | undefined;
620
+ chain?: string | undefined;
621
+ } | undefined;
622
+ } | undefined;
623
+ amount?: {
624
+ value?: {
625
+ negative?: boolean | undefined;
626
+ data?: Uint8Array | undefined;
627
+ } | undefined;
628
+ exp?: number | undefined;
629
+ } | undefined;
630
+ specifiedAt?: Date | undefined;
631
+ } | undefined;
632
+ } | undefined;
633
+ op?: _sentio_protos.EntityUpdateData_Operator | undefined;
634
+ } | undefined;
635
+ } | undefined;
636
+ }[] | undefined;
637
+ } | undefined;
467
638
  delete?: {
468
639
  entity?: string[] | undefined;
469
640
  id?: string[] | undefined;
@@ -568,24 +739,28 @@ declare const dbMetrics: {
568
739
  upsert: C;
569
740
  list: C;
570
741
  delete: C;
742
+ update: C;
571
743
  };
572
744
  recv_counts: {
573
745
  get: C;
574
746
  upsert: C;
575
747
  list: C;
576
748
  delete: C;
749
+ update: C;
577
750
  };
578
751
  request_times: {
579
752
  get: C;
580
753
  upsert: C;
581
754
  list: C;
582
755
  delete: C;
756
+ update: C;
583
757
  };
584
758
  request_errors: {
585
759
  get: C;
586
760
  upsert: C;
587
761
  list: C;
588
762
  delete: C;
763
+ update: C;
589
764
  };
590
765
  batched_total_count: C;
591
766
  batched_request_count: C;
package/lib/index.js CHANGED
@@ -28,11 +28,11 @@ import {
28
28
  providerMetrics,
29
29
  recordRuntimeInfo,
30
30
  timeoutError
31
- } from "./chunk-QELD44EL.js";
31
+ } from "./chunk-EPAMG3V5.js";
32
32
  import {
33
33
  Plugin,
34
34
  PluginManager
35
- } from "./chunk-ZUTD563J.js";
35
+ } from "./chunk-45FF2A6M.js";
36
36
 
37
37
  // src/chain-config.ts
38
38
  import("node:process").then((p) => p.stdout.write(""));
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6XHWJ2VS.js";
6
6
  import {
7
7
  setupLogger
8
- } from "./chunk-BPGFX5S5.js";
8
+ } from "./chunk-GWKJGG55.js";
9
9
  import {
10
10
  DiagConsoleLogger,
11
11
  DiagLogLevel,
@@ -44,7 +44,7 @@ import {
44
44
  require_lodash,
45
45
  require_src,
46
46
  trace
47
- } from "./chunk-QELD44EL.js";
47
+ } from "./chunk-EPAMG3V5.js";
48
48
  import {
49
49
  ExecutionConfig,
50
50
  HandlerType,
@@ -60,7 +60,7 @@ import {
60
60
  __toCommonJS,
61
61
  __toESM,
62
62
  require_minimal2 as require_minimal
63
- } from "./chunk-ZUTD563J.js";
63
+ } from "./chunk-45FF2A6M.js";
64
64
 
65
65
  // ../../node_modules/.pnpm/@opentelemetry+semantic-conventions@1.25.1/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js
66
66
  // @__NO_SIDE_EFFECTS__
@@ -1,7 +1,7 @@
1
1
  import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
2
  import {
3
3
  setupLogger
4
- } from "./chunk-BPGFX5S5.js";
4
+ } from "./chunk-GWKJGG55.js";
5
5
  import {
6
6
  AbstractStoreContext,
7
7
  configureEndpoints,
@@ -10,12 +10,12 @@ import {
10
10
  recordRuntimeInfo,
11
11
  require_lib3 as require_lib,
12
12
  require_lib4 as require_lib2
13
- } from "./chunk-QELD44EL.js";
13
+ } from "./chunk-EPAMG3V5.js";
14
14
  import {
15
15
  PluginManager,
16
16
  ProcessConfigResponse,
17
17
  __toESM
18
- } from "./chunk-ZUTD563J.js";
18
+ } from "./chunk-45FF2A6M.js";
19
19
 
20
20
  // src/service-worker.ts
21
21
  var import_nice_grpc = __toESM(require_lib(), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "2.59.0-rc.2",
3
+ "version": "2.59.0-rc.20",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {