Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@cardano-graphql/util
Advanced tools
1.0.0
Block.transactionsCount
Epoch.transactionsCount
Epoch.blocksCount
Cardano.networkName
Transaction.size
Transaction.blockIndex
Transaction.outputs
by their natural index
Cardano
now matches the postgres view, and is an improvement over the previous version which performed two queries.cgql
with commands to assist with Docker-based deployments, including init, snapshotting, and db rebuild.TransactionInput.transaction
TransactionInput.sourceTransaction
(where it was an output)TransactionOutput.transaction
CardanoDbMeta
via Query.cardanoDbMeta
exposes information to understand if the dataset is complete including:
initialized
, syncPercentage
, and slotDiffFromNetworkTip
. The epoch
data is incomplete until initialized = true
, which takes around 2 hours for the initial sync as of block number 4388632
. syncPercentage
or
slotDiffFromNetworkTip
provides progress.inputoutput/cardano-graphql-hasura
,
or use the Hasura CLI as demonstrated in the entrypoint
This change was needed to be compatible with the migration strategy determind by cardano-db-sync
,
where the migrations need to be applied on each start of the service. The custom Docker image makes it
possible to check your own docker-compose file into source control, as it supports Docker secrets, and
also removes the requirement to clone this source repo to get data for mounting at runtime.hash
, aligning with the domain terminology.Block.merkelRootHash
-> Block.merkelRoot
Transaction.fee
previously String
, now BigInt
./dist/index.js
is now ./packages/server/dist/index.js
after building.Cardano.blockHeight
removed in favour of Cardano.tip.number
, where tip
= the most recent Block
. This unlocks
more information such as slotNo
, and capability to traverse the chain etc.FAQs
Common utilities
The npm package @cardano-graphql/util receives a total of 28 weekly downloads. As such, @cardano-graphql/util popularity was classified as not popular.
We found that @cardano-graphql/util demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.