envio 2.0.0-rc.2 → 2.0.0-rc.4
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/evm.schema.json +31 -2
- package/package.json +6 -6
package/evm.schema.json
CHANGED
|
@@ -65,6 +65,13 @@
|
|
|
65
65
|
"$ref": "#/$defs/Network"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
+
"raw_events": {
|
|
69
|
+
"description": "If true, the indexer will store the raw event data in the database. This is useful for debugging, but will increase the size of the database and the amount of time it takes to process events (default: false)",
|
|
70
|
+
"type": [
|
|
71
|
+
"boolean",
|
|
72
|
+
"null"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
68
75
|
"rollback_on_reorg": {
|
|
69
76
|
"description": "A flag to indicate if the indexer should rollback to the last known valid block on a reorg (default: false)",
|
|
70
77
|
"type": [
|
|
@@ -236,6 +243,7 @@
|
|
|
236
243
|
"type": "object",
|
|
237
244
|
"properties": {
|
|
238
245
|
"url": {
|
|
246
|
+
"description": "URL of the HyperSync endpoint (default: The most performant HyperSync endpoint for the network)",
|
|
239
247
|
"type": "string"
|
|
240
248
|
}
|
|
241
249
|
},
|
|
@@ -268,6 +276,7 @@
|
|
|
268
276
|
"format": "int32"
|
|
269
277
|
},
|
|
270
278
|
"hypersync_config": {
|
|
279
|
+
"description": "Optional HyperSync Config for additional fine-tuning",
|
|
271
280
|
"anyOf": [
|
|
272
281
|
{
|
|
273
282
|
"$ref": "#/$defs/HypersyncConfig"
|
|
@@ -283,6 +292,7 @@
|
|
|
283
292
|
"minimum": 0
|
|
284
293
|
},
|
|
285
294
|
"rpc_config": {
|
|
295
|
+
"description": "RPC Config that will be used to subscribe to blockchain data on this network (TIP: This is optional and in most cases does not need to be specified if the network is supported with HyperSync. We recommend using HyperSync instead of RPC for 100x speed-up)",
|
|
286
296
|
"anyOf": [
|
|
287
297
|
{
|
|
288
298
|
"$ref": "#/$defs/RpcConfig"
|
|
@@ -348,7 +358,18 @@
|
|
|
348
358
|
]
|
|
349
359
|
},
|
|
350
360
|
"url": {
|
|
351
|
-
"
|
|
361
|
+
"description": "URL of the RPC endpoint. Can be a single URL or an array of URLs. If multiple URLs are provided, the first one will be used as the primary RPC endpoint and the rest will be used as fallbacks.",
|
|
362
|
+
"anyOf": [
|
|
363
|
+
{
|
|
364
|
+
"type": "string"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "array",
|
|
368
|
+
"items": {
|
|
369
|
+
"type": "string"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
]
|
|
352
373
|
}
|
|
353
374
|
},
|
|
354
375
|
"additionalProperties": false,
|
|
@@ -380,7 +401,15 @@
|
|
|
380
401
|
"number",
|
|
381
402
|
"null"
|
|
382
403
|
],
|
|
383
|
-
"format": "
|
|
404
|
+
"format": "double"
|
|
405
|
+
},
|
|
406
|
+
"fallback_stall_timeout": {
|
|
407
|
+
"type": [
|
|
408
|
+
"integer",
|
|
409
|
+
"null"
|
|
410
|
+
],
|
|
411
|
+
"format": "uint32",
|
|
412
|
+
"minimum": 0
|
|
384
413
|
},
|
|
385
414
|
"initial_block_interval": {
|
|
386
415
|
"type": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "envio",
|
|
3
|
-
"version": "v2.0.0-rc.
|
|
3
|
+
"version": "v2.0.0-rc.4",
|
|
4
4
|
"description": "A latency and sync speed optimized, developer friendly blockchain data indexer.",
|
|
5
5
|
"bin": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"typescript": "^4.9.4"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"envio-linux-x64": "v2.0.0-rc.
|
|
40
|
-
"envio-linux-arm64": "v2.0.0-rc.
|
|
41
|
-
"envio-darwin-x64": "v2.0.0-rc.
|
|
42
|
-
"envio-darwin-arm64": "v2.0.0-rc.
|
|
43
|
-
"envio-win32-x64": "v2.0.0-rc.
|
|
39
|
+
"envio-linux-x64": "v2.0.0-rc.4",
|
|
40
|
+
"envio-linux-arm64": "v2.0.0-rc.4",
|
|
41
|
+
"envio-darwin-x64": "v2.0.0-rc.4",
|
|
42
|
+
"envio-darwin-arm64": "v2.0.0-rc.4",
|
|
43
|
+
"envio-win32-x64": "v2.0.0-rc.4"
|
|
44
44
|
},
|
|
45
45
|
"eslintConfig": {
|
|
46
46
|
"extends": [
|