@sentio/runtime 2.57.12-rc.e → 2.57.12-rc.f

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _sentio_protos from '@sentio/protos';
2
- import { DeepPartial as DeepPartial$1, ProcessStreamResponse, DBRequest, DBResponse, DBRequest_DBUpsert, HandlerType, ProcessConfigResponse, StartRequest, DataBinding, PreparedData, ProcessResult, PreprocessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, ProcessStreamRequest, PreprocessStreamRequest, PreprocessStreamResponse } from '@sentio/protos';
2
+ import { DeepPartial as DeepPartial$1, ProcessStreamResponse, DBResponse, DBRequest_DBUpsert, DBRequest, HandlerType, ProcessConfigResponse, StartRequest, DataBinding, PreparedData, ProcessResult, PreprocessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, ProcessStreamRequest, PreprocessStreamRequest, PreprocessStreamResponse } from '@sentio/protos';
3
3
  import { Subject } from 'rxjs';
4
4
  import { AsyncLocalStorage } from 'node:async_hooks';
5
5
  import { Required } from 'utility-types';
@@ -171,31 +171,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
171
171
  fields?: {
172
172
  [x: string]: {
173
173
  nullValue?: _sentio_protos.RichValue_NullValue | undefined;
174
- intValue?: number | undefined | undefined;
175
- int64Value?: bigint | undefined | undefined;
176
- floatValue?: number | undefined | undefined;
177
- bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
178
- boolValue?: boolean | undefined | undefined;
179
- stringValue?: string | undefined | undefined;
174
+ intValue?: number | undefined;
175
+ int64Value?: bigint | undefined;
176
+ floatValue?: number | undefined;
177
+ bytesValue?: Uint8Array | undefined;
178
+ boolValue?: boolean | undefined;
179
+ stringValue?: string | undefined;
180
180
  timestampValue?: Date | undefined;
181
181
  bigintValue?: {
182
182
  negative?: boolean | undefined;
183
- data?: Uint8Array<ArrayBufferLike> | undefined;
183
+ data?: Uint8Array | undefined;
184
184
  } | undefined;
185
185
  bigdecimalValue?: {
186
186
  value?: {
187
187
  negative?: boolean | undefined;
188
- data?: Uint8Array<ArrayBufferLike> | undefined;
188
+ data?: Uint8Array | undefined;
189
189
  } | undefined;
190
190
  exp?: number | undefined;
191
191
  } | undefined;
192
192
  listValue?: {
193
- values?: /*elided*/ any[] | undefined;
193
+ values?: any[] | undefined;
194
194
  } | undefined;
195
- structValue?: /*elided*/ any | undefined;
195
+ structValue?: any | undefined;
196
196
  tokenValue?: {
197
197
  token?: {
198
- symbol?: string | undefined | undefined;
198
+ symbol?: string | undefined;
199
199
  address?: {
200
200
  address?: string | undefined;
201
201
  chain?: string | undefined;
@@ -204,7 +204,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
204
204
  amount?: {
205
205
  value?: {
206
206
  negative?: boolean | undefined;
207
- data?: Uint8Array<ArrayBufferLike> | undefined;
207
+ data?: Uint8Array | undefined;
208
208
  } | undefined;
209
209
  exp?: number | undefined;
210
210
  } | undefined;
@@ -224,54 +224,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
224
224
  field?: string | undefined;
225
225
  op?: _sentio_protos.DBRequest_DBOperator | undefined;
226
226
  value?: {
227
- values?: {
228
- nullValue?: _sentio_protos.RichValue_NullValue | undefined;
229
- intValue?: number | undefined | undefined;
230
- int64Value?: bigint | undefined | undefined;
231
- floatValue?: number | undefined | undefined;
232
- bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
233
- boolValue?: boolean | undefined | undefined;
234
- stringValue?: string | undefined | undefined;
235
- timestampValue?: Date | undefined;
236
- bigintValue?: {
237
- negative?: boolean | undefined;
238
- data?: Uint8Array<ArrayBufferLike> | undefined;
239
- } | undefined;
240
- bigdecimalValue?: {
241
- value?: {
242
- negative?: boolean | undefined;
243
- data?: Uint8Array<ArrayBufferLike> | undefined;
244
- } | undefined;
245
- exp?: number | undefined;
246
- } | undefined;
247
- listValue?: /*elided*/ any | undefined;
248
- structValue?: {
249
- fields?: {
250
- [x: string]: /*elided*/ any | undefined;
251
- } | undefined;
252
- } | undefined;
253
- tokenValue?: {
254
- token?: {
255
- symbol?: string | undefined | undefined;
256
- address?: {
257
- address?: string | undefined;
258
- chain?: string | undefined;
259
- } | undefined;
260
- } | undefined;
261
- amount?: {
262
- value?: {
263
- negative?: boolean | undefined;
264
- data?: Uint8Array<ArrayBufferLike> | undefined;
265
- } | undefined;
266
- exp?: number | undefined;
267
- } | undefined;
268
- specifiedAt?: Date | undefined;
269
- } | undefined;
270
- }[] | undefined;
227
+ values?: any[] | undefined;
271
228
  } | undefined;
272
229
  }[] | undefined;
273
230
  cursor?: string | undefined;
274
- pageSize?: number | undefined | undefined;
231
+ pageSize?: number | undefined;
275
232
  } | undefined;
276
233
  } | undefined;
277
234
  result?: {
@@ -290,11 +247,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
290
247
  } | undefined;
291
248
  } | undefined;
292
249
  metricValue?: {
293
- bigDecimal?: string | undefined | undefined;
294
- doubleValue?: number | undefined | undefined;
250
+ bigDecimal?: string | undefined;
251
+ doubleValue?: number | undefined;
295
252
  bigInteger?: {
296
253
  negative?: boolean | undefined;
297
- data?: Uint8Array<ArrayBufferLike> | undefined;
254
+ data?: Uint8Array | undefined;
298
255
  } | undefined;
299
256
  } | undefined;
300
257
  runtimeInfo?: {
@@ -316,11 +273,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
316
273
  } | undefined;
317
274
  } | undefined;
