
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@frequency-chain/schemas
Advanced tools
A convenient way to get schema details locally with TypeScript.
npm install @frequency-chain/schemas
(static schemas library)After importing, any of the following Maps can be used to fetch desired schema information.
ID_TO_SCHEMA_FULL_NAME
is a Map that returns full names from schema ids (example dsnp.tombstone@v1
)FULL_NAME_TO_ID
is a Map that returns schema id from full nameID_TO_SCHEMA_INFO
is a Map that return SchemaInfo
from schema idHere is an example of a schema info object
{
id: 7,
namespace: 'dsnp',
name: 'public-key-key-agreement',
version: 1,
deprecated: false,
modelType: 'AvroBinary',
payloadLocation: 'Itemized',
appendOnly: true,
signatureRequired: true,
},
Assuming you are using no deprecated methods, any release version of @frequency-chain/schemas
should work against a release version of a Frequency node.
If you are working against a development node it is suggested that you match the package version against the commit hash using v0.0.0-[First 6 of the commit hash]
.
Changelog is maintained in the releases for Frequency.
See CONTRIBUTING.md for more information.
Distributed under the Apache 2.0 License. See LICENSE
for more information.
FAQs
A static package which allows getting schemas locally
The npm package @frequency-chain/schemas receives a total of 257 weekly downloads. As such, @frequency-chain/schemas popularity was classified as not popular.
We found that @frequency-chain/schemas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.