@sentio/runtime 2.62.0-rc.9 → 2.62.1-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/{chunk-AHIIUVQL.js → chunk-BIFWYVK4.js} +347 -347
- package/lib/{chunk-AHIIUVQL.js.map → chunk-BIFWYVK4.js.map} +1 -1
- package/lib/{chunk-PCB4OKW7.js → chunk-CPJKSHSV.js} +2 -1
- package/lib/{chunk-W3VN25ER.js → chunk-MV6JXS2P.js} +2 -2
- package/lib/{chunk-I5YHR3CE.js → chunk-OFR7W4ZG.js} +5931 -7800
- package/lib/chunk-OFR7W4ZG.js.map +1 -0
- package/lib/{getMachineId-bsd-WJ6BLVOD.js → getMachineId-bsd-ZJR2OQTA.js} +2 -2
- package/lib/{getMachineId-darwin-TW74DVT5.js → getMachineId-darwin-OW6SYINH.js} +2 -2
- package/lib/{getMachineId-linux-MDJOKOMI.js → getMachineId-linux-L5XPRJBN.js} +2 -2
- package/lib/{getMachineId-unsupported-X2EJZ25K.js → getMachineId-unsupported-B3NMIOO3.js} +2 -2
- package/lib/{getMachineId-win-VE7DMTAF.js → getMachineId-win-TT64F63B.js} +2 -2
- package/lib/index.d.ts +182 -88
- package/lib/index.js +3 -3
- package/lib/{processor-HNY62jHs.d.ts → processor-CIR4erWa.d.ts} +0 -32
- package/lib/processor-runner.js +14213 -5883
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +4 -4
- package/lib/test-processor.test.d.ts +1 -1
- package/package.json +1 -1
- package/src/gen/processor/protos/processor.ts +83 -1217
- package/src/gen/service/common/protos/common.ts +13 -552
- package/src/otlp.ts +9 -34
- package/src/processor-runner.ts +2 -4
- package/src/service-v3.ts +3 -6
- package/lib/chunk-I5YHR3CE.js.map +0 -1
- /package/lib/{chunk-PCB4OKW7.js.map → chunk-CPJKSHSV.js.map} +0 -0
- /package/lib/{chunk-W3VN25ER.js.map → chunk-MV6JXS2P.js.map} +0 -0
- /package/lib/{getMachineId-bsd-WJ6BLVOD.js.map → getMachineId-bsd-ZJR2OQTA.js.map} +0 -0
- /package/lib/{getMachineId-darwin-TW74DVT5.js.map → getMachineId-darwin-OW6SYINH.js.map} +0 -0
- /package/lib/{getMachineId-linux-MDJOKOMI.js.map → getMachineId-linux-L5XPRJBN.js.map} +0 -0
- /package/lib/{getMachineId-unsupported-X2EJZ25K.js.map → getMachineId-unsupported-B3NMIOO3.js.map} +0 -0
- /package/lib/{getMachineId-win-VE7DMTAF.js.map → getMachineId-win-TT64F63B.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
|
|
6
6
|
import {
|
7
7
|
diag,
|
8
8
|
init_esm
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-MV6JXS2P.js";
|
10
10
|
import {
|
11
11
|
__esm
|
12
12
|
} from "./chunk-KVSDPGUI.js";
|
@@ -38,4 +38,4 @@ init_getMachineId_bsd();
|
|
38
38
|
export {
|
39
39
|
getMachineId
|
40
40
|
};
|
41
|
-
//# sourceMappingURL=getMachineId-bsd-
|
41
|
+
//# sourceMappingURL=getMachineId-bsd-ZJR2OQTA.js.map
|
@@ -6,7 +6,7 @@ import {
|
|
6
6
|
import {
|
7
7
|
diag,
|
8
8
|
init_esm
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-MV6JXS2P.js";
|
10
10
|
import {
|
11
11
|
__esm
|
12
12
|
} from "./chunk-KVSDPGUI.js";
|
@@ -38,4 +38,4 @@ init_getMachineId_darwin();
|
|
38
38
|
export {
|
39
39
|
getMachineId
|
40
40
|
};
|
41
|
-
//# sourceMappingURL=getMachineId-darwin-
|
41
|
+
//# sourceMappingURL=getMachineId-darwin-OW6SYINH.js.map
|
@@ -2,7 +2,7 @@ import { createRequire as createRequireShim } from 'module'; const require = cre
|
|
2
2
|
import {
|
3
3
|
diag,
|
4
4
|
init_esm
|
5
|
-
} from "./chunk-
|
5
|
+
} from "./chunk-MV6JXS2P.js";
|
6
6
|
import {
|
7
7
|
__esm
|
8
8
|
} from "./chunk-KVSDPGUI.js";
|
@@ -30,4 +30,4 @@ init_getMachineId_linux();
|
|
30
30
|
export {
|
31
31
|
getMachineId
|
32
32
|
};
|
33
|
-
//# sourceMappingURL=getMachineId-linux-
|
33
|
+
//# sourceMappingURL=getMachineId-linux-L5XPRJBN.js.map
|
@@ -2,7 +2,7 @@ import { createRequire as createRequireShim } from 'module'; const require = cre
|
|
2
2
|
import {
|
3
3
|
diag,
|
4
4
|
init_esm
|
5
|
-
} from "./chunk-
|
5
|
+
} from "./chunk-MV6JXS2P.js";
|
6
6
|
import {
|
7
7
|
__esm
|
8
8
|
} from "./chunk-KVSDPGUI.js";
|
@@ -21,4 +21,4 @@ init_getMachineId_unsupported();
|
|
21
21
|
export {
|
22
22
|
getMachineId
|
23
23
|
};
|
24
|
-
//# sourceMappingURL=getMachineId-unsupported-
|
24
|
+
//# sourceMappingURL=getMachineId-unsupported-B3NMIOO3.js.map
|
@@ -6,7 +6,7 @@ import {
|
|
6
6
|
import {
|
7
7
|
diag,
|
8
8
|
init_esm
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-MV6JXS2P.js";
|
10
10
|
import {
|
11
11
|
__esm
|
12
12
|
} from "./chunk-KVSDPGUI.js";
|
@@ -40,4 +40,4 @@ init_getMachineId_win();
|
|
40
40
|
export {
|
41
41
|
getMachineId
|
42
42
|
};
|
43
|
-
//# sourceMappingURL=getMachineId-win-
|
43
|
+
//# sourceMappingURL=getMachineId-win-TT64F63B.js.map
|
package/lib/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as StoreContext, E as ExecutionConfig } from './processor-
|
2
|
-
export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-
|
1
|
+
import { S as StoreContext, E as ExecutionConfig } from './processor-CIR4erWa.js';
|
2
|
+
export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-CIR4erWa.js';
|
3
3
|
import * as _sentio_protos from '@sentio/protos';
|
4
4
|
import { TemplateInstance, ProcessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, ProcessConfigResponse, StartRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, DataBinding, PreparedData, PreprocessResult, ProcessStreamRequest, HandlerType, PreprocessStreamRequest, DeepPartial, PreprocessStreamResponse, ProcessStreamResponse } from '@sentio/protos';
|
5
5
|
import { Required } from 'utility-types';
|
@@ -132,31 +132,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
132
132
|
fields?: {
|
133
133
|
[x: string]: {
|
134
134
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
135
|
-
intValue?: number | undefined;
|
136
|
-
int64Value?: bigint | undefined;
|
137
|
-
floatValue?: number | undefined;
|
138
|
-
bytesValue?: Uint8Array | undefined;
|
139
|
-
boolValue?: boolean | undefined;
|
140
|
-
stringValue?: string | undefined;
|
135
|
+
intValue?: number | undefined | undefined;
|
136
|
+
int64Value?: bigint | undefined | undefined;
|
137
|
+
floatValue?: number | undefined | undefined;
|
138
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
139
|
+
boolValue?: boolean | undefined | undefined;
|
140
|
+
stringValue?: string | undefined | undefined;
|
141
141
|
timestampValue?: Date | undefined;
|
142
142
|
bigintValue?: {
|
143
143
|
negative?: boolean | undefined;
|
144
|
-
data?: Uint8Array | undefined;
|
144
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
145
145
|
} | undefined;
|
146
146
|
bigdecimalValue?: {
|
147
147
|
value?: {
|
148
148
|
negative?: boolean | undefined;
|
149
|
-
data?: Uint8Array | undefined;
|
149
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
150
150
|
} | undefined;
|
151
151
|
exp?: number | undefined;
|
152
152
|
} | undefined;
|
153
153
|
listValue?: {
|
154
|
-
values?: any[] | undefined;
|
154
|
+
values?: /*elided*/ any[] | undefined;
|
155
155
|
} | undefined;
|
156
|
-
structValue?: any | undefined;
|
156
|
+
structValue?: /*elided*/ any | undefined;
|
157
157
|
tokenValue?: {
|
158
158
|
token?: {
|
159
|
-
symbol?: string | undefined;
|
159
|
+
symbol?: string | undefined | undefined;
|
160
160
|
address?: {
|
161
161
|
address?: string | undefined;
|
162
162
|
chain?: string | undefined;
|
@@ -165,7 +165,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
165
165
|
amount?: {
|
166
166
|
value?: {
|
167
167
|
negative?: boolean | undefined;
|
168
|
-
data?: Uint8Array | undefined;
|
168
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
169
169
|
} | undefined;
|
170
170
|
exp?: number | undefined;
|
171
171
|
} | undefined;
|
@@ -183,31 +183,35 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
183
183
|
[x: string]: {
|
184
184
|
value?: {
|
185
185
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
186
|
-
intValue?: number | undefined;
|
187
|
-
int64Value?: bigint | undefined;
|
188
|
-
floatValue?: number | undefined;
|
189
|
-
bytesValue?: Uint8Array | undefined;
|
190
|
-
boolValue?: boolean | undefined;
|
191
|
-
stringValue?: string | undefined;
|
186
|
+
intValue?: number | undefined | undefined;
|
187
|
+
int64Value?: bigint | undefined | undefined;
|
188
|
+
floatValue?: number | undefined | undefined;
|
189
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
190
|
+
boolValue?: boolean | undefined | undefined;
|
191
|
+
stringValue?: string | undefined | undefined;
|
192
192
|
timestampValue?: Date | undefined;
|
193
193
|
bigintValue?: {
|
194
194
|
negative?: boolean | undefined;
|
195
|
-
data?: Uint8Array | undefined;
|
195
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
196
196
|
} | undefined;
|
197
197
|
bigdecimalValue?: {
|
198
198
|
value?: {
|
199
199
|
negative?: boolean | undefined;
|
200
|
-
data?: Uint8Array | undefined;
|
200
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
201
201
|
} | undefined;
|
202
202
|
exp?: number | undefined;
|
203
203
|
} | undefined;
|
204
204
|
listValue?: {
|
205
|
-
values?: any[] | undefined;
|
205
|
+
values?: /*elided*/ any[] | undefined;
|
206
|
+
} | undefined;
|
207
|
+
structValue?: {
|
208
|
+
fields?: {
|
209
|
+
[x: string]: /*elided*/ any | undefined;
|
210
|
+
} | undefined;
|
206
211
|
} | undefined;
|
207
|
-
structValue?: any | undefined;
|
208
212
|
tokenValue?: {
|
209
213
|
token?: {
|
210
|
-
symbol?: string | undefined;
|
214
|
+
symbol?: string | undefined | undefined;
|
211
215
|
address?: {
|
212
216
|
address?: string | undefined;
|
213
217
|
chain?: string | undefined;
|
@@ -216,7 +220,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
216
220
|
amount?: {
|
217
221
|
value?: {
|
218
222
|
negative?: boolean | undefined;
|
219
|
-
data?: Uint8Array | undefined;
|
223
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
220
224
|
} | undefined;
|
221
225
|
exp?: number | undefined;
|
222
226
|
} | undefined;
|
@@ -238,11 +242,54 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
238
242
|
field?: string | undefined;
|
239
243
|
op?: _sentio_protos.DBRequest_DBOperator | undefined;
|
240
244
|
value?: {
|
241
|
-
values?:
|
245
|
+
values?: {
|
246
|
+
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
247
|
+
intValue?: number | undefined | undefined;
|
248
|
+
int64Value?: bigint | undefined | undefined;
|
249
|
+
floatValue?: number | undefined | undefined;
|
250
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
251
|
+
boolValue?: boolean | undefined | undefined;
|
252
|
+
stringValue?: string | undefined | undefined;
|
253
|
+
timestampValue?: Date | undefined;
|
254
|
+
bigintValue?: {
|
255
|
+
negative?: boolean | undefined;
|
256
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
257
|
+
} | undefined;
|
258
|
+
bigdecimalValue?: {
|
259
|
+
value?: {
|
260
|
+
negative?: boolean | undefined;
|
261
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
262
|
+
} | undefined;
|
263
|
+
exp?: number | undefined;
|
264
|
+
} | undefined;
|
265
|
+
listValue?: /*elided*/ any | undefined;
|
266
|
+
structValue?: {
|
267
|
+
fields?: {
|
268
|
+
[x: string]: /*elided*/ any | undefined;
|
269
|
+
} | undefined;
|
270
|
+
} | undefined;
|
271
|
+
tokenValue?: {
|
272
|
+
token?: {
|
273
|
+
symbol?: string | undefined | undefined;
|
274
|
+
address?: {
|
275
|
+
address?: string | undefined;
|
276
|
+
chain?: string | undefined;
|
277
|
+
} | undefined;
|
278
|
+
} | undefined;
|
279
|
+
amount?: {
|
280
|
+
value?: {
|
281
|
+
negative?: boolean | undefined;
|
282
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
283
|
+
} | undefined;
|
284
|
+
exp?: number | undefined;
|
285
|
+
} | undefined;
|
286
|
+
specifiedAt?: Date | undefined;
|
287
|
+
} | undefined;
|
288
|
+
}[] | undefined;
|
242
289
|
} | undefined;
|
243
290
|
}[] | undefined;
|
244
291
|
cursor?: string | undefined;
|
245
|
-
pageSize?: number | undefined;
|
292
|
+
pageSize?: number | undefined | undefined;
|
246
293
|
} | undefined;
|
247
294
|
} | undefined;
|
248
295
|
result?: {
|
@@ -261,11 +308,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
261
308
|
} | undefined;
|
262
309
|
} | undefined;
|
263
310
|
metricValue?: {
|
264
|
-
bigDecimal?: string | undefined;
|
265
|
-
doubleValue?: number | undefined;
|
311
|
+
bigDecimal?: string | undefined | undefined;
|
312
|
+
doubleValue?: number | undefined | undefined;
|
266
313
|
bigInteger?: {
|
267
314
|
negative?: boolean | undefined;
|
268
|
-
data?: Uint8Array | undefined;
|
315
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
269
316
|
} | undefined;
|
270
317
|
} | undefined;
|
271
318
|
runtimeInfo?: {
|
@@ -287,11 +334,11 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
287
334
|
} | undefined;
|
288
335
|
} | undefined;
|
289
336
|
metricValue?: {
|
290
|
-
bigDecimal?: string | undefined;
|
291
|
-
doubleValue?: number | undefined;
|
337
|
+
bigDecimal?: string | undefined | undefined;
|
338
|
+
doubleValue?: number | undefined | undefined;
|
292
339
|
bigInteger?: {
|
293
340
|
negative?: boolean | undefined;
|
294
|
-
data?: Uint8Array | undefined;
|
341
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
295
342
|
} | undefined;
|
296
343
|
} | undefined;
|
297
344
|
add?: boolean | undefined;
|
@@ -326,31 +373,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
326
373
|
fields?: {
|
327
374
|
[x: string]: {
|
328
375
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
329
|
-
intValue?: number | undefined;
|
330
|
-
int64Value?: bigint | undefined;
|
331
|
-
floatValue?: number | undefined;
|
332
|
-
bytesValue?: Uint8Array | undefined;
|
333
|
-
boolValue?: boolean | undefined;
|
334
|
-
stringValue?: string | undefined;
|
376
|
+
intValue?: number | undefined | undefined;
|
377
|
+
int64Value?: bigint | undefined | undefined;
|
378
|
+
floatValue?: number | undefined | undefined;
|
379
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
380
|
+
boolValue?: boolean | undefined | undefined;
|
381
|
+
stringValue?: string | undefined | undefined;
|
335
382
|
timestampValue?: Date | undefined;
|
336
383
|
bigintValue?: {
|
337
384
|
negative?: boolean | undefined;
|
338
|
-
data?: Uint8Array | undefined;
|
385
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
339
386
|
} | undefined;
|
340
387
|
bigdecimalValue?: {
|
341
388
|
value?: {
|
342
389
|
negative?: boolean | undefined;
|
343
|
-
data?: Uint8Array | undefined;
|
390
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
344
391
|
} | undefined;
|
345
392
|
exp?: number | undefined;
|
346
393
|
} | undefined;
|
347
394
|
listValue?: {
|
348
|
-
values?: any[] | undefined;
|
395
|
+
values?: /*elided*/ any[] | undefined;
|
349
396
|
} | undefined;
|
350
|
-
structValue?: any | undefined;
|
397
|
+
structValue?: /*elided*/ any | undefined;
|
351
398
|
tokenValue?: {
|
352
399
|
token?: {
|
353
|
-
symbol?: string | undefined;
|
400
|
+
symbol?: string | undefined | undefined;
|
354
401
|
address?: {
|
355
402
|
address?: string | undefined;
|
356
403
|
chain?: string | undefined;
|
@@ -359,7 +406,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
359
406
|
amount?: {
|
360
407
|
value?: {
|
361
408
|
negative?: boolean | undefined;
|
362
|
-
data?: Uint8Array | undefined;
|
409
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
363
410
|
} | undefined;
|
364
411
|
exp?: number | undefined;
|
365
412
|
} | undefined;
|
@@ -391,7 +438,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
391
438
|
}[] | undefined;
|
392
439
|
states?: {
|
393
440
|
configUpdated?: boolean | undefined;
|
394
|
-
error?: string | undefined;
|
441
|
+
error?: string | undefined | undefined;
|
395
442
|
} | undefined;
|
396
443
|
timeseriesResult?: {
|
397
444
|
metadata?: {
|
@@ -412,31 +459,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
412
459
|
fields?: {
|
413
460
|
[x: string]: {
|
414
461
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
415
|
-
intValue?: number | undefined;
|
416
|
-
int64Value?: bigint | undefined;
|
417
|
-
floatValue?: number | undefined;
|
418
|
-
bytesValue?: Uint8Array | undefined;
|
419
|
-
boolValue?: boolean | undefined;
|
420
|
-
stringValue?: string | undefined;
|
462
|
+
intValue?: number | undefined | undefined;
|
463
|
+
int64Value?: bigint | undefined | undefined;
|
464
|
+
floatValue?: number | undefined | undefined;
|
465
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
466
|
+
boolValue?: boolean | undefined | undefined;
|
467
|
+
stringValue?: string | undefined | undefined;
|
421
468
|
timestampValue?: Date | undefined;
|
422
469
|
bigintValue?: {
|
423
470
|
negative?: boolean | undefined;
|
424
|
-
data?: Uint8Array | undefined;
|
471
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
425
472
|
} | undefined;
|
426
473
|
bigdecimalValue?: {
|
427
474
|
value?: {
|
428
475
|
negative?: boolean | undefined;
|
429
|
-
data?: Uint8Array | undefined;
|
476
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
430
477
|
} | undefined;
|
431
478
|
exp?: number | undefined;
|
432
479
|
} | undefined;
|
433
480
|
listValue?: {
|
434
|
-
values?: any[] | undefined;
|
481
|
+
values?: /*elided*/ any[] | undefined;
|
435
482
|
} | undefined;
|
436
|
-
structValue?: any | undefined;
|
483
|
+
structValue?: /*elided*/ any | undefined;
|
437
484
|
tokenValue?: {
|
438
485
|
token?: {
|
439
|
-
symbol?: string | undefined;
|
486
|
+
symbol?: string | undefined | undefined;
|
440
487
|
address?: {
|
441
488
|
address?: string | undefined;
|
442
489
|
chain?: string | undefined;
|
@@ -445,7 +492,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
445
492
|
amount?: {
|
446
493
|
value?: {
|
447
494
|
negative?: boolean | undefined;
|
448
|
-
data?: Uint8Array | undefined;
|
495
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
449
496
|
} | undefined;
|
450
497
|
exp?: number | undefined;
|
451
498
|
} | undefined;
|
@@ -462,12 +509,12 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
462
509
|
partitions?: {
|
463
510
|
partitions?: {
|
464
511
|
[x: number]: {
|
465
|
-
userValue?: string | undefined;
|
512
|
+
userValue?: string | undefined | undefined;
|
466
513
|
sysValue?: _sentio_protos.ProcessStreamResponse_Partitions_Partition_SysValue | undefined;
|
467
514
|
} | undefined;
|
468
515
|
} | undefined;
|
469
516
|
} | undefined;
|
470
|
-
}, void,
|
517
|
+
}, void, any>;
|
471
518
|
handlePreprocessRequests(requests: AsyncIterable<PreprocessStreamRequest>, subject: Subject<DeepPartial<PreprocessStreamResponse>>): Promise<void>;
|
472
519
|
preprocessBindingsStream(requests: AsyncIterable<PreprocessStreamRequest>, context: CallContext): AsyncGenerator<{
|
473
520
|
processId?: number | undefined;
|
@@ -487,31 +534,31 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
487
534
|
fields?: {
|
488
535
|
[x: string]: {
|
489
536
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
490
|
-
intValue?: number | undefined;
|
491
|
-
int64Value?: bigint | undefined;
|
492
|
-
floatValue?: number | undefined;
|
493
|
-
bytesValue?: Uint8Array | undefined;
|
494
|
-
boolValue?: boolean | undefined;
|
495
|
-
stringValue?: string | undefined;
|
537
|
+
intValue?: number | undefined | undefined;
|
538
|
+
int64Value?: bigint | undefined | undefined;
|
539
|
+
floatValue?: number | undefined | undefined;
|
540
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
541
|
+
boolValue?: boolean | undefined | undefined;
|
542
|
+
stringValue?: string | undefined | undefined;
|
496
543
|
timestampValue?: Date | undefined;
|
497
544
|
bigintValue?: {
|
498
545
|
negative?: boolean | undefined;
|
499
|
-
data?: Uint8Array | undefined;
|
546
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
500
547
|
} | undefined;
|
501
548
|
bigdecimalValue?: {
|
502
549
|
value?: {
|
503
550
|
negative?: boolean | undefined;
|
504
|
-
data?: Uint8Array | undefined;
|
551
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
505
552
|
} | undefined;
|
506
553
|
exp?: number | undefined;
|
507
554
|
} | undefined;
|
508
555
|
listValue?: {
|
509
|
-
values?: any[] | undefined;
|
556
|
+
values?: /*elided*/ any[] | undefined;
|
510
557
|
} | undefined;
|
511
|
-
structValue?: any | undefined;
|
558
|
+
structValue?: /*elided*/ any | undefined;
|
512
559
|
tokenValue?: {
|
513
560
|
token?: {
|
514
|
-
symbol?: string | undefined;
|
561
|
+
symbol?: string | undefined | undefined;
|
515
562
|
address?: {
|
516
563
|
address?: string | undefined;
|
517
564
|
chain?: string | undefined;
|
@@ -520,7 +567,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
520
567
|
amount?: {
|
521
568
|
value?: {
|
522
569
|
negative?: boolean | undefined;
|
523
|
-
data?: Uint8Array | undefined;
|
570
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
524
571
|
} | undefined;
|
525
572
|
exp?: number | undefined;
|
526
573
|
} | undefined;
|
@@ -538,31 +585,35 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
538
585
|
[x: string]: {
|
539
586
|
value?: {
|
540
587
|
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
541
|
-
intValue?: number | undefined;
|
542
|
-
int64Value?: bigint | undefined;
|
543
|
-
floatValue?: number | undefined;
|
544
|
-
bytesValue?: Uint8Array | undefined;
|
545
|
-
boolValue?: boolean | undefined;
|
546
|
-
stringValue?: string | undefined;
|
588
|
+
intValue?: number | undefined | undefined;
|
589
|
+
int64Value?: bigint | undefined | undefined;
|
590
|
+
floatValue?: number | undefined | undefined;
|
591
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
592
|
+
boolValue?: boolean | undefined | undefined;
|
593
|
+
stringValue?: string | undefined | undefined;
|
547
594
|
timestampValue?: Date | undefined;
|
548
595
|
bigintValue?: {
|
549
596
|
negative?: boolean | undefined;
|
550
|
-
data?: Uint8Array | undefined;
|
597
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
551
598
|
} | undefined;
|
552
599
|
bigdecimalValue?: {
|
553
600
|
value?: {
|
554
601
|
negative?: boolean | undefined;
|
555
|
-
data?: Uint8Array | undefined;
|
602
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
556
603
|
} | undefined;
|
557
604
|
exp?: number | undefined;
|
558
605
|
} | undefined;
|
559
606
|
listValue?: {
|
560
|
-
values?: any[] | undefined;
|
607
|
+
values?: /*elided*/ any[] | undefined;
|
608
|
+
} | undefined;
|
609
|
+
structValue?: {
|
610
|
+
fields?: {
|
611
|
+
[x: string]: /*elided*/ any | undefined;
|
612
|
+
} | undefined;
|
561
613
|
} | undefined;
|
562
|
-
structValue?: any | undefined;
|
563
614
|
tokenValue?: {
|
564
615
|
token?: {
|
565
|
-
symbol?: string | undefined;
|
616
|
+
symbol?: string | undefined | undefined;
|
566
617
|
address?: {
|
567
618
|
address?: string | undefined;
|
568
619
|
chain?: string | undefined;
|
@@ -571,7 +622,7 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
571
622
|
amount?: {
|
572
623
|
value?: {
|
573
624
|
negative?: boolean | undefined;
|
574
|
-
data?: Uint8Array | undefined;
|
625
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
575
626
|
} | undefined;
|
576
627
|
exp?: number | undefined;
|
577
628
|
} | undefined;
|
@@ -593,14 +644,57 @@ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
593
644
|
field?: string | undefined;
|
594
645
|
op?: _sentio_protos.DBRequest_DBOperator | undefined;
|
595
646
|
value?: {
|
596
|
-
values?:
|
647
|
+
values?: {
|
648
|
+
nullValue?: _sentio_protos.RichValue_NullValue | undefined;
|
649
|
+
intValue?: number | undefined | undefined;
|
650
|
+
int64Value?: bigint | undefined | undefined;
|
651
|
+
floatValue?: number | undefined | undefined;
|
652
|
+
bytesValue?: Uint8Array<ArrayBufferLike> | undefined;
|
653
|
+
boolValue?: boolean | undefined | undefined;
|
654
|
+
stringValue?: string | undefined | undefined;
|
655
|
+
timestampValue?: Date | undefined;
|
656
|
+
bigintValue?: {
|
657
|
+
negative?: boolean | undefined;
|
658
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
659
|
+
} | undefined;
|
660
|
+
bigdecimalValue?: {
|
661
|
+
value?: {
|
662
|
+
negative?: boolean | undefined;
|
663
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
664
|
+
} | undefined;
|
665
|
+
exp?: number | undefined;
|
666
|
+
} | undefined;
|
667
|
+
listValue?: /*elided*/ any | undefined;
|
668
|
+
structValue?: {
|
669
|
+
fields?: {
|
670
|
+
[x: string]: /*elided*/ any | undefined;
|
671
|
+
} | undefined;
|
672
|
+
} | undefined;
|
673
|
+
tokenValue?: {
|
674
|
+
token?: {
|
675
|
+
symbol?: string | undefined | undefined;
|
676
|
+
address?: {
|
677
|
+
address?: string | undefined;
|
678
|
+
chain?: string | undefined;
|
679
|
+
} | undefined;
|
680
|
+
} | undefined;
|
681
|
+
amount?: {
|
682
|
+
value?: {
|
683
|
+
negative?: boolean | undefined;
|
684
|
+
data?: Uint8Array<ArrayBufferLike> | undefined;
|
685
|
+
} | undefined;
|
686
|
+
exp?: number | undefined;
|
687
|
+
} | undefined;
|
688
|
+
specifiedAt?: Date | undefined;
|
689
|
+
} | undefined;
|
690
|
+
}[] | undefined;
|
597
691
|
} | undefined;
|
598
692
|
}[] | undefined;
|
599
693
|
cursor?: string | undefined;
|
600
|
-
pageSize?: number | undefined;
|
694
|
+
pageSize?: number | undefined | undefined;
|
601
695
|
} | undefined;
|
602
696
|
} | undefined;
|
603
|
-
}, void,
|
697
|
+
}, void, any>;
|
604
698
|
private dbContexts;
|
605
699
|
protected handleRequests(requests: AsyncIterable<ProcessStreamRequest>, subject: Subject<DeepPartial<ProcessStreamResponse>>): Promise<void>;
|
606
700
|
handleRequest(request: ProcessStreamRequest, lastBinding: DataBinding | undefined, subject: Subject<DeepPartial<ProcessStreamResponse>>): Promise<void>;
|
package/lib/index.js
CHANGED
@@ -30,12 +30,12 @@ import {
|
|
30
30
|
providerMetrics,
|
31
31
|
recordRuntimeInfo,
|
32
32
|
timeoutError
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-BIFWYVK4.js";
|
34
34
|
import {
|
35
35
|
Plugin,
|
36
36
|
PluginManager
|
37
|
-
} from "./chunk-
|
38
|
-
import "./chunk-
|
37
|
+
} from "./chunk-OFR7W4ZG.js";
|
38
|
+
import "./chunk-MV6JXS2P.js";
|
39
39
|
import "./chunk-KVSDPGUI.js";
|
40
40
|
|
41
41
|
// src/chain-config.ts
|
@@ -279,8 +279,6 @@ declare enum HandlerType {
|
|
279
279
|
FUEL_BLOCK = 17,
|
280
280
|
COSMOS_CALL = 14,
|
281
281
|
STARKNET_EVENT = 15,
|
282
|
-
BTC_TRANSACTION = 16,
|
283
|
-
BTC_BLOCK = 18,
|
284
282
|
UNRECOGNIZED = -1
|
285
283
|
}
|
286
284
|
declare enum LogLevel {
|
@@ -352,8 +350,6 @@ interface Data {
|
|
352
350
|
fuelBlock?: Data_FuelBlock | undefined;
|
353
351
|
cosmosCall?: Data_CosmosCall | undefined;
|
354
352
|
starknetEvents?: Data_StarknetEvent | undefined;
|
355
|
-
btcTransaction?: Data_BTCTransaction | undefined;
|
356
|
-
btcBlock?: Data_BTCBlock | undefined;
|
357
353
|
}
|
358
354
|
declare const Data: {
|
359
355
|
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
@@ -683,34 +679,6 @@ declare const Data_StarknetEvent: {
|
|
683
679
|
create(base?: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
684
680
|
fromPartial(object: DeepPartial<Data_StarknetEvent>): Data_StarknetEvent;
|
685
681
|
};
|
686
|
-
interface Data_BTCTransaction {
|
687
|
-
transaction: {
|
688
|
-
[key: string]: any;
|
689
|
-
} | undefined;
|
690
|
-
timestamp: Date | undefined;
|
691
|
-
}
|
692
|
-
declare const Data_BTCTransaction: {
|
693
|
-
encode(message: Data_BTCTransaction, writer?: _m0.Writer): _m0.Writer;
|
694
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_BTCTransaction;
|
695
|
-
fromJSON(object: any): Data_BTCTransaction;
|
696
|
-
toJSON(message: Data_BTCTransaction): unknown;
|
697
|
-
create(base?: DeepPartial<Data_BTCTransaction>): Data_BTCTransaction;
|
698
|
-
fromPartial(object: DeepPartial<Data_BTCTransaction>): Data_BTCTransaction;
|
699
|
-
};
|
700
|
-
interface Data_BTCBlock {
|
701
|
-
block: {
|
702
|
-
[key: string]: any;
|
703
|
-
} | undefined;
|
704
|
-
timestamp: Date | undefined;
|
705
|
-
}
|
706
|
-
declare const Data_BTCBlock: {
|
707
|
-
encode(message: Data_BTCBlock, writer?: _m0.Writer): _m0.Writer;
|
708
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_BTCBlock;
|
709
|
-
fromJSON(object: any): Data_BTCBlock;
|
710
|
-
toJSON(message: Data_BTCBlock): unknown;
|
711
|
-
create(base?: DeepPartial<Data_BTCBlock>): Data_BTCBlock;
|
712
|
-
fromPartial(object: DeepPartial<Data_BTCBlock>): Data_BTCBlock;
|
713
|
-
};
|
714
682
|
interface DataBinding {
|
715
683
|
data: Data | undefined;
|
716
684
|
handlerType: HandlerType;
|