@sentio/runtime 2.39.7-rc.9 → 2.40.0-rc.2

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.
Files changed (97) hide show
  1. package/lib/chunk-WDKQZPD5.js +78804 -0
  2. package/lib/index.d.ts +369 -9
  3. package/lib/index.js +92 -9
  4. package/lib/processor-runner.d.ts +0 -2
  5. package/lib/processor-runner.js +51460 -129
  6. package/package.json +5 -25
  7. package/src/db-context.ts +157 -7
  8. package/src/full-service.ts +5 -0
  9. package/src/gen/processor/protos/processor.ts +995 -90
  10. package/src/plugin.ts +30 -4
  11. package/src/processor-runner.ts +26 -2
  12. package/src/provider.ts +166 -0
  13. package/src/service.ts +197 -27
  14. package/src/tsup.config.ts +14 -0
  15. package/lib/chain-config.d.ts +0 -6
  16. package/lib/chain-config.d.ts.map +0 -1
  17. package/lib/chain-config.js +0 -2
  18. package/lib/chain-config.js.map +0 -1
  19. package/lib/db-context.d.ts +0 -17
  20. package/lib/db-context.d.ts.map +0 -1
  21. package/lib/db-context.js +0 -63
  22. package/lib/db-context.js.map +0 -1
  23. package/lib/decode-benchmark.d.ts +0 -3
  24. package/lib/decode-benchmark.d.ts.map +0 -1
  25. package/lib/decode-benchmark.js +0 -20
  26. package/lib/decode-benchmark.js.map +0 -1
  27. package/lib/endpoints.d.ts +0 -9
  28. package/lib/endpoints.d.ts.map +0 -1
  29. package/lib/endpoints.js +0 -9
  30. package/lib/endpoints.js.map +0 -1
  31. package/lib/full-service.d.ts +0 -655
  32. package/lib/full-service.d.ts.map +0 -1
  33. package/lib/full-service.js +0 -137
  34. package/lib/full-service.js.map +0 -1
  35. package/lib/gen/google/protobuf/empty.d.ts +0 -17
  36. package/lib/gen/google/protobuf/empty.d.ts.map +0 -1
  37. package/lib/gen/google/protobuf/empty.js +0 -40
  38. package/lib/gen/google/protobuf/empty.js.map +0 -1
  39. package/lib/gen/google/protobuf/struct.d.ts +0 -77
  40. package/lib/gen/google/protobuf/struct.d.ts.map +0 -1
  41. package/lib/gen/google/protobuf/struct.js +0 -429
  42. package/lib/gen/google/protobuf/struct.js.map +0 -1
  43. package/lib/gen/google/protobuf/timestamp.d.ts +0 -19
  44. package/lib/gen/google/protobuf/timestamp.d.ts.map +0 -1
  45. package/lib/gen/google/protobuf/timestamp.js +0 -83
  46. package/lib/gen/google/protobuf/timestamp.js.map +0 -1
  47. package/lib/gen/processor/protos/processor.d.ts +0 -1470
  48. package/lib/gen/processor/protos/processor.d.ts.map +0 -1
  49. package/lib/gen/processor/protos/processor.js +0 -8512
  50. package/lib/gen/processor/protos/processor.js.map +0 -1
  51. package/lib/gen/service/common/protos/common.d.ts +0 -1698
  52. package/lib/gen/service/common/protos/common.d.ts.map +0 -1
  53. package/lib/gen/service/common/protos/common.js +0 -11383
  54. package/lib/gen/service/common/protos/common.js.map +0 -1
  55. package/lib/global-config.d.ts +0 -8
  56. package/lib/global-config.d.ts.map +0 -1
  57. package/lib/global-config.js +0 -23
  58. package/lib/global-config.js.map +0 -1
  59. package/lib/global-config.test.d.ts +0 -2
  60. package/lib/global-config.test.d.ts.map +0 -1
  61. package/lib/global-config.test.js.map +0 -1
  62. package/lib/index.d.ts.map +0 -1
  63. package/lib/index.js.map +0 -1
  64. package/lib/logger.d.ts +0 -2
  65. package/lib/logger.d.ts.map +0 -1
  66. package/lib/logger.js +0 -39
  67. package/lib/logger.js.map +0 -1
  68. package/lib/logger.test.d.ts +0 -2
  69. package/lib/logger.test.d.ts.map +0 -1
  70. package/lib/logger.test.js.map +0 -1
  71. package/lib/plugin.d.ts +0 -29
  72. package/lib/plugin.d.ts.map +0 -1
  73. package/lib/plugin.js +0 -58
  74. package/lib/plugin.js.map +0 -1
  75. package/lib/processor-runner.d.ts.map +0 -1
  76. package/lib/processor-runner.js.map +0 -1
  77. package/lib/seq-mode.test.d.ts +0 -3
  78. package/lib/seq-mode.test.d.ts.map +0 -1
  79. package/lib/seq-mode.test.js.map +0 -1
  80. package/lib/service.d.ts +0 -179
  81. package/lib/service.d.ts.map +0 -1
  82. package/lib/service.js +0 -194
  83. package/lib/service.js.map +0 -1
  84. package/lib/service.test.d.ts +0 -3
  85. package/lib/service.test.d.ts.map +0 -1
  86. package/lib/service.test.js.map +0 -1
  87. package/lib/state-storage.test.d.ts +0 -2
  88. package/lib/state-storage.test.d.ts.map +0 -1
  89. package/lib/state-storage.test.js.map +0 -1
  90. package/lib/state.d.ts +0 -23
  91. package/lib/state.d.ts.map +0 -1
  92. package/lib/state.js +0 -61
  93. package/lib/state.js.map +0 -1
  94. package/lib/utils.d.ts +0 -6
  95. package/lib/utils.d.ts.map +0 -1
  96. package/lib/utils.js +0 -23
  97. package/lib/utils.js.map +0 -1
