envio 2.0.0-rc.2 → 2.0.0-rc.3

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 (2) hide show
  1. package/evm.schema.json +15 -1
  2. package/package.json +6 -6
package/evm.schema.json CHANGED
@@ -236,6 +236,7 @@
236
236
  "type": "object",
237
237
  "properties": {
238
238
  "url": {
239
+ "description": "URL of the HyperSync endpoint (default: The most performant HyperSync endpoint for the network)",
239
240
  "type": "string"
240
241
  }
241
242
  },
@@ -268,6 +269,7 @@
268
269
  "format": "int32"
269
270
  },
270
271
  "hypersync_config": {
272
+ "description": "Optional HyperSync Config for additional fine-tuning",
271
273
  "anyOf": [
272
274
  {
273
275
  "$ref": "#/$defs/HypersyncConfig"
@@ -283,6 +285,7 @@
283
285
  "minimum": 0
284
286
  },
285
287
  "rpc_config": {
288
+ "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
289
  "anyOf": [
287
290
  {
288
291
  "$ref": "#/$defs/RpcConfig"
@@ -348,7 +351,18 @@
348
351
  ]
349
352
  },
350
353
  "url": {
351
- "type": "string"
354
+ "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.",
355
+ "anyOf": [
356
+ {
357
+ "type": "string"
358
+ },
359
+ {
360
+ "type": "array",
361
+ "items": {
362
+ "type": "string"
363
+ }
364
+ }
365
+ ]
352
366
  }
353
367
  },
354
368
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "envio",
3
- "version": "v2.0.0-rc.2",
3
+ "version": "v2.0.0-rc.3",
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.2",
40
- "envio-linux-arm64": "v2.0.0-rc.2",
41
- "envio-darwin-x64": "v2.0.0-rc.2",
42
- "envio-darwin-arm64": "v2.0.0-rc.2",
43
- "envio-win32-x64": "v2.0.0-rc.2"
39
+ "envio-linux-x64": "v2.0.0-rc.3",
40
+ "envio-linux-arm64": "v2.0.0-rc.3",
41
+ "envio-darwin-x64": "v2.0.0-rc.3",
42
+ "envio-darwin-arm64": "v2.0.0-rc.3",
43
+ "envio-win32-x64": "v2.0.0-rc.3"
44
44
  },
45
45
  "eslintConfig": {
46
46
  "extends": [