318
275
  metricValue?: {
319
- bigDecimal?: string | undefined | undefined;
320
- doubleValue?: number | undefined | undefined;
276
+ bigDecimal?: string | undefined;
277
+ doubleValue?: number | undefined;
321
278
  bigInteger?: {
322
279
  negative?: boolean | undefined;
323
- data?: Uint8Array<ArrayBufferLike> | undefined;
280
+ data?: Uint8Array | undefined;
324
281
  } | undefined;
325
282
  } | undefined;
326
283
  add?: boolean | undefined;
@@ -355,31 +312,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
355
312
  fields?: {
356
313
  [x: string]: {
357
314
  nullValue?: _sentio_protos.RichValue_NullValue | undefined;
358
- intValue?: number | undefined | undefined;
359
- int64Value?: bigint | undefined | undefined;
360
- floatValue?: number | undefined | undefined;
361
- bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
362
- boolValue?: boolean | undefined | undefined;
363
- stringValue?: string | undefined | undefined;
315
+ intValue?: number | undefined;
316
+ int64Value?: bigint | undefined;
317
+ floatValue?: number | undefined;
318
+ bytesValue?: Uint8Array | undefined;
319
+ boolValue?: boolean | undefined;
320
+ stringValue?: string | undefined;
364
321
  timestampValue?: Date | undefined;
365
322
  bigintValue?: {
366
323
  negative?: boolean | undefined;
367
- data?: Uint8Array<ArrayBufferLike> | undefined;
324
+ data?: Uint8Array | undefined;
368
325
  } | undefined;
369
326
  bigdecimalValue?: {
370
327
  value?: {
371
328
  negative?: boolean | undefined;
372
- data?: Uint8Array<ArrayBufferLike> | undefined;
329
+ data?: Uint8Array | undefined;
373
330
  } | undefined;
374
331
  exp?: number | undefined;
375
332
  } | undefined;
376
333
  listValue?: {
377
- values?: /*elided*/ any[] | undefined;
334
+ values?: any[] | undefined;
378
335
  } | undefined;
379
- structValue?: /*elided*/ any | undefined;
336
+ structValue?: any | undefined;
380
337
  tokenValue?: {
381
338
  token?: {
382
- symbol?: string | undefined | undefined;
339
+ symbol?: string | undefined;
383
340
  address?: {
384
341
  address?: string | undefined;
385
342
  chain?: string | undefined;
@@ -388,7 +345,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
388
345
  amount?: {
389
346
  value?: {
390
347
  negative?: boolean | undefined;
391
- data?: Uint8Array<ArrayBufferLike> | undefined;
348
+ data?: Uint8Array | undefined;
392
349
  } | undefined;
393
350
  exp?: number | undefined;
394
351
  } | undefined;
@@ -420,10 +377,10 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
420
377
  }[] | undefined;
421
378
  states?: {
422
379
  configUpdated?: boolean | undefined;
423
- error?: string | undefined | undefined;
380
+ error?: string | undefined;
424
381
  } | undefined;
425
382
  } | undefined;
426
- }, void, any>;
383
+ }, void, undefined>;
427
384
  handlePreprocessRequests(requests: AsyncIterable<PreprocessStreamRequest>, subject: Subject<DeepPartial$1<PreprocessStreamResponse>>): Promise<void>;
428
385
  preprocessBindingsStream(requests: AsyncIterable<PreprocessStreamRequest>, context: CallContext): AsyncGenerator<{
429
386
  processId?: number | undefined;
@@ -443,31 +400,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
443
400
  fields?: {
444
401
  [x: string]: {
445
402
  nullValue?: _sentio_protos.RichValue_NullValue | undefined;
446
- intValue?: number | undefined | undefined;
447
- int64Value?: bigint | undefined | undefined;
448
- floatValue?: number | undefined | undefined;
449
- bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
450
- boolValue?: boolean | undefined | undefined;
451
- stringValue?: string | undefined | undefined;
403
+ intValue?: number | undefined;
404
+ int64Value?: bigint | undefined;
405
+ floatValue?: number | undefined;
406
+ bytesValue?: Uint8Array | undefined;
407
+ boolValue?: boolean | undefined;
408
+ stringValue?: string | undefined;
452
409
  timestampValue?: Date | undefined;
453
410
  bigintValue?: {
454
411
  negative?: boolean | undefined;
455
- data?: Uint8Array<ArrayBufferLike> | undefined;
412
+ data?: Uint8Array | undefined;
456
413
  } | undefined;
457
414
  bigdecimalValue?: {
458
415
  value?: {
459
416
  negative?: boolean | undefined;
460
- data?: Uint8Array<ArrayBufferLike> | undefined;
417
+ data?: Uint8Array | undefined;
461
418
  } | undefined;
462
419
  exp?: number | undefined;
463
420
  } | undefined;
464
421
  listValue?: {
465
- values?: /*elided*/ any[] | undefined;
422
+ values?: any[] | undefined;
466
423
  } | undefined;
467
- structValue?: /*elided*/ any | undefined;
424
+ structValue?: any | undefined;
468
425
  tokenValue?: {
469
426
  token?: {
470
- symbol?: string | undefined | undefined;
427
+ symbol?: string | undefined;
471
428
  address?: {
472
429
  address?: string | undefined;
473
430
  chain?: string | undefined;
@@ -476,7 +433,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
476
433
  amount?: {
477
434
  value?: {
478
435
  negative?: boolean | undefined;
479
- data?: Uint8Array<ArrayBufferLike> | undefined;
436
+ data?: Uint8Array | undefined;
480
437
  } | undefined;
481
438
  exp?: number | undefined;
482
439
  } | undefined;
@@ -496,57 +453,14 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
496
453
  field?: string | undefined;
497
454
  op?: _sentio_protos.DBRequest_DBOperator | undefined;
498
455
  value?: {
499
- values?: {
500
- nullValue?: _sentio_protos.RichValue_NullValue | undefined;
501
- intValue?: number | undefined | undefined;
502
- int64Value?: bigint | undefined | undefined;
503
- floatValue?: number | undefined | undefined;
504
- bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
505
- boolValue?: boolean | undefined | undefined;
506
- stringValue?: string | undefined | undefined;
507
- timestampValue?: Date | undefined;
508
- bigintValue?: {
509
- negative?: boolean | undefined;
510
- data?: Uint8Array<ArrayBufferLike> | undefined;
511
- } | undefined;
512
- bigdecimalValue?: {
513
- value?: {
514
- negative?: boolean | undefined;
515
- data?: Uint8Array<ArrayBufferLike> | undefined;
516
- } | undefined;
517
- exp?: number | undefined;
518
- } | undefined;
519
- listValue?: /*elided*/ any | undefined;
520
- structValue?: {
521
- fields?: {
522
- [x: string]: /*elided*/ any | undefined;
523
- } | undefined;
524
- } | undefined;
525
- tokenValue?: {
526
- token?: {
527
- symbol?: string | undefined | undefined;
528
- address?: {
529
- address?: string | undefined;
530
- chain?: string | undefined;
531
- } | undefined;
532
- } | undefined;
533
- amount?: {
534
- value?: {
535
- negative?: boolean | undefined;
536
- data?: Uint8Array<ArrayBufferLike> | undefined;
537
- } | undefined;
538
- exp?: number | undefined;
539
- } | undefined;
540
- specifiedAt?: Date | undefined;
541
- } | undefined;
542
- }[] | undefined;
456
+ values?: any[] | undefined;
543
457
  } | undefined;
544
458
  }[] | undefined;
545
459
  cursor?: string | undefined;
546
- pageSize?: number | undefined | undefined;
460
+ pageSize?: number | undefined;
547
461
  } | undefined;
548
462
  } | undefined;
549
- }, void, any>;
463
+ }, void, undefined>;
550
464
  private handleRequests;
551
465
  }
552
466
  declare function recordRuntimeInfo(results: ProcessResult, handlerType: HandlerType): void;
package/lib/index.js CHANGED
@@ -19,11 +19,11 @@ import {
19
19
  providerMetrics,
20
20
  recordRuntimeInfo,
21
21
  timeoutError
22
- } from "./chunk-YVOMEKB4.js";
22
+ } from "./chunk-IAGVEBAE.js";
23
23
  import {
24
24
  Plugin,
25
25
  PluginManager
26
- } from "./chunk-6YBY6GSE.js";
26
+ } from "./chunk-XR3EZ6FB.js";
27
27
 
28
28
  // src/state.ts
29
29
  var State = class _State {