
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@graphprotocol/common-ts
Advanced tools
Common TypeScript library for Graph Protocol components
NOTE: THIS PROJECT IS BETA SOFTWARE.
@graphprotocol/common-ts
is a TypeScript utility library for The Graph. It
currently provides the following functionality:
Type-safe contract bindings to interact with The Graph Network on mainnet and rinkeby.
Create query response attestations using EIP-712.
A GraphQL client to query The Graph Network network subgraph
Graph Token (GRT) formatting and parsing.
Validation and type-safe handling of subgraph deployment IDs.
Type-safe and normalized Ethereum addresses.
Convenience features:
Security ehancement for Express web servers.
An easy-to-configure logger based on pino with support for asynchronous logging and Sentry error reporting.
Easy-to-use Prometheus metrics client and server.
Eventuals: Asynchronously resolved, observable values that only emit values if they have changed. These are convenient to monitor, for instance, Graph Network data and only perform an action if it has changed.
Copyright © 2020-2021 The Graph Foundation.
Licensed under the MIT license.
FAQs
Common TypeScript library for Graph Protocol components
We found that @graphprotocol/common-ts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.