envio 2.24.0 → 2.25.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "envio",
3
- "version": "v2.24.0",
3
+ "version": "v2.25.0",
4
4
  "description": "A latency and sync speed optimized, developer friendly blockchain data indexer.",
5
5
  "bin": "./bin.js",
6
6
  "main": "./index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "homepage": "https://envio.dev",
27
27
  "optionalDependencies": {
28
- "envio-linux-x64": "v2.24.0",
29
- "envio-linux-arm64": "v2.24.0",
30
- "envio-darwin-x64": "v2.24.0",
31
- "envio-darwin-arm64": "v2.24.0"
28
+ "envio-linux-x64": "v2.25.0",
29
+ "envio-linux-arm64": "v2.25.0",
30
+ "envio-darwin-x64": "v2.25.0",
31
+ "envio-darwin-arm64": "v2.25.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "@envio-dev/hypersync-client": "0.6.5",
@@ -901,10 +901,7 @@ let queueItemIsInReorgThreshold = (
901
901
  if currentBlockHeight === 0 {
902
902
  false
903
903
  } else {
904
- switch queueItem {
905
- | Item(_) => queueItem->queueItemBlockNumber > highestBlockBelowThreshold
906
- | NoItem(_) => queueItem->queueItemBlockNumber > highestBlockBelowThreshold
907
- }
904
+ queueItem->queueItemBlockNumber > highestBlockBelowThreshold
908
905
  }
909
906
  }
910
907