envio 3.0.0-alpha.23 → 3.0.0-alpha.24

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 (51) hide show
  1. package/evm.schema.json +1 -8
  2. package/fuel.schema.json +0 -7
  3. package/index.d.ts +223 -166
  4. package/package.json +6 -6
  5. package/src/Bin.res +8 -12
  6. package/src/Bin.res.mjs +2 -3
  7. package/src/ChainFetcher.res +5 -1
  8. package/src/ChainFetcher.res.mjs +5 -5
  9. package/src/ChainManager.res +11 -0
  10. package/src/ChainManager.res.mjs +7 -3
  11. package/src/Config.res +122 -7
  12. package/src/Config.res.mjs +138 -5
  13. package/src/Core.res +0 -6
  14. package/src/Core.res.mjs +0 -6
  15. package/src/Env.res +1 -1
  16. package/src/Env.res.mjs +2 -2
  17. package/src/Envio.res +12 -5
  18. package/src/Envio.res.mjs +9 -3
  19. package/src/EventProcessing.res +8 -8
  20. package/src/EventProcessing.res.mjs +4 -6
  21. package/src/GlobalState.res +12 -16
  22. package/src/GlobalState.res.mjs +26 -13
  23. package/src/GlobalStateManager.res +4 -2
  24. package/src/GlobalStateManager.res.mjs +2 -2
  25. package/src/HandlerLoader.res.mjs +3 -21
  26. package/src/Internal.res +3 -3
  27. package/src/Main.res +43 -32
  28. package/src/Main.res.mjs +36 -43
  29. package/src/Persistence.res +20 -2
  30. package/src/Persistence.res.mjs +5 -2
  31. package/src/PgStorage.res +19 -6
  32. package/src/PgStorage.res.mjs +12 -6
  33. package/src/SimulateItems.res.mjs +3 -21
  34. package/src/TestIndexer.res +4 -1
  35. package/src/TestIndexer.res.mjs +7 -25
  36. package/src/TestIndexerProxyStorage.res +1 -1
  37. package/src/TestIndexerProxyStorage.res.mjs +1 -1
  38. package/src/UserContext.res +4 -2
  39. package/src/UserContext.res.mjs +3 -1
  40. package/src/Utils.res +5 -0
  41. package/src/bindings/Vitest.res +6 -0
  42. package/src/bindings/Vitest.res.mjs +12 -2
  43. package/src/db/InternalTable.res +45 -15
  44. package/src/db/InternalTable.res.mjs +36 -9
  45. package/src/sources/Source.res +1 -1
  46. package/src/sources/SourceManager.res +59 -55
  47. package/src/sources/SourceManager.res.mjs +30 -30
  48. package/src/sources/SourceManager.resi +11 -6
  49. package/src/tui/Tui.res +1 -1
  50. package/src/tui/Tui.res.mjs +1 -2
  51. package/svm.schema.json +0 -7
package/evm.schema.json CHANGED
@@ -22,13 +22,6 @@
22
22
  "null"
23
23
  ]
24
24
  },
25
- "output": {
26
- "description": "Path where the generated directory will be placed. By default it's 'generated' relative to the current working directory. If set, it'll be a path relative to the config file location.",
27
- "type": [
28
- "string",
29
- "null"
30
- ]
31
- },
32
25
  "handlers": {
33
26
  "description": "Optional relative path to handlers directory for auto-loading. Defaults to 'src/handlers' if not specified.",
34
27
  "type": [
@@ -568,7 +561,7 @@
568
561
  {
569
562
  "description": "Use RPC for real-time indexing only. HyperSync will be used for historical sync, then automatically switch to this RPC once synced for lower latency.",
570
563
  "type": "string",
571
- "const": "live"
564
+ "const": "realtime"
572
565
  }
573
566
  ]
574
567
  },
package/fuel.schema.json CHANGED
@@ -22,13 +22,6 @@
22
22
  "null"
23
23
  ]
24
24
  },
25
- "output": {
26
- "description": "Path where the generated directory will be placed. By default it's 'generated' relative to the current working directory. If set, it'll be a path relative to the config file location.",
27
- "type": [
28
- "string",
29
- "null"
30
- ]
31
- },
32
25
  "handlers": {
33
26
  "description": "Optional relative path to handlers directory for auto-loading. Defaults to 'src/handlers' if not specified.",
34
27
  "type": [