Minor Changes
-
#1526
498d05e3
Thanks @holic! - You can now install and run@latticexyz/store-indexer
from the npm package itself, without having to clone/build the MUD repo:npm install @latticexyz/store-indexer npm sqlite-indexer # or npm postgres-indexer
or
npx -p @latticexyz/store-indexer sqlite-indexer # or npx -p @latticexyz/store-indexer postgres-indexer
The binary will also load the nearby
.env
file for easier local configuration.We've removed the
CHAIN_ID
requirement and instead require just aRPC_HTTP_URL
orRPC_WS_URL
or both. You can now also adjust the polling interval withPOLLING_INTERVAL
(defaults to 1000ms, which corresponds to MUD's default block time).
Patch Changes
-
#1514
ed07018b
Thanks @holic! - Fixes postgres indexer stopping sync after it catches up to the latest block. -
#1546
301bcb75
Thanks @holic! - Improves error message when parsing env variables -
#1533
b3c22a18
Thanks @holic! - Added README and refactored handling of common environment variables -
Updated dependencies [
aea67c58
,07dd6f32
,90e4161b
,65c9546c
,331dbfdc
,f9f9609e
,331dbfdc
,759514d8
,d5094a24
,0b8ce3f2
,de151fec
,ae340b2b
,211be2a1
,0f3e2e02
,d0878928
,83583a50
,5e723b90
,6573e38e
,44a5432a
,6e66c5b7
,65c9546c
,44a5432a
,672d05ca
,7e6e5157
,63831a26
,331dbfdc
,92de5998
,22ee4470
,be313068
,ac508bf1
,331dbfdc
,bfcb293d
,1890f1a0
,9b43029c
,55ab88a6
,af639a26
,5e723b90
,99ab9cd6
,c049c23f
,80dd6992
,24a6cd53
,708b49c5
,22ba7b67
,c4f49240
,cea754dd
]:- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]