Libraries to work with The Graph Networks Registry.
To update the types to match new schema version, run ./generate.sh. This will:
- pull the latest schema from networks-registry.thegraph.com,
- inject new version into libraries
- generate the types for all libraries using quicktype
- run tests and examples with the new schema
If there are errors when running the script, find and fix them manually.
- Libraries are using semantic versioning
Major.Minor.Patch
- Major and minor versions should match the schema version
- Patch version can be incremented independently with bug fixes
- Patch version is reset to 0 when schema version is changed
npm publish
for TypeScriptcargo publish
for Rust./release.sh
for Go