package/lib/index.d.ts CHANGED
@@ -1,9 +1,369 @@
1
- export * from './plugin.js';
2
- export * from './state.js';
3
- export * from './utils.js';
4
- export * from './endpoints.js';
5
- export * from './chain-config.js';
6
- export * from './service.js';
7
- export { GLOBAL_CONFIG, type GlobalConfig } from './global-config.js';
8
- export * from './db-context.js';
9
- //# sourceMappingURL=index.d.ts.map
1
+ import * as _sentio_protos from '@sentio/protos';
2
+ import { DeepPartial as DeepPartial$1, ProcessStreamResponse, DBResponse, DBRequest_DBUpsert, DBRequest, HandlerType, ProcessConfigResponse, StartRequest, DataBinding, PreparedData, ProcessResult, PreprocessResult, ProcessorServiceImplementation, ProcessConfigRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, ProcessStreamRequest, PreprocessStreamRequest, PreprocessStreamResponse } from '@sentio/protos';
3
+ import { Subject } from 'rxjs';
4
+ import { AsyncLocalStorage } from 'node:async_hooks';
5
+ import { Required } from 'utility-types';
6
+ import { CallContext } from 'nice-grpc';
7
+ import _m0 from 'protobufjs/minimal.js';
8
+
9
+ type Request = Omit<DBRequest, 'opId'>;
10
+ type RequestType = keyof Request;
11
+ declare const timeoutError: unique symbol;
12
+ declare class StoreContext {
13
+ readonly subject: Subject<DeepPartial$1<ProcessStreamResponse>>;
14
+ readonly processId: number;
15
+ private static opCounter;
16
+ private defers;
17
+ private statsInterval;
18
+ constructor(subject: Subject<DeepPartial$1<ProcessStreamResponse>>, processId: number);
19
+ newPromise<T>(opId: bigint, requestType?: RequestType): Promise<T>;
20
+ sendRequest(request: DeepPartial$1<Request>, timeoutSecs?: number): Promise<DBResponse>;
21
+ result(dbResult: DBResponse): void;
22
+ error(processId: number, e: any): void;
23
+ close(): void;
24
+ upsertBatch: {
25
+ opId: bigint;
26
+ request: DBRequest_DBUpsert;
27
+ promise: Promise<DBResponse>;
28
+ timer: NodeJS.Timeout;
29
+ } | undefined;
30
+ private sendUpsertInBatch;
31
+ private sendBatch;
32
+ }
33
+
34
+ declare abstract class Plugin {
35
+ name: string;
36
+ supportedHandlers: HandlerType[];
37
+ configure(config: ProcessConfigResponse): Promise<void>;
38
+ start(start: StartRequest): Promise<void>;
39
+ /**
40
+ * @deprecated The method should not be used, use ctx.states instead
41
+ */
42
+ stateDiff(config: ProcessConfigResponse): boolean;
43
+ processBinding(request: DataBinding, preparedData: PreparedData | undefined): Promise<ProcessResult>;
44
+ preprocessBinding(request: DataBinding): Promise<PreprocessResult>;
45
+ }
46
+ declare class PluginManager {
47
+ static INSTANCE: PluginManager;
48
+ dbContextLocalStorage: AsyncLocalStorage<StoreContext | undefined>;
49
+ plugins: Plugin[];
50
+ typesToPlugin: Map<HandlerType, Plugin>;
51
+ register(plugin: Plugin): void;
52
+ configure(config: ProcessConfigResponse): Promise<void[]>;
53
+ start(start: StartRequest): Promise<void[]>;
54
+ /**
55
+ * @deprecated The method should not be used, use ctx.states instead
56
+ */
57
+ stateDiff(config: ProcessConfigResponse): boolean;
58
+ processBinding(request: DataBinding, preparedData: PreparedData | undefined, dbContext?: StoreContext): Promise<ProcessResult>;
59
+ preprocessBinding(request: DataBinding, dbContext?: StoreContext): Promise<PreprocessResult>;
60
+ }
61
+
62
+ declare class State {
63
+ stateMap: Map<string, any>;
64
+ static INSTANCE: State;
65
+ static reset(): void;
66
+ }
67
+ declare abstract class StateStorage<T> {
68
+ protected constructor();
69
+ abstract initValue(): T;
70
+ key(): string;
71
+ getOrRegister(): T;
72
+ }
73
+ declare abstract class MapStateStorage<T> extends StateStorage<Map<string, T>> {
74
+ initValue(): Map<string, T>;
75
+ getValue(key: string): T | undefined;
76
+ getValues(): T[];
77
+ getOrSetValue(key: string, value: T): T;
78
+ }
79
+ declare abstract class ListStateStorage<T> extends StateStorage<T[]> {
80
+ initValue(): never[];
81
+ getValues(): T[];
82
+ addValue(value: T): T;
83
+ }
84
+
85
+ declare function mergeProcessResults(results: ProcessResult[]): Required<ProcessResult, 'states'>;
86
+ declare function errorString(e: Error): string;
87
+ declare const USER_PROCESSOR = "user_processor";
88
+
89
+ declare class Endpoints {
90
+ static INSTANCE: Endpoints;
91
+ concurrency: number;
92
+ chainQueryAPI: string;
93
+ priceFeedAPI: string;
94
+ chainServer: Map<string, string>;
95
+ batchCount: number;
96
+ }
97
+
98
+ interface ChainConfig {
99
+ ChainID: string;
100
+ Https?: string[];
101
+ ChainServer?: string;
102
+ }
103
+
104
+ declare class ProcessorServiceImpl implements ProcessorServiceImplementation {
105
+ private started;
106
+ unhandled: Error;
107
+ private readonly loader;
108
+ private readonly shutdownHandler?;
109
+ constructor(loader: () => Promise<any>, shutdownHandler?: () => void);
110
+ getConfig(request: ProcessConfigRequest, context: CallContext): Promise<ProcessConfigResponse>;
111
+ start(request: StartRequest, context: CallContext): Promise<Empty>;
112
+ stop(request: Empty, context: CallContext): Promise<Empty>;
113
+ processBindings(request: ProcessBindingsRequest, options?: CallContext): Promise<ProcessBindingResponse>;
114
+ preprocessBindings(bindings: DataBinding[], dbContext?: StoreContext, options?: CallContext): Promise<{
115
+ [calldata: string]: any[];
116
+ }>;
117
+ preprocessBinding(request: DataBinding, dbContext?: StoreContext, options?: CallContext): Promise<PreprocessResult>;
118
+ processBinding(request: DataBinding, preparedData: PreparedData | undefined, options?: CallContext): Promise<ProcessResult>;
119
+ processBindingsStream(requests: AsyncIterable<ProcessStreamRequest>, context: CallContext): AsyncGenerator<{
120
+ processId?: number | undefined;
121
+ dbRequest?: {
122
+ opId?: bigint | undefined;
123
+ get?: {
124
+ entity?: string | undefined;
125
+ id?: string | undefined;
126
+ } | undefined;
127
+ upsert?: {
128
+ entity?: string[] | undefined;
129
+ id?: string[] | undefined;
130
+ data?: {
131
+ [x: string]: any;
132
+ }[] | undefined;
133
+ entityData?: {
134
+ fields?: {
135
+ [x: string]: {
136
+ nullValue?: _sentio_protos.RichValue_NullValue | undefined;
137
+ intValue?: number | undefined;
138
+ floatValue?: number | undefined;
139
+ bytesValue?: Uint8Array | undefined;
140
+ boolValue?: boolean | undefined;
141
+ stringValue?: string | undefined;
142
+ timestampValue?: Date | undefined;
143
+ bigintValue?: {
144
+ negative?: boolean | undefined;
145
+ data?: Uint8Array | undefined;
146
+ } | undefined;
147
+ bigdecimalValue?: {
148
+ value?: {
149
+ negative?: boolean | undefined;
150
+ data?: Uint8Array | undefined;
151
+ } | undefined;
152
+ exp?: number | undefined;
153
+ } | undefined;
154
+ listValue?: {
155
+ values?: any[] | undefined;
156
+ } | undefined;
157
+ } | undefined;
158
+ } | undefined;
159
+ }[] | undefined;
160
+ } | undefined;
161
+ delete?: {
162
+ entity?: string[] | undefined;
163
+ id?: string[] | undefined;
164
+ } | undefined;
165
+ list?: {
166
+ entity?: string | undefined;
167
+ filters?: {
168
+ field?: string | undefined;
169
+ op?: _sentio_protos.DBRequest_DBOperator | undefined;
170
+ value?: {
171
+ values?: any[] | undefined;
172
+ } | undefined;
173
+ }[] | undefined;
174
+ cursor?: string | undefined;
175
+ pageSize?: number | undefined;
176
+ } | undefined;
177
+ } | undefined;
178
+ result?: {
179
+ gauges?: {
180
+ metadata?: {
181
+ address?: string | undefined;
182
+ contractName?: string | undefined;
183
+ blockNumber?: bigint | undefined;
184
+ transactionHash?: string | undefined;
185
+ chainId?: string | undefined;
186
+ transactionIndex?: number | undefined;
187
+ logIndex?: number | undefined;
188
+ name?: string | undefined;
189
+ labels?: {
190
+ [x: string]: string | undefined;
191
+ } | undefined;
192
+ } | undefined;
193
+ metricValue?: {
194
+ bigDecimal?: string | undefined;
195
+ doubleValue?: number | undefined;
196
+ bigInteger?: {
197
+ negative?: boolean | undefined;
198
+ data?: Uint8Array | undefined;
199
+ } | undefined;
200
+ } | undefined;
201
+ runtimeInfo?: {
202
+ from?: HandlerType | undefined;
203
+ } | undefined;
204
+ }[] | undefined;
205
+ counters?: {
206
+ metadata?: {
207
+ address?: string | undefined;
208
+ contractName?: string | undefined;
209
+ blockNumber?: bigint | undefined;
210
+ transactionHash?: string | undefined;
211
+ chainId?: string | undefined;
212
+ transactionIndex?: number | undefined;
213
+ logIndex?: number | undefined;
214
+ name?: string | undefined;
215
+ labels?: {
216
+ [x: string]: string | undefined;
217
+ } | undefined;
218
+ } | undefined;
219
+ metricValue?: {
220
+ bigDecimal?: string | undefined;
221
+ doubleValue?: number | undefined;
222
+ bigInteger?: {
223
+ negative?: boolean | undefined;
224
+ data?: Uint8Array | undefined;
225
+ } | undefined;
226
+ } | undefined;
227
+ add?: boolean | undefined;
228
+ runtimeInfo?: {
229
+ from?: HandlerType | undefined;
230
+ } | undefined;
231
+ }[] | undefined;
232
+ events?: {
233
+ metadata?: {
234
+ address?: string | undefined;
235
+ contractName?: string | undefined;
236
+ blockNumber?: bigint | undefined;
237
+ transactionHash?: string | undefined;
238
+ chainId?: string | undefined;
239
+ transactionIndex?: number | undefined;
240
+ logIndex?: number | undefined;
241
+ name?: string | undefined;
242
+ labels?: {
243
+ [x: string]: string | undefined;
244
+ } | undefined;
245
+ } | undefined;
246
+ distinctEntityId?: string | undefined;
247
+ attributes?: {
248
+ [x: string]: any;
249
+ } | undefined;
250
+ severity?: _sentio_protos.LogLevel | undefined;
251
+ message?: string | undefined;
252
+ runtimeInfo?: {
253
+ from?: HandlerType | undefined;
254
+ } | undefined;
255
+ noMetric?: boolean | undefined;
256
+ }[] | undefined;
257
+ exports?: {
258
+ metadata?: {
259
+ address?: string | undefined;
260
+ contractName?: string | undefined;
261
+ blockNumber?: bigint | undefined;
262
+ transactionHash?: string | undefined;
263
+ chainId?: string | undefined;
264
+ transactionIndex?: number | undefined;
265
+ logIndex?: number | undefined;
266
+ name?: string | undefined;
267
+ labels?: {
268
+ [x: string]: string | undefined;
269
+ } | undefined;
270
+ } | undefined;
271
+ payload?: string | undefined;
272
+ runtimeInfo?: {
273
+ from?: HandlerType | undefined;
274
+ } | undefined;
275
+ }[] | undefined;
276
+ states?: {
277
+ configUpdated?: boolean | undefined;
278
+ error?: string | undefined;
279
+ } | undefined;
280
+ } | undefined;
281
+ }, void, undefined>;
282
+ handlePreprocessRequests(requests: AsyncIterable<PreprocessStreamRequest>, subject: Subject<DeepPartial$1<PreprocessStreamResponse>>): Promise<void>;
283
+ preprocessBindingsStream(requests: AsyncIterable<PreprocessStreamRequest>, context: CallContext): AsyncGenerator<{
284
+ processId?: number | undefined;
285
+ dbRequest?: {
286
+ opId?: bigint | undefined;
287
+ get?: {
288
+ entity?: string | undefined;
289
+ id?: string | undefined;
290
+ } | undefined;
291
+ upsert?: {
292
+ entity?: string[] | undefined;
293
+ id?: string[] | undefined;
294
+ data?: {
295
+ [x: string]: any;
296
+ }[] | undefined;
297
+ entityData?: {
298
+ fields?: {
299
+ [x: string]: {
300
+ nullValue?: _sentio_protos.RichValue_NullValue | undefined;
301
+ intValue?: number | undefined;
302
+ floatValue?: number | undefined;
303
+ bytesValue?: Uint8Array | undefined;
304
+ boolValue?: boolean | undefined;
305
+ stringValue?: string | undefined;
306
+ timestampValue?: Date | undefined;
307
+ bigintValue?: {
308
+ negative?: boolean | undefined;
309
+ data?: Uint8Array | undefined;
310
+ } | undefined;
311
+ bigdecimalValue?: {
312
+ value?: {
313
+ negative?: boolean | undefined;
314
+ data?: Uint8Array | undefined;
315
+ } | undefined;
316
+ exp?: number | undefined;
317
+ } | undefined;
318
+ listValue?: {
319
+ values?: any[] | undefined;
320
+ } | undefined;
321
+ } | undefined;
322
+ } | undefined;
323
+ }[] | undefined;
324
+ } | undefined;
325
+ delete?: {
326
+ entity?: string[] | undefined;
327
+ id?: string[] | undefined;
328
+ } | undefined;
329
+ list?: {
330
+ entity?: string | undefined;
331
+ filters?: {
332
+ field?: string | undefined;
333
+ op?: _sentio_protos.DBRequest_DBOperator | undefined;
334
+ value?: {
335
+ values?: any[] | undefined;
336
+ } | undefined;
337
+ }[] | undefined;
338
+ cursor?: string | undefined;
339
+ pageSize?: number | undefined;
340
+ } | undefined;
341
+ } | undefined;
342
+ }, void, undefined>;
343
+ private handleRequests;
344
+ }
345
+
346
+ interface ExecutionConfig {
347
+ sequential: boolean;
348
+ forceExactBlockTime: boolean;
349
+ processBindingTimeout: number;
350
+ }
351
+ declare const ExecutionConfig: {
352
+ encode(message: ExecutionConfig, writer?: _m0.Writer): _m0.Writer;
353
+ decode(input: _m0.Reader | Uint8Array, length?: number): ExecutionConfig;
354
+ fromJSON(object: any): ExecutionConfig;
355
+ toJSON(message: ExecutionConfig): unknown;
356
+ create(base?: DeepPartial<ExecutionConfig>): ExecutionConfig;
357
+ fromPartial(object: DeepPartial<ExecutionConfig>): ExecutionConfig;
358
+ };
359
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
360
+ type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
361
+ [K in keyof T]?: DeepPartial<T[K]>;
362
+ } : Partial<T>;
363
+
364
+ interface GlobalConfig {
365
+ execution: Partial<ExecutionConfig>;
366
+ }
367
+ declare const GLOBAL_CONFIG: GlobalConfig;
368
+
369
+ export { ChainConfig, Endpoints, GLOBAL_CONFIG, GlobalConfig, ListStateStorage, MapStateStorage, Plugin, PluginManager, ProcessorServiceImpl, State, StateStorage, StoreContext, USER_PROCESSOR, errorString, mergeProcessResults, timeoutError };
package/lib/index.js CHANGED
@@ -1,9 +1,92 @@
1
- export * from './plugin.js';
2
- export * from './state.js';
3
- export * from './utils.js';
4
- export * from './endpoints.js';
5
- export * from './chain-config.js';
6
- export * from './service.js';
7
- export { GLOBAL_CONFIG } from './global-config.js';
8
- export * from './db-context.js';
9
- //# sourceMappingURL=index.js.map
1
+ import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
+ import {
3
+ Endpoints,
4
+ GLOBAL_CONFIG,
5
+ Plugin,
6
+ PluginManager,
7
+ ProcessorServiceImpl,
8
+ StoreContext,
9
+ USER_PROCESSOR,
10
+ __publicField,
11
+ errorString,
12
+ mergeProcessResults,
13
+ timeoutError
14
+ } from "./chunk-WDKQZPD5.js";
15
+
16
+ // src/state.ts
17
+ var _State = class {
18
+ stateMap = /* @__PURE__ */ new Map();
19
+ static reset() {
20
+ _State.INSTANCE = new _State();
21
+ }
22
+ };
23
+ var State = _State;
24
+ __publicField(State, "INSTANCE", new _State());
25
+ var StateStorage = class {
26
+ // TODO learn how to define single instance for all subclasses
27
+ constructor() {
28
+ }
29
+ key() {
30
+ return this.constructor.name;
31
+ }
32
+ getOrRegister() {
33
+ let metricState = State.INSTANCE.stateMap.get(this.key());
34
+ if (!metricState) {
35
+ metricState = this.initValue();
36
+ State.INSTANCE.stateMap.set(this.key(), metricState);
37
+ }
38
+ return metricState;
39
+ }
40
+ };
41
+ var MapStateStorage = class extends StateStorage {
42
+ initValue() {
43
+ return /* @__PURE__ */ new Map();
44
+ }
45
+ getValue(key) {
46
+ const m = this.getOrRegister();
47
+ return m.get(key);
48
+ }
49
+ getValues() {
50
+ const m = this.getOrRegister();
51
+ return Array.from(m.values());
52
+ }
53
+ getOrSetValue(key, value) {
54
+ const m = this.getOrRegister();
55
+ const oldValue = m.get(key);
56
+ if (oldValue) {
57
+ console.warn(key, "has been registered twice, use the previous one");
58
+ return oldValue;
59
+ }
60
+ m.set(key, value);
61
+ return value;
62
+ }
63
+ };
64
+ var ListStateStorage = class extends StateStorage {
65
+ initValue() {
66
+ return [];
67
+ }
68
+ getValues() {
69
+ return this.getOrRegister();
70
+ }
71
+ addValue(value) {
72
+ const m = this.getOrRegister();
73
+ m.push(value);
74
+ return value;
75
+ }
76
+ };
77
+ export {
78
+ Endpoints,
79
+ GLOBAL_CONFIG,
80
+ ListStateStorage,
81
+ MapStateStorage,
82
+ Plugin,
83
+ PluginManager,
84
+ ProcessorServiceImpl,
85
+ State,
86
+ StateStorage,
87
+ StoreContext,
88
+ USER_PROCESSOR,
89
+ errorString,
90
+ mergeProcessResults,
91
+ timeoutError
92
+ };
@@ -1,3 +1 @@
1
1
  #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=processor-runner.d.ts